浏览代码

1

样式分支
fyf 2 年前
父节点
当前提交
af94b4d3ba
共有 1 个文件被更改,包括 78 次插入34 次删除
  1. +78
    -34
      FryPot_DosingSystem/View/AgvView.xaml

+ 78
- 34
FryPot_DosingSystem/View/AgvView.xaml 查看文件

@@ -40,27 +40,49 @@
<DiscreteObjectKeyFrame KeyTime="00:00:01" Value="{x:Static Visibility.Visible}"/>
<DiscreteObjectKeyFrame KeyTime="00:00:1.2" Value="{x:Static Visibility.Collapsed}"/>
</ObjectAnimationUsingKeyFrames>
<ColorAnimationUsingKeyFrames Storyboard.TargetName="select_color" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)">
<EasingColorKeyFrame KeyTime="00:00:00" Value="Lime"/>
<EasingColorKeyFrame KeyTime="00:00:1" Value="Red"/>
<EasingColorKeyFrame KeyTime="00:00:2" Value="Lime"/>
<EasingColorKeyFrame KeyTime="00:00:3" Value="#FF1F4D69"/>
</ColorAnimationUsingKeyFrames>
<ColorAnimationUsingKeyFrames Storyboard.TargetName="unselect_color" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)">
<EasingColorKeyFrame KeyTime="00:00:00" Value="#FF1F4D69"/>
<EasingColorKeyFrame KeyTime="00:00:1" Value="Lime"/>
<EasingColorKeyFrame KeyTime="00:00:2" Value="#FF1F4D69"/>
<EasingColorKeyFrame KeyTime="00:00:3" Value="Yellow"/>
</ColorAnimationUsingKeyFrames>
<ColorAnimationUsingKeyFrames Storyboard.TargetName="gridSplitter" Storyboard.TargetProperty="(Control.Background).(SolidColorBrush.Color)">
<EasingColorKeyFrame KeyTime="00:00:00" Value="#FF1F4D69"/>
<EasingColorKeyFrame KeyTime="00:00:1" Value="Yellow"/>
</ColorAnimationUsingKeyFrames>
<ColorAnimationUsingKeyFrames Storyboard.TargetName="gridSplitter1" Storyboard.TargetProperty="(Control.Background).(SolidColorBrush.Color)">
<EasingColorKeyFrame KeyTime="00:00:00" Value="#FF1F4D69"/>
<EasingColorKeyFrame KeyTime="00:00:1" Value="Yellow"/>
</ColorAnimationUsingKeyFrames>
</Storyboard>
</ControlTemplate.Resources>
<Grid Width="60" Height="240" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,0,0,0">
<GridSplitter Width="5"></GridSplitter>
<GridSplitter Width="5" HorizontalAlignment="Left"></GridSplitter>
<GridSplitter x:Name="gridSplitter" Width="5"></GridSplitter>
<GridSplitter x:Name="gridSplitter1" Width="5" HorizontalAlignment="Left"></GridSplitter>
<Border x:Name="select_color" Background="#FF1E8ED2" Visibility="Collapsed"></Border>
<Border x:Name="unselect_color" Background="#FF1F4D69" Visibility="Collapsed"></Border>
<StackPanel>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=select_color }" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=select_color}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=select_color}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=select_color}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=select_color}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=select_color}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=select_color}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
</StackPanel>
<StackPanel VerticalAlignment="Bottom" Margin="0,0,0,20">
<Grid x:Name="c1" Width="40" Height="27" >
@@ -284,27 +306,49 @@
<DiscreteObjectKeyFrame KeyTime="00:00:01" Value="{x:Static Visibility.Visible}"/>
<DiscreteObjectKeyFrame KeyTime="00:00:1.2" Value="{x:Static Visibility.Collapsed}"/>
</ObjectAnimationUsingKeyFrames>
<ColorAnimationUsingKeyFrames Storyboard.TargetName="select_color" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)">
<EasingColorKeyFrame KeyTime="00:00:00" Value="Lime"/>
<EasingColorKeyFrame KeyTime="00:00:1" Value="Red"/>
<EasingColorKeyFrame KeyTime="00:00:2" Value="Lime"/>
<EasingColorKeyFrame KeyTime="00:00:3" Value="#FF1F4D69"/>
</ColorAnimationUsingKeyFrames>
<ColorAnimationUsingKeyFrames Storyboard.TargetName="unselect_color" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)">
<EasingColorKeyFrame KeyTime="00:00:00" Value="#FF1F4D69"/>
<EasingColorKeyFrame KeyTime="00:00:1" Value="Lime"/>
<EasingColorKeyFrame KeyTime="00:00:2" Value="#FF1F4D69"/>
<EasingColorKeyFrame KeyTime="00:00:3" Value="Yellow"/>
</ColorAnimationUsingKeyFrames>
<ColorAnimationUsingKeyFrames Storyboard.TargetName="gridSplitter" Storyboard.TargetProperty="(Control.Background).(SolidColorBrush.Color)">
<EasingColorKeyFrame KeyTime="00:00:00" Value="#FF1F4D69"/>
<EasingColorKeyFrame KeyTime="00:00:1" Value="Yellow"/>
</ColorAnimationUsingKeyFrames>
<ColorAnimationUsingKeyFrames Storyboard.TargetName="gridSplitter1" Storyboard.TargetProperty="(Control.Background).(SolidColorBrush.Color)">
<EasingColorKeyFrame KeyTime="00:00:00" Value="#FF1F4D69"/>
<EasingColorKeyFrame KeyTime="00:00:1" Value="Yellow"/>
</ColorAnimationUsingKeyFrames>
</Storyboard>
</ControlTemplate.Resources>
<Grid Width="60" Height="240" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,0,0,0">
<GridSplitter Width="5"></GridSplitter>
<GridSplitter Width="5" HorizontalAlignment="Left"></GridSplitter>
<GridSplitter x:Name="gridSplitter" Width="5"></GridSplitter>
<GridSplitter x:Name="gridSplitter1" Width="5" HorizontalAlignment="Left"></GridSplitter>
<Border x:Name="select_color" Background="#FF1E8ED2" Visibility="Collapsed"></Border>
<Border x:Name="unselect_color" Background="#FF1F4D69" Visibility="Collapsed"></Border>
<StackPanel>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=select_color }" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=select_color}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=select_color}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=select_color}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=select_color}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=select_color}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=select_color}" Height="5" Margin="5"/>
<Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
</StackPanel>
<StackPanel VerticalAlignment="Bottom" Margin="0,0,0,20">
<Grid x:Name="c1" Width="40" Height="27" >


正在加载...
取消
保存