终端一体化运控平台
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.
 
 
 

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