终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1619 line
159 KiB

  1. <UserControl x:Class="FryPot_DosingSystem.View.AgvView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:FryPot_DosingSystem.View"
  7. xmlns:vm="clr-namespace:FryPot_DosingSystem.ViewModel"
  8. mc:Ignorable="d"
  9. d:DesignHeight="984" d:DesignWidth="1734">
  10. <UserControl.Resources>
  11. <ResourceDictionary>
  12. <ResourceDictionary.MergedDictionaries>
  13. <ResourceDictionary Source="/BPASmartClient.CustomResource;component/Themes/GenricStyle.xaml" />
  14. <ResourceDictionary Source="/BPASmartClient.CustomResource;component/Themes/MyStyle.xaml" />
  15. </ResourceDictionary.MergedDictionaries>
  16. <Style x:Key="传送带" BasedOn="{x:Null}" TargetType="{x:Type TextBox}">
  17. <Setter Property="Foreground" Value="#FF1F4D69"/>
  18. <Setter Property="Tag" Value="8"/>
  19. <Setter Property="Template">
  20. <Setter.Value>
  21. <ControlTemplate TargetType="{x:Type TextBox}">
  22. <ControlTemplate.Resources>
  23. <Storyboard RepeatBehavior="Forever" x:Key="csd_dh">
  24. <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
  25. <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
  26. <DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Collapsed}"/>
  27. <DiscreteObjectKeyFrame KeyTime="00:00:01" Value="{x:Static Visibility.Visible}"/>
  28. <DiscreteObjectKeyFrame KeyTime="00:00:1.2" Value="{x:Static Visibility.Collapsed}"/>
  29. <DiscreteObjectKeyFrame KeyTime="00:00:1.5" Value="{x:Static Visibility.Visible}"/>
  30. <DiscreteObjectKeyFrame KeyTime="00:00:2" Value="{x:Static Visibility.Collapsed}"/>
  31. <DiscreteObjectKeyFrame KeyTime="00:00:2.5" Value="{x:Static Visibility.Visible}"/>
  32. <DiscreteObjectKeyFrame KeyTime="00:00:3" Value="{x:Static Visibility.Collapsed}"/>
  33. </ObjectAnimationUsingKeyFrames>
  34. <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path1" Storyboard.TargetProperty="(UIElement.Visibility)">
  35. <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
  36. <DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Collapsed}"/>
  37. <DiscreteObjectKeyFrame KeyTime="00:00:01" Value="{x:Static Visibility.Visible}"/>
  38. <DiscreteObjectKeyFrame KeyTime="00:00:1.2" Value="{x:Static Visibility.Collapsed}"/>
  39. <DiscreteObjectKeyFrame KeyTime="00:00:1.5" Value="{x:Static Visibility.Visible}"/>
  40. <DiscreteObjectKeyFrame KeyTime="00:00:2" Value="{x:Static Visibility.Collapsed}"/>
  41. <DiscreteObjectKeyFrame KeyTime="00:00:2.5" Value="{x:Static Visibility.Visible}"/>
  42. <DiscreteObjectKeyFrame KeyTime="00:00:3" Value="{x:Static Visibility.Collapsed}"/>
  43. </ObjectAnimationUsingKeyFrames>
  44. <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.Visibility)">
  45. <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
  46. <DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Collapsed}"/>
  47. <DiscreteObjectKeyFrame KeyTime="00:00:01" Value="{x:Static Visibility.Visible}"/>
  48. <DiscreteObjectKeyFrame KeyTime="00:00:1.2" Value="{x:Static Visibility.Collapsed}"/>
  49. <DiscreteObjectKeyFrame KeyTime="00:00:1.5" Value="{x:Static Visibility.Visible}"/>
  50. <DiscreteObjectKeyFrame KeyTime="00:00:2" Value="{x:Static Visibility.Collapsed}"/>
  51. <DiscreteObjectKeyFrame KeyTime="00:00:2.5" Value="{x:Static Visibility.Visible}"/>
  52. <DiscreteObjectKeyFrame KeyTime="00:00:3" Value="{x:Static Visibility.Collapsed}"/>
  53. </ObjectAnimationUsingKeyFrames>
  54. <ColorAnimationUsingKeyFrames Storyboard.TargetName="select_color" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)">
  55. <EasingColorKeyFrame KeyTime="00:00:00" Value="Lime"/>
  56. <EasingColorKeyFrame KeyTime="00:00:1" Value="Red"/>
  57. <EasingColorKeyFrame KeyTime="00:00:2" Value="Lime"/>
  58. <EasingColorKeyFrame KeyTime="00:00:3" Value="#FF1F4D69"/>
  59. </ColorAnimationUsingKeyFrames>
  60. <ColorAnimationUsingKeyFrames Storyboard.TargetName="unselect_color" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)">
  61. <EasingColorKeyFrame KeyTime="00:00:00" Value="#FF1F4D69"/>
  62. <EasingColorKeyFrame KeyTime="00:00:1" Value="Lime"/>
  63. <EasingColorKeyFrame KeyTime="00:00:2" Value="#FF1F4D69"/>
  64. <EasingColorKeyFrame KeyTime="00:00:3" Value="Yellow"/>
  65. </ColorAnimationUsingKeyFrames>
  66. <ColorAnimationUsingKeyFrames Storyboard.TargetName="gridSplitter" Storyboard.TargetProperty="(Control.Background).(SolidColorBrush.Color)">
  67. <EasingColorKeyFrame KeyTime="00:00:00" Value="#FF1F4D69"/>
  68. <EasingColorKeyFrame KeyTime="00:00:1" Value="Yellow"/>
  69. </ColorAnimationUsingKeyFrames>
  70. <ColorAnimationUsingKeyFrames Storyboard.TargetName="gridSplitter1" Storyboard.TargetProperty="(Control.Background).(SolidColorBrush.Color)">
  71. <EasingColorKeyFrame KeyTime="00:00:00" Value="#FF1F4D69"/>
  72. <EasingColorKeyFrame KeyTime="00:00:1" Value="Yellow"/>
  73. </ColorAnimationUsingKeyFrames>
  74. </Storyboard>
  75. </ControlTemplate.Resources>
  76. <Grid Width="60" Height="240" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,0,0,0">
  77. <GridSplitter x:Name="gridSplitter" Width="5"></GridSplitter>
  78. <GridSplitter x:Name="gridSplitter1" Width="5" HorizontalAlignment="Left"></GridSplitter>
  79. <Border x:Name="select_color" Background="#FF1F4D69" Visibility="Collapsed"></Border>
  80. <Border x:Name="unselect_color" Background="#FF1F4D69" Visibility="Collapsed"></Border>
  81. <StackPanel>
  82. <Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
  83. <Rectangle Fill="{Binding Background, ElementName=select_color }" Height="5" Margin="5"/>
  84. <Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
  85. <Rectangle Fill="{Binding Background, ElementName=select_color}" Height="5" Margin="5"/>
  86. <Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
  87. <Rectangle Fill="{Binding Background, ElementName=select_color}" Height="5" Margin="5"/>
  88. <Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
  89. <Rectangle Fill="{Binding Background, ElementName=select_color}" Height="5" Margin="5"/>
  90. <Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
  91. <Rectangle Fill="{Binding Background, ElementName=select_color}" Height="5" Margin="5"/>
  92. <Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
  93. <Rectangle Fill="{Binding Background, ElementName=select_color}" Height="5" Margin="5"/>
  94. <Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
  95. <Rectangle Fill="{Binding Background, ElementName=select_color}" Height="5" Margin="5"/>
  96. <Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
  97. </StackPanel>
  98. <StackPanel VerticalAlignment="Bottom" Margin="0,0,0,20">
  99. <Grid x:Name="c1" Width="40" Height="27" >
  100. <Border Style="{DynamicResource border碗}" ></Border>
  101. <Border x:Name="cai1" Style="{DynamicResource border菜}"></Border>
  102. </Grid>
  103. <Grid x:Name="c2" Width="40" Height="27" >
  104. <Border Style="{DynamicResource border碗}" ></Border>
  105. <Border x:Name="cai2" Style="{DynamicResource border菜}"></Border>
  106. </Grid>
  107. <Grid x:Name="c3" Width="40" Height="27" >
  108. <Border Style="{DynamicResource border碗}" ></Border>
  109. <Border x:Name="cai3" Style="{DynamicResource border菜}"></Border>
  110. </Grid>
  111. <Grid x:Name="c4" Width="40" Height="27" >
  112. <Border Style="{DynamicResource border碗}" ></Border>
  113. <Border x:Name="cai4" Style="{DynamicResource border菜}"></Border>
  114. </Grid>
  115. <Grid x:Name="c5" Width="40" Height="27" >
  116. <Border Style="{DynamicResource border碗}" ></Border>
  117. <Border x:Name="cai5" Style="{DynamicResource border菜}"></Border>
  118. </Grid>
  119. <Grid x:Name="c6" Width="40" Height="27" >
  120. <Border Style="{DynamicResource border碗}" ></Border>
  121. <Border x:Name="cai6" Style="{DynamicResource border菜}"></Border>
  122. </Grid>
  123. <Grid x:Name="c7" Width="40" Height="27" >
  124. <Border Style="{DynamicResource border碗}" ></Border>
  125. <Border x:Name="cai7" Style="{DynamicResource border菜}"></Border>
  126. </Grid>
  127. <Grid x:Name="c8" Width="40" Height="27" >
  128. <Border Style="{DynamicResource border碗}" ></Border>
  129. <Border x:Name="cai8" Style="{DynamicResource border菜}"></Border>
  130. </Grid>
  131. </StackPanel>
  132. <Ellipse x:Name="ellipse" Margin="0,4,6,0" Visibility="Collapsed" Fill="Lime" Width="6" Height="6" VerticalAlignment="Bottom" HorizontalAlignment="Right"/>
  133. <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">
  134. <Path.RenderTransform>
  135. <TransformGroup>
  136. <ScaleTransform/>
  137. <SkewTransform/>
  138. <RotateTransform Angle="0"/>
  139. <TranslateTransform/>
  140. </TransformGroup>
  141. </Path.RenderTransform>
  142. </Path>
  143. <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">
  144. <Path.RenderTransform>
  145. <TransformGroup>
  146. <ScaleTransform/>
  147. <SkewTransform/>
  148. <RotateTransform Angle="0"/>
  149. <TranslateTransform/>
  150. </TransformGroup>
  151. </Path.RenderTransform>
  152. </Path>
  153. </Grid>
  154. <ControlTemplate.Triggers>
  155. <Trigger Property="Text" Value="Start">
  156. <Trigger.EnterActions>
  157. <BeginStoryboard x:Name="begin_name" Storyboard="{StaticResource csd_dh}"/>
  158. </Trigger.EnterActions>
  159. </Trigger>
  160. <Trigger Property="Text" Value="Stop">
  161. <Trigger.EnterActions>
  162. <StopStoryboard BeginStoryboardName="begin_name"/>
  163. </Trigger.EnterActions>
  164. </Trigger>
  165. <Trigger Property="IsEnabled" Value="false">
  166. <Setter TargetName="cai1" Property="Visibility" Value="Collapsed" />
  167. <Setter TargetName="cai2" Property="Visibility" Value="Collapsed" />
  168. <Setter TargetName="cai3" Property="Visibility" Value="Collapsed" />
  169. <Setter TargetName="cai4" Property="Visibility" Value="Collapsed" />
  170. <Setter TargetName="cai5" Property="Visibility" Value="Collapsed" />
  171. <Setter TargetName="cai6" Property="Visibility" Value="Collapsed" />
  172. <Setter TargetName="cai7" Property="Visibility" Value="Collapsed" />
  173. <Setter TargetName="cai8" Property="Visibility" Value="Collapsed" />
  174. <!--<Setter TargetName="pathname1" Property="Angle" Value="180" />
  175. <Setter TargetName="pathname2" Property="Angle" Value="180" />-->
  176. </Trigger>
  177. <Trigger Property="IsEnabled" Value="True">
  178. <Setter TargetName="cai1" Property="Visibility" Value="Visible" />
  179. <Setter TargetName="cai2" Property="Visibility" Value="Visible" />
  180. <Setter TargetName="cai3" Property="Visibility" Value="Visible" />
  181. <Setter TargetName="cai4" Property="Visibility" Value="Visible" />
  182. <Setter TargetName="cai5" Property="Visibility" Value="Visible" />
  183. <Setter TargetName="cai6" Property="Visibility" Value="Visible" />
  184. <Setter TargetName="cai7" Property="Visibility" Value="Visible" />
  185. <Setter TargetName="cai8" Property="Visibility" Value="Visible" />
  186. <!--<Setter TargetName="pathname1" Property="Angle" Value="0" />
  187. <Setter TargetName="pathname2" Property="Angle" Value="0" />-->
  188. </Trigger>
  189. <!--#region Tag 数据绑定-->
  190. <Trigger Property="Tag" Value="0">
  191. <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
  192. <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
  193. <Setter TargetName="c3" Property="Visibility" Value="Collapsed" />
  194. <Setter TargetName="c4" Property="Visibility" Value="Collapsed" />
  195. <Setter TargetName="c5" Property="Visibility" Value="Collapsed" />
  196. <Setter TargetName="c6" Property="Visibility" Value="Collapsed" />
  197. <Setter TargetName="c7" Property="Visibility" Value="Collapsed" />
  198. <Setter TargetName="c8" Property="Visibility" Value="Collapsed" />
  199. </Trigger>
  200. <Trigger Property="Tag" Value="1">
  201. <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
  202. <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
  203. <Setter TargetName="c3" Property="Visibility" Value="Collapsed" />
  204. <Setter TargetName="c4" Property="Visibility" Value="Collapsed" />
  205. <Setter TargetName="c5" Property="Visibility" Value="Collapsed" />
  206. <Setter TargetName="c6" Property="Visibility" Value="Collapsed" />
  207. <Setter TargetName="c7" Property="Visibility" Value="Collapsed" />
  208. <Setter TargetName="c8" Property="Visibility" Value="Visible" />
  209. </Trigger>
  210. <Trigger Property="Tag" Value="2">
  211. <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
  212. <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
  213. <Setter TargetName="c3" Property="Visibility" Value="Collapsed" />
  214. <Setter TargetName="c4" Property="Visibility" Value="Collapsed" />
  215. <Setter TargetName="c5" Property="Visibility" Value="Collapsed" />
  216. <Setter TargetName="c6" Property="Visibility" Value="Collapsed" />
  217. <Setter TargetName="c7" Property="Visibility" Value="Visible" />
  218. <Setter TargetName="c8" Property="Visibility" Value="Visible" />
  219. </Trigger>
  220. <Trigger Property="Tag" Value="3">
  221. <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
  222. <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
  223. <Setter TargetName="c3" Property="Visibility" Value="Collapsed" />
  224. <Setter TargetName="c4" Property="Visibility" Value="Collapsed" />
  225. <Setter TargetName="c5" Property="Visibility" Value="Collapsed" />
  226. <Setter TargetName="c6" Property="Visibility" Value="Visible" />
  227. <Setter TargetName="c7" Property="Visibility" Value="Visible" />
  228. <Setter TargetName="c8" Property="Visibility" Value="Visible" />
  229. </Trigger>
  230. <Trigger Property="Tag" Value="4">
  231. <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
  232. <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
  233. <Setter TargetName="c3" Property="Visibility" Value="Collapsed" />
  234. <Setter TargetName="c4" Property="Visibility" Value="Collapsed" />
  235. <Setter TargetName="c5" Property="Visibility" Value="Visible" />
  236. <Setter TargetName="c6" Property="Visibility" Value="Visible" />
  237. <Setter TargetName="c7" Property="Visibility" Value="Visible" />
  238. <Setter TargetName="c8" Property="Visibility" Value="Visible" />
  239. </Trigger>
  240. <Trigger Property="Tag" Value="5">
  241. <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
  242. <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
  243. <Setter TargetName="c3" Property="Visibility" Value="Collapsed" />
  244. <Setter TargetName="c4" Property="Visibility" Value="Visible" />
  245. <Setter TargetName="c5" Property="Visibility" Value="Visible" />
  246. <Setter TargetName="c6" Property="Visibility" Value="Visible" />
  247. <Setter TargetName="c7" Property="Visibility" Value="Visible" />
  248. <Setter TargetName="c8" Property="Visibility" Value="Visible" />
  249. </Trigger>
  250. <Trigger Property="Tag" Value="6">
  251. <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
  252. <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
  253. <Setter TargetName="c3" Property="Visibility" Value="Visible" />
  254. <Setter TargetName="c4" Property="Visibility" Value="Visible" />
  255. <Setter TargetName="c5" Property="Visibility" Value="Visible" />
  256. <Setter TargetName="c6" Property="Visibility" Value="Visible" />
  257. <Setter TargetName="c7" Property="Visibility" Value="Visible" />
  258. <Setter TargetName="c8" Property="Visibility" Value="Visible" />
  259. </Trigger>
  260. <Trigger Property="Tag" Value="7">
  261. <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
  262. <Setter TargetName="c2" Property="Visibility" Value="Visible" />
  263. <Setter TargetName="c3" Property="Visibility" Value="Visible" />
  264. <Setter TargetName="c4" Property="Visibility" Value="Visible" />
  265. <Setter TargetName="c5" Property="Visibility" Value="Visible" />
  266. <Setter TargetName="c6" Property="Visibility" Value="Visible" />
  267. <Setter TargetName="c7" Property="Visibility" Value="Visible" />
  268. <Setter TargetName="c8" Property="Visibility" Value="Visible" />
  269. </Trigger>
  270. <Trigger Property="Tag" Value="8">
  271. <Setter TargetName="c1" Property="Visibility" Value="Visible" />
  272. <Setter TargetName="c2" Property="Visibility" Value="Visible" />
  273. <Setter TargetName="c3" Property="Visibility" Value="Visible" />
  274. <Setter TargetName="c4" Property="Visibility" Value="Visible" />
  275. <Setter TargetName="c5" Property="Visibility" Value="Visible" />
  276. <Setter TargetName="c6" Property="Visibility" Value="Visible" />
  277. <Setter TargetName="c7" Property="Visibility" Value="Visible" />
  278. <Setter TargetName="c8" Property="Visibility" Value="Visible" />
  279. </Trigger>
  280. <!--#endregion-->
  281. </ControlTemplate.Triggers>
  282. </ControlTemplate>
  283. </Setter.Value>
  284. </Setter>
  285. </Style>
  286. <Style x:Key="传送带空" BasedOn="{x:Null}" TargetType="{x:Type TextBox}">
  287. <Setter Property="Foreground" Value="#FF1F4D69"/>
  288. <Setter Property="Tag" Value="8"/>
  289. <Setter Property="Template">
  290. <Setter.Value>
  291. <ControlTemplate TargetType="{x:Type TextBox}">
  292. <ControlTemplate.Resources>
  293. <Storyboard RepeatBehavior="Forever" x:Key="csd_dh">
  294. <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
  295. <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
  296. <DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Collapsed}"/>
  297. <DiscreteObjectKeyFrame KeyTime="00:00:01" Value="{x:Static Visibility.Visible}"/>
  298. <DiscreteObjectKeyFrame KeyTime="00:00:1.2" Value="{x:Static Visibility.Collapsed}"/>
  299. <DiscreteObjectKeyFrame KeyTime="00:00:1.5" Value="{x:Static Visibility.Visible}"/>
  300. <DiscreteObjectKeyFrame KeyTime="00:00:2" Value="{x:Static Visibility.Collapsed}"/>
  301. <DiscreteObjectKeyFrame KeyTime="00:00:2.5" Value="{x:Static Visibility.Visible}"/>
  302. <DiscreteObjectKeyFrame KeyTime="00:00:3" Value="{x:Static Visibility.Collapsed}"/>
  303. </ObjectAnimationUsingKeyFrames>
  304. <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path1" Storyboard.TargetProperty="(UIElement.Visibility)">
  305. <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
  306. <DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Collapsed}"/>
  307. <DiscreteObjectKeyFrame KeyTime="00:00:01" Value="{x:Static Visibility.Visible}"/>
  308. <DiscreteObjectKeyFrame KeyTime="00:00:1.2" Value="{x:Static Visibility.Collapsed}"/>
  309. <DiscreteObjectKeyFrame KeyTime="00:00:1.5" Value="{x:Static Visibility.Visible}"/>
  310. <DiscreteObjectKeyFrame KeyTime="00:00:2" Value="{x:Static Visibility.Collapsed}"/>
  311. <DiscreteObjectKeyFrame KeyTime="00:00:2.5" Value="{x:Static Visibility.Visible}"/>
  312. <DiscreteObjectKeyFrame KeyTime="00:00:3" Value="{x:Static Visibility.Collapsed}"/>
  313. </ObjectAnimationUsingKeyFrames>
  314. <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.Visibility)">
  315. <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
  316. <DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Collapsed}"/>
  317. <DiscreteObjectKeyFrame KeyTime="00:00:01" Value="{x:Static Visibility.Visible}"/>
  318. <DiscreteObjectKeyFrame KeyTime="00:00:1.2" Value="{x:Static Visibility.Collapsed}"/>
  319. <DiscreteObjectKeyFrame KeyTime="00:00:1.5" Value="{x:Static Visibility.Visible}"/>
  320. <DiscreteObjectKeyFrame KeyTime="00:00:2" Value="{x:Static Visibility.Collapsed}"/>
  321. <DiscreteObjectKeyFrame KeyTime="00:00:2.5" Value="{x:Static Visibility.Visible}"/>
  322. <DiscreteObjectKeyFrame KeyTime="00:00:3" Value="{x:Static Visibility.Collapsed}"/>
  323. </ObjectAnimationUsingKeyFrames>
  324. <ColorAnimationUsingKeyFrames Storyboard.TargetName="select_color" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)">
  325. <EasingColorKeyFrame KeyTime="00:00:00" Value="Lime"/>
  326. <EasingColorKeyFrame KeyTime="00:00:1" Value="Red"/>
  327. <EasingColorKeyFrame KeyTime="00:00:2" Value="Lime"/>
  328. <EasingColorKeyFrame KeyTime="00:00:3" Value="#FF1F4D69"/>
  329. </ColorAnimationUsingKeyFrames>
  330. <ColorAnimationUsingKeyFrames Storyboard.TargetName="unselect_color" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)">
  331. <EasingColorKeyFrame KeyTime="00:00:00" Value="#FF1F4D69"/>
  332. <EasingColorKeyFrame KeyTime="00:00:1" Value="Lime"/>
  333. <EasingColorKeyFrame KeyTime="00:00:2" Value="#FF1F4D69"/>
  334. <EasingColorKeyFrame KeyTime="00:00:3" Value="Yellow"/>
  335. </ColorAnimationUsingKeyFrames>
  336. <ColorAnimationUsingKeyFrames Storyboard.TargetName="gridSplitter" Storyboard.TargetProperty="(Control.Background).(SolidColorBrush.Color)">
  337. <EasingColorKeyFrame KeyTime="00:00:00" Value="#FF1F4D69"/>
  338. <EasingColorKeyFrame KeyTime="00:00:1" Value="Yellow"/>
  339. </ColorAnimationUsingKeyFrames>
  340. <ColorAnimationUsingKeyFrames Storyboard.TargetName="gridSplitter1" Storyboard.TargetProperty="(Control.Background).(SolidColorBrush.Color)">
  341. <EasingColorKeyFrame KeyTime="00:00:00" Value="#FF1F4D69"/>
  342. <EasingColorKeyFrame KeyTime="00:00:1" Value="Yellow"/>
  343. </ColorAnimationUsingKeyFrames>
  344. </Storyboard>
  345. </ControlTemplate.Resources>
  346. <Grid Width="60" Height="240" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,0,0,0">
  347. <GridSplitter x:Name="gridSplitter" Width="5"></GridSplitter>
  348. <GridSplitter x:Name="gridSplitter1" Width="5" HorizontalAlignment="Left"></GridSplitter>
  349. <Border x:Name="select_color" Background="#FF1F4D69" Visibility="Collapsed"></Border>
  350. <Border x:Name="unselect_color" Background="#FF1F4D69" Visibility="Collapsed"></Border>
  351. <StackPanel>
  352. <Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
  353. <Rectangle Fill="{Binding Background, ElementName=select_color }" Height="5" Margin="5"/>
  354. <Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
  355. <Rectangle Fill="{Binding Background, ElementName=select_color}" Height="5" Margin="5"/>
  356. <Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
  357. <Rectangle Fill="{Binding Background, ElementName=select_color}" Height="5" Margin="5"/>
  358. <Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
  359. <Rectangle Fill="{Binding Background, ElementName=select_color}" Height="5" Margin="5"/>
  360. <Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
  361. <Rectangle Fill="{Binding Background, ElementName=select_color}" Height="5" Margin="5"/>
  362. <Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
  363. <Rectangle Fill="{Binding Background, ElementName=select_color}" Height="5" Margin="5"/>
  364. <Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
  365. <Rectangle Fill="{Binding Background, ElementName=select_color}" Height="5" Margin="5"/>
  366. <Rectangle Fill="{Binding Background, ElementName=unselect_color}" Height="5" Margin="5"/>
  367. </StackPanel>
  368. <StackPanel VerticalAlignment="Bottom" Margin="0,0,0,20">
  369. <Grid x:Name="c1" Width="40" Height="27" >
  370. <Border Style="{DynamicResource border碗}" ></Border>
  371. <Border x:Name="cai1" Style="{DynamicResource border菜}"></Border>
  372. </Grid>
  373. <Grid x:Name="c2" Width="40" Height="27" >
  374. <Border Style="{DynamicResource border碗}" ></Border>
  375. <Border x:Name="cai2" Style="{DynamicResource border菜}"></Border>
  376. </Grid>
  377. <Grid x:Name="c3" Width="40" Height="27" >
  378. <Border Style="{DynamicResource border碗}" ></Border>
  379. <Border x:Name="cai3" Style="{DynamicResource border菜}"></Border>
  380. </Grid>
  381. <Grid x:Name="c4" Width="40" Height="27" >
  382. <Border Style="{DynamicResource border碗}" ></Border>
  383. <Border x:Name="cai4" Style="{DynamicResource border菜}"></Border>
  384. </Grid>
  385. <Grid x:Name="c5" Width="40" Height="27" >
  386. <Border Style="{DynamicResource border碗}" ></Border>
  387. <Border x:Name="cai5" Style="{DynamicResource border菜}"></Border>
  388. </Grid>
  389. <Grid x:Name="c6" Width="40" Height="27" >
  390. <Border Style="{DynamicResource border碗}" ></Border>
  391. <Border x:Name="cai6" Style="{DynamicResource border菜}"></Border>
  392. </Grid>
  393. <Grid x:Name="c7" Width="40" Height="27" >
  394. <Border Style="{DynamicResource border碗}" ></Border>
  395. <Border x:Name="cai7" Style="{DynamicResource border菜}"></Border>
  396. </Grid>
  397. <Grid x:Name="c8" Width="40" Height="27" >
  398. <Border Style="{DynamicResource border碗}" ></Border>
  399. <Border x:Name="cai8" Style="{DynamicResource border菜}"></Border>
  400. </Grid>
  401. </StackPanel>
  402. <Ellipse x:Name="ellipse" Margin="0,4,6,0" Visibility="Collapsed" Fill="Lime" Width="6" Height="6" VerticalAlignment="Bottom" HorizontalAlignment="Right"/>
  403. <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">
  404. <Path.RenderTransform>
  405. <TransformGroup>
  406. <ScaleTransform/>
  407. <SkewTransform/>
  408. <RotateTransform Angle="180"/>
  409. <TranslateTransform/>
  410. </TransformGroup>
  411. </Path.RenderTransform>
  412. </Path>
  413. <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">
  414. <Path.RenderTransform>
  415. <TransformGroup>
  416. <ScaleTransform/>
  417. <SkewTransform/>
  418. <RotateTransform Angle="180"/>
  419. <TranslateTransform/>
  420. </TransformGroup>
  421. </Path.RenderTransform>
  422. </Path>
  423. </Grid>
  424. <ControlTemplate.Triggers>
  425. <Trigger Property="Text" Value="Start">
  426. <Trigger.EnterActions>
  427. <BeginStoryboard x:Name="begin_name" Storyboard="{StaticResource csd_dh}"/>
  428. </Trigger.EnterActions>
  429. </Trigger>
  430. <Trigger Property="Text" Value="Stop">
  431. <Trigger.EnterActions>
  432. <StopStoryboard BeginStoryboardName="begin_name"/>
  433. </Trigger.EnterActions>
  434. </Trigger>
  435. <Trigger Property="IsEnabled" Value="false">
  436. <Setter TargetName="cai1" Property="Visibility" Value="Collapsed" />
  437. <Setter TargetName="cai2" Property="Visibility" Value="Collapsed" />
  438. <Setter TargetName="cai3" Property="Visibility" Value="Collapsed" />
  439. <Setter TargetName="cai4" Property="Visibility" Value="Collapsed" />
  440. <Setter TargetName="cai5" Property="Visibility" Value="Collapsed" />
  441. <Setter TargetName="cai6" Property="Visibility" Value="Collapsed" />
  442. <Setter TargetName="cai7" Property="Visibility" Value="Collapsed" />
  443. <Setter TargetName="cai8" Property="Visibility" Value="Collapsed" />
  444. <!--<Setter TargetName="pathname1" Property="Angle" Value="180" />
  445. <Setter TargetName="pathname2" Property="Angle" Value="180" />-->
  446. </Trigger>
  447. <Trigger Property="IsEnabled" Value="True">
  448. <Setter TargetName="cai1" Property="Visibility" Value="Visible" />
  449. <Setter TargetName="cai2" Property="Visibility" Value="Visible" />
  450. <Setter TargetName="cai3" Property="Visibility" Value="Visible" />
  451. <Setter TargetName="cai4" Property="Visibility" Value="Visible" />
  452. <Setter TargetName="cai5" Property="Visibility" Value="Visible" />
  453. <Setter TargetName="cai6" Property="Visibility" Value="Visible" />
  454. <Setter TargetName="cai7" Property="Visibility" Value="Visible" />
  455. <Setter TargetName="cai8" Property="Visibility" Value="Visible" />
  456. <!--<Setter TargetName="pathname1" Property="Angle" Value="0" />
  457. <Setter TargetName="pathname2" Property="Angle" Value="0" />-->
  458. </Trigger>
  459. <!--#region Tag 数据绑定-->
  460. <Trigger Property="Tag" Value="0">
  461. <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
  462. <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
  463. <Setter TargetName="c3" Property="Visibility" Value="Collapsed" />
  464. <Setter TargetName="c4" Property="Visibility" Value="Collapsed" />
  465. <Setter TargetName="c5" Property="Visibility" Value="Collapsed" />
  466. <Setter TargetName="c6" Property="Visibility" Value="Collapsed" />
  467. <Setter TargetName="c7" Property="Visibility" Value="Collapsed" />
  468. <Setter TargetName="c8" Property="Visibility" Value="Collapsed" />
  469. </Trigger>
  470. <Trigger Property="Tag" Value="1">
  471. <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
  472. <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
  473. <Setter TargetName="c3" Property="Visibility" Value="Collapsed" />
  474. <Setter TargetName="c4" Property="Visibility" Value="Collapsed" />
  475. <Setter TargetName="c5" Property="Visibility" Value="Collapsed" />
  476. <Setter TargetName="c6" Property="Visibility" Value="Collapsed" />
  477. <Setter TargetName="c7" Property="Visibility" Value="Collapsed" />
  478. <Setter TargetName="c8" Property="Visibility" Value="Visible" />
  479. </Trigger>
  480. <Trigger Property="Tag" Value="2">
  481. <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
  482. <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
  483. <Setter TargetName="c3" Property="Visibility" Value="Collapsed" />
  484. <Setter TargetName="c4" Property="Visibility" Value="Collapsed" />
  485. <Setter TargetName="c5" Property="Visibility" Value="Collapsed" />
  486. <Setter TargetName="c6" Property="Visibility" Value="Collapsed" />
  487. <Setter TargetName="c7" Property="Visibility" Value="Visible" />
  488. <Setter TargetName="c8" Property="Visibility" Value="Visible" />
  489. </Trigger>
  490. <Trigger Property="Tag" Value="3">
  491. <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
  492. <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
  493. <Setter TargetName="c3" Property="Visibility" Value="Collapsed" />
  494. <Setter TargetName="c4" Property="Visibility" Value="Collapsed" />
  495. <Setter TargetName="c5" Property="Visibility" Value="Collapsed" />
  496. <Setter TargetName="c6" Property="Visibility" Value="Visible" />
  497. <Setter TargetName="c7" Property="Visibility" Value="Visible" />
  498. <Setter TargetName="c8" Property="Visibility" Value="Visible" />
  499. </Trigger>
  500. <Trigger Property="Tag" Value="4">
  501. <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
  502. <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
  503. <Setter TargetName="c3" Property="Visibility" Value="Collapsed" />
  504. <Setter TargetName="c4" Property="Visibility" Value="Collapsed" />
  505. <Setter TargetName="c5" Property="Visibility" Value="Visible" />
  506. <Setter TargetName="c6" Property="Visibility" Value="Visible" />
  507. <Setter TargetName="c7" Property="Visibility" Value="Visible" />
  508. <Setter TargetName="c8" Property="Visibility" Value="Visible" />
  509. </Trigger>
  510. <Trigger Property="Tag" Value="5">
  511. <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
  512. <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
  513. <Setter TargetName="c3" Property="Visibility" Value="Collapsed" />
  514. <Setter TargetName="c4" Property="Visibility" Value="Visible" />
  515. <Setter TargetName="c5" Property="Visibility" Value="Visible" />
  516. <Setter TargetName="c6" Property="Visibility" Value="Visible" />
  517. <Setter TargetName="c7" Property="Visibility" Value="Visible" />
  518. <Setter TargetName="c8" Property="Visibility" Value="Visible" />
  519. </Trigger>
  520. <Trigger Property="Tag" Value="6">
  521. <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
  522. <Setter TargetName="c2" Property="Visibility" Value="Collapsed" />
  523. <Setter TargetName="c3" Property="Visibility" Value="Visible" />
  524. <Setter TargetName="c4" Property="Visibility" Value="Visible" />
  525. <Setter TargetName="c5" Property="Visibility" Value="Visible" />
  526. <Setter TargetName="c6" Property="Visibility" Value="Visible" />
  527. <Setter TargetName="c7" Property="Visibility" Value="Visible" />
  528. <Setter TargetName="c8" Property="Visibility" Value="Visible" />
  529. </Trigger>
  530. <Trigger Property="Tag" Value="7">
  531. <Setter TargetName="c1" Property="Visibility" Value="Collapsed" />
  532. <Setter TargetName="c2" Property="Visibility" Value="Visible" />
  533. <Setter TargetName="c3" Property="Visibility" Value="Visible" />
  534. <Setter TargetName="c4" Property="Visibility" Value="Visible" />
  535. <Setter TargetName="c5" Property="Visibility" Value="Visible" />
  536. <Setter TargetName="c6" Property="Visibility" Value="Visible" />
  537. <Setter TargetName="c7" Property="Visibility" Value="Visible" />
  538. <Setter TargetName="c8" Property="Visibility" Value="Visible" />
  539. </Trigger>
  540. <Trigger Property="Tag" Value="8">
  541. <Setter TargetName="c1" Property="Visibility" Value="Visible" />
  542. <Setter TargetName="c2" Property="Visibility" Value="Visible" />
  543. <Setter TargetName="c3" Property="Visibility" Value="Visible" />
  544. <Setter TargetName="c4" Property="Visibility" Value="Visible" />
  545. <Setter TargetName="c5" Property="Visibility" Value="Visible" />
  546. <Setter TargetName="c6" Property="Visibility" Value="Visible" />
  547. <Setter TargetName="c7" Property="Visibility" Value="Visible" />
  548. <Setter TargetName="c8" Property="Visibility" Value="Visible" />
  549. </Trigger>
  550. <!--#endregion-->
  551. </ControlTemplate.Triggers>
  552. </ControlTemplate>
  553. </Setter.Value>
  554. </Setter>
  555. </Style>
  556. <Style x:Key="停车位" BasedOn="{x:Null}" TargetType="{x:Type TextBox}">
  557. <Setter Property="Foreground" Value="#FF1F4D69"/>
  558. <Setter Property="Text" Value="Yes"/>
  559. <Setter Property="Template">
  560. <Setter.Value>
  561. <ControlTemplate TargetType="{x:Type TextBox}">
  562. <Grid Width="60" Height="55">
  563. <Ellipse x:Name="name_11" VerticalAlignment="Bottom" Visibility="Collapsed" Margin="0,0,0,0" Fill="#FF9E4C4C" Stroke="#FF9E4141" Width="60" Height="20"></Ellipse>
  564. <Ellipse x:Name="name_12" VerticalAlignment="Bottom" Visibility="Collapsed" Margin="0,0,0,5" Fill="#FFAD2121" Stroke="#FF9E4141" Width="40" Height="10"></Ellipse>
  565. <Ellipse x:Name="name_21" VerticalAlignment="Bottom" Visibility="Visible" Margin="0,0,0,0" Fill="#FF4CA756" Stroke="#FF419E53" Width="60" Height="20"></Ellipse>
  566. <Ellipse x:Name="name_22" VerticalAlignment="Bottom" Visibility="Visible" Margin="0,0,0,5" Fill="#FF1CAB3F" Stroke="#FF2D842A" Width="40" Height="10"></Ellipse>
  567. <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">
  568. <Border.RenderTransform>
  569. <TransformGroup>
  570. <ScaleTransform ScaleX="-0.8" ScaleY="-0.6"/>
  571. <SkewTransform/>
  572. <RotateTransform Angle="185"/>
  573. <TranslateTransform X="1" Y="0.5"/>
  574. </TransformGroup>
  575. </Border.RenderTransform>
  576. </Border>
  577. </Grid>
  578. <ControlTemplate.Triggers>
  579. <Trigger Property="Text" Value="Yes">
  580. <Setter TargetName="name_11" Property="Visibility" Value="Collapsed" />
  581. <Setter TargetName="name_12" Property="Visibility" Value="Collapsed" />
  582. <Setter TargetName="name_21" Property="Visibility" Value="Visible" />
  583. <Setter TargetName="name_22" Property="Visibility" Value="Visible" />
  584. <Setter TargetName="chezi" Property="Visibility" Value="Visible" />
  585. </Trigger>
  586. <Trigger Property="Text" Value="No">
  587. <Setter TargetName="name_11" Property="Visibility" Value="Visible" />
  588. <Setter TargetName="name_12" Property="Visibility" Value="Visible" />
  589. <Setter TargetName="name_21" Property="Visibility" Value="Collapsed" />
  590. <Setter TargetName="name_22" Property="Visibility" Value="Collapsed" />
  591. <Setter TargetName="chezi" Property="Visibility" Value="Collapsed" />
  592. </Trigger>
  593. </ControlTemplate.Triggers>
  594. </ControlTemplate>
  595. </Setter.Value>
  596. </Setter>
  597. </Style>
  598. <Style x:Key="运输车" BasedOn="{x:Null}" TargetType="{x:Type TextBox}">
  599. <Setter Property="Foreground" Value="#FF1F4D69"/>
  600. <Setter Property="Text" Value="Yes"/>
  601. <Setter Property="Template">
  602. <Setter.Value>
  603. <ControlTemplate TargetType="{x:Type TextBox}">
  604. <ControlTemplate.Resources>
  605. <Storyboard RepeatBehavior="Forever" x:Key="csd_dh">
  606. <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path1" Storyboard.TargetProperty="(UIElement.Visibility)">
  607. <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
  608. <DiscreteObjectKeyFrame KeyTime="00:00:0.25" Value="{x:Static Visibility.Visible}"/>
  609. <DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Visible}"/>
  610. <DiscreteObjectKeyFrame KeyTime="00:00:0.75" Value="{x:Static Visibility.Visible}"/>
  611. <DiscreteObjectKeyFrame KeyTime="00:00:1" Value="{x:Static Visibility.Collapsed}"/>
  612. </ObjectAnimationUsingKeyFrames>
  613. <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path2" Storyboard.TargetProperty="(UIElement.Visibility)">
  614. <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Collapsed}"/>
  615. <DiscreteObjectKeyFrame KeyTime="00:00:0.25" Value="{x:Static Visibility.Visible}"/>
  616. <DiscreteObjectKeyFrame KeyTime="00:00:01" Value="{x:Static Visibility.Visible}"/>
  617. <DiscreteObjectKeyFrame KeyTime="00:00:0.75" Value="{x:Static Visibility.Visible}"/>
  618. <DiscreteObjectKeyFrame KeyTime="00:00:1" Value="{x:Static Visibility.Collapsed}"/>
  619. </ObjectAnimationUsingKeyFrames>
  620. <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path3" Storyboard.TargetProperty="(UIElement.Visibility)">
  621. <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Collapsed}"/>
  622. <DiscreteObjectKeyFrame KeyTime="00:00:0.25" Value="{x:Static Visibility.Collapsed}"/>
  623. <DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Visible}"/>
  624. <DiscreteObjectKeyFrame KeyTime="00:00:0.75" Value="{x:Static Visibility.Visible}"/>
  625. <DiscreteObjectKeyFrame KeyTime="00:00:1" Value="{x:Static Visibility.Collapsed}"/>
  626. </ObjectAnimationUsingKeyFrames>
  627. <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path4" Storyboard.TargetProperty="(UIElement.Visibility)">
  628. <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Collapsed}"/>
  629. <DiscreteObjectKeyFrame KeyTime="00:00:0.25" Value="{x:Static Visibility.Collapsed}"/>
  630. <DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Collapsed}"/>
  631. <DiscreteObjectKeyFrame KeyTime="00:00:0.75" Value="{x:Static Visibility.Visible}"/>
  632. <DiscreteObjectKeyFrame KeyTime="00:00:1" Value="{x:Static Visibility.Collapsed}"/>
  633. </ObjectAnimationUsingKeyFrames>
  634. </Storyboard>
  635. </ControlTemplate.Resources>
  636. <Grid Width="200" Height="80">
  637. <Border Style="{DynamicResource border车}" Width="60" Height="60" HorizontalAlignment="Right"></Border>
  638. <Grid HorizontalAlignment="Right" VerticalAlignment="Top" x:Name="caiping">
  639. <Border Margin="0,20,15,0" Width="20" Height="10" Style="{DynamicResource border菜}"></Border>
  640. <Border Margin="0,20,5,0" Width="20" Height="10" Style="{DynamicResource border菜}"></Border>
  641. </Grid>
  642. <Grid x:Name="biaoji" HorizontalAlignment="Left" >
  643. <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"/>
  644. <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"/>
  645. <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"/>
  646. <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"/>
  647. </Grid>
  648. </Grid>
  649. <ControlTemplate.Triggers>
  650. <Trigger Property="Text" Value="Yes">
  651. <Setter TargetName="caiping" Property="Visibility" Value="Visible" />
  652. </Trigger>
  653. <Trigger Property="Text" Value="No">
  654. <Setter TargetName="caiping" Property="Visibility" Value="Collapsed" />
  655. </Trigger>
  656. <Trigger Property="IsEnabled" Value="false">
  657. <Trigger.EnterActions>
  658. <StopStoryboard BeginStoryboardName="begin_name"/>
  659. </Trigger.EnterActions>
  660. <Setter TargetName="path1" Property="Visibility" Value="Collapsed" />
  661. <Setter TargetName="path2" Property="Visibility" Value="Collapsed" />
  662. <Setter TargetName="path3" Property="Visibility" Value="Collapsed" />
  663. <Setter TargetName="path4" Property="Visibility" Value="Collapsed" />
  664. </Trigger>
  665. <Trigger Property="IsEnabled" Value="true">
  666. <Trigger.EnterActions>
  667. <BeginStoryboard x:Name="begin_name" Storyboard="{StaticResource csd_dh}"/>
  668. </Trigger.EnterActions>
  669. <Setter TargetName="path1" Property="Visibility" Value="Visible" />
  670. <Setter TargetName="path2" Property="Visibility" Value="Visible" />
  671. <Setter TargetName="path3" Property="Visibility" Value="Visible" />
  672. <Setter TargetName="path4" Property="Visibility" Value="Visible" />
  673. </Trigger>
  674. <!--<Trigger Property="Tag" Value="Start">
  675. <Trigger.EnterActions>
  676. <BeginStoryboard x:Name="begin_yundong" Storyboard="{StaticResource yundonglujing}"/>
  677. </Trigger.EnterActions>
  678. </Trigger>
  679. <Trigger Property="Tag" Value="Stop">
  680. <Trigger.EnterActions>
  681. <StopStoryboard BeginStoryboardName="begin_yundong"/>
  682. </Trigger.EnterActions>
  683. </Trigger>-->
  684. </ControlTemplate.Triggers>
  685. </ControlTemplate>
  686. </Setter.Value>
  687. </Setter>
  688. </Style>
  689. <Style x:Key="运输车新" BasedOn="{x:Null}" TargetType="{x:Type TextBox}">
  690. <Setter Property="Foreground" Value="#FF1F4D69"/>
  691. <Setter Property="Tag" Value="Stop"/>
  692. <Setter Property="Text" Value="CaiYes"/>
  693. <Setter Property="Template">
  694. <Setter.Value>
  695. <ControlTemplate TargetType="{x:Type TextBox}">
  696. <ControlTemplate.Resources>
  697. <Storyboard RepeatBehavior="Forever" x:Key="csd_dh">
  698. <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path1" Storyboard.TargetProperty="(UIElement.Visibility)">
  699. <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
  700. <DiscreteObjectKeyFrame KeyTime="00:00:0.25" Value="{x:Static Visibility.Visible}"/>
  701. <DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Visible}"/>
  702. <DiscreteObjectKeyFrame KeyTime="00:00:0.75" Value="{x:Static Visibility.Visible}"/>
  703. <DiscreteObjectKeyFrame KeyTime="00:00:1" Value="{x:Static Visibility.Collapsed}"/>
  704. </ObjectAnimationUsingKeyFrames>
  705. <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path2" Storyboard.TargetProperty="(UIElement.Visibility)">
  706. <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Collapsed}"/>
  707. <DiscreteObjectKeyFrame KeyTime="00:00:0.25" Value="{x:Static Visibility.Visible}"/>
  708. <DiscreteObjectKeyFrame KeyTime="00:00:01" Value="{x:Static Visibility.Visible}"/>
  709. <DiscreteObjectKeyFrame KeyTime="00:00:0.75" Value="{x:Static Visibility.Visible}"/>
  710. <DiscreteObjectKeyFrame KeyTime="00:00:1" Value="{x:Static Visibility.Collapsed}"/>
  711. </ObjectAnimationUsingKeyFrames>
  712. <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path3" Storyboard.TargetProperty="(UIElement.Visibility)">
  713. <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Collapsed}"/>
  714. <DiscreteObjectKeyFrame KeyTime="00:00:0.25" Value="{x:Static Visibility.Collapsed}"/>
  715. <DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Visible}"/>
  716. <DiscreteObjectKeyFrame KeyTime="00:00:0.75" Value="{x:Static Visibility.Visible}"/>
  717. <DiscreteObjectKeyFrame KeyTime="00:00:1" Value="{x:Static Visibility.Collapsed}"/>
  718. </ObjectAnimationUsingKeyFrames>
  719. <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path4" Storyboard.TargetProperty="(UIElement.Visibility)">
  720. <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Collapsed}"/>
  721. <DiscreteObjectKeyFrame KeyTime="00:00:0.25" Value="{x:Static Visibility.Collapsed}"/>
  722. <DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Collapsed}"/>
  723. <DiscreteObjectKeyFrame KeyTime="00:00:0.75" Value="{x:Static Visibility.Visible}"/>
  724. <DiscreteObjectKeyFrame KeyTime="00:00:1" Value="{x:Static Visibility.Collapsed}"/>
  725. </ObjectAnimationUsingKeyFrames>
  726. </Storyboard>
  727. <!--取菜品路线 3个-->
  728. <PathGeometry x:Key="qc_1" Figures="M1512,491 L334.66667,492.16701 335.49989,294"/>
  729. <PathGeometry x:Key="qc_2" Figures="M1512,491 L495.375,491.5 494.75015,294"/>
  730. <PathGeometry x:Key="qc_3" Figures="M1512,491 L652.5,491 653.5,294"/>
  731. <!--送菜品路线 1号取菜口送到5个锅-->
  732. <PathGeometry x:Key="yc_1_1" Figures="M337,260 L337.5,488.5 100,491.99236 100,840"/>
  733. <PathGeometry x:Key="yc_1_2" Figures="M336,255 L334.25,491.5 383.90625,491.74947 382.8173,840"/>
  734. <PathGeometry x:Key="yc_1_3" Figures="M335,258 L334.5,490.5 680,490.99893 680,840"/>
  735. <PathGeometry x:Key="yc_1_4" Figures="M337,256.5 L334,492 965.5,492 966.50079,840"/>
  736. <PathGeometry x:Key="yc_1_5" Figures="M335.99357,253.70082 L334.33946,490.553 1256.2374,491.4823 1254.2358,840"/>
  737. <!--送菜品路线 2号取菜口送到5个锅-->
  738. <PathGeometry x:Key="yc_2_1" Figures="M488.35495,257.41892 L488.65986,490.93723 100,491.1112 100,840"/>
  739. <PathGeometry x:Key="yc_2_2" Figures="M488.35495,257.41892 L488.65986,490.93723 391.20932,490.91674 391.28296,840"/>
  740. <PathGeometry x:Key="yc_2_3" Figures="M488.35495,257.41892 L488.65986,490.93723 680,491.12867 680,840"/>
  741. <PathGeometry x:Key="yc_2_4" Figures="M488.35495,257.41892 L488.65986,490.93723 964.81356,491.71074 962.82129,840"/>
  742. <PathGeometry x:Key="yc_2_5" Figures="M488.35495,257.41892 L488.65986,490.93723 1254.2358,491.20803 1254.2358,840"/>
  743. <!--送菜品路线 3号取菜口送到5个锅-->
  744. <PathGeometry x:Key="yc_3_1" Figures="M678.97662,256.40013 L678.68368,491.79548 100,492.63368 100,840"/>
  745. <PathGeometry x:Key="yc_3_2" Figures="M678.97662,256.40013 L678.68368,491.79548 391.28296,488.69436 391.28296,840"/>
  746. <PathGeometry x:Key="yc_3_3" Figures="M678.97662,256.40013 L678.68368,491.79548 680,491.67667 680,840"/>
  747. <PathGeometry x:Key="yc_3_4" Figures="M678.97662,256.40013 L678.68368,491.79548 964.81356,490.50591 962.82129,840"/>
  748. <PathGeometry x:Key="yc_3_5" Figures="M678.97662,256.40013 L678.68368,491.79548 1256.2374,491.4823 1254.2358,840"/>
  749. <!--送完菜品 回收路线-->
  750. <PathGeometry x:Key="hs_1" Figures="M100,862 L99.749407,491.33482 455.92934,491.23722 811.14431,490.74164 811.53039,265"/>
  751. <PathGeometry x:Key="hs_2" Figures="M389.82645,862.91662 L389.79339,491.26265 811.14431,490.74164 811.53039,265"/>
  752. <PathGeometry x:Key="hs_3" Figures="M675.38594,860.33333 L676.05047,490.74164 811.14431,490.74164 811.53039,265"/>
  753. <PathGeometry x:Key="hs_4" Figures="M965.6722,862.33333 L964.6735,490.60998 811.14431,490.74164 811.53039,265"/>
  754. <PathGeometry x:Key="hs_5" Figures="M1252.0339,863 L1252.0339,491.0315 811.14431,490.74164 811.53039,265"/>
  755. <!--回家路线-->
  756. <PathGeometry x:Key="hj" Figures="M811.53039,265 L811.53039,491 1512,491"/>
  757. <!--取菜品路线 3个-->
  758. <Storyboard x:Key="Storyboard_qc_1" RepeatBehavior="0:0:5">
  759. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource qc_1}" Storyboard.TargetName="yunshuche" Source="Angle"/>
  760. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource qc_1}" Storyboard.TargetName="yunshuche" Source="X"/>
  761. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource qc_1}" Storyboard.TargetName="yunshuche" Source="Y"/>
  762. </Storyboard>
  763. <Storyboard x:Key="Storyboard_qc_2" RepeatBehavior="0:0:5">
  764. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource qc_2}" Storyboard.TargetName="yunshuche" Source="Angle"/>
  765. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource qc_2}" Storyboard.TargetName="yunshuche" Source="X"/>
  766. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource qc_2}" Storyboard.TargetName="yunshuche" Source="Y"/>
  767. </Storyboard>
  768. <Storyboard x:Key="Storyboard_qc_3" RepeatBehavior="0:0:5">
  769. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource qc_3}" Storyboard.TargetName="yunshuche" Source="Angle"/>
  770. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource qc_3}" Storyboard.TargetName="yunshuche" Source="X"/>
  771. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource qc_3}" Storyboard.TargetName="yunshuche" Source="Y"/>
  772. </Storyboard>
  773. <!--送菜品路线 1号取菜口送到5个锅-->
  774. <Storyboard x:Key="Storyboard_yc_1_1" RepeatBehavior="0:0:5">
  775. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_1}" Storyboard.TargetName="yunshuche" Source="Angle"/>
  776. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_1}" Storyboard.TargetName="yunshuche" Source="X"/>
  777. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_1}" Storyboard.TargetName="yunshuche" Source="Y"/>
  778. </Storyboard>
  779. <Storyboard x:Key="Storyboard_yc_1_2" RepeatBehavior="0:0:5">
  780. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_2}" Storyboard.TargetName="yunshuche" Source="Angle"/>
  781. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_2}" Storyboard.TargetName="yunshuche" Source="X"/>
  782. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_2}" Storyboard.TargetName="yunshuche" Source="Y"/>
  783. </Storyboard>
  784. <Storyboard x:Key="Storyboard_yc_1_3" RepeatBehavior="0:0:5">
  785. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_3}" Storyboard.TargetName="yunshuche" Source="Angle"/>
  786. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_3}" Storyboard.TargetName="yunshuche" Source="X"/>
  787. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_3}" Storyboard.TargetName="yunshuche" Source="Y"/>
  788. </Storyboard>
  789. <Storyboard x:Key="Storyboard_yc_1_4" RepeatBehavior="0:0:5">
  790. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_4}" Storyboard.TargetName="yunshuche" Source="Angle"/>
  791. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_4}" Storyboard.TargetName="yunshuche" Source="X"/>
  792. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_4}" Storyboard.TargetName="yunshuche" Source="Y"/>
  793. </Storyboard>
  794. <Storyboard x:Key="Storyboard_yc_1_5" RepeatBehavior="0:0:5">
  795. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_5}" Storyboard.TargetName="yunshuche" Source="Angle"/>
  796. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_5}" Storyboard.TargetName="yunshuche" Source="X"/>
  797. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_1_5}" Storyboard.TargetName="yunshuche" Source="Y"/>
  798. </Storyboard>
  799. <!--送菜品路线 2号取菜口送到5个锅-->
  800. <Storyboard x:Key="Storyboard_yc_2_1" RepeatBehavior="0:0:5">
  801. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_1}" Storyboard.TargetName="yunshuche" Source="Angle"/>
  802. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_1}" Storyboard.TargetName="yunshuche" Source="X"/>
  803. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_1}" Storyboard.TargetName="yunshuche" Source="Y"/>
  804. </Storyboard>
  805. <Storyboard x:Key="Storyboard_yc_2_2" RepeatBehavior="0:0:5">
  806. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_2}" Storyboard.TargetName="yunshuche" Source="Angle"/>
  807. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_2}" Storyboard.TargetName="yunshuche" Source="X"/>
  808. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_2}" Storyboard.TargetName="yunshuche" Source="Y"/>
  809. </Storyboard>
  810. <Storyboard x:Key="Storyboard_yc_2_3" RepeatBehavior="0:0:5">
  811. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_3}" Storyboard.TargetName="yunshuche" Source="Angle"/>
  812. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_3}" Storyboard.TargetName="yunshuche" Source="X"/>
  813. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_3}" Storyboard.TargetName="yunshuche" Source="Y"/>
  814. </Storyboard>
  815. <Storyboard x:Key="Storyboard_yc_2_4" RepeatBehavior="0:0:5">
  816. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_4}" Storyboard.TargetName="yunshuche" Source="Angle"/>
  817. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_4}" Storyboard.TargetName="yunshuche" Source="X"/>
  818. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_4}" Storyboard.TargetName="yunshuche" Source="Y"/>
  819. </Storyboard>
  820. <Storyboard x:Key="Storyboard_yc_2_5" RepeatBehavior="0:0:5">
  821. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_5}" Storyboard.TargetName="yunshuche" Source="Angle"/>
  822. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_5}" Storyboard.TargetName="yunshuche" Source="X"/>
  823. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_2_5}" Storyboard.TargetName="yunshuche" Source="Y"/>
  824. </Storyboard>
  825. <!--送菜品路线 3号取菜口送到5个锅-->
  826. <Storyboard x:Key="Storyboard_yc_3_1" RepeatBehavior="0:0:5">
  827. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_1}" Storyboard.TargetName="yunshuche" Source="Angle"/>
  828. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_1}" Storyboard.TargetName="yunshuche" Source="X"/>
  829. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_1}" Storyboard.TargetName="yunshuche" Source="Y"/>
  830. </Storyboard>
  831. <Storyboard x:Key="Storyboard_yc_3_2" RepeatBehavior="0:0:5">
  832. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_2}" Storyboard.TargetName="yunshuche" Source="Angle"/>
  833. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_2}" Storyboard.TargetName="yunshuche" Source="X"/>
  834. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_2}" Storyboard.TargetName="yunshuche" Source="Y"/>
  835. </Storyboard>
  836. <Storyboard x:Key="Storyboard_yc_3_3" RepeatBehavior="0:0:5">
  837. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_3}" Storyboard.TargetName="yunshuche" Source="Angle"/>
  838. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_3}" Storyboard.TargetName="yunshuche" Source="X"/>
  839. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_3}" Storyboard.TargetName="yunshuche" Source="Y"/>
  840. </Storyboard>
  841. <Storyboard x:Key="Storyboard_yc_3_4" RepeatBehavior="0:0:5">
  842. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_4}" Storyboard.TargetName="yunshuche" Source="Angle"/>
  843. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_4}" Storyboard.TargetName="yunshuche" Source="X"/>
  844. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_4}" Storyboard.TargetName="yunshuche" Source="Y"/>
  845. </Storyboard>
  846. <Storyboard x:Key="Storyboard_yc_3_5" RepeatBehavior="0:0:5">
  847. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_5}" Storyboard.TargetName="yunshuche" Source="Angle"/>
  848. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_5}" Storyboard.TargetName="yunshuche" Source="X"/>
  849. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource yc_3_5}" Storyboard.TargetName="yunshuche" Source="Y"/>
  850. </Storyboard>
  851. <!--送完菜品 回收路线-->
  852. <Storyboard x:Key="Storyboard_hs_1" RepeatBehavior="0:0:5">
  853. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource hs_1}" Storyboard.TargetName="yunshuche" Source="Angle"/>
  854. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource hs_1}" Storyboard.TargetName="yunshuche" Source="X"/>
  855. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource hs_1}" Storyboard.TargetName="yunshuche" Source="Y"/>
  856. </Storyboard>
  857. <Storyboard x:Key="Storyboard_hs_2" RepeatBehavior="0:0:5">
  858. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource hs_2}" Storyboard.TargetName="yunshuche" Source="Angle"/>
  859. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource hs_2}" Storyboard.TargetName="yunshuche" Source="X"/>
  860. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource hs_2}" Storyboard.TargetName="yunshuche" Source="Y"/>
  861. </Storyboard>
  862. <Storyboard x:Key="Storyboard_hs_3" RepeatBehavior="0:0:5">
  863. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource hs_3}" Storyboard.TargetName="yunshuche" Source="Angle"/>
  864. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource hs_3}" Storyboard.TargetName="yunshuche" Source="X"/>
  865. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource hs_3}" Storyboard.TargetName="yunshuche" Source="Y"/>
  866. </Storyboard>
  867. <Storyboard x:Key="Storyboard_hs_4" RepeatBehavior="0:0:5">
  868. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource hs_4}" Storyboard.TargetName="yunshuche" Source="Angle"/>
  869. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource hs_4}" Storyboard.TargetName="yunshuche" Source="X"/>
  870. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource hs_4}" Storyboard.TargetName="yunshuche" Source="Y"/>
  871. </Storyboard>
  872. <Storyboard x:Key="Storyboard_hs_5" RepeatBehavior="0:0:5">
  873. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource hs_5}" Storyboard.TargetName="yunshuche" Source="Angle"/>
  874. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource hs_5}" Storyboard.TargetName="yunshuche" Source="X"/>
  875. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource hs_5}" Storyboard.TargetName="yunshuche" Source="Y"/>
  876. </Storyboard>
  877. <!--回家路线-->
  878. <Storyboard x:Key="Storyboard_hj" RepeatBehavior="0:0:5">
  879. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(Angle)" Duration="0:0:5" PathGeometry="{StaticResource hj}" Storyboard.TargetName="yunshuche" Source="Angle"/>
  880. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="0:0:5" PathGeometry="{StaticResource hj}" Storyboard.TargetName="yunshuche" Source="X"/>
  881. <DoubleAnimationUsingPath Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Duration="0:0:5" PathGeometry="{StaticResource hj}" Storyboard.TargetName="yunshuche" Source="Y"/>
  882. </Storyboard>
  883. </ControlTemplate.Resources>
  884. <Grid x:Name="yunshuche">
  885. <Grid.RenderTransform>
  886. <TransformGroup>
  887. <ScaleTransform/>
  888. <SkewTransform/>
  889. <RotateTransform/>
  890. <TranslateTransform/>
  891. </TransformGroup>
  892. </Grid.RenderTransform>
  893. <Grid Width="120" Height="120" RenderTransformOrigin="0.5,0.5" Margin="-60,-60,0,0">
  894. <Grid.RenderTransform>
  895. <TransformGroup>
  896. <ScaleTransform/>
  897. <SkewTransform/>
  898. <RotateTransform Angle="180"/>
  899. <TranslateTransform/>
  900. </TransformGroup>
  901. </Grid.RenderTransform>
  902. <Border Style="{DynamicResource border车}" Width="60" Height="60" HorizontalAlignment="Right"></Border>
  903. <Grid HorizontalAlignment="Right" VerticalAlignment="Center" Margin="20,-35,10,0" x:Name="caiping">
  904. <Grid x:Name="c1" VerticalAlignment="Top" Width="40" Height="60">
  905. <Border Style="{DynamicResource border碗}" Margin="0,-10,0,-6"></Border>
  906. <Border x:Name="cai" VerticalAlignment="Top" Margin="0,0,0,0" Style="{DynamicResource border菜}"></Border>
  907. </Grid>
  908. </Grid>
  909. <Grid x:Name="biaoji" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,20,0,0">
  910. <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"/>
  911. <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"/>
  912. <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"/>
  913. <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"/>
  914. </Grid>
  915. </Grid>
  916. </Grid>
  917. <ControlTemplate.Triggers>
  918. <!--#region 是否有物品-->
  919. <Trigger Property="Text" Value="Yes">
  920. <Setter TargetName="caiping" Property="Visibility" Value="Visible" />
  921. <Setter TargetName="cai" Property="Visibility" Value="Visible" />
  922. </Trigger>
  923. <Trigger Property="Text" Value="No">
  924. <Setter TargetName="caiping" Property="Visibility" Value="Collapsed" />
  925. <Setter TargetName="cai" Property="Visibility" Value="Visible" />
  926. </Trigger>
  927. <Trigger Property="Text" Value="OnllYes">
  928. <Setter TargetName="caiping" Property="Visibility" Value="Visible" />
  929. <Setter TargetName="cai" Property="Visibility" Value="Collapsed" />
  930. </Trigger>
  931. <!--#endregion-->
  932. <!--#region 是否运动模式-->
  933. <Trigger Property="IsEnabled" Value="false">
  934. <Trigger.EnterActions>
  935. <StopStoryboard BeginStoryboardName="begin_name"/>
  936. </Trigger.EnterActions>
  937. <Setter TargetName="path1" Property="Visibility" Value="Collapsed" />
  938. <Setter TargetName="path2" Property="Visibility" Value="Collapsed" />
  939. <Setter TargetName="path3" Property="Visibility" Value="Collapsed" />
  940. <Setter TargetName="path4" Property="Visibility" Value="Collapsed" />
  941. </Trigger>
  942. <Trigger Property="IsEnabled" Value="true">
  943. <Trigger.EnterActions>
  944. <BeginStoryboard x:Name="begin_name" Storyboard="{StaticResource csd_dh}"/>
  945. </Trigger.EnterActions>
  946. <Setter TargetName="path1" Property="Visibility" Value="Visible" />
  947. <Setter TargetName="path2" Property="Visibility" Value="Visible" />
  948. <Setter TargetName="path3" Property="Visibility" Value="Visible" />
  949. <Setter TargetName="path4" Property="Visibility" Value="Visible" />
  950. </Trigger>
  951. <!--#endregion-->
  952. <!--#region 停止所有动画-->
  953. <Trigger Property="Tag" Value="Stop">
  954. <Trigger.EnterActions>
  955. <StopStoryboard BeginStoryboardName="begin_qc_1"/>
  956. <StopStoryboard BeginStoryboardName="begin_qc_2"/>
  957. <StopStoryboard BeginStoryboardName="begin_qc_3"/>
  958. <StopStoryboard BeginStoryboardName="begin_yc_1_1"/>
  959. <StopStoryboard BeginStoryboardName="begin_yc_1_2"/>
  960. <StopStoryboard BeginStoryboardName="begin_yc_1_3"/>
  961. <StopStoryboard BeginStoryboardName="begin_yc_1_4"/>
  962. <StopStoryboard BeginStoryboardName="begin_yc_1_5"/>
  963. <StopStoryboard BeginStoryboardName="begin_yc_2_1"/>
  964. <StopStoryboard BeginStoryboardName="begin_yc_2_2"/>
  965. <StopStoryboard BeginStoryboardName="begin_yc_2_3"/>
  966. <StopStoryboard BeginStoryboardName="begin_yc_2_4"/>
  967. <StopStoryboard BeginStoryboardName="begin_yc_2_5"/>
  968. <StopStoryboard BeginStoryboardName="begin_yc_3_1"/>
  969. <StopStoryboard BeginStoryboardName="begin_yc_3_2"/>
  970. <StopStoryboard BeginStoryboardName="begin_yc_3_3"/>
  971. <StopStoryboard BeginStoryboardName="begin_yc_3_4"/>
  972. <StopStoryboard BeginStoryboardName="begin_yc_3_5"/>
  973. <StopStoryboard BeginStoryboardName="begin_hs_1"/>
  974. <StopStoryboard BeginStoryboardName="begin_hs_2"/>
  975. <StopStoryboard BeginStoryboardName="begin_hs_3"/>
  976. <StopStoryboard BeginStoryboardName="begin_hs_4"/>
  977. <StopStoryboard BeginStoryboardName="begin_hs_5"/>
  978. <StopStoryboard BeginStoryboardName="begin_hj"/>
  979. </Trigger.EnterActions>
  980. <Setter TargetName="yunshuche" Property="Visibility" Value="Collapsed" />
  981. </Trigger>
  982. <!--#endregion-->
  983. <!--#region 取菜-->
  984. <Trigger Property="Tag" Value="qc_1">
  985. <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
  986. <Trigger.EnterActions>
  987. <BeginStoryboard x:Name="begin_qc_1" Storyboard="{StaticResource Storyboard_qc_1}"/>
  988. </Trigger.EnterActions>
  989. </Trigger>
  990. <Trigger Property="Tag" Value="qc_2">
  991. <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
  992. <Trigger.EnterActions>
  993. <BeginStoryboard x:Name="begin_qc_2" Storyboard="{StaticResource Storyboard_qc_2}"/>
  994. </Trigger.EnterActions>
  995. </Trigger>
  996. <Trigger Property="Tag" Value="qc_3">
  997. <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
  998. <Trigger.EnterActions>
  999. <BeginStoryboard x:Name="begin_qc_3" Storyboard="{StaticResource Storyboard_qc_3}"/>
  1000. </Trigger.EnterActions>
  1001. </Trigger>
  1002. <!--#endregion-->
  1003. <!--#region 送菜1-->
  1004. <Trigger Property="Tag" Value="yc_1_1">
  1005. <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
  1006. <Trigger.EnterActions>
  1007. <BeginStoryboard x:Name="begin_yc_1_1" Storyboard="{StaticResource Storyboard_yc_1_1}"/>
  1008. </Trigger.EnterActions>
  1009. </Trigger>
  1010. <Trigger Property="Tag" Value="yc_1_2">
  1011. <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
  1012. <Trigger.EnterActions>
  1013. <BeginStoryboard x:Name="begin_yc_1_2" Storyboard="{StaticResource Storyboard_yc_1_2}"/>
  1014. </Trigger.EnterActions>
  1015. </Trigger>
  1016. <Trigger Property="Tag" Value="yc_1_3">
  1017. <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
  1018. <Trigger.EnterActions>
  1019. <BeginStoryboard x:Name="begin_yc_1_3" Storyboard="{StaticResource Storyboard_yc_1_3}"/>
  1020. </Trigger.EnterActions>
  1021. </Trigger>
  1022. <Trigger Property="Tag" Value="yc_1_4">
  1023. <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
  1024. <Trigger.EnterActions>
  1025. <BeginStoryboard x:Name="begin_yc_1_4" Storyboard="{StaticResource Storyboard_yc_1_4}"/>
  1026. </Trigger.EnterActions>
  1027. </Trigger>
  1028. <Trigger Property="Tag" Value="yc_1_5">
  1029. <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
  1030. <Trigger.EnterActions>
  1031. <BeginStoryboard x:Name="begin_yc_1_5" Storyboard="{StaticResource Storyboard_yc_1_5}"/>
  1032. </Trigger.EnterActions>
  1033. </Trigger>
  1034. <!--#endregion-->
  1035. <!--#region 送菜2-->
  1036. <Trigger Property="Tag" Value="yc_2_1">
  1037. <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
  1038. <Trigger.EnterActions>
  1039. <BeginStoryboard x:Name="begin_yc_2_1" Storyboard="{StaticResource Storyboard_yc_2_1}"/>
  1040. </Trigger.EnterActions>
  1041. </Trigger>
  1042. <Trigger Property="Tag" Value="yc_2_2">
  1043. <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
  1044. <Trigger.EnterActions>
  1045. <BeginStoryboard x:Name="begin_yc_2_2" Storyboard="{StaticResource Storyboard_yc_2_2}"/>
  1046. </Trigger.EnterActions>
  1047. </Trigger>
  1048. <Trigger Property="Tag" Value="yc_2_3">
  1049. <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
  1050. <Trigger.EnterActions>
  1051. <BeginStoryboard x:Name="begin_yc_2_3" Storyboard="{StaticResource Storyboard_yc_2_3}"/>
  1052. </Trigger.EnterActions>
  1053. </Trigger>
  1054. <Trigger Property="Tag" Value="yc_2_4">
  1055. <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
  1056. <Trigger.EnterActions>
  1057. <BeginStoryboard x:Name="begin_yc_2_4" Storyboard="{StaticResource Storyboard_yc_2_4}"/>
  1058. </Trigger.EnterActions>
  1059. </Trigger>
  1060. <Trigger Property="Tag" Value="yc_2_5">
  1061. <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
  1062. <Trigger.EnterActions>
  1063. <BeginStoryboard x:Name="begin_yc_2_5" Storyboard="{StaticResource Storyboard_yc_2_5}"/>
  1064. </Trigger.EnterActions>
  1065. </Trigger>
  1066. <!--#endregion-->
  1067. <!--#region 送菜3-->
  1068. <Trigger Property="Tag" Value="yc_3_1">
  1069. <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
  1070. <Trigger.EnterActions>
  1071. <BeginStoryboard x:Name="begin_yc_3_1" Storyboard="{StaticResource Storyboard_yc_3_1}"/>
  1072. </Trigger.EnterActions>
  1073. </Trigger>
  1074. <Trigger Property="Tag" Value="yc_3_2">
  1075. <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
  1076. <Trigger.EnterActions>
  1077. <BeginStoryboard x:Name="begin_yc_3_2" Storyboard="{StaticResource Storyboard_yc_3_2}"/>
  1078. </Trigger.EnterActions>
  1079. </Trigger>
  1080. <Trigger Property="Tag" Value="yc_3_3">
  1081. <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
  1082. <Trigger.EnterActions>
  1083. <BeginStoryboard x:Name="begin_yc_3_3" Storyboard="{StaticResource Storyboard_yc_3_3}"/>
  1084. </Trigger.EnterActions>
  1085. </Trigger>
  1086. <Trigger Property="Tag" Value="yc_3_4">
  1087. <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
  1088. <Trigger.EnterActions>
  1089. <BeginStoryboard x:Name="begin_yc_3_4" Storyboard="{StaticResource Storyboard_yc_3_4}"/>
  1090. </Trigger.EnterActions>
  1091. </Trigger>
  1092. <Trigger Property="Tag" Value="yc_3_5">
  1093. <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
  1094. <Trigger.EnterActions>
  1095. <BeginStoryboard x:Name="begin_yc_3_5" Storyboard="{StaticResource Storyboard_yc_3_5}"/>
  1096. </Trigger.EnterActions>
  1097. </Trigger>
  1098. <!--#endregion-->
  1099. <!--#region 回收-->
  1100. <Trigger Property="Tag" Value="hs_1">
  1101. <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
  1102. <Trigger.EnterActions>
  1103. <BeginStoryboard x:Name="begin_hs_1" Storyboard="{StaticResource Storyboard_hs_1}"/>
  1104. </Trigger.EnterActions>
  1105. </Trigger>
  1106. <Trigger Property="Tag" Value="hs_2">
  1107. <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
  1108. <Trigger.EnterActions>
  1109. <BeginStoryboard x:Name="begin_hs_2" Storyboard="{StaticResource Storyboard_hs_2}"/>
  1110. </Trigger.EnterActions>
  1111. </Trigger>
  1112. <Trigger Property="Tag" Value="hs_3">
  1113. <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
  1114. <Trigger.EnterActions>
  1115. <BeginStoryboard x:Name="begin_hs_3" Storyboard="{StaticResource Storyboard_hs_3}"/>
  1116. </Trigger.EnterActions>
  1117. </Trigger>
  1118. <Trigger Property="Tag" Value="hs_4">
  1119. <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
  1120. <Trigger.EnterActions>
  1121. <BeginStoryboard x:Name="begin_hs_4" Storyboard="{StaticResource Storyboard_hs_4}"/>
  1122. </Trigger.EnterActions>
  1123. </Trigger>
  1124. <Trigger Property="Tag" Value="hs_5">
  1125. <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
  1126. <Trigger.EnterActions>
  1127. <BeginStoryboard x:Name="begin_hs_5" Storyboard="{StaticResource Storyboard_hs_5}"/>
  1128. </Trigger.EnterActions>
  1129. </Trigger>
  1130. <!--#endregion-->
  1131. <!--#region 回家路线-->
  1132. <Trigger Property="Tag" Value="hj">
  1133. <Setter TargetName="yunshuche" Property="Visibility" Value="Visible" />
  1134. <Trigger.EnterActions>
  1135. <BeginStoryboard x:Name="begin_hj" Storyboard="{StaticResource Storyboard_hj}"/>
  1136. </Trigger.EnterActions>
  1137. </Trigger>
  1138. <!--#endregion-->
  1139. </ControlTemplate.Triggers>
  1140. </ControlTemplate>
  1141. </Setter.Value>
  1142. </Setter>
  1143. </Style>
  1144. <Style x:Key="炒锅" BasedOn="{x:Null}" TargetType="{x:Type TextBox}">
  1145. <Setter Property="Foreground" Value="#FF1F4D69"/>
  1146. <Setter Property="Text" Value="Start"/>
  1147. <Setter Property="Template">
  1148. <Setter.Value>
  1149. <ControlTemplate TargetType="{x:Type TextBox}">
  1150. <ControlTemplate.Resources>
  1151. <Storyboard RepeatBehavior="Forever" x:Key="csd_dh1">
  1152. <DoubleAnimationUsingKeyFrames Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
  1153. <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
  1154. <EasingDoubleKeyFrame KeyTime="00:00:0.5" Value="90"/>
  1155. <EasingDoubleKeyFrame KeyTime="00:00:1" Value="180"/>
  1156. <EasingDoubleKeyFrame KeyTime="00:00:1.5" Value="270"/>
  1157. <EasingDoubleKeyFrame KeyTime="00:00:2" Value="360"/>
  1158. </DoubleAnimationUsingKeyFrames>
  1159. </Storyboard>
  1160. </ControlTemplate.Resources>
  1161. <Grid Width="100" Height="100">
  1162. <Border Style="{DynamicResource border炒锅2}">
  1163. <!--<Border x:Name="cai" VerticalAlignment="Top" Width="30" Height="25" Margin="0,10,0,0" Style="{DynamicResource border菜}">
  1164. </Border>-->
  1165. </Border>
  1166. <Ellipse x:Name="ellipse" StrokeThickness="5" Width="50" Height="50" RenderTransformOrigin="0.5,0.5" Margin="5,-3,0,0" VerticalAlignment="Top">
  1167. <Ellipse.RenderTransform>
  1168. <TransformGroup>
  1169. <ScaleTransform/>
  1170. <SkewTransform AngleY="-0"/>
  1171. <RotateTransform/>
  1172. <TranslateTransform/>
  1173. </TransformGroup>
  1174. </Ellipse.RenderTransform>
  1175. <Ellipse.Stroke>
  1176. <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
  1177. <GradientStop Color="#CCA48E42"/>
  1178. <GradientStop Color="#CC2D48DA" Offset="1"/>
  1179. <GradientStop Color="#FF3FD256" Offset="0.305"/>
  1180. <GradientStop Color="#FFB12C87" Offset="0.67"/>
  1181. </LinearGradientBrush>
  1182. </Ellipse.Stroke>
  1183. </Ellipse>
  1184. </Grid>
  1185. <ControlTemplate.Triggers>
  1186. <Trigger Property="Text" Value="Start">
  1187. <Setter TargetName="ellipse" Property="Visibility" Value="Visible" />
  1188. <!--<Setter TargetName="cai" Property="Visibility" Value="Visible" />-->
  1189. <Trigger.EnterActions>
  1190. <BeginStoryboard x:Name="begin_name" Storyboard="{StaticResource csd_dh1}"/>
  1191. </Trigger.EnterActions>
  1192. </Trigger>
  1193. <Trigger Property="Text" Value="Stop">
  1194. <Trigger.EnterActions>
  1195. <StopStoryboard BeginStoryboardName="begin_name"/>
  1196. </Trigger.EnterActions>
  1197. <Setter TargetName="ellipse" Property="Visibility" Value="Collapsed" />
  1198. <!--<Setter TargetName="cai" Property="Visibility" Value="Collapsed" />-->
  1199. </Trigger>
  1200. </ControlTemplate.Triggers>
  1201. </ControlTemplate>
  1202. </Setter.Value>
  1203. </Setter>
  1204. </Style>
  1205. </ResourceDictionary>
  1206. </UserControl.Resources>
  1207. <Grid>
  1208. <!--#region 测试按钮-->
  1209. <Grid HorizontalAlignment="Right" VerticalAlignment="Top" Margin="100,0,100,80" Grid.Column="2">
  1210. <Rectangle Stroke="#FFFFA400" StrokeDashArray="5 5" Margin="0"/>
  1211. <StackPanel HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,20,20,0" Orientation="Horizontal">
  1212. <TextBlock Style="{DynamicResource 80号字体样式}" Text="AGV模拟测试" Margin="20,20,20,5" Width="35" FontSize="20" Foreground="#FFFCD5B5" />
  1213. <StackPanel>
  1214. <TextBlock Margin="5">停车桩测试</TextBlock>
  1215. <TextBox x:Name="tcz_text" Margin="5">1</TextBox>
  1216. <Button Margin="5" Click="Button_Click" Tag="设置有车" Cursor="Hand">设置有车</Button>
  1217. <Button Margin="5" Click="Button_Click" Tag="设置无车" Cursor="Hand">设置无车</Button>
  1218. </StackPanel>
  1219. <StackPanel>
  1220. <TextBlock Margin="5">料筒控制</TextBlock>
  1221. <TextBox x:Name="liaotong_text" Margin="5">1</TextBox>
  1222. <Button Margin="5" Click="Button_Click" Tag="启动" Cursor="Hand">启动</Button>
  1223. <Button Margin="5" Click="Button_Click" Tag="停止" Cursor="Hand">停止</Button>
  1224. </StackPanel>
  1225. <StackPanel>
  1226. <TextBlock Margin="5">设置物料</TextBlock>
  1227. <TextBox x:Name="liaotongwuliao_text" Margin="5">1</TextBox>
  1228. <TextBox x:Name="liaotongwuliaoshuliang_text" Margin="5">1</TextBox>
  1229. <Button Margin="5" Click="Button_Click" Tag="设置物料" Cursor="Hand">设置物料</Button>
  1230. </StackPanel>
  1231. <StackPanel>
  1232. <TextBlock Margin="5">小车测试</TextBlock>
  1233. <TextBox x:Name="xiaoche_text" Margin="5">1</TextBox>
  1234. <Button Margin="5" Click="Button_Click" Tag="小车停止" Cursor="Hand">小车停止</Button>
  1235. <ComboBox x:Name="控制命令" HorizontalAlignment="Left" Width="100"/>
  1236. <Button Margin="5" Click="Button_Click" Tag="运行小车" Cursor="Hand">运行小车</Button>
  1237. </StackPanel>
  1238. <StackPanel>
  1239. <TextBlock Margin="5">小车?物品</TextBlock>
  1240. <TextBox x:Name="xiaochewuping_text" Margin="5">1</TextBox>
  1241. <Button Margin="5" Click="Button_Click" Tag="有菜和碗" Cursor="Hand">有菜和碗</Button>
  1242. <Button Margin="5" Click="Button_Click" Tag="只有碗" Cursor="Hand">只有碗</Button>
  1243. <Button Margin="5" Click="Button_Click" Tag="无物品" Cursor="Hand">无物品</Button>
  1244. </StackPanel>
  1245. <StackPanel>
  1246. <TextBlock Margin="5">滚筒炒锅</TextBlock>
  1247. <TextBox x:Name="guntongchaoguo_text" Margin="5">1</TextBox>
  1248. <Button Margin="5" Click="Button_Click" Tag="启动炒锅" Cursor="Hand">启动炒锅</Button>
  1249. <Button Margin="5" Click="Button_Click" Tag="停止炒锅" Cursor="Hand">停止炒锅</Button>
  1250. </StackPanel>
  1251. </StackPanel>
  1252. </Grid>
  1253. <!--#endregion-->
  1254. <!--#region 墙体-->
  1255. <Border Width="20" Margin="0,0,0,18" Style="{DynamicResource border垂直墙}" HorizontalAlignment="Left"/>
  1256. <Border Height="20" Margin="-1,0,0,0" Style="{DynamicResource border水平墙}" VerticalAlignment="Bottom"/>
  1257. <Border Height="20" Margin="21,300,0,0" Width="250" Style="{DynamicResource border水平墙1}" VerticalAlignment="Top" HorizontalAlignment="Left"/>
  1258. <Border Width="20" Margin="250,0,0,0" Height="300" Style="{DynamicResource border垂直墙1}" VerticalAlignment="Top" HorizontalAlignment="Left"/>
  1259. <Border Height="20" Margin="270,190,0,0" Style="{DynamicResource border水平墙}" VerticalAlignment="Top"/>
  1260. <Border Width="20" Margin="0,0,0,18" Style="{DynamicResource border垂直墙}" HorizontalAlignment="Right"/>
  1261. <!--#endregion-->
  1262. <!--#region 道路-->
  1263. <Grid>
  1264. <Grid x:Name="一号道路" Margin="0,80,0,0">
  1265. <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" />
  1266. <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" />
  1267. <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"/>
  1268. <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"/>
  1269. <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"/>
  1270. <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"/>
  1271. <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" />
  1272. <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"/>
  1273. <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"/>
  1274. </Grid>
  1275. <Grid x:Name="二号道路" Margin="0,240,0,0">
  1276. <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" />
  1277. <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"/>
  1278. <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"/>
  1279. <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"/>
  1280. <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"/>
  1281. <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"/>
  1282. <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" />
  1283. <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" />
  1284. <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" />
  1285. <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" />
  1286. <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"/>
  1287. </Grid>
  1288. <Grid x:Name="回家道路" Margin="0,0,0,0">
  1289. <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"/>
  1290. <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"/>
  1291. <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"/>
  1292. <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"/>
  1293. <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"/>
  1294. <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"/>
  1295. <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"/>
  1296. <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"/>
  1297. <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"/>
  1298. <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"/>
  1299. <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"/>
  1300. <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"/>
  1301. </Grid>
  1302. </Grid>
  1303. <!--#endregion-->
  1304. <!--#region 运动轨迹路线-->
  1305. <Canvas x:Name="cvsMain">
  1306. <!--canvas定位确定在左上角,需要定位在中心left和top需要减去自身半径的一半 Margin="-50,35,0,0"-->
  1307. <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"/>
  1308. <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"/>
  1309. <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"/>
  1310. <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"/>
  1311. <!--取菜品路线 3个-->
  1312. <!--<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" />
  1313. <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"/>
  1314. <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"/>-->
  1315. <!--送菜品路线 1号取菜口送到5个锅-->
  1316. <!--<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"/>
  1317. <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"/>
  1318. <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"/>
  1319. <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"/>
  1320. <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"/>-->
  1321. <!--送菜品路线 2号取菜口送到5个锅-->
  1322. <!--<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"/>
  1323. <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"/>
  1324. <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"/>
  1325. <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"/>
  1326. <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"/>-->
  1327. <!--送菜品路线 3号取菜口送到5个锅-->
  1328. <!--<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"/>
  1329. <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"/>
  1330. <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"/>
  1331. <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"/>
  1332. <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"/>-->
  1333. <!--送完菜品 回收路线-->
  1334. <!--<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"/>
  1335. <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"/>
  1336. <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"/>
  1337. <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"/>
  1338. <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"/>-->
  1339. <!--回家路线-->
  1340. <!--<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"/>-->
  1341. </Canvas>
  1342. <!--#endregion-->
  1343. <!--#region 炒锅区域-->
  1344. <Grid >
  1345. <Grid.ColumnDefinitions>
  1346. <ColumnDefinition/>
  1347. <ColumnDefinition/>
  1348. <ColumnDefinition/>
  1349. <ColumnDefinition/>
  1350. <ColumnDefinition/>
  1351. <ColumnDefinition/>
  1352. </Grid.ColumnDefinitions>
  1353. <Grid Grid.Column="0" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="45,0,0,20">
  1354. <TextBox Style="{StaticResource 炒锅}" Text="{Binding wokModel_1.Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></TextBox>
  1355. <TextBlock Style="{DynamicResource 80号字体样式}" FontSize="16" Width="18" Margin="-10,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Bottom">炒锅(1)号</TextBlock>
  1356. </Grid>
  1357. <Grid Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="45,0,0,20">
  1358. <TextBox Style="{StaticResource 炒锅}" Text="{Binding wokModel_2.Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></TextBox>
  1359. <TextBlock Style="{DynamicResource 80号字体样式}" FontSize="16" Width="18" Margin="-10,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Bottom">炒锅(2)号</TextBlock>
  1360. </Grid>
  1361. <Grid Grid.Column="2" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="45,0,0,20">
  1362. <TextBox Style="{StaticResource 炒锅}" Text="{Binding wokModel_3.Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></TextBox>
  1363. <TextBlock Style="{DynamicResource 80号字体样式}" FontSize="16" Width="18" Margin="-10,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Bottom">炒锅(3)号</TextBlock>
  1364. </Grid>
  1365. <Grid Grid.Column="3" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="45,0,0,20">
  1366. <TextBox Style="{StaticResource 炒锅}" Text="{Binding wokModel_4.Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></TextBox>
  1367. <TextBlock Style="{DynamicResource 80号字体样式}" FontSize="16" Width="18" Margin="-10,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Bottom">炒锅(4)号</TextBlock>
  1368. </Grid>
  1369. <Grid Grid.Column="4" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="45,0,0,20">
  1370. <TextBox Style="{StaticResource 炒锅}" Text="{Binding wokModel_5.Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></TextBox>
  1371. <TextBlock Style="{DynamicResource 80号字体样式}" FontSize="16" Width="18" Margin="-10,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Bottom">炒锅(5)号</TextBlock>
  1372. </Grid>
  1373. <Grid HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="100,0,-40,80" Grid.Column="0">
  1374. <Rectangle Stroke="#FFFFA400" StrokeDashArray="5 5" Margin="10"/>
  1375. <StackPanel>
  1376. <TextBlock Style="{DynamicResource 80号字体样式}" Text="一号炒锅制作流程" Margin="20,20,20,5" FontSize="20" Foreground="#FFFCD5B5" />
  1377. <StackPanel Orientation="Horizontal" Margin="20,5,20,0">
  1378. <TextBlock Style="{DynamicResource 80号字体样式}" Text="菜品:" FontSize="20" Foreground="#FFFCD5B5" />
  1379. <TextBlock Style="{DynamicResource 80号字体样式}"
  1380. Text="{Binding wokModel_1.goodsName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
  1381. Tag="{Binding wokModel_1.id,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
  1382. ToolTip="{Binding wokModel_1.orderID,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
  1383. FontSize="16" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="#FF00FFED" />
  1384. </StackPanel>
  1385. <TextBlock Style="{DynamicResource 80号字体样式}" Text="步骤:" Margin="20,5,20,0" FontSize="20" Foreground="#FFFCD5B5" />
  1386. <ListBox ItemsSource="{Binding wokModel_1.workflows,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" Margin="0,0,0,10">
  1387. <ListBox.ItemTemplate>
  1388. <DataTemplate>
  1389. <StackPanel Orientation="Horizontal" Margin="15,5,15,5">
  1390. <TextBlock Style="{DynamicResource 80号字体样式}" Text="{Binding xh,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Foreground="#FF00FFB3" />
  1391. <TextBlock Style="{DynamicResource 80号字体样式}" Text="{Binding Name,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Foreground="#FF00FFB3" />
  1392. <Image Margin="20,0,0,0" Style="{DynamicResource image完成}" Visibility="{Binding visibility,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></Image>
  1393. </StackPanel>
  1394. </DataTemplate>
  1395. </ListBox.ItemTemplate>
  1396. </ListBox>
  1397. </StackPanel>
  1398. </Grid>
  1399. <Grid HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="100,0,-40,80" Grid.Column="1">
  1400. <Rectangle Stroke="#FFFFA400" StrokeDashArray="5 5" Margin="10"/>
  1401. <StackPanel>
  1402. <TextBlock Style="{DynamicResource 80号字体样式}" Text="二号炒锅制作流程" Margin="20,20,20,5" FontSize="20" Foreground="#FFFCD5B5" />
  1403. <StackPanel Orientation="Horizontal" Margin="20,5,20,0">
  1404. <TextBlock Style="{DynamicResource 80号字体样式}" Text="菜品:" FontSize="20" Foreground="#FFFCD5B5" />
  1405. <TextBlock Style="{DynamicResource 80号字体样式}"
  1406. Text="{Binding wokModel_2.goodsName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
  1407. Tag="{Binding wokModel_2.id,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
  1408. ToolTip="{Binding wokModel_2.orderID,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
  1409. FontSize="16" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="#FF00FFED" />
  1410. </StackPanel>
  1411. <TextBlock Style="{DynamicResource 80号字体样式}" Text="步骤:" Margin="20,5,20,0" FontSize="20" Foreground="#FFFCD5B5" />
  1412. <ListBox ItemsSource="{Binding wokModel_2.workflows,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" Margin="0,0,0,10">
  1413. <ListBox.ItemTemplate>
  1414. <DataTemplate>
  1415. <StackPanel Orientation="Horizontal" Margin="15,5,15,5">
  1416. <TextBlock Style="{DynamicResource 80号字体样式}" Text="{Binding xh,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Foreground="#FF00FFB3" />
  1417. <TextBlock Style="{DynamicResource 80号字体样式}" Text="{Binding Name,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Foreground="#FF00FFB3" />
  1418. <Image Margin="20,0,0,0" Style="{DynamicResource image完成}" Visibility="{Binding visibility,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></Image>
  1419. </StackPanel>
  1420. </DataTemplate>
  1421. </ListBox.ItemTemplate>
  1422. </ListBox>
  1423. </StackPanel>
  1424. </Grid>
  1425. <Grid HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="100,0,-40,80" Grid.Column="2">
  1426. <Rectangle Stroke="#FFFFA400" StrokeDashArray="5 5" Margin="10"/>
  1427. <StackPanel>
  1428. <TextBlock Style="{DynamicResource 80号字体样式}" Text="三号炒锅制作流程" Margin="20,20,20,5" FontSize="20" Foreground="#FFFCD5B5" />
  1429. <StackPanel Orientation="Horizontal" Margin="20,5,20,0">
  1430. <TextBlock Style="{DynamicResource 80号字体样式}" Text="菜品:" FontSize="20" Foreground="#FFFCD5B5" />
  1431. <TextBlock Style="{DynamicResource 80号字体样式}"
  1432. Text="{Binding wokModel_3.goodsName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
  1433. Tag="{Binding wokModel_3.id,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
  1434. ToolTip="{Binding wokModel_3.orderID,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
  1435. FontSize="16" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="#FF00FFED" />
  1436. </StackPanel>
  1437. <TextBlock Style="{DynamicResource 80号字体样式}" Text="步骤:" Margin="20,5,20,0" FontSize="20" Foreground="#FFFCD5B5" />
  1438. <ListBox ItemsSource="{Binding wokModel_3.workflows,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" Margin="0,0,0,10">
  1439. <ListBox.ItemTemplate>
  1440. <DataTemplate>
  1441. <StackPanel Orientation="Horizontal" Margin="15,5,15,5">
  1442. <TextBlock Style="{DynamicResource 80号字体样式}" Text="{Binding xh,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Foreground="#FF00FFB3" />
  1443. <TextBlock Style="{DynamicResource 80号字体样式}" Text="{Binding Name,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Foreground="#FF00FFB3" />
  1444. <Image Margin="20,0,0,0" Style="{DynamicResource image完成}" Visibility="{Binding visibility,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></Image>
  1445. </StackPanel>
  1446. </DataTemplate>
  1447. </ListBox.ItemTemplate>
  1448. </ListBox>
  1449. </StackPanel>
  1450. </Grid>
  1451. <Grid HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="100,0,-40,80" Grid.Column="3">
  1452. <Rectangle Stroke="#FFFFA400" StrokeDashArray="5 5" Margin="10"/>
  1453. <StackPanel>
  1454. <TextBlock Style="{DynamicResource 80号字体样式}" Text="四号炒锅制作流程" Margin="20,20,20,5" FontSize="20" Foreground="#FFFCD5B5" />
  1455. <StackPanel Orientation="Horizontal" Margin="20,5,20,0">
  1456. <TextBlock Style="{DynamicResource 80号字体样式}" Text="菜品:" FontSize="20" Foreground="#FFFCD5B5" />
  1457. <TextBlock Style="{DynamicResource 80号字体样式}"
  1458. Text="{Binding wokModel_4.goodsName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
  1459. Tag="{Binding wokModel_4.id,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
  1460. ToolTip="{Binding wokModel_4.orderID,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
  1461. FontSize="16" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="#FF00FFED" />
  1462. </StackPanel>
  1463. <TextBlock Style="{DynamicResource 80号字体样式}" Text="步骤:" Margin="20,5,20,0" FontSize="20" Foreground="#FFFCD5B5" />
  1464. <ListBox ItemsSource="{Binding wokModel_4.workflows,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" Margin="0,0,0,10">
  1465. <ListBox.ItemTemplate>
  1466. <DataTemplate>
  1467. <StackPanel Orientation="Horizontal" Margin="15,5,15,5">
  1468. <TextBlock Style="{DynamicResource 80号字体样式}" Text="{Binding xh,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Foreground="#FF00FFB3" />
  1469. <TextBlock Style="{DynamicResource 80号字体样式}" Text="{Binding Name,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Foreground="#FF00FFB3" />
  1470. <Image Margin="20,0,0,0" Style="{DynamicResource image完成}" Visibility="{Binding visibility,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></Image>
  1471. </StackPanel>
  1472. </DataTemplate>
  1473. </ListBox.ItemTemplate>
  1474. </ListBox>
  1475. </StackPanel>
  1476. </Grid>
  1477. <Grid HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="100,0,-40,80" Grid.Column="4">
  1478. <Rectangle Stroke="#FFFFA400" StrokeDashArray="5 5" Margin="10"/>
  1479. <StackPanel>
  1480. <TextBlock Style="{DynamicResource 80号字体样式}" Text="五号炒锅制作流程" Margin="20,20,20,5" FontSize="20" Foreground="#FFFCD5B5" />
  1481. <StackPanel Orientation="Horizontal" Margin="20,5,20,0">
  1482. <TextBlock Style="{DynamicResource 80号字体样式}" Text="菜品:" FontSize="20" Foreground="#FFFCD5B5" />
  1483. <TextBlock Style="{DynamicResource 80号字体样式}"
  1484. Text="{Binding wokModel_5.goodsName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
  1485. Tag="{Binding wokModel_5.id,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
  1486. ToolTip="{Binding wokModel_5.orderID,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
  1487. FontSize="16" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="#FF00FFED" />
  1488. </StackPanel>
  1489. <TextBlock Style="{DynamicResource 80号字体样式}" Text="步骤:" Margin="20,5,20,0" FontSize="20" Foreground="#FFFCD5B5" />
  1490. <ListBox ItemsSource="{Binding wokModel_5.workflows,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" Margin="0,0,0,10">
  1491. <ListBox.ItemTemplate>
  1492. <DataTemplate>
  1493. <StackPanel Orientation="Horizontal" Margin="15,5,15,5">
  1494. <TextBlock Style="{DynamicResource 80号字体样式}" Text="{Binding xh,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Foreground="#FF00FFB3" />
  1495. <TextBlock Style="{DynamicResource 80号字体样式}" Text="{Binding Name,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Foreground="#FF00FFB3" />
  1496. <Image Margin="20,0,0,0" Style="{DynamicResource image完成}" Visibility="{Binding visibility,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></Image>
  1497. </StackPanel>
  1498. </DataTemplate>
  1499. </ListBox.ItemTemplate>
  1500. </ListBox>
  1501. </StackPanel>
  1502. </Grid>
  1503. </Grid>
  1504. <!--#endregion-->
  1505. <!--#region 滚筒线,IsEnabled True代表有菜 false 空碗.Text:Start 执行动画 Tag:代表传输带上有几个菜碗-->
  1506. <StackPanel Orientation="Horizontal" Height="240" Width="580" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="290,0,0,0">
  1507. <TextBlock Style="{DynamicResource 80号字体样式}" FontSize="16" Width="18" HorizontalAlignment="Right">满料桶滚筒线</TextBlock>
  1508. <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>
  1509. <TextBlock Style="{DynamicResource 80号字体样式}" FontSize="16" Width="18" HorizontalAlignment="Right">(1)满料桶滚筒线</TextBlock>
  1510. <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>
  1511. <TextBlock Style="{DynamicResource 80号字体样式}" FontSize="16" Width="18" HorizontalAlignment="Right">(2)满料桶滚筒线</TextBlock>
  1512. <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>
  1513. <TextBlock Style="{DynamicResource 80号字体样式}" FontSize="16" Width="18" HorizontalAlignment="Right">(3)满料桶滚筒线</TextBlock>
  1514. <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>
  1515. <TextBlock Style="{DynamicResource 80号字体样式}" FontSize="16" Width="16" HorizontalAlignment="Right">空桶滚筒线</TextBlock>
  1516. </StackPanel>
  1517. <!--#endregion-->
  1518. <!--#region 停车桩与充电桩-->
  1519. <StackPanel HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,200,30,0">
  1520. <Border Style="{DynamicResource border停车位}">
  1521. <TextBlock Style="{DynamicResource 80号字体样式}" Margin="10,0,-15,0" HorizontalAlignment="Left" VerticalAlignment="Bottom">停车桩(1号)</TextBlock>
  1522. </Border>
  1523. <Border Style="{DynamicResource border停车位}">
  1524. <TextBlock Style="{DynamicResource 80号字体样式}" Margin="10,0,-15,0" HorizontalAlignment="Left" VerticalAlignment="Bottom">停车桩(2号)</TextBlock>
  1525. </Border>
  1526. <Border Style="{DynamicResource border停车位}">
  1527. <TextBlock Style="{DynamicResource 80号字体样式}" Margin="10,0,-15,0" HorizontalAlignment="Left" VerticalAlignment="Bottom">停车桩(3号)</TextBlock>
  1528. </Border>
  1529. <Border Style="{DynamicResource border停车位}">
  1530. <TextBlock Style="{DynamicResource 80号字体样式}" Margin="10,0,-15,0" HorizontalAlignment="Left" VerticalAlignment="Bottom">停车桩(4号)</TextBlock>
  1531. </Border>
  1532. <Border Style="{DynamicResource border充电桩}">
  1533. <TextBlock Style="{DynamicResource 80号字体样式}" Margin="0,10,-25,-13" HorizontalAlignment="Left" VerticalAlignment="Bottom">充电桩(5号)</TextBlock>
  1534. </Border>
  1535. <Border Style="{DynamicResource border充电桩}">
  1536. <TextBlock Style="{DynamicResource 80号字体样式}" Margin="-2,0,-25,-13" HorizontalAlignment="Left" VerticalAlignment="Bottom">充电桩(6号)</TextBlock>
  1537. </Border>
  1538. </StackPanel>
  1539. <StackPanel HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,200,100,0">
  1540. <TextBox Style="{StaticResource 停车位}" Margin="0,15,0,0" Text="{Binding ParkingPileModel_1.Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
  1541. <TextBox Style="{StaticResource 停车位}" Margin="0,23,0,0" Text="{Binding ParkingPileModel_2.Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
  1542. <TextBox Style="{StaticResource 停车位}" Margin="0,26,0,0" Text="{Binding ParkingPileModel_3.Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
  1543. <TextBox Style="{StaticResource 停车位}" Margin="0,25,0,0" Text="{Binding ParkingPileModel_4.Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
  1544. <TextBox Style="{StaticResource 停车位}" Margin="0,25,0,0" Text="{Binding ParkingPileModel_5.Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" />
  1545. <TextBox Style="{StaticResource 停车位}" Margin="0,25,0,0" Text="{Binding ParkingPileModel_6.Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
  1546. </StackPanel>
  1547. <!--#endregion-->
  1548. </Grid>
  1549. </UserControl>