Browse Source

1

样式分支
fyf 2 years ago
parent
commit
af94b4d3ba
1 changed files with 78 additions and 34 deletions
  1. +78
    -34
      FryPot_DosingSystem/View/AgvView.xaml

+ 78
- 34
FryPot_DosingSystem/View/AgvView.xaml View File

@@ -40,27 +40,49 @@
<DiscreteObjectKeyFrame KeyTime="00:00:01" Value="{x:Static Visibility.Visible}"/> <DiscreteObjectKeyFrame KeyTime="00:00:01" Value="{x:Static Visibility.Visible}"/>
<DiscreteObjectKeyFrame KeyTime="00:00:1.2" Value="{x:Static Visibility.Collapsed}"/> <DiscreteObjectKeyFrame KeyTime="00:00:1.2" Value="{x:Static Visibility.Collapsed}"/>
</ObjectAnimationUsingKeyFrames> </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> </Storyboard>
</ControlTemplate.Resources> </ControlTemplate.Resources>
<Grid Width="60" Height="240" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,0,0,0"> <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> <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>
<StackPanel VerticalAlignment="Bottom" Margin="0,0,0,20"> <StackPanel VerticalAlignment="Bottom" Margin="0,0,0,20">
<Grid x:Name="c1" Width="40" Height="27" > <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:01" Value="{x:Static Visibility.Visible}"/>
<DiscreteObjectKeyFrame KeyTime="00:00:1.2" Value="{x:Static Visibility.Collapsed}"/> <DiscreteObjectKeyFrame KeyTime="00:00:1.2" Value="{x:Static Visibility.Collapsed}"/>
</ObjectAnimationUsingKeyFrames> </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> </Storyboard>
</ControlTemplate.Resources> </ControlTemplate.Resources>
<Grid Width="60" Height="240" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,0,0,0"> <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> <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>
<StackPanel VerticalAlignment="Bottom" Margin="0,0,0,20"> <StackPanel VerticalAlignment="Bottom" Margin="0,0,0,20">
<Grid x:Name="c1" Width="40" Height="27" > <Grid x:Name="c1" Width="40" Height="27" >


Loading…
Cancel
Save