|
- <UserControl x:Class="FryPot_DosingSystem.View.AgvView"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:FryPot_DosingSystem.View"
- xmlns:vm="clr-namespace:FryPot_DosingSystem.ViewModel"
- mc:Ignorable="d"
- d:DesignHeight="984" d:DesignWidth="1734">
- <UserControl.Resources>
- <ResourceDictionary>
- <ResourceDictionary.MergedDictionaries>
- <ResourceDictionary Source="/BPASmartClient.CustomResource;component/Themes/GenricStyle.xaml" />
- <ResourceDictionary Source="/BPASmartClient.CustomResource;component/Themes/MyStyle.xaml" />
- </ResourceDictionary.MergedDictionaries>
-
- <Style x:Key="传送带" BasedOn="{x:Null}" TargetType="{x:Type TextBox}">
- <Setter Property="Foreground" Value="#FF1F4D69"/>
- <Setter Property="Tag" Value="8"/>
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type TextBox}">
- <ControlTemplate.Resources>
- <Storyboard RepeatBehavior="Forever" x:Key="csd_dh">
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
- <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Collapsed}"/>
- <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.5" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:2" Value="{x:Static Visibility.Collapsed}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:2.5" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:3" Value="{x:Static Visibility.Collapsed}"/>
- </ObjectAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path1" Storyboard.TargetProperty="(UIElement.Visibility)">
- <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Collapsed}"/>
- <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.5" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:2" Value="{x:Static Visibility.Collapsed}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:2.5" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:3" Value="{x:Static Visibility.Collapsed}"/>
- </ObjectAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.Visibility)">
- <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Collapsed}"/>
- <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.5" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:2" Value="{x:Static Visibility.Collapsed}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:2.5" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:3" 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 x:Name="gridSplitter" Width="5"></GridSplitter>
- <GridSplitter x:Name="gridSplitter1" Width="5" HorizontalAlignment="Left"></GridSplitter>
- <Border x:Name="select_color" Background="#FF1F4D69" Visibility="Collapsed"></Border>
- <Border x:Name="unselect_color" Background="#FF1F4D69" Visibility="Collapsed"></Border>
- <StackPanel>
- <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" >
- <Border Style="{DynamicResource border碗}" ></Border>
- <Border x:Name="cai1" Style="{DynamicResource border菜}"></Border>
- </Grid>
- <Grid x:Name="c2" Width="40" Height="27" >
- <Border Style="{DynamicResource border碗}" ></Border>
- <Border x:Name="cai2" Style="{DynamicResource border菜}"></Border>
- </Grid>
- <Grid x:Name="c3" Width="40" Height="27" >
- <Border Style="{DynamicResource border碗}" ></Border>
- <Border x:Name="cai3" Style="{DynamicResource border菜}"></Border>
- </Grid>
- <Grid x:Name="c4" Width="40" Height="27" >
- <Border Style="{DynamicResource border碗}" ></Border>
- <Border x:Name="cai4" Style="{DynamicResource border菜}"></Border>
- </Grid>
- <Grid x:Name="c5" Width="40" Height="27" >
- <Border Style="{DynamicResource border碗}" ></Border>
- <Border x:Name="cai5" Style="{DynamicResource border菜}"></Border>
- </Grid>
- <Grid x:Name="c6" Width="40" Height="27" >
- <Border Style="{DynamicResource border碗}" ></Border>
- <Border x:Name="cai6" Style="{DynamicResource border菜}"></Border>
- </Grid>
- <Grid x:Name="c7" Width="40" Height="27" >
- <Border Style="{DynamicResource border碗}" ></Border>
- <Border x:Name="cai7" Style="{DynamicResource border菜}"></Border>
- </Grid>
- <Grid x:Name="c8" Width="40" Height="27" >
- <Border Style="{DynamicResource border碗}" ></Border>
- <Border x:Name="cai8" Style="{DynamicResource border菜}"></Border>
- </Grid>
- </StackPanel>
- <Ellipse x:Name="ellipse" Margin="0,4,6,0" Visibility="Collapsed" Fill="Lime" Width="6" Height="6" VerticalAlignment="Bottom" HorizontalAlignment="Right"/>
- <Path x:Name="path" Margin="0,230,0,0" Visibility="Collapsed" Data="M16.958333,191.79167 L30.458334,195.87501 43.698719,191.79167" Fill="Transparent" StrokeThickness="2" HorizontalAlignment="Center" Height="5" Stroke="#FF20564F" Stretch="Fill" VerticalAlignment="Top" Width="27" RenderTransformOrigin="0.5,0.5">
- <Path.RenderTransform>
- <TransformGroup>
- <ScaleTransform/>
- <SkewTransform/>
- <RotateTransform Angle="0"/>
- <TranslateTransform/>
- </TransformGroup>
- </Path.RenderTransform>
- </Path>
- <Path x:Name="path1" Margin="0,235,0,0" Visibility="Collapsed" Data="M16.958333,191.79167 L30.458334,195.87501 43.698719,191.79167" Fill="Transparent" StrokeThickness="2" HorizontalAlignment="Center" Height="5" Stroke="#FF20564F" Stretch="Fill" VerticalAlignment="Top" Width="27" RenderTransformOrigin="0.5,0.5">
- <Path.RenderTransform>
- <TransformGroup>
- <ScaleTransform/>
- <SkewTransform/>
- <RotateTransform Angle="0"/>
- <TranslateTransform/>
- </TransformGroup>
- </Path.RenderTransform>
- </Path>
- </Grid>
- <ControlTemplate.Triggers>
- <Trigger Property="Text" Value="Start">
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_name" Storyboard="{StaticResource csd_dh}"/>
- </Trigger.EnterActions>
- </Trigger>
- <Trigger Property="Text" Value="Stop">
- <Trigger.EnterActions>
- <StopStoryboard BeginStoryboardName="begin_name"/>
- </Trigger.EnterActions>
- </Trigger>
-
- <Trigger Property="IsEnabled" Value="false">
- <Setter TargetName="cai1" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="cai2" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="cai3" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="cai4" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="cai5" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="cai6" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="cai7" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="cai8" Property="Visibility" Value="Collapsed" />
- <!--<Setter TargetName="pathname1" Property="Angle" Value="180" />
- <Setter TargetName="pathname2" Property="Angle" Value="180" />-->
- </Trigger>
- <Trigger Property="IsEnabled" Value="True">
- <Setter TargetName="cai1" Property="Visibility" Value="Visible" />
- <Setter TargetName="cai2" Property="Visibility" Value="Visible" />
- <Setter TargetName="cai3" Property="Visibility" Value="Visible" />
- <Setter TargetName="cai4" Property="Visibility" Value="Visible" />
- <Setter TargetName="cai5" Property="Visibility" Value="Visible" />
- <Setter TargetName="cai6" Property="Visibility" Value="Visible" />
- <Setter TargetName="cai7" Property="Visibility" Value="Visible" />
- <Setter TargetName="cai8" Property="Visibility" Value="Visible" />
- <!--<Setter TargetName="pathname1" Property="Angle" Value="0" />
- <Setter TargetName="pathname2" Property="Angle" Value="0" />-->
- </Trigger>
-
- <!--#region Tag 数据绑定-->
- <Trigger Property="Tag" Value="0">
- <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c3" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c4" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c5" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c6" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c7" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c8" Property="Visibility" Value="Collapsed" />
- </Trigger>
- <Trigger Property="Tag" Value="1">
- <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c3" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c4" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c5" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c6" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c7" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c8" Property="Visibility" Value="Visible" />
- </Trigger>
- <Trigger Property="Tag" Value="2">
- <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c3" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c4" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c5" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c6" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c7" Property="Visibility" Value="Visible" />
- <Setter TargetName="c8" Property="Visibility" Value="Visible" />
- </Trigger>
- <Trigger Property="Tag" Value="3">
- <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c3" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c4" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c5" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c6" Property="Visibility" Value="Visible" />
- <Setter TargetName="c7" Property="Visibility" Value="Visible" />
- <Setter TargetName="c8" Property="Visibility" Value="Visible" />
- </Trigger>
- <Trigger Property="Tag" Value="4">
- <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c3" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c4" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c5" Property="Visibility" Value="Visible" />
- <Setter TargetName="c6" Property="Visibility" Value="Visible" />
- <Setter TargetName="c7" Property="Visibility" Value="Visible" />
- <Setter TargetName="c8" Property="Visibility" Value="Visible" />
- </Trigger>
- <Trigger Property="Tag" Value="5">
- <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c3" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c4" Property="Visibility" Value="Visible" />
- <Setter TargetName="c5" Property="Visibility" Value="Visible" />
- <Setter TargetName="c6" Property="Visibility" Value="Visible" />
- <Setter TargetName="c7" Property="Visibility" Value="Visible" />
- <Setter TargetName="c8" Property="Visibility" Value="Visible" />
- </Trigger>
- <Trigger Property="Tag" Value="6">
- <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c3" Property="Visibility" Value="Visible" />
- <Setter TargetName="c4" Property="Visibility" Value="Visible" />
- <Setter TargetName="c5" Property="Visibility" Value="Visible" />
- <Setter TargetName="c6" Property="Visibility" Value="Visible" />
- <Setter TargetName="c7" Property="Visibility" Value="Visible" />
- <Setter TargetName="c8" Property="Visibility" Value="Visible" />
- </Trigger>
- <Trigger Property="Tag" Value="7">
- <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c2" Property="Visibility" Value="Visible" />
- <Setter TargetName="c3" Property="Visibility" Value="Visible" />
- <Setter TargetName="c4" Property="Visibility" Value="Visible" />
- <Setter TargetName="c5" Property="Visibility" Value="Visible" />
- <Setter TargetName="c6" Property="Visibility" Value="Visible" />
- <Setter TargetName="c7" Property="Visibility" Value="Visible" />
- <Setter TargetName="c8" Property="Visibility" Value="Visible" />
- </Trigger>
- <Trigger Property="Tag" Value="8">
- <Setter TargetName="c1" Property="Visibility" Value="Visible" />
- <Setter TargetName="c2" Property="Visibility" Value="Visible" />
- <Setter TargetName="c3" Property="Visibility" Value="Visible" />
- <Setter TargetName="c4" Property="Visibility" Value="Visible" />
- <Setter TargetName="c5" Property="Visibility" Value="Visible" />
- <Setter TargetName="c6" Property="Visibility" Value="Visible" />
- <Setter TargetName="c7" Property="Visibility" Value="Visible" />
- <Setter TargetName="c8" Property="Visibility" Value="Visible" />
- </Trigger>
-
- <!--#endregion-->
-
-
-
-
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
-
- <Style x:Key="传送带空" BasedOn="{x:Null}" TargetType="{x:Type TextBox}">
- <Setter Property="Foreground" Value="#FF1F4D69"/>
- <Setter Property="Tag" Value="8"/>
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type TextBox}">
- <ControlTemplate.Resources>
- <Storyboard RepeatBehavior="Forever" x:Key="csd_dh">
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
- <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Collapsed}"/>
- <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.5" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:2" Value="{x:Static Visibility.Collapsed}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:2.5" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:3" Value="{x:Static Visibility.Collapsed}"/>
- </ObjectAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path1" Storyboard.TargetProperty="(UIElement.Visibility)">
- <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Collapsed}"/>
- <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.5" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:2" Value="{x:Static Visibility.Collapsed}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:2.5" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:3" Value="{x:Static Visibility.Collapsed}"/>
- </ObjectAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.Visibility)">
- <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Collapsed}"/>
- <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.5" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:2" Value="{x:Static Visibility.Collapsed}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:2.5" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:3" 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 x:Name="gridSplitter" Width="5"></GridSplitter>
- <GridSplitter x:Name="gridSplitter1" Width="5" HorizontalAlignment="Left"></GridSplitter>
- <Border x:Name="select_color" Background="#FF1F4D69" Visibility="Collapsed"></Border>
- <Border x:Name="unselect_color" Background="#FF1F4D69" Visibility="Collapsed"></Border>
- <StackPanel>
- <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" >
- <Border Style="{DynamicResource border碗}" ></Border>
- <Border x:Name="cai1" Style="{DynamicResource border菜}"></Border>
- </Grid>
- <Grid x:Name="c2" Width="40" Height="27" >
- <Border Style="{DynamicResource border碗}" ></Border>
- <Border x:Name="cai2" Style="{DynamicResource border菜}"></Border>
- </Grid>
- <Grid x:Name="c3" Width="40" Height="27" >
- <Border Style="{DynamicResource border碗}" ></Border>
- <Border x:Name="cai3" Style="{DynamicResource border菜}"></Border>
- </Grid>
- <Grid x:Name="c4" Width="40" Height="27" >
- <Border Style="{DynamicResource border碗}" ></Border>
- <Border x:Name="cai4" Style="{DynamicResource border菜}"></Border>
- </Grid>
- <Grid x:Name="c5" Width="40" Height="27" >
- <Border Style="{DynamicResource border碗}" ></Border>
- <Border x:Name="cai5" Style="{DynamicResource border菜}"></Border>
- </Grid>
- <Grid x:Name="c6" Width="40" Height="27" >
- <Border Style="{DynamicResource border碗}" ></Border>
- <Border x:Name="cai6" Style="{DynamicResource border菜}"></Border>
- </Grid>
- <Grid x:Name="c7" Width="40" Height="27" >
- <Border Style="{DynamicResource border碗}" ></Border>
- <Border x:Name="cai7" Style="{DynamicResource border菜}"></Border>
- </Grid>
- <Grid x:Name="c8" Width="40" Height="27" >
- <Border Style="{DynamicResource border碗}" ></Border>
- <Border x:Name="cai8" Style="{DynamicResource border菜}"></Border>
- </Grid>
- </StackPanel>
- <Ellipse x:Name="ellipse" Margin="0,4,6,0" Visibility="Collapsed" Fill="Lime" Width="6" Height="6" VerticalAlignment="Bottom" HorizontalAlignment="Right"/>
- <Path x:Name="path" Margin="0,230,0,0" Visibility="Collapsed" Data="M16.958333,191.79167 L30.458334,195.87501 43.698719,191.79167" Fill="Transparent" StrokeThickness="2" HorizontalAlignment="Center" Height="5" Stroke="#FF20564F" Stretch="Fill" VerticalAlignment="Top" Width="27" RenderTransformOrigin="0.5,0.5">
- <Path.RenderTransform>
- <TransformGroup>
- <ScaleTransform/>
- <SkewTransform/>
- <RotateTransform Angle="180"/>
- <TranslateTransform/>
- </TransformGroup>
- </Path.RenderTransform>
- </Path>
- <Path x:Name="path1" Margin="0,235,0,0" Visibility="Collapsed" Data="M16.958333,191.79167 L30.458334,195.87501 43.698719,191.79167" Fill="Transparent" StrokeThickness="2" HorizontalAlignment="Center" Height="5" Stroke="#FF20564F" Stretch="Fill" VerticalAlignment="Top" Width="27" RenderTransformOrigin="0.5,0.5">
- <Path.RenderTransform>
- <TransformGroup>
- <ScaleTransform/>
- <SkewTransform/>
- <RotateTransform Angle="180"/>
- <TranslateTransform/>
- </TransformGroup>
- </Path.RenderTransform>
- </Path>
- </Grid>
- <ControlTemplate.Triggers>
- <Trigger Property="Text" Value="Start">
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_name" Storyboard="{StaticResource csd_dh}"/>
- </Trigger.EnterActions>
- </Trigger>
- <Trigger Property="Text" Value="Stop">
- <Trigger.EnterActions>
- <StopStoryboard BeginStoryboardName="begin_name"/>
- </Trigger.EnterActions>
- </Trigger>
-
- <Trigger Property="IsEnabled" Value="false">
- <Setter TargetName="cai1" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="cai2" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="cai3" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="cai4" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="cai5" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="cai6" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="cai7" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="cai8" Property="Visibility" Value="Collapsed" />
- <!--<Setter TargetName="pathname1" Property="Angle" Value="180" />
- <Setter TargetName="pathname2" Property="Angle" Value="180" />-->
- </Trigger>
- <Trigger Property="IsEnabled" Value="True">
- <Setter TargetName="cai1" Property="Visibility" Value="Visible" />
- <Setter TargetName="cai2" Property="Visibility" Value="Visible" />
- <Setter TargetName="cai3" Property="Visibility" Value="Visible" />
- <Setter TargetName="cai4" Property="Visibility" Value="Visible" />
- <Setter TargetName="cai5" Property="Visibility" Value="Visible" />
- <Setter TargetName="cai6" Property="Visibility" Value="Visible" />
- <Setter TargetName="cai7" Property="Visibility" Value="Visible" />
- <Setter TargetName="cai8" Property="Visibility" Value="Visible" />
- <!--<Setter TargetName="pathname1" Property="Angle" Value="0" />
- <Setter TargetName="pathname2" Property="Angle" Value="0" />-->
- </Trigger>
-
- <!--#region Tag 数据绑定-->
- <Trigger Property="Tag" Value="0">
- <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c3" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c4" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c5" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c6" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c7" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c8" Property="Visibility" Value="Collapsed" />
- </Trigger>
- <Trigger Property="Tag" Value="1">
- <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c3" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c4" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c5" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c6" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c7" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c8" Property="Visibility" Value="Visible" />
- </Trigger>
- <Trigger Property="Tag" Value="2">
- <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c3" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c4" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c5" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c6" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c7" Property="Visibility" Value="Visible" />
- <Setter TargetName="c8" Property="Visibility" Value="Visible" />
- </Trigger>
- <Trigger Property="Tag" Value="3">
- <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c3" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c4" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c5" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c6" Property="Visibility" Value="Visible" />
- <Setter TargetName="c7" Property="Visibility" Value="Visible" />
- <Setter TargetName="c8" Property="Visibility" Value="Visible" />
- </Trigger>
- <Trigger Property="Tag" Value="4">
- <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c3" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c4" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c5" Property="Visibility" Value="Visible" />
- <Setter TargetName="c6" Property="Visibility" Value="Visible" />
- <Setter TargetName="c7" Property="Visibility" Value="Visible" />
- <Setter TargetName="c8" Property="Visibility" Value="Visible" />
- </Trigger>
- <Trigger Property="Tag" Value="5">
- <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c3" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c4" Property="Visibility" Value="Visible" />
- <Setter TargetName="c5" Property="Visibility" Value="Visible" />
- <Setter TargetName="c6" Property="Visibility" Value="Visible" />
- <Setter TargetName="c7" Property="Visibility" Value="Visible" />
- <Setter TargetName="c8" Property="Visibility" Value="Visible" />
- </Trigger>
- <Trigger Property="Tag" Value="6">
- <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c3" Property="Visibility" Value="Visible" />
- <Setter TargetName="c4" Property="Visibility" Value="Visible" />
- <Setter TargetName="c5" Property="Visibility" Value="Visible" />
- <Setter TargetName="c6" Property="Visibility" Value="Visible" />
- <Setter TargetName="c7" Property="Visibility" Value="Visible" />
- <Setter TargetName="c8" Property="Visibility" Value="Visible" />
- </Trigger>
- <Trigger Property="Tag" Value="7">
- <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="c2" Property="Visibility" Value="Visible" />
- <Setter TargetName="c3" Property="Visibility" Value="Visible" />
- <Setter TargetName="c4" Property="Visibility" Value="Visible" />
- <Setter TargetName="c5" Property="Visibility" Value="Visible" />
- <Setter TargetName="c6" Property="Visibility" Value="Visible" />
- <Setter TargetName="c7" Property="Visibility" Value="Visible" />
- <Setter TargetName="c8" Property="Visibility" Value="Visible" />
- </Trigger>
- <Trigger Property="Tag" Value="8">
- <Setter TargetName="c1" Property="Visibility" Value="Visible" />
- <Setter TargetName="c2" Property="Visibility" Value="Visible" />
- <Setter TargetName="c3" Property="Visibility" Value="Visible" />
- <Setter TargetName="c4" Property="Visibility" Value="Visible" />
- <Setter TargetName="c5" Property="Visibility" Value="Visible" />
- <Setter TargetName="c6" Property="Visibility" Value="Visible" />
- <Setter TargetName="c7" Property="Visibility" Value="Visible" />
- <Setter TargetName="c8" Property="Visibility" Value="Visible" />
- </Trigger>
-
- <!--#endregion-->
-
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
-
- <Style x:Key="停车位" BasedOn="{x:Null}" TargetType="{x:Type TextBox}">
- <Setter Property="Foreground" Value="#FF1F4D69"/>
- <Setter Property="Text" Value="Yes"/>
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type TextBox}">
- <Grid Width="60" Height="55">
-
- <Ellipse x:Name="name_11" VerticalAlignment="Bottom" Visibility="Collapsed" Margin="0,0,0,0" Fill="#FF9E4C4C" Stroke="#FF9E4141" Width="60" Height="20"></Ellipse>
- <Ellipse x:Name="name_12" VerticalAlignment="Bottom" Visibility="Collapsed" Margin="0,0,0,5" Fill="#FFAD2121" Stroke="#FF9E4141" Width="40" Height="10"></Ellipse>
- <Ellipse x:Name="name_21" VerticalAlignment="Bottom" Visibility="Visible" Margin="0,0,0,0" Fill="#FF4CA756" Stroke="#FF419E53" Width="60" Height="20"></Ellipse>
- <Ellipse x:Name="name_22" VerticalAlignment="Bottom" Visibility="Visible" Margin="0,0,0,5" Fill="#FF1CAB3F" Stroke="#FF2D842A" Width="40" Height="10"></Ellipse>
- <Border x:Name="chezi" Style="{DynamicResource border车}" Margin="0,-3,0,0" Width="60" Height="60" HorizontalAlignment="Right" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5">
- <Border.RenderTransform>
- <TransformGroup>
- <ScaleTransform ScaleX="-0.8" ScaleY="-0.6"/>
- <SkewTransform/>
- <RotateTransform Angle="185"/>
- <TranslateTransform X="1" Y="0.5"/>
- </TransformGroup>
- </Border.RenderTransform>
- </Border>
- </Grid>
- <ControlTemplate.Triggers>
- <Trigger Property="Text" Value="Yes">
- <Setter TargetName="name_11" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="name_12" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="name_21" Property="Visibility" Value="Visible" />
- <Setter TargetName="name_22" Property="Visibility" Value="Visible" />
- <Setter TargetName="chezi" Property="Visibility" Value="Visible" />
-
- </Trigger>
- <Trigger Property="Text" Value="No">
- <Setter TargetName="name_11" Property="Visibility" Value="Visible" />
- <Setter TargetName="name_12" Property="Visibility" Value="Visible" />
- <Setter TargetName="name_21" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="name_22" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="chezi" Property="Visibility" Value="Collapsed" />
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
-
- <Style x:Key="运输车" BasedOn="{x:Null}" TargetType="{x:Type TextBox}">
- <Setter Property="Foreground" Value="#FF1F4D69"/>
- <Setter Property="Text" Value="Yes"/>
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type TextBox}">
- <ControlTemplate.Resources>
- <Storyboard RepeatBehavior="Forever" x:Key="csd_dh">
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path1" Storyboard.TargetProperty="(UIElement.Visibility)">
- <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.25" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.75" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:1" Value="{x:Static Visibility.Collapsed}"/>
- </ObjectAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path2" Storyboard.TargetProperty="(UIElement.Visibility)">
- <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Collapsed}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.25" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:01" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.75" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:1" Value="{x:Static Visibility.Collapsed}"/>
- </ObjectAnimationUsingKeyFrames>
-
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path3" Storyboard.TargetProperty="(UIElement.Visibility)">
- <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Collapsed}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.25" Value="{x:Static Visibility.Collapsed}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.75" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:1" Value="{x:Static Visibility.Collapsed}"/>
- </ObjectAnimationUsingKeyFrames>
-
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path4" Storyboard.TargetProperty="(UIElement.Visibility)">
- <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Collapsed}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.25" Value="{x:Static Visibility.Collapsed}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Collapsed}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.75" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:1" Value="{x:Static Visibility.Collapsed}"/>
- </ObjectAnimationUsingKeyFrames>
- </Storyboard>
- </ControlTemplate.Resources>
- <Grid Width="200" Height="80">
- <Border Style="{DynamicResource border车}" Width="60" Height="60" HorizontalAlignment="Right"></Border>
- <Grid HorizontalAlignment="Right" VerticalAlignment="Top" x:Name="caiping">
- <Border Margin="0,20,15,0" Width="20" Height="10" Style="{DynamicResource border菜}"></Border>
- <Border Margin="0,20,5,0" Width="20" Height="10" Style="{DynamicResource border菜}"></Border>
- </Grid>
- <Grid x:Name="biaoji" HorizontalAlignment="Left" >
- <Path x:Name="path1" Visibility="Collapsed" Data="M142.25,37 L128.75,44 146.40385,53.25" Fill="#26ECCE09" HorizontalAlignment="Right" Height="17" Margin="128,37,54,0" Stroke="#7FECCE09" StrokeThickness="3" Stretch="Fill" VerticalAlignment="Top" Width="18"/>
- <Path x:Name="path2" Visibility="Collapsed" Data="M123.5,38.25 L110.5,44.5 126.75,53.788194" Fill="#26ECCE09" HorizontalAlignment="Right" Height="16" Margin="0,38,70,0" Stroke="#7FECCE09" Stretch="Fill" StrokeThickness="3" VerticalAlignment="Top" Width="17"/>
- <Path x:Name="path3" Visibility="Collapsed" Data="M106.41667,38.333333 L93.583331,44.583332 109.04914,53.958332" Fill="#26ECCE09" HorizontalAlignment="Right" Height="16" Margin="0,38,87,0" Stroke="#7FECCE09" StrokeThickness="3" Stretch="Fill" VerticalAlignment="Top" Width="17"/>
- <Path x:Name="path4" Visibility="Collapsed" Data="M86.083333,38.583333 L71.166669,43.416665 86.663428,52.197217" Fill="#26ECCE09" HorizontalAlignment="Right" Height="15" Margin="71,39,110,0" Stroke="#7FECCE09" StrokeThickness="3" Stretch="Fill" VerticalAlignment="Top" Width="17"/>
- </Grid>
- </Grid>
- <ControlTemplate.Triggers>
- <Trigger Property="Text" Value="Yes">
- <Setter TargetName="caiping" Property="Visibility" Value="Visible" />
- </Trigger>
- <Trigger Property="Text" Value="No">
- <Setter TargetName="caiping" Property="Visibility" Value="Collapsed" />
- </Trigger>
- <Trigger Property="IsEnabled" Value="false">
- <Trigger.EnterActions>
- <StopStoryboard BeginStoryboardName="begin_name"/>
- </Trigger.EnterActions>
- <Setter TargetName="path1" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="path2" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="path3" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="path4" Property="Visibility" Value="Collapsed" />
-
- </Trigger>
- <Trigger Property="IsEnabled" Value="true">
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_name" Storyboard="{StaticResource csd_dh}"/>
- </Trigger.EnterActions>
- <Setter TargetName="path1" Property="Visibility" Value="Visible" />
- <Setter TargetName="path2" Property="Visibility" Value="Visible" />
- <Setter TargetName="path3" Property="Visibility" Value="Visible" />
- <Setter TargetName="path4" Property="Visibility" Value="Visible" />
- </Trigger>
-
- <!--<Trigger Property="Tag" Value="Start">
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_yundong" Storyboard="{StaticResource yundonglujing}"/>
- </Trigger.EnterActions>
- </Trigger>
-
- <Trigger Property="Tag" Value="Stop">
- <Trigger.EnterActions>
- <StopStoryboard BeginStoryboardName="begin_yundong"/>
- </Trigger.EnterActions>
- </Trigger>-->
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
-
- <Style x:Key="运输车新" BasedOn="{x:Null}" TargetType="{x:Type TextBox}">
- <Setter Property="Foreground" Value="#FF1F4D69"/>
- <Setter Property="Tag" Value="Stop"/>
- <Setter Property="Text" Value="CaiYes"/>
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type TextBox}">
- <ControlTemplate.Resources>
- <Storyboard RepeatBehavior="Forever" x:Key="csd_dh">
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path1" Storyboard.TargetProperty="(UIElement.Visibility)">
- <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.25" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.75" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:1" Value="{x:Static Visibility.Collapsed}"/>
- </ObjectAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path2" Storyboard.TargetProperty="(UIElement.Visibility)">
- <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Collapsed}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.25" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:01" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.75" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:1" Value="{x:Static Visibility.Collapsed}"/>
- </ObjectAnimationUsingKeyFrames>
-
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path3" Storyboard.TargetProperty="(UIElement.Visibility)">
- <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Collapsed}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.25" Value="{x:Static Visibility.Collapsed}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.75" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:1" Value="{x:Static Visibility.Collapsed}"/>
- </ObjectAnimationUsingKeyFrames>
-
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path4" Storyboard.TargetProperty="(UIElement.Visibility)">
- <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Collapsed}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.25" Value="{x:Static Visibility.Collapsed}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Collapsed}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.75" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:1" Value="{x:Static Visibility.Collapsed}"/>
- </ObjectAnimationUsingKeyFrames>
- </Storyboard>
-
- <!--取菜品路线 3个-->
- <PathGeometry x:Key="qc_1" Figures="M1512,491 L334.66667,492.16701 335.49989,294"/>
- <PathGeometry x:Key="qc_2" Figures="M1512,491 L495.375,491.5 494.75015,294"/>
- <PathGeometry x:Key="qc_3" Figures="M1512,491 L652.5,491 653.5,294"/>
- <!--送菜品路线 1号取菜口送到5个锅-->
- <PathGeometry x:Key="yc_1_1" Figures="M337,260 L337.5,488.5 100,491.99236 100,840"/>
- <PathGeometry x:Key="yc_1_2" Figures="M336,255 L334.25,491.5 383.90625,491.74947 382.8173,840"/>
- <PathGeometry x:Key="yc_1_3" Figures="M335,258 L334.5,490.5 680,490.99893 680,840"/>
- <PathGeometry x:Key="yc_1_4" Figures="M337,256.5 L334,492 965.5,492 966.50079,840"/>
- <PathGeometry x:Key="yc_1_5" Figures="M335.99357,253.70082 L334.33946,490.553 1256.2374,491.4823 1254.2358,840"/>
- <!--送菜品路线 2号取菜口送到5个锅-->
- <PathGeometry x:Key="yc_2_1" Figures="M488.35495,257.41892 L488.65986,490.93723 100,491.1112 100,840"/>
- <PathGeometry x:Key="yc_2_2" Figures="M488.35495,257.41892 L488.65986,490.93723 391.20932,490.91674 391.28296,840"/>
- <PathGeometry x:Key="yc_2_3" Figures="M488.35495,257.41892 L488.65986,490.93723 680,491.12867 680,840"/>
- <PathGeometry x:Key="yc_2_4" Figures="M488.35495,257.41892 L488.65986,490.93723 964.81356,491.71074 962.82129,840"/>
- <PathGeometry x:Key="yc_2_5" Figures="M488.35495,257.41892 L488.65986,490.93723 1254.2358,491.20803 1254.2358,840"/>
- <!--送菜品路线 3号取菜口送到5个锅-->
- <PathGeometry x:Key="yc_3_1" Figures="M678.97662,256.40013 L678.68368,491.79548 100,492.63368 100,840"/>
- <PathGeometry x:Key="yc_3_2" Figures="M678.97662,256.40013 L678.68368,491.79548 391.28296,488.69436 391.28296,840"/>
- <PathGeometry x:Key="yc_3_3" Figures="M678.97662,256.40013 L678.68368,491.79548 680,491.67667 680,840"/>
- <PathGeometry x:Key="yc_3_4" Figures="M678.97662,256.40013 L678.68368,491.79548 964.81356,490.50591 962.82129,840"/>
- <PathGeometry x:Key="yc_3_5" Figures="M678.97662,256.40013 L678.68368,491.79548 1256.2374,491.4823 1254.2358,840"/>
- <!--送完菜品 回收路线-->
- <PathGeometry x:Key="hs_1" Figures="M100,862 L99.749407,491.33482 455.92934,491.23722 811.14431,490.74164 811.53039,265"/>
- <PathGeometry x:Key="hs_2" Figures="M389.82645,862.91662 L389.79339,491.26265 811.14431,490.74164 811.53039,265"/>
- <PathGeometry x:Key="hs_3" Figures="M675.38594,860.33333 L676.05047,490.74164 811.14431,490.74164 811.53039,265"/>
- <PathGeometry x:Key="hs_4" Figures="M965.6722,862.33333 L964.6735,490.60998 811.14431,490.74164 811.53039,265"/>
- <PathGeometry x:Key="hs_5" Figures="M1252.0339,863 L1252.0339,491.0315 811.14431,490.74164 811.53039,265"/>
- <!--回家路线-->
- <PathGeometry x:Key="hj" Figures="M811.53039,265 L811.53039,491 1512,491"/>
-
- <!--取菜品路线 3个-->
- <Storyboard x:Key="Storyboard_qc_1" RepeatBehavior="0:0:5">
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource qc_1}" Storyboard.TargetName="yunshuche" Source="Angle"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource qc_1}" Storyboard.TargetName="yunshuche" Source="X"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource qc_1}" Storyboard.TargetName="yunshuche" Source="Y"/>
- </Storyboard>
- <Storyboard x:Key="Storyboard_qc_2" RepeatBehavior="0:0:5">
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource qc_2}" Storyboard.TargetName="yunshuche" Source="Angle"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource qc_2}" Storyboard.TargetName="yunshuche" Source="X"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource qc_2}" Storyboard.TargetName="yunshuche" Source="Y"/>
- </Storyboard>
- <Storyboard x:Key="Storyboard_qc_3" RepeatBehavior="0:0:5">
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource qc_3}" Storyboard.TargetName="yunshuche" Source="Angle"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource qc_3}" Storyboard.TargetName="yunshuche" Source="X"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource qc_3}" Storyboard.TargetName="yunshuche" Source="Y"/>
- </Storyboard>
- <!--送菜品路线 1号取菜口送到5个锅-->
- <Storyboard x:Key="Storyboard_yc_1_1" RepeatBehavior="0:0:5">
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_1}" Storyboard.TargetName="yunshuche" Source="Angle"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_1}" Storyboard.TargetName="yunshuche" Source="X"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_1}" Storyboard.TargetName="yunshuche" Source="Y"/>
- </Storyboard>
- <Storyboard x:Key="Storyboard_yc_1_2" RepeatBehavior="0:0:5">
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_2}" Storyboard.TargetName="yunshuche" Source="Angle"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_2}" Storyboard.TargetName="yunshuche" Source="X"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_2}" Storyboard.TargetName="yunshuche" Source="Y"/>
- </Storyboard>
- <Storyboard x:Key="Storyboard_yc_1_3" RepeatBehavior="0:0:5">
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_3}" Storyboard.TargetName="yunshuche" Source="Angle"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_3}" Storyboard.TargetName="yunshuche" Source="X"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_3}" Storyboard.TargetName="yunshuche" Source="Y"/>
- </Storyboard>
- <Storyboard x:Key="Storyboard_yc_1_4" RepeatBehavior="0:0:5">
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_4}" Storyboard.TargetName="yunshuche" Source="Angle"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_4}" Storyboard.TargetName="yunshuche" Source="X"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_4}" Storyboard.TargetName="yunshuche" Source="Y"/>
- </Storyboard>
- <Storyboard x:Key="Storyboard_yc_1_5" RepeatBehavior="0:0:5">
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_5}" Storyboard.TargetName="yunshuche" Source="Angle"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_5}" Storyboard.TargetName="yunshuche" Source="X"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_5}" Storyboard.TargetName="yunshuche" Source="Y"/>
- </Storyboard>
- <!--送菜品路线 2号取菜口送到5个锅-->
- <Storyboard x:Key="Storyboard_yc_2_1" RepeatBehavior="0:0:5">
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_1}" Storyboard.TargetName="yunshuche" Source="Angle"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_1}" Storyboard.TargetName="yunshuche" Source="X"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_1}" Storyboard.TargetName="yunshuche" Source="Y"/>
- </Storyboard>
- <Storyboard x:Key="Storyboard_yc_2_2" RepeatBehavior="0:0:5">
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_2}" Storyboard.TargetName="yunshuche" Source="Angle"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_2}" Storyboard.TargetName="yunshuche" Source="X"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_2}" Storyboard.TargetName="yunshuche" Source="Y"/>
- </Storyboard>
- <Storyboard x:Key="Storyboard_yc_2_3" RepeatBehavior="0:0:5">
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_3}" Storyboard.TargetName="yunshuche" Source="Angle"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_3}" Storyboard.TargetName="yunshuche" Source="X"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_3}" Storyboard.TargetName="yunshuche" Source="Y"/>
- </Storyboard>
- <Storyboard x:Key="Storyboard_yc_2_4" RepeatBehavior="0:0:5">
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_4}" Storyboard.TargetName="yunshuche" Source="Angle"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_4}" Storyboard.TargetName="yunshuche" Source="X"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_4}" Storyboard.TargetName="yunshuche" Source="Y"/>
- </Storyboard>
- <Storyboard x:Key="Storyboard_yc_2_5" RepeatBehavior="0:0:5">
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_5}" Storyboard.TargetName="yunshuche" Source="Angle"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_5}" Storyboard.TargetName="yunshuche" Source="X"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_5}" Storyboard.TargetName="yunshuche" Source="Y"/>
- </Storyboard>
- <!--送菜品路线 3号取菜口送到5个锅-->
- <Storyboard x:Key="Storyboard_yc_3_1" RepeatBehavior="0:0:5">
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_1}" Storyboard.TargetName="yunshuche" Source="Angle"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_1}" Storyboard.TargetName="yunshuche" Source="X"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_1}" Storyboard.TargetName="yunshuche" Source="Y"/>
- </Storyboard>
- <Storyboard x:Key="Storyboard_yc_3_2" RepeatBehavior="0:0:5">
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_2}" Storyboard.TargetName="yunshuche" Source="Angle"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_2}" Storyboard.TargetName="yunshuche" Source="X"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_2}" Storyboard.TargetName="yunshuche" Source="Y"/>
- </Storyboard>
- <Storyboard x:Key="Storyboard_yc_3_3" RepeatBehavior="0:0:5">
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_3}" Storyboard.TargetName="yunshuche" Source="Angle"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_3}" Storyboard.TargetName="yunshuche" Source="X"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_3}" Storyboard.TargetName="yunshuche" Source="Y"/>
- </Storyboard>
- <Storyboard x:Key="Storyboard_yc_3_4" RepeatBehavior="0:0:5">
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_4}" Storyboard.TargetName="yunshuche" Source="Angle"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_4}" Storyboard.TargetName="yunshuche" Source="X"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_4}" Storyboard.TargetName="yunshuche" Source="Y"/>
- </Storyboard>
- <Storyboard x:Key="Storyboard_yc_3_5" RepeatBehavior="0:0:5">
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_5}" Storyboard.TargetName="yunshuche" Source="Angle"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_5}" Storyboard.TargetName="yunshuche" Source="X"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_5}" Storyboard.TargetName="yunshuche" Source="Y"/>
- </Storyboard>
-
- <!--送完菜品 回收路线-->
- <Storyboard x:Key="Storyboard_hs_1" RepeatBehavior="0:0:5">
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource hs_1}" Storyboard.TargetName="yunshuche" Source="Angle"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource hs_1}" Storyboard.TargetName="yunshuche" Source="X"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource hs_1}" Storyboard.TargetName="yunshuche" Source="Y"/>
- </Storyboard>
- <Storyboard x:Key="Storyboard_hs_2" RepeatBehavior="0:0:5">
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource hs_2}" Storyboard.TargetName="yunshuche" Source="Angle"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource hs_2}" Storyboard.TargetName="yunshuche" Source="X"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource hs_2}" Storyboard.TargetName="yunshuche" Source="Y"/>
- </Storyboard>
- <Storyboard x:Key="Storyboard_hs_3" RepeatBehavior="0:0:5">
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource hs_3}" Storyboard.TargetName="yunshuche" Source="Angle"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource hs_3}" Storyboard.TargetName="yunshuche" Source="X"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource hs_3}" Storyboard.TargetName="yunshuche" Source="Y"/>
- </Storyboard>
- <Storyboard x:Key="Storyboard_hs_4" RepeatBehavior="0:0:5">
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource hs_4}" Storyboard.TargetName="yunshuche" Source="Angle"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource hs_4}" Storyboard.TargetName="yunshuche" Source="X"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource hs_4}" Storyboard.TargetName="yunshuche" Source="Y"/>
- </Storyboard>
- <Storyboard x:Key="Storyboard_hs_5" RepeatBehavior="0:0:5">
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource hs_5}" Storyboard.TargetName="yunshuche" Source="Angle"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource hs_5}" Storyboard.TargetName="yunshuche" Source="X"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource hs_5}" Storyboard.TargetName="yunshuche" Source="Y"/>
- </Storyboard>
- <!--回家路线-->
- <Storyboard x:Key="Storyboard_hj" RepeatBehavior="0:0:5">
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource hj}" Storyboard.TargetName="yunshuche" Source="Angle"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource hj}" Storyboard.TargetName="yunshuche" Source="X"/>
- <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource hj}" Storyboard.TargetName="yunshuche" Source="Y"/>
- </Storyboard>
- </ControlTemplate.Resources>
- <Grid x:Name="yunshuche">
- <Grid.RenderTransform>
- <TransformGroup>
- <ScaleTransform/>
- <SkewTransform/>
- <RotateTransform/>
- <TranslateTransform/>
- </TransformGroup>
- </Grid.RenderTransform>
- <Grid Width="120" Height="120" RenderTransformOrigin="0.5,0.5" Margin="-60,-60,0,0">
- <Grid.RenderTransform>
- <TransformGroup>
- <ScaleTransform/>
- <SkewTransform/>
- <RotateTransform Angle="180"/>
- <TranslateTransform/>
- </TransformGroup>
- </Grid.RenderTransform>
- <Border Style="{DynamicResource border车}" Width="60" Height="60" HorizontalAlignment="Right"></Border>
- <Grid HorizontalAlignment="Right" VerticalAlignment="Center" Margin="20,-35,10,0" x:Name="caiping">
- <Grid x:Name="c1" VerticalAlignment="Top" Width="40" Height="60">
- <Border Style="{DynamicResource border碗}" Margin="0,-10,0,-6"></Border>
- <Border x:Name="cai" VerticalAlignment="Top" Margin="0,0,0,0" Style="{DynamicResource border菜}"></Border>
- </Grid>
- </Grid>
- <Grid x:Name="biaoji" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,20,0,0">
- <Path x:Name="path1" Visibility="Collapsed" Data="M142.25,37 L128.75,44 146.40385,53.25" Fill="#26ECCE09" HorizontalAlignment="Right" Height="17" Margin="128,37,54,0" Stroke="#7FECCE09" StrokeThickness="3" Stretch="Fill" VerticalAlignment="Top" Width="18"/>
- <Path x:Name="path2" Visibility="Collapsed" Data="M123.5,38.25 L110.5,44.5 126.75,53.788194" Fill="#26ECCE09" HorizontalAlignment="Right" Height="16" Margin="0,38,70,0" Stroke="#7FECCE09" Stretch="Fill" StrokeThickness="3" VerticalAlignment="Top" Width="17"/>
- <Path x:Name="path3" Visibility="Collapsed" Data="M106.41667,38.333333 L93.583331,44.583332 109.04914,53.958332" Fill="#26ECCE09" HorizontalAlignment="Right" Height="16" Margin="0,38,87,0" Stroke="#7FECCE09" StrokeThickness="3" Stretch="Fill" VerticalAlignment="Top" Width="17"/>
- <Path x:Name="path4" Visibility="Collapsed" Data="M86.083333,38.583333 L71.166669,43.416665 86.663428,52.197217" Fill="#26ECCE09" HorizontalAlignment="Right" Height="15" Margin="71,39,110,0" Stroke="#7FECCE09" StrokeThickness="3" Stretch="Fill" VerticalAlignment="Top" Width="17"/>
- </Grid>
- </Grid>
- </Grid>
- <ControlTemplate.Triggers>
- <!--#region 是否有物品-->
- <Trigger Property="Text" Value="Yes">
- <Setter TargetName="caiping" Property="Visibility" Value="Visible" />
- <Setter TargetName="cai" Property="Visibility" Value="Visible" />
- </Trigger>
- <Trigger Property="Text" Value="No">
- <Setter TargetName="caiping" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="cai" Property="Visibility" Value="Visible" />
- </Trigger>
- <Trigger Property="Text" Value="OnllYes">
- <Setter TargetName="caiping" Property="Visibility" Value="Visible" />
- <Setter TargetName="cai" Property="Visibility" Value="Collapsed" />
- </Trigger>
- <!--#endregion-->
-
- <!--#region 是否运动模式-->
- <Trigger Property="IsEnabled" Value="false">
- <Trigger.EnterActions>
- <StopStoryboard BeginStoryboardName="begin_name"/>
- </Trigger.EnterActions>
- <Setter TargetName="path1" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="path2" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="path3" Property="Visibility" Value="Collapsed" />
- <Setter TargetName="path4" Property="Visibility" Value="Collapsed" />
- </Trigger>
- <Trigger Property="IsEnabled" Value="true">
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_name" Storyboard="{StaticResource csd_dh}"/>
- </Trigger.EnterActions>
- <Setter TargetName="path1" Property="Visibility" Value="Visible" />
- <Setter TargetName="path2" Property="Visibility" Value="Visible" />
- <Setter TargetName="path3" Property="Visibility" Value="Visible" />
- <Setter TargetName="path4" Property="Visibility" Value="Visible" />
- </Trigger>
- <!--#endregion-->
-
- <!--#region 停止所有动画-->
- <Trigger Property="Tag" Value="Stop">
- <Trigger.EnterActions>
- <StopStoryboard BeginStoryboardName="begin_qc_1"/>
- <StopStoryboard BeginStoryboardName="begin_qc_2"/>
- <StopStoryboard BeginStoryboardName="begin_qc_3"/>
-
- <StopStoryboard BeginStoryboardName="begin_yc_1_1"/>
- <StopStoryboard BeginStoryboardName="begin_yc_1_2"/>
- <StopStoryboard BeginStoryboardName="begin_yc_1_3"/>
- <StopStoryboard BeginStoryboardName="begin_yc_1_4"/>
- <StopStoryboard BeginStoryboardName="begin_yc_1_5"/>
-
- <StopStoryboard BeginStoryboardName="begin_yc_2_1"/>
- <StopStoryboard BeginStoryboardName="begin_yc_2_2"/>
- <StopStoryboard BeginStoryboardName="begin_yc_2_3"/>
- <StopStoryboard BeginStoryboardName="begin_yc_2_4"/>
- <StopStoryboard BeginStoryboardName="begin_yc_2_5"/>
-
- <StopStoryboard BeginStoryboardName="begin_yc_3_1"/>
- <StopStoryboard BeginStoryboardName="begin_yc_3_2"/>
- <StopStoryboard BeginStoryboardName="begin_yc_3_3"/>
- <StopStoryboard BeginStoryboardName="begin_yc_3_4"/>
- <StopStoryboard BeginStoryboardName="begin_yc_3_5"/>
-
- <StopStoryboard BeginStoryboardName="begin_hs_1"/>
- <StopStoryboard BeginStoryboardName="begin_hs_2"/>
- <StopStoryboard BeginStoryboardName="begin_hs_3"/>
- <StopStoryboard BeginStoryboardName="begin_hs_4"/>
- <StopStoryboard BeginStoryboardName="begin_hs_5"/>
-
- <StopStoryboard BeginStoryboardName="begin_hj"/>
- </Trigger.EnterActions>
- <Setter TargetName="yunshuche" Property="Visibility" Value="Collapsed" />
- </Trigger>
- <!--#endregion-->
-
- <!--#region 取菜-->
- <Trigger Property="Tag" Value="qc_1">
- <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_qc_1" Storyboard="{StaticResource Storyboard_qc_1}"/>
- </Trigger.EnterActions>
- </Trigger>
- <Trigger Property="Tag" Value="qc_2">
- <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_qc_2" Storyboard="{StaticResource Storyboard_qc_2}"/>
- </Trigger.EnterActions>
- </Trigger>
- <Trigger Property="Tag" Value="qc_3">
- <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_qc_3" Storyboard="{StaticResource Storyboard_qc_3}"/>
- </Trigger.EnterActions>
- </Trigger>
- <!--#endregion-->
-
- <!--#region 送菜1-->
- <Trigger Property="Tag" Value="yc_1_1">
- <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_yc_1_1" Storyboard="{StaticResource Storyboard_yc_1_1}"/>
- </Trigger.EnterActions>
- </Trigger>
- <Trigger Property="Tag" Value="yc_1_2">
- <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_yc_1_2" Storyboard="{StaticResource Storyboard_yc_1_2}"/>
- </Trigger.EnterActions>
- </Trigger>
- <Trigger Property="Tag" Value="yc_1_3">
- <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_yc_1_3" Storyboard="{StaticResource Storyboard_yc_1_3}"/>
- </Trigger.EnterActions>
- </Trigger>
- <Trigger Property="Tag" Value="yc_1_4">
- <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_yc_1_4" Storyboard="{StaticResource Storyboard_yc_1_4}"/>
- </Trigger.EnterActions>
- </Trigger>
- <Trigger Property="Tag" Value="yc_1_5">
- <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_yc_1_5" Storyboard="{StaticResource Storyboard_yc_1_5}"/>
- </Trigger.EnterActions>
- </Trigger>
- <!--#endregion-->
-
- <!--#region 送菜2-->
- <Trigger Property="Tag" Value="yc_2_1">
- <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_yc_2_1" Storyboard="{StaticResource Storyboard_yc_2_1}"/>
- </Trigger.EnterActions>
- </Trigger>
- <Trigger Property="Tag" Value="yc_2_2">
- <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_yc_2_2" Storyboard="{StaticResource Storyboard_yc_2_2}"/>
- </Trigger.EnterActions>
- </Trigger>
- <Trigger Property="Tag" Value="yc_2_3">
- <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_yc_2_3" Storyboard="{StaticResource Storyboard_yc_2_3}"/>
- </Trigger.EnterActions>
- </Trigger>
- <Trigger Property="Tag" Value="yc_2_4">
- <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_yc_2_4" Storyboard="{StaticResource Storyboard_yc_2_4}"/>
- </Trigger.EnterActions>
- </Trigger>
- <Trigger Property="Tag" Value="yc_2_5">
- <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_yc_2_5" Storyboard="{StaticResource Storyboard_yc_2_5}"/>
- </Trigger.EnterActions>
- </Trigger>
- <!--#endregion-->
-
- <!--#region 送菜3-->
- <Trigger Property="Tag" Value="yc_3_1">
- <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_yc_3_1" Storyboard="{StaticResource Storyboard_yc_3_1}"/>
- </Trigger.EnterActions>
- </Trigger>
- <Trigger Property="Tag" Value="yc_3_2">
- <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_yc_3_2" Storyboard="{StaticResource Storyboard_yc_3_2}"/>
- </Trigger.EnterActions>
- </Trigger>
- <Trigger Property="Tag" Value="yc_3_3">
- <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_yc_3_3" Storyboard="{StaticResource Storyboard_yc_3_3}"/>
- </Trigger.EnterActions>
- </Trigger>
- <Trigger Property="Tag" Value="yc_3_4">
- <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_yc_3_4" Storyboard="{StaticResource Storyboard_yc_3_4}"/>
- </Trigger.EnterActions>
- </Trigger>
- <Trigger Property="Tag" Value="yc_3_5">
- <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_yc_3_5" Storyboard="{StaticResource Storyboard_yc_3_5}"/>
- </Trigger.EnterActions>
- </Trigger>
- <!--#endregion-->
-
- <!--#region 回收-->
- <Trigger Property="Tag" Value="hs_1">
- <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_hs_1" Storyboard="{StaticResource Storyboard_hs_1}"/>
- </Trigger.EnterActions>
- </Trigger>
- <Trigger Property="Tag" Value="hs_2">
- <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_hs_2" Storyboard="{StaticResource Storyboard_hs_2}"/>
- </Trigger.EnterActions>
- </Trigger>
- <Trigger Property="Tag" Value="hs_3">
- <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_hs_3" Storyboard="{StaticResource Storyboard_hs_3}"/>
- </Trigger.EnterActions>
- </Trigger>
- <Trigger Property="Tag" Value="hs_4">
- <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_hs_4" Storyboard="{StaticResource Storyboard_hs_4}"/>
- </Trigger.EnterActions>
- </Trigger>
- <Trigger Property="Tag" Value="hs_5">
- <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_hs_5" Storyboard="{StaticResource Storyboard_hs_5}"/>
- </Trigger.EnterActions>
- </Trigger>
- <!--#endregion-->
-
- <!--#region 回家路线-->
- <Trigger Property="Tag" Value="hj">
- <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_hj" Storyboard="{StaticResource Storyboard_hj}"/>
- </Trigger.EnterActions>
- </Trigger>
- <!--#endregion-->
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
-
- <Style x:Key="炒锅" BasedOn="{x:Null}" TargetType="{x:Type TextBox}">
- <Setter Property="Foreground" Value="#FF1F4D69"/>
- <Setter Property="Text" Value="Start"/>
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type TextBox}">
- <ControlTemplate.Resources>
- <Storyboard RepeatBehavior="Forever" x:Key="csd_dh1">
- <DoubleAnimationUsingKeyFrames Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
- <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
- <EasingDoubleKeyFrame KeyTime="00:00:0.5" Value="90"/>
- <EasingDoubleKeyFrame KeyTime="00:00:1" Value="180"/>
- <EasingDoubleKeyFrame KeyTime="00:00:1.5" Value="270"/>
- <EasingDoubleKeyFrame KeyTime="00:00:2" Value="360"/>
- </DoubleAnimationUsingKeyFrames>
- </Storyboard>
-
- </ControlTemplate.Resources>
- <Grid Width="100" Height="100">
- <Border Style="{DynamicResource border炒锅2}">
- <!--<Border x:Name="cai" VerticalAlignment="Top" Width="30" Height="25" Margin="0,10,0,0" Style="{DynamicResource border菜}">
- </Border>-->
- </Border>
- <Ellipse x:Name="ellipse" StrokeThickness="5" Width="50" Height="50" RenderTransformOrigin="0.5,0.5" Margin="5,-3,0,0" VerticalAlignment="Top">
- <Ellipse.RenderTransform>
- <TransformGroup>
- <ScaleTransform/>
- <SkewTransform AngleY="-0"/>
- <RotateTransform/>
- <TranslateTransform/>
- </TransformGroup>
- </Ellipse.RenderTransform>
- <Ellipse.Stroke>
- <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
- <GradientStop Color="#CCA48E42"/>
- <GradientStop Color="#CC2D48DA" Offset="1"/>
- <GradientStop Color="#FF3FD256" Offset="0.305"/>
- <GradientStop Color="#FFB12C87" Offset="0.67"/>
- </LinearGradientBrush>
- </Ellipse.Stroke>
- </Ellipse>
-
- </Grid>
- <ControlTemplate.Triggers>
- <Trigger Property="Text" Value="Start">
- <Setter TargetName="ellipse" Property="Visibility" Value="Visible" />
- <!--<Setter TargetName="cai" Property="Visibility" Value="Visible" />-->
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="begin_name" Storyboard="{StaticResource csd_dh1}"/>
- </Trigger.EnterActions>
- </Trigger>
- <Trigger Property="Text" Value="Stop">
- <Trigger.EnterActions>
- <StopStoryboard BeginStoryboardName="begin_name"/>
- </Trigger.EnterActions>
- <Setter TargetName="ellipse" Property="Visibility" Value="Collapsed" />
- <!--<Setter TargetName="cai" Property="Visibility" Value="Collapsed" />-->
- </Trigger>
-
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
-
- </ResourceDictionary>
- </UserControl.Resources>
- <Grid>
-
- <!--#region 测试按钮-->
- <Grid HorizontalAlignment="Right" VerticalAlignment="Top" Margin="100,0,100,80" Grid.Column="2">
- <Rectangle Stroke="#FFFFA400" StrokeDashArray="5 5" Margin="0"/>
- <StackPanel HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,20,20,0" Orientation="Horizontal">
- <TextBlock Style="{DynamicResource 80号字体样式}" Text="AGV模拟测试" Margin="20,20,20,5" Width="35" FontSize="20" Foreground="#FFFCD5B5" />
- <StackPanel>
- <TextBlock Margin="5">停车桩测试</TextBlock>
- <TextBox x:Name="tcz_text" Margin="5">1</TextBox>
- <Button Margin="5" Click="Button_Click" Tag="设置有车" Cursor="Hand">设置有车</Button>
- <Button Margin="5" Click="Button_Click" Tag="设置无车" Cursor="Hand">设置无车</Button>
- </StackPanel>
-
- <StackPanel>
- <TextBlock Margin="5">料筒控制</TextBlock>
- <TextBox x:Name="liaotong_text" Margin="5">1</TextBox>
- <Button Margin="5" Click="Button_Click" Tag="启动" Cursor="Hand">启动</Button>
- <Button Margin="5" Click="Button_Click" Tag="停止" Cursor="Hand">停止</Button>
- </StackPanel>
-
- <StackPanel>
- <TextBlock Margin="5">设置物料</TextBlock>
- <TextBox x:Name="liaotongwuliao_text" Margin="5">1</TextBox>
- <TextBox x:Name="liaotongwuliaoshuliang_text" Margin="5">1</TextBox>
-
- <Button Margin="5" Click="Button_Click" Tag="设置物料" Cursor="Hand">设置物料</Button>
- </StackPanel>
-
- <StackPanel>
- <TextBlock Margin="5">小车测试</TextBlock>
- <TextBox x:Name="xiaoche_text" Margin="5">1</TextBox>
- <Button Margin="5" Click="Button_Click" Tag="小车停止" Cursor="Hand">小车停止</Button>
- <ComboBox x:Name="控制命令" HorizontalAlignment="Left" Width="100"/>
- <Button Margin="5" Click="Button_Click" Tag="运行小车" Cursor="Hand">运行小车</Button>
- </StackPanel>
-
- <StackPanel>
- <TextBlock Margin="5">小车?物品</TextBlock>
- <TextBox x:Name="xiaochewuping_text" Margin="5">1</TextBox>
- <Button Margin="5" Click="Button_Click" Tag="有菜和碗" Cursor="Hand">有菜和碗</Button>
- <Button Margin="5" Click="Button_Click" Tag="只有碗" Cursor="Hand">只有碗</Button>
- <Button Margin="5" Click="Button_Click" Tag="无物品" Cursor="Hand">无物品</Button>
- </StackPanel>
-
- <StackPanel>
- <TextBlock Margin="5">滚筒炒锅</TextBlock>
- <TextBox x:Name="guntongchaoguo_text" Margin="5">1</TextBox>
- <Button Margin="5" Click="Button_Click" Tag="启动炒锅" Cursor="Hand">启动炒锅</Button>
- <Button Margin="5" Click="Button_Click" Tag="停止炒锅" Cursor="Hand">停止炒锅</Button>
- </StackPanel>
-
- </StackPanel>
- </Grid>
-
-
- <!--#endregion-->
-
- <!--#region 墙体-->
- <Border Width="20" Margin="0,0,0,18" Style="{DynamicResource border垂直墙}" HorizontalAlignment="Left"/>
- <Border Height="20" Margin="-1,0,0,0" Style="{DynamicResource border水平墙}" VerticalAlignment="Bottom"/>
- <Border Height="20" Margin="21,300,0,0" Width="250" Style="{DynamicResource border水平墙1}" VerticalAlignment="Top" HorizontalAlignment="Left"/>
- <Border Width="20" Margin="250,0,0,0" Height="300" Style="{DynamicResource border垂直墙1}" VerticalAlignment="Top" HorizontalAlignment="Left"/>
- <Border Height="20" Margin="270,190,0,0" Style="{DynamicResource border水平墙}" VerticalAlignment="Top"/>
- <Border Width="20" Margin="0,0,0,18" Style="{DynamicResource border垂直墙}" HorizontalAlignment="Right"/>
- <!--#endregion-->
-
- <!--#region 道路-->
- <Grid>
-
- <Grid x:Name="一号道路" Margin="0,80,0,0">
- <Path Data="M1016.6667,415.98725 L330.95862,417.18254 331.55089,170.03705" Fill="Transparent" HorizontalAlignment="Left" Height="243" Margin="334,170,0,0" Stroke="#FF627569" StrokeDashArray="5 5" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="1160" />
- <Path Data="M1016.0158,386.81528 L725.54498,387.52324 725.50328,170.91436" Fill="Transparent" HorizontalAlignment="Left" Height="215" Margin="840,172,0,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="649" />
- <Path Data="M794.17358,168.8504 L795.74395,387.54981 689.48232,387.29818 689.48232,165.11694" Fill="Transparent" HorizontalAlignment="Left" Height="223" Margin="682,164,0,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="104"/>
- <Path Data="M632.68285,173.84703 L633.02686,385.98646 527.43527,386.74398 526.83156,171.85808" Fill="Transparent" HorizontalAlignment="Left" Height="215" Margin="523,172,0,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="104"/>
- <Path Data="M470.73348,171.25096 L470.73348,386.67023 364.24292,386.67023 364.24292,169.22349" Fill="Transparent" HorizontalAlignment="Left" Height="216" Margin="364,171,0,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="105"/>
- <Path Data="M494,380.61719 L494,173.42969" Fill="Transparent" HorizontalAlignment="Left" Height="206" StrokeDashArray="5 5" Margin="494,174,0,0" Stroke="#FF627569" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="2"/>
- <Path Data="M651.5,387.34183 L651.5,164.69054" Fill="Transparent" HorizontalAlignment="Left" Height="223" StrokeDashArray="5 5" Margin="652,164,0,0" Stroke="#FF627569" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="2" />
- <Path Data="M812,390.42647 L812,175.98529" Fill="Transparent" HorizontalAlignment="Left" Height="213" StrokeDashArray="5 5" Margin="812,175,0,0" Stroke="#FF627569" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="2"/>
- <Path Data="M311.25,9.5 L311.25,224" Fill="Transparent" HorizontalAlignment="Left" Height="216" Margin="309,172,0,0" Stroke="#FF2D3E33" Stretch="Fill" VerticalAlignment="Top" StrokeThickness="2" Width="4"/>
-
- </Grid>
-
- <Grid x:Name="二号道路" Margin="0,240,0,0">
- <Path Data="M958.38095,275.75 L886.94477,275.07759 886.94477,450.57759" Fill="Transparent" HorizontalAlignment="Left" Margin="1284,275,0,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Height="349" Width="208" />
- <Path Data="M1222.0821,458.41209 L1221.7027,275.13184 1002.4912,275.47011 1002.9936,458.53806" Fill="Transparent" HorizontalAlignment="Left" Margin="999,276,0,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="221" Height="348"/>
- <Path Data="M933.07226,460.00209 L933.07225,275.97135 714.82568,276.30686 714.82568,459.49788" Fill="Transparent" HorizontalAlignment="Left" Margin="712,276,0,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="218" Height="348"/>
- <Path Data="M645.61378,452.00064 L645.86835,270.23107 423.46744,269.56702 423.04353,453.80193" Fill="Transparent" HorizontalAlignment="Left" Margin="421,276,0,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="222" Height="348"/>
- <Path Data="M356.049,459.1237 L356.54766,276.96216 134.22488,275.96128 133.21451,458.29578" Fill="Transparent" HorizontalAlignment="Left" Margin="133,276,0,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="223" Height="348"/>
- <Path Data="M61.281856,471.84298 L61.784981,243.57743 312.20682,243.71954" Fill="Transparent" HorizontalAlignment="Left" Margin="61,225,0,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="252" Height="400"/>
- <Path Data="M1252.3333,278 L1252.3333,455.5" Fill="Transparent" HorizontalAlignment="Left" Margin="1251,278,0,0" StrokeDashArray="5 5" Stroke="#FF627569" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Height="346" Width="2" />
- <Path Data="M675.83333,277.5 L675.83333,453.5" Fill="Transparent" HorizontalAlignment="Left" Margin="676,278,0,0" StrokeDashArray="5 5" Stroke="#FF627569" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Height="346" Width="2" />
- <Path Data="M389,280.5 L389,456" Fill="Transparent" HorizontalAlignment="Left" Margin="389,278,0,0" StrokeDashArray="5 5" Stroke="#FF627569" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Height="346" Width="2" />
- <Path Data="M964.83333,280 L964.83333,454.5" Fill="Transparent" HorizontalAlignment="Left" Margin="964,278,0,0" StrokeDashArray="5 5" Stroke="#FF627569" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Height="346" Width="2" />
- <Path Data="M326,255.21409 L98.5,255.21409 98.5,452.5" Fill="Transparent" HorizontalAlignment="Left" Margin="98,251,0,0" StrokeDashArray="5 5" Stroke="#FF627569" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="228" Height="373"/>
- </Grid>
-
- <Grid x:Name="回家道路" Margin="0,0,0,0">
- <Path Data="M952.25777,465.46072 L952.25777,241.72543 1039.7321,241.89413" Fill="Transparent" HorizontalAlignment="Right" Height="224" Margin="0,242,161,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="87"/>
- <Path Data="M956.96815,516.33333 L956.96815,676.95339 1044.8918,676.7024" Fill="Transparent" HorizontalAlignment="Right" Height="162" Margin="0,516,156,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="89"/>
- <Path Data="M1027.0922,648.58759 L988.09223,648.45982 988.344,587.35105 1027.2936,587.47882" Fill="Transparent" HorizontalAlignment="Right" Height="62" Margin="988,588,160,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="41"/>
- <Path Data="M1027.626,567.31311 L987.20121,567.18699 987.20121,513.5 1026.4746,513.6264" Fill="Transparent" HorizontalAlignment="Right" Height="55" Margin="988,514,160,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="42"/>
- <Path Data="M1026.0976,484.50256 L987.00461,484.50257 987.00461,429.66925 1026.2669,429.66976" Fill="Transparent" HorizontalAlignment="Right" Height="56" Margin="987,429,160,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="41"/>
- <Path Data="M1026.7218,414.16372 L985.51792,414.1703 985.67158,358.9399 1027.5802,359.28084" Fill="Transparent" HorizontalAlignment="Right" Height="56" Margin="987,354,160,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="43"/>
- <Path Data="M1027.8819,317.32585 L986.23726,317.66667 986.23726,267.56879 1027.8818,267.56879" Fill="Transparent" HorizontalAlignment="Right" Height="51" Margin="987,268,160,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="43"/>
- <Path Data="M1026.6667,663.17911 L974.49996,663.17911 974.49996,254.32277 1034.8498,254.32277" Fill="Transparent" HorizontalAlignment="Right" Height="409" Margin="0,255,162,0" StrokeDashArray="5 5" Stroke="#FF627569" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="61"/>
- <Path Data="M1028,337 L989.16667,337" Fill="Transparent" HorizontalAlignment="Right" Height="1" Margin="989,337,170,0" StrokeDashArray="5 5" Stroke="#FF627569" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="40"/>
- <Path Data="M1026.8333,419.83333 L989.83337,419.83333" Fill="Transparent" HorizontalAlignment="Right" Height="1" Margin="990,420,170,0" StrokeDashArray="5 5" Stroke="#FF627569" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="38"/>
- <Path Data="M1027.1667,498.66667 L989.16663,498.66667" Fill="Transparent" HorizontalAlignment="Right" Height="1" Margin="989,499,170,0" StrokeDashArray="5 5" Stroke="#FF627569" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="39"/>
- <Path Data="M1028.3333,578.16667 L990.50004,578.16667" Fill="Transparent" HorizontalAlignment="Right" Height="1" Margin="990,578,170,0" StrokeDashArray="5 5" Stroke="#FF627569" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="39"/>
- </Grid>
- </Grid>
- <!--#endregion-->
-
- <!--#region 运动轨迹路线-->
- <Canvas x:Name="cvsMain">
- <!--canvas定位确定在左上角,需要定位在中心left和top需要减去自身半径的一半 Margin="-50,35,0,0"-->
- <TextBox x:Name="一号车" Style="{StaticResource 运输车新}" IsEnabled="True" Text="{Binding cartModel_1.isBool,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Tag="{Binding cartModel_1.Tag,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Right" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5"/>
- <TextBox x:Name="二号车" Style="{StaticResource 运输车新}" IsEnabled="True" Text="{Binding cartModel_2.isBool,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Tag="{Binding cartModel_2.Tag,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Right" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5"/>
- <TextBox x:Name="三号车" Style="{StaticResource 运输车新}" IsEnabled="True" Text="{Binding cartModel_3.isBool,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Tag="{Binding cartModel_3.Tag,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Right" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5"/>
- <TextBox x:Name="四号车" Style="{StaticResource 运输车新}" IsEnabled="True" Text="{Binding cartModel_4.isBool,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Tag="{Binding cartModel_4.Tag,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Right" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5"/>
- <!--取菜品路线 3个-->
- <!--<Path x:Name="qc_1" Data="M1767.8205,341.00202 L337.32051,340 337.32051,218.75617" Fill="Transparent" HorizontalAlignment="Center" Height="234" Stroke="Red" Stretch="Fill" VerticalAlignment="Top" Width="1151" />
- <Path x:Name="qc_2" Data="M1528.625,340.5 L410.5,338.83333 410.24997,239.18145" Fill="Transparent" Height="238" Canvas.Left="494.25" Stroke="Red" Stretch="Fill" Canvas.Top="254.583" Width="995" HorizontalAlignment="Center" VerticalAlignment="Top"/>
- <Path x:Name="qc_3" Data="M1528.5,340.5 L492.20537,339.99017 491.79339,220.53846" Fill="Transparent" Height="236" Canvas.Left="652.498" Stroke="Red" Stretch="Fill" Canvas.Top="255.834" Width="840" HorizontalAlignment="Center" VerticalAlignment="Top"/>-->
- <!--送菜品路线 1号取菜口送到5个锅-->
- <!--<Path x:Name="yc_1_1" Data="M332.67208,254.56557 L332.48784,490.99955 214.5,490.62207 214.5,860.5" Fill="Transparent" Height="607" Canvas.Left="99" Stroke="Red" Stretch="Fill" Canvas.Top="254.583" Width="237" HorizontalAlignment="Center" VerticalAlignment="Top"/>
- <Path x:Name="yc_1_2" Data="M329.58309,254.75998 L329.5,492.15513 359.47145,491.53205 359.47145,860.83532" Fill="Transparent" Height="607" Canvas.Left="334.667" Stroke="Red" Stretch="Fill" Canvas.Top="254.583" Width="61" HorizontalAlignment="Center" VerticalAlignment="Top"/>
- <Path x:Name="yc_1_3" Data="M332.47966,254.57884 L332.77785,492.7685 505.3807,491.73602 504.87598,861.77688" Fill="Transparent" Height="606" Canvas.Left="334.417" Stroke="Red" Stretch="Fill" Canvas.Top="254.417" Width="343" HorizontalAlignment="Center" VerticalAlignment="Top"/>
- <Path x:Name="yc_1_4" Data="M334.04421,253.74895 L333.67261,491.61375 845.84124,491.49411 845.84124,861.40354" Fill="Transparent" Height="609" Canvas.Left="334.667" Stroke="Red" Stretch="Fill" Canvas.Top="253.75" Width="633" HorizontalAlignment="Left" VerticalAlignment="Center"/>
- <Path x:Name="yc_1_5" Data="M335.99357,253.70082 L334.33946,490.553 1256.2374,491.4823 1254.2358,861.10545" Fill="Transparent" Height="609" Canvas.Left="334.333" Stroke="Red" Stretch="Fill" Canvas.Top="253.749" Width="923" HorizontalAlignment="Left" VerticalAlignment="Center"/>-->
- <!--送菜品路线 2号取菜口送到5个锅-->
- <!--<Path x:Name="yc_2_1" Data="M452.92227,255.38823 L453.38217,491.10097 254.6441,491.1112 254.39313,859.04081" Fill="Transparent" Height="605" Canvas.Left="99" Stroke="Red" Stretch="Fill" Canvas.Top="255.5" Width="397" HorizontalAlignment="Center" VerticalAlignment="Top"/>
- <Path x:Name="yc_2_2" Data="M488.35495,257.41892 L488.65986,490.93723 391.20932,490.91674 391.28296,858.33801" Fill="Transparent" Height="604" Canvas.Left="389.5" Stroke="Red" Stretch="Fill" Canvas.Top="257.5" Width="108" HorizontalAlignment="Center" VerticalAlignment="Top"/>
- <Path x:Name="yc_2_3" Data="M512.32396,255.41644 L512.62105,492.0013 728.21212,491.12867 729.1022,856.40139" Fill="Transparent" Height="604" Canvas.Left="496.367" Stroke="Red" Stretch="Fill" Canvas.Top="255.5" Width="184" HorizontalAlignment="Center" VerticalAlignment="Top"/>
- <Path x:Name="yc_2_4" Data="M493.84351,255.63081 L494.24767,491.94281 964.81356,491.71074 962.82129,862.26842" Fill="Transparent" Height="606" Canvas.Left="494.563" Stroke="Red" Stretch="Fill" Canvas.Top="255.5" Width="474" HorizontalAlignment="Center" VerticalAlignment="Top"/>
- <Path x:Name="yc_2_5" Data="M492.78748,255.93328 L493.64028,491.52582 1232.0872,491.20803 1231.8435,852.81206" Fill="Transparent" Height="597" Canvas.Left="494.424" Stroke="Red" Stretch="Fill" Canvas.Top="255.833" Width="760" HorizontalAlignment="Center" VerticalAlignment="Top"/>-->
- <!--送菜品路线 3号取菜口送到5个锅-->
- <!--<Path x:Name="yc_3_1" Data="M678.97662,256.40013 L678.68368,491.79548 33.856468,492.63368 33.565475,862.66674" Fill="Transparent" Height="605" Canvas.Left="98.5" Stroke="Red" Stretch="Fill" Canvas.Top="256.167" Width="555" HorizontalAlignment="Center" VerticalAlignment="Top"/>
- <Path x:Name="yc_3_2" Data="M679.85815,257.83602 L678.4997,489.82208 372.49606,488.69436 372.29971,855.85772" Fill="Transparent" Height="605" Canvas.Left="389.333" Stroke="Red" Stretch="Fill" Canvas.Top="256.833" Width="265" HorizontalAlignment="Center" VerticalAlignment="Top"/>
- <Path x:Name="yc_3_3" Data="M572.41025,257.61404 L572.77894,491.54068 584.67854,491.67667 584.26824,863.18636" Fill="Transparent" Height="606" Canvas.Left="652.138" Stroke="Red" Stretch="Fill" Canvas.Top="257.5" Width="26" HorizontalAlignment="Center" VerticalAlignment="Top"/>
- <Path x:Name="yc_3_4" Data="M662.64002,256.80477 L661.85547,490.83265 994.30957,490.50591 994.84049,859.5945" Fill="Transparent" Height="605" Canvas.Left="652.185" Stroke="Red" Stretch="Fill" Canvas.Top="256.833" Width="315" HorizontalAlignment="Center" VerticalAlignment="Top"/>
- <Path x:Name="yc_3_6" Data="M0.50000387,-72.608117 L0.50000387,160.28068 599.32136,159.12096 600.82164,531.95397" Fill="Transparent" Height="605" Canvas.Left="652.833" Stroke="Red" Stretch="Fill" Canvas.Top="258.833" Width="601" HorizontalAlignment="Center" VerticalAlignment="Top"/>-->
- <!--送完菜品 回收路线-->
- <!--<Path x:Name="hs_1" Data="M100,862 L99.749407,491.33482 455.92934,491.23722 455.29168,371.3206 455.18157,257.16252" Fill="Transparent" Height="605" Canvas.Left="99.999" Stroke="Red" Stretch="Fill" Canvas.Top="257.5" Width="715" HorizontalAlignment="Center" VerticalAlignment="Top"/>
- <Path x:Name="hs_2" Data="M389.82645,862.91662 L389.79339,491.26265 814.21309,490.29053 814.03219,257.27355" Fill="Transparent" Height="608" Canvas.Left="389.486" Stroke="Red" Stretch="Fill" Canvas.Top="257.5" Width="425" HorizontalAlignment="Center" VerticalAlignment="Top"/>
- <Path x:Name="hs_3" Data="M675.38594,860.33333 L676.05047,490.74164 811.14431,490.74164 810.88341,257.70126" Fill="Transparent" Height="604" Canvas.Left="676.654" Stroke="Red" Stretch="Fill" Canvas.Top="257.5" Width="137" HorizontalAlignment="Center" VerticalAlignment="Top"/>
- <Path x:Name="hs_4" Data="M965.6722,862.33333 L964.6735,490.60998 811.86871,491.21259 811.53039,256.83952" Fill="Transparent" Height="607" Canvas.Left="812.162" Stroke="Red" Stretch="Fill" Canvas.Top="256.556" Width="155" HorizontalAlignment="Center" VerticalAlignment="Center"/>
- <Path x:Name="hs_5" Data="M1252.0339,863 L1252.0339,491.0315 812.43016,491.0315 812.43016,255.61095" Fill="Transparent" Height="608" Canvas.Left="812.42" Stroke="Red" Stretch="Fill" Canvas.Top="255.833" Width="441" HorizontalAlignment="Center" VerticalAlignment="Top"/>-->
- <!--回家路线-->
- <!--<Path x:Name="hj" Data="M695.05385,257.32244 L694.62073,490.08196 1034.3248,490.43729" Fill="Transparent" Height="235" Canvas.Left="812.633" Stroke="Red" Stretch="Fill" Canvas.Top="257.5" Width="681" HorizontalAlignment="Center" VerticalAlignment="Top"/>-->
- </Canvas>
- <!--#endregion-->
-
- <!--#region 炒锅区域-->
- <Grid >
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition/>
- <ColumnDefinition/>
- <ColumnDefinition/>
- <ColumnDefinition/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Grid Grid.Column="0" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="45,0,0,20">
- <TextBox Style="{StaticResource 炒锅}" Text="{Binding wokModel_1.Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></TextBox>
- <TextBlock Style="{DynamicResource 80号字体样式}" FontSize="16" Width="18" Margin="-10,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Bottom">炒锅(1)号</TextBlock>
- </Grid>
- <Grid Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="45,0,0,20">
- <TextBox Style="{StaticResource 炒锅}" Text="{Binding wokModel_2.Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></TextBox>
- <TextBlock Style="{DynamicResource 80号字体样式}" FontSize="16" Width="18" Margin="-10,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Bottom">炒锅(2)号</TextBlock>
- </Grid>
- <Grid Grid.Column="2" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="45,0,0,20">
- <TextBox Style="{StaticResource 炒锅}" Text="{Binding wokModel_3.Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></TextBox>
- <TextBlock Style="{DynamicResource 80号字体样式}" FontSize="16" Width="18" Margin="-10,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Bottom">炒锅(3)号</TextBlock>
- </Grid>
- <Grid Grid.Column="3" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="45,0,0,20">
- <TextBox Style="{StaticResource 炒锅}" Text="{Binding wokModel_4.Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></TextBox>
- <TextBlock Style="{DynamicResource 80号字体样式}" FontSize="16" Width="18" Margin="-10,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Bottom">炒锅(4)号</TextBlock>
- </Grid>
- <Grid Grid.Column="4" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="45,0,0,20">
- <TextBox Style="{StaticResource 炒锅}" Text="{Binding wokModel_5.Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></TextBox>
- <TextBlock Style="{DynamicResource 80号字体样式}" FontSize="16" Width="18" Margin="-10,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Bottom">炒锅(5)号</TextBlock>
- </Grid>
- <Grid HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="100,0,-40,80" Grid.Column="0">
- <Rectangle Stroke="#FFFFA400" StrokeDashArray="5 5" Margin="10"/>
- <StackPanel>
- <TextBlock Style="{DynamicResource 80号字体样式}" Text="一号炒锅制作流程" Margin="20,20,20,5" FontSize="20" Foreground="#FFFCD5B5" />
- <StackPanel Orientation="Horizontal" Margin="20,5,20,0">
- <TextBlock Style="{DynamicResource 80号字体样式}" Text="菜品:" FontSize="20" Foreground="#FFFCD5B5" />
- <TextBlock Style="{DynamicResource 80号字体样式}"
- Text="{Binding wokModel_1.goodsName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
- Tag="{Binding wokModel_1.id,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
- ToolTip="{Binding wokModel_1.orderID,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
- FontSize="16" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="#FF00FFED" />
- </StackPanel>
- <TextBlock Style="{DynamicResource 80号字体样式}" Text="步骤:" Margin="20,5,20,0" FontSize="20" Foreground="#FFFCD5B5" />
- <ListBox ItemsSource="{Binding wokModel_1.workflows,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" Margin="0,0,0,10">
- <ListBox.ItemTemplate>
- <DataTemplate>
- <StackPanel Orientation="Horizontal" Margin="15,5,15,5">
- <TextBlock Style="{DynamicResource 80号字体样式}" Text="{Binding xh,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Foreground="#FF00FFB3" />
- <TextBlock Style="{DynamicResource 80号字体样式}" Text="{Binding Name,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Foreground="#FF00FFB3" />
- <Image Margin="20,0,0,0" Style="{DynamicResource image完成}" Visibility="{Binding visibility,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></Image>
- </StackPanel>
- </DataTemplate>
- </ListBox.ItemTemplate>
- </ListBox>
- </StackPanel>
- </Grid>
- <Grid HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="100,0,-40,80" Grid.Column="1">
- <Rectangle Stroke="#FFFFA400" StrokeDashArray="5 5" Margin="10"/>
- <StackPanel>
- <TextBlock Style="{DynamicResource 80号字体样式}" Text="二号炒锅制作流程" Margin="20,20,20,5" FontSize="20" Foreground="#FFFCD5B5" />
- <StackPanel Orientation="Horizontal" Margin="20,5,20,0">
- <TextBlock Style="{DynamicResource 80号字体样式}" Text="菜品:" FontSize="20" Foreground="#FFFCD5B5" />
- <TextBlock Style="{DynamicResource 80号字体样式}"
- Text="{Binding wokModel_2.goodsName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
- Tag="{Binding wokModel_2.id,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
- ToolTip="{Binding wokModel_2.orderID,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
- FontSize="16" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="#FF00FFED" />
- </StackPanel>
- <TextBlock Style="{DynamicResource 80号字体样式}" Text="步骤:" Margin="20,5,20,0" FontSize="20" Foreground="#FFFCD5B5" />
- <ListBox ItemsSource="{Binding wokModel_2.workflows,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" Margin="0,0,0,10">
- <ListBox.ItemTemplate>
- <DataTemplate>
- <StackPanel Orientation="Horizontal" Margin="15,5,15,5">
- <TextBlock Style="{DynamicResource 80号字体样式}" Text="{Binding xh,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Foreground="#FF00FFB3" />
- <TextBlock Style="{DynamicResource 80号字体样式}" Text="{Binding Name,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Foreground="#FF00FFB3" />
- <Image Margin="20,0,0,0" Style="{DynamicResource image完成}" Visibility="{Binding visibility,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></Image>
- </StackPanel>
- </DataTemplate>
- </ListBox.ItemTemplate>
- </ListBox>
- </StackPanel>
- </Grid>
- <Grid HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="100,0,-40,80" Grid.Column="2">
- <Rectangle Stroke="#FFFFA400" StrokeDashArray="5 5" Margin="10"/>
- <StackPanel>
- <TextBlock Style="{DynamicResource 80号字体样式}" Text="三号炒锅制作流程" Margin="20,20,20,5" FontSize="20" Foreground="#FFFCD5B5" />
- <StackPanel Orientation="Horizontal" Margin="20,5,20,0">
- <TextBlock Style="{DynamicResource 80号字体样式}" Text="菜品:" FontSize="20" Foreground="#FFFCD5B5" />
- <TextBlock Style="{DynamicResource 80号字体样式}"
- Text="{Binding wokModel_3.goodsName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
- Tag="{Binding wokModel_3.id,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
- ToolTip="{Binding wokModel_3.orderID,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
- FontSize="16" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="#FF00FFED" />
- </StackPanel>
- <TextBlock Style="{DynamicResource 80号字体样式}" Text="步骤:" Margin="20,5,20,0" FontSize="20" Foreground="#FFFCD5B5" />
- <ListBox ItemsSource="{Binding wokModel_3.workflows,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" Margin="0,0,0,10">
- <ListBox.ItemTemplate>
- <DataTemplate>
- <StackPanel Orientation="Horizontal" Margin="15,5,15,5">
- <TextBlock Style="{DynamicResource 80号字体样式}" Text="{Binding xh,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Foreground="#FF00FFB3" />
- <TextBlock Style="{DynamicResource 80号字体样式}" Text="{Binding Name,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Foreground="#FF00FFB3" />
- <Image Margin="20,0,0,0" Style="{DynamicResource image完成}" Visibility="{Binding visibility,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></Image>
- </StackPanel>
- </DataTemplate>
- </ListBox.ItemTemplate>
- </ListBox>
- </StackPanel>
- </Grid>
- <Grid HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="100,0,-40,80" Grid.Column="3">
- <Rectangle Stroke="#FFFFA400" StrokeDashArray="5 5" Margin="10"/>
- <StackPanel>
- <TextBlock Style="{DynamicResource 80号字体样式}" Text="四号炒锅制作流程" Margin="20,20,20,5" FontSize="20" Foreground="#FFFCD5B5" />
- <StackPanel Orientation="Horizontal" Margin="20,5,20,0">
- <TextBlock Style="{DynamicResource 80号字体样式}" Text="菜品:" FontSize="20" Foreground="#FFFCD5B5" />
- <TextBlock Style="{DynamicResource 80号字体样式}"
- Text="{Binding wokModel_4.goodsName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
- Tag="{Binding wokModel_4.id,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
- ToolTip="{Binding wokModel_4.orderID,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
- FontSize="16" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="#FF00FFED" />
- </StackPanel>
- <TextBlock Style="{DynamicResource 80号字体样式}" Text="步骤:" Margin="20,5,20,0" FontSize="20" Foreground="#FFFCD5B5" />
- <ListBox ItemsSource="{Binding wokModel_4.workflows,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" Margin="0,0,0,10">
- <ListBox.ItemTemplate>
- <DataTemplate>
- <StackPanel Orientation="Horizontal" Margin="15,5,15,5">
- <TextBlock Style="{DynamicResource 80号字体样式}" Text="{Binding xh,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Foreground="#FF00FFB3" />
- <TextBlock Style="{DynamicResource 80号字体样式}" Text="{Binding Name,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Foreground="#FF00FFB3" />
- <Image Margin="20,0,0,0" Style="{DynamicResource image完成}" Visibility="{Binding visibility,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></Image>
- </StackPanel>
- </DataTemplate>
- </ListBox.ItemTemplate>
- </ListBox>
- </StackPanel>
- </Grid>
- <Grid HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="100,0,-40,80" Grid.Column="4">
- <Rectangle Stroke="#FFFFA400" StrokeDashArray="5 5" Margin="10"/>
- <StackPanel>
- <TextBlock Style="{DynamicResource 80号字体样式}" Text="五号炒锅制作流程" Margin="20,20,20,5" FontSize="20" Foreground="#FFFCD5B5" />
- <StackPanel Orientation="Horizontal" Margin="20,5,20,0">
- <TextBlock Style="{DynamicResource 80号字体样式}" Text="菜品:" FontSize="20" Foreground="#FFFCD5B5" />
- <TextBlock Style="{DynamicResource 80号字体样式}"
- Text="{Binding wokModel_5.goodsName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
- Tag="{Binding wokModel_5.id,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
- ToolTip="{Binding wokModel_5.orderID,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
- FontSize="16" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="#FF00FFED" />
- </StackPanel>
- <TextBlock Style="{DynamicResource 80号字体样式}" Text="步骤:" Margin="20,5,20,0" FontSize="20" Foreground="#FFFCD5B5" />
- <ListBox ItemsSource="{Binding wokModel_5.workflows,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" Margin="0,0,0,10">
- <ListBox.ItemTemplate>
- <DataTemplate>
- <StackPanel Orientation="Horizontal" Margin="15,5,15,5">
- <TextBlock Style="{DynamicResource 80号字体样式}" Text="{Binding xh,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Foreground="#FF00FFB3" />
- <TextBlock Style="{DynamicResource 80号字体样式}" Text="{Binding Name,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Foreground="#FF00FFB3" />
- <Image Margin="20,0,0,0" Style="{DynamicResource image完成}" Visibility="{Binding visibility,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></Image>
- </StackPanel>
- </DataTemplate>
- </ListBox.ItemTemplate>
- </ListBox>
- </StackPanel>
- </Grid>
- </Grid>
-
-
- <!--#endregion-->
-
- <!--#region 滚筒线,IsEnabled True代表有菜 false 空碗.Text:Start 执行动画 Tag:代表传输带上有几个菜碗-->
- <StackPanel Orientation="Horizontal" Height="240" Width="580" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="290,0,0,0">
- <TextBlock Style="{DynamicResource 80号字体样式}" FontSize="16" Width="18" HorizontalAlignment="Right">满料桶滚筒线</TextBlock>
- <TextBox Style="{StaticResource 传送带}" IsEnabled="True" Text="{Binding RollerLines_1.Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Tag="{Binding RollerLines_1.DishesNum,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Margin="0,0,0,0" ></TextBox>
- <TextBlock Style="{DynamicResource 80号字体样式}" FontSize="16" Width="18" HorizontalAlignment="Right">(1)满料桶滚筒线</TextBlock>
- <TextBox Style="{StaticResource 传送带}" IsEnabled="True" Text="{Binding RollerLines_2.Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Tag="{Binding RollerLines_2.DishesNum,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Margin="80,0,0,0"></TextBox>
- <TextBlock Style="{DynamicResource 80号字体样式}" FontSize="16" Width="18" HorizontalAlignment="Right">(2)满料桶滚筒线</TextBlock>
- <TextBox Style="{StaticResource 传送带}" IsEnabled="True" Text="{Binding RollerLines_3.Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Tag="{Binding RollerLines_3.DishesNum,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Margin="80,0,0,0" ></TextBox>
- <TextBlock Style="{DynamicResource 80号字体样式}" FontSize="16" Width="18" HorizontalAlignment="Right">(3)满料桶滚筒线</TextBlock>
- <TextBox Style="{StaticResource 传送带空}" IsEnabled="False" Text="{Binding RollerLines_4.Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Tag="{Binding RollerLines_4.DishesNum,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Margin="80,0,0,0"></TextBox>
- <TextBlock Style="{DynamicResource 80号字体样式}" FontSize="16" Width="16" HorizontalAlignment="Right">空桶滚筒线</TextBlock>
- </StackPanel>
- <!--#endregion-->
-
- <!--#region 停车桩与充电桩-->
- <StackPanel HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,200,30,0">
- <Border Style="{DynamicResource border停车位}">
- <TextBlock Style="{DynamicResource 80号字体样式}" Margin="10,0,-15,0" HorizontalAlignment="Left" VerticalAlignment="Bottom">停车桩(1号)</TextBlock>
- </Border>
- <Border Style="{DynamicResource border停车位}">
- <TextBlock Style="{DynamicResource 80号字体样式}" Margin="10,0,-15,0" HorizontalAlignment="Left" VerticalAlignment="Bottom">停车桩(2号)</TextBlock>
- </Border>
- <Border Style="{DynamicResource border停车位}">
- <TextBlock Style="{DynamicResource 80号字体样式}" Margin="10,0,-15,0" HorizontalAlignment="Left" VerticalAlignment="Bottom">停车桩(3号)</TextBlock>
- </Border>
- <Border Style="{DynamicResource border停车位}">
- <TextBlock Style="{DynamicResource 80号字体样式}" Margin="10,0,-15,0" HorizontalAlignment="Left" VerticalAlignment="Bottom">停车桩(4号)</TextBlock>
- </Border>
- <Border Style="{DynamicResource border充电桩}">
- <TextBlock Style="{DynamicResource 80号字体样式}" Margin="0,10,-25,-13" HorizontalAlignment="Left" VerticalAlignment="Bottom">充电桩(5号)</TextBlock>
- </Border>
- <Border Style="{DynamicResource border充电桩}">
- <TextBlock Style="{DynamicResource 80号字体样式}" Margin="-2,0,-25,-13" HorizontalAlignment="Left" VerticalAlignment="Bottom">充电桩(6号)</TextBlock>
- </Border>
- </StackPanel>
- <StackPanel HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,200,100,0">
- <TextBox Style="{StaticResource 停车位}" Margin="0,15,0,0" Text="{Binding ParkingPileModel_1.Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
- <TextBox Style="{StaticResource 停车位}" Margin="0,23,0,0" Text="{Binding ParkingPileModel_2.Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
- <TextBox Style="{StaticResource 停车位}" Margin="0,26,0,0" Text="{Binding ParkingPileModel_3.Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
- <TextBox Style="{StaticResource 停车位}" Margin="0,25,0,0" Text="{Binding ParkingPileModel_4.Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
- <TextBox Style="{StaticResource 停车位}" Margin="0,25,0,0" Text="{Binding ParkingPileModel_5.Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" />
- <TextBox Style="{StaticResource 停车位}" Margin="0,25,0,0" Text="{Binding ParkingPileModel_6.Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
- </StackPanel>
- <!--#endregion-->
-
- </Grid>
- </UserControl>
|