终端一体化运控平台
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 

645 строки
46 KiB

  1. <UserControl x:Class="FryPot_DosingSystem.View.HardWareStatusView"
  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="450" d:DesignWidth="800">
  10. <Viewbox>
  11. <Grid>
  12. <Grid.RowDefinitions>
  13. <RowDefinition></RowDefinition>
  14. <RowDefinition></RowDefinition>
  15. <RowDefinition></RowDefinition>
  16. <RowDefinition></RowDefinition>
  17. </Grid.RowDefinitions>
  18. <Border BorderThickness="0,0,0,2" BorderBrush="DarkBlue" >
  19. <Grid>
  20. <Grid.ColumnDefinitions>
  21. <ColumnDefinition Width="80"></ColumnDefinition>
  22. <ColumnDefinition></ColumnDefinition>
  23. </Grid.ColumnDefinitions>
  24. <Border BorderThickness="0,0,2,0" BorderBrush="DarkOrange">
  25. <Grid>
  26. <Grid.RowDefinitions>
  27. <RowDefinition></RowDefinition>
  28. <RowDefinition></RowDefinition>
  29. </Grid.RowDefinitions>
  30. <StackPanel VerticalAlignment="Center">
  31. <TextBlock Text="滚筒线1" FontSize="20" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="CadetBlue" Margin="0,0,0,5"></TextBlock>
  32. <Line X1="0" Y1="0" X2="78" Y2="0" Stroke="DarkOrange" StrokeThickness="2" StrokeDashArray="2"></Line>
  33. </StackPanel>
  34. <StackPanel Margin="0,43,0,0" Grid.RowSpan="2" >
  35. <Border Width="15" Height="15" CornerRadius="15" HorizontalAlignment="Left" Margin="12,10,0,0" >
  36. <Border.Background>
  37. <RadialGradientBrush>
  38. <GradientStop Color="{Binding RollerOneModel.RollerRunState}" Offset="0.5" x:Name="gsGreen1"/>
  39. <GradientStop Color="White"/>
  40. </RadialGradientBrush>
  41. </Border.Background>
  42. </Border>
  43. <Border Width="15" Height="15" CornerRadius="15" HorizontalAlignment="Left" Margin="12,10,0,0">
  44. <Border.Background>
  45. <RadialGradientBrush>
  46. <GradientStop Color="{Binding RollerOneModel.RollerAlarmState}" Offset="0.5" x:Name="gsRed1"/>
  47. <GradientStop Color="White"/>
  48. </RadialGradientBrush>
  49. </Border.Background>
  50. </Border>
  51. </StackPanel>
  52. </Grid>
  53. </Border>
  54. <Grid Grid.Column="1">
  55. <Line X1="0" Y1="0" X2="720" Y2="0" Stroke="Aqua" StrokeThickness="2" StrokeDashArray="2" Margin="0,11,0,0"></Line>
  56. <Border Margin="10,10" BorderThickness="0,0,0,0" BorderBrush="White" CornerRadius="10">
  57. <Grid>
  58. <Grid.ColumnDefinitions>
  59. <ColumnDefinition/>
  60. <ColumnDefinition/>
  61. <ColumnDefinition/>
  62. <ColumnDefinition/>
  63. <ColumnDefinition/>
  64. <ColumnDefinition/>
  65. <ColumnDefinition/>
  66. <ColumnDefinition/>
  67. </Grid.ColumnDefinitions>
  68. <Border BorderThickness="0,0,2,0" BorderBrush="Gray">
  69. <Grid>
  70. <Grid.RowDefinitions>
  71. <RowDefinition Height="70"/>
  72. <RowDefinition/>
  73. </Grid.RowDefinitions>
  74. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  75. <TextBlock Text="{Binding RollerOneModel.LocOneRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  76. </Border>
  77. <TextBlock Grid.Row="1" Text="工位1" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  78. </Grid>
  79. </Border>
  80. <Border Grid.Column="1" BorderThickness="0,0,2,0" BorderBrush="Gray">
  81. <Grid>
  82. <Grid.RowDefinitions>
  83. <RowDefinition Height="70"/>
  84. <RowDefinition/>
  85. </Grid.RowDefinitions>
  86. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  87. <TextBlock Text="{Binding RollerOneModel.LocTwoRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  88. </Border>
  89. <TextBlock Grid.Row="1" Text="工位2" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  90. </Grid>
  91. </Border>
  92. <Border Grid.Column="2" BorderThickness="0,0,2,0" BorderBrush="Gray">
  93. <Grid>
  94. <Grid.RowDefinitions>
  95. <RowDefinition Height="70"/>
  96. <RowDefinition/>
  97. </Grid.RowDefinitions>
  98. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  99. <TextBlock Text="{Binding RollerOneModel.LocThreeRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  100. </Border>
  101. <TextBlock Grid.Row="1" Text="工位3" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  102. </Grid>
  103. </Border>
  104. <Border Grid.Column="3" BorderThickness="0,0,2,0" BorderBrush="Gray">
  105. <Grid>
  106. <Grid.RowDefinitions>
  107. <RowDefinition Height="70"/>
  108. <RowDefinition/>
  109. </Grid.RowDefinitions>
  110. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  111. <TextBlock Text="{Binding RollerOneModel.LocFourRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  112. </Border>
  113. <TextBlock Grid.Row="1" Text="工位4" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  114. </Grid>
  115. </Border>
  116. <Border Grid.Column="4" BorderThickness="0,0,2,0" BorderBrush="Gray">
  117. <Grid>
  118. <Grid.RowDefinitions>
  119. <RowDefinition Height="70"/>
  120. <RowDefinition/>
  121. </Grid.RowDefinitions>
  122. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  123. <TextBlock Text="{Binding RollerOneModel.LocFiveRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  124. </Border>
  125. <TextBlock Grid.Row="1" Text="工位5" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  126. </Grid>
  127. </Border>
  128. <Border Grid.Column="5" BorderThickness="0,0,2,0" BorderBrush="Gray">
  129. <Grid>
  130. <Grid.RowDefinitions>
  131. <RowDefinition Height="70"/>
  132. <RowDefinition/>
  133. </Grid.RowDefinitions>
  134. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  135. <TextBlock Text="{Binding RollerOneModel.LocSixRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  136. </Border>
  137. <TextBlock Grid.Row="1" Text="工位6" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  138. </Grid>
  139. </Border>
  140. <Border Grid.Column="6" BorderThickness="0,0,2,0" BorderBrush="Gray">
  141. <Grid>
  142. <Grid.RowDefinitions>
  143. <RowDefinition Height="70"/>
  144. <RowDefinition/>
  145. </Grid.RowDefinitions>
  146. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  147. <TextBlock Text="{Binding RollerOneModel.LocSevenRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  148. </Border>
  149. <TextBlock Grid.Row="1" Text="工位7" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  150. </Grid>
  151. </Border>
  152. <Border Grid.Column="7">
  153. <Grid>
  154. <Grid.RowDefinitions>
  155. <RowDefinition Height="70"/>
  156. <RowDefinition/>
  157. </Grid.RowDefinitions>
  158. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  159. <TextBlock Text="{Binding RollerOneModel.LocEightRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  160. </Border>
  161. <TextBlock Grid.Row="1" Text="工位8" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  162. </Grid>
  163. </Border>
  164. </Grid>
  165. </Border>
  166. <Line X1="0" Y1="0" X2="720" Y2="0" Stroke="Aqua" StrokeThickness="2" StrokeDashArray="2" Margin="0,98,0,0"></Line>
  167. </Grid>
  168. </Grid>
  169. </Border>
  170. <Border Grid.Row="1" BorderThickness="0,0,0,2" BorderBrush="DarkBlue" >
  171. <Grid>
  172. <Grid.ColumnDefinitions>
  173. <ColumnDefinition Width="80"></ColumnDefinition>
  174. <ColumnDefinition></ColumnDefinition>
  175. </Grid.ColumnDefinitions>
  176. <Border BorderThickness="0,0,2,0" BorderBrush="DarkOrange">
  177. <Grid>
  178. <Grid.RowDefinitions>
  179. <RowDefinition></RowDefinition>
  180. <RowDefinition></RowDefinition>
  181. </Grid.RowDefinitions>
  182. <StackPanel VerticalAlignment="Center">
  183. <TextBlock Text="滚筒线2" FontSize="20" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="CadetBlue" Margin="0,0,0,5"></TextBlock>
  184. <Line X1="0" Y1="0" X2="78" Y2="0" Stroke="DarkOrange" StrokeThickness="2" StrokeDashArray="2"></Line>
  185. </StackPanel>
  186. <StackPanel Margin="0,43,0,0" Grid.RowSpan="2" >
  187. <Border Width="15" Height="15" CornerRadius="15" HorizontalAlignment="Left" Margin="12,10,0,0">
  188. <Border.Background>
  189. <RadialGradientBrush>
  190. <GradientStop Color="{Binding RollerTwoModel.RollerRunState}" Offset="0.5" x:Name="gsGreen2"/>
  191. <GradientStop Color="White"/>
  192. </RadialGradientBrush>
  193. </Border.Background>
  194. </Border>
  195. <Border Width="15" Height="15" CornerRadius="15" HorizontalAlignment="Left" Margin="12,10,0,0">
  196. <Border.Background>
  197. <RadialGradientBrush>
  198. <GradientStop Color="{Binding RollerTwoModel.RollerAlarmState}" Offset="0.5" x:Name="gsRed2"/>
  199. <GradientStop Color="White"/>
  200. </RadialGradientBrush>
  201. </Border.Background>
  202. </Border>
  203. </StackPanel>
  204. </Grid>
  205. </Border>
  206. <Grid Grid.Column="1">
  207. <Line X1="0" Y1="0" X2="720" Y2="0" Stroke="Aqua" StrokeThickness="2" StrokeDashArray="2" Margin="0,11,0,0"></Line>
  208. <Border Margin="10,10" BorderThickness="0,0,0,0" BorderBrush="White" CornerRadius="10">
  209. <Grid>
  210. <Grid.ColumnDefinitions>
  211. <ColumnDefinition/>
  212. <ColumnDefinition/>
  213. <ColumnDefinition/>
  214. <ColumnDefinition/>
  215. <ColumnDefinition/>
  216. <ColumnDefinition/>
  217. <ColumnDefinition/>
  218. <ColumnDefinition/>
  219. </Grid.ColumnDefinitions>
  220. <Border BorderThickness="0,0,2,0" BorderBrush="Gray">
  221. <Grid>
  222. <Grid.RowDefinitions>
  223. <RowDefinition Height="70"/>
  224. <RowDefinition/>
  225. </Grid.RowDefinitions>
  226. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  227. <TextBlock Text="{Binding RollerTwoModel.LocOneRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  228. </Border>
  229. <TextBlock Grid.Row="1" Text="工位1" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  230. </Grid>
  231. </Border>
  232. <Border Grid.Column="1" BorderThickness="0,0,2,0" BorderBrush="Gray">
  233. <Grid>
  234. <Grid.RowDefinitions>
  235. <RowDefinition Height="70"/>
  236. <RowDefinition/>
  237. </Grid.RowDefinitions>
  238. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  239. <TextBlock Text="{Binding RollerTwoModel.LocTwoRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  240. </Border>
  241. <TextBlock Grid.Row="1" Text="工位2" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  242. </Grid>
  243. </Border>
  244. <Border Grid.Column="2" BorderThickness="0,0,2,0" BorderBrush="Gray">
  245. <Grid>
  246. <Grid.RowDefinitions>
  247. <RowDefinition Height="70"/>
  248. <RowDefinition/>
  249. </Grid.RowDefinitions>
  250. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  251. <TextBlock Text="{Binding RollerTwoModel.LocThreeRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  252. </Border>
  253. <TextBlock Grid.Row="1" Text="工位3" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  254. </Grid>
  255. </Border>
  256. <Border Grid.Column="3" BorderThickness="0,0,2,0" BorderBrush="Gray">
  257. <Grid>
  258. <Grid.RowDefinitions>
  259. <RowDefinition Height="70"/>
  260. <RowDefinition/>
  261. </Grid.RowDefinitions>
  262. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  263. <TextBlock Text="{Binding RollerTwoModel.LocFourRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  264. </Border>
  265. <TextBlock Grid.Row="1" Text="工位4" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  266. </Grid>
  267. </Border>
  268. <Border Grid.Column="4" BorderThickness="0,0,2,0" BorderBrush="Gray">
  269. <Grid>
  270. <Grid.RowDefinitions>
  271. <RowDefinition Height="70"/>
  272. <RowDefinition/>
  273. </Grid.RowDefinitions>
  274. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  275. <TextBlock Text="{Binding RollerTwoModel.LocFiveRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  276. </Border>
  277. <TextBlock Grid.Row="1" Text="工位5" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  278. </Grid>
  279. </Border>
  280. <Border Grid.Column="5" BorderThickness="0,0,2,0" BorderBrush="Gray">
  281. <Grid>
  282. <Grid.RowDefinitions>
  283. <RowDefinition Height="70"/>
  284. <RowDefinition/>
  285. </Grid.RowDefinitions>
  286. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  287. <TextBlock Text="{Binding RollerTwoModel.LocSixRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  288. </Border>
  289. <TextBlock Grid.Row="1" Text="工位6" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  290. </Grid>
  291. </Border>
  292. <Border Grid.Column="6" BorderThickness="0,0,2,0" BorderBrush="Gray">
  293. <Grid>
  294. <Grid.RowDefinitions>
  295. <RowDefinition Height="70"/>
  296. <RowDefinition/>
  297. </Grid.RowDefinitions>
  298. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  299. <TextBlock Text="{Binding RollerTwoModel.LocSevenRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  300. </Border>
  301. <TextBlock Grid.Row="1" Text="工位7" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  302. </Grid>
  303. </Border>
  304. <Border Grid.Column="7">
  305. <Grid>
  306. <Grid.RowDefinitions>
  307. <RowDefinition Height="70"/>
  308. <RowDefinition/>
  309. </Grid.RowDefinitions>
  310. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  311. <TextBlock Text="{Binding RollerTwoModel.LocEightRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  312. </Border>
  313. <TextBlock Grid.Row="1" Text="工位8" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  314. </Grid>
  315. </Border>
  316. </Grid>
  317. </Border>
  318. <Line X1="0" Y1="0" X2="720" Y2="0" Stroke="Aqua" StrokeThickness="2" StrokeDashArray="2" Margin="0,98,0,0"></Line>
  319. </Grid>
  320. </Grid>
  321. </Border>
  322. <Border Grid.Row="2" BorderThickness="0,0,0,2" BorderBrush="DarkBlue" >
  323. <Grid>
  324. <Grid.ColumnDefinitions>
  325. <ColumnDefinition Width="80"></ColumnDefinition>
  326. <ColumnDefinition></ColumnDefinition>
  327. </Grid.ColumnDefinitions>
  328. <Border BorderThickness="0,0,2,0" BorderBrush="DarkOrange">
  329. <Grid>
  330. <Grid.RowDefinitions>
  331. <RowDefinition></RowDefinition>
  332. <RowDefinition></RowDefinition>
  333. </Grid.RowDefinitions>
  334. <StackPanel VerticalAlignment="Center">
  335. <TextBlock Text="滚筒线3" FontSize="20" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="CadetBlue" Margin="0,0,0,5"></TextBlock>
  336. <Line X1="0" Y1="0" X2="78" Y2="0" Stroke="DarkOrange" StrokeThickness="2" StrokeDashArray="2"></Line>
  337. </StackPanel>
  338. <StackPanel Margin="0,43,0,0" Grid.RowSpan="2" >
  339. <Border Width="15" Height="15" CornerRadius="15" HorizontalAlignment="Left" Margin="12,10,0,0">
  340. <Border.Background>
  341. <RadialGradientBrush>
  342. <GradientStop Color="{Binding RollerThreeModel.RollerRunState}" Offset="0.5" x:Name="gsGreen3"/>
  343. <GradientStop Color="White"/>
  344. </RadialGradientBrush>
  345. </Border.Background>
  346. </Border>
  347. <Border Width="15" Height="15" CornerRadius="15" HorizontalAlignment="Left" Margin="12,10,0,0">
  348. <Border.Background>
  349. <RadialGradientBrush>
  350. <GradientStop Color="{Binding RollerThreeModel.RollerAlarmState}" Offset="0.5" x:Name="gsRed3"/>
  351. <GradientStop Color="White"/>
  352. </RadialGradientBrush>
  353. </Border.Background>
  354. </Border>
  355. </StackPanel>
  356. </Grid>
  357. </Border>
  358. <Grid Grid.Column="1">
  359. <Line X1="0" Y1="0" X2="720" Y2="0" Stroke="Aqua" StrokeThickness="2" StrokeDashArray="2" Margin="0,11,0,0"></Line>
  360. <Border Margin="10,10" BorderThickness="0,0,0,0" BorderBrush="White" CornerRadius="10">
  361. <Grid>
  362. <Grid.ColumnDefinitions>
  363. <ColumnDefinition/>
  364. <ColumnDefinition/>
  365. <ColumnDefinition/>
  366. <ColumnDefinition/>
  367. <ColumnDefinition/>
  368. <ColumnDefinition/>
  369. <ColumnDefinition/>
  370. <ColumnDefinition/>
  371. </Grid.ColumnDefinitions>
  372. <Border BorderThickness="0,0,2,0" BorderBrush="Gray">
  373. <Grid>
  374. <Grid.RowDefinitions>
  375. <RowDefinition Height="70"/>
  376. <RowDefinition/>
  377. </Grid.RowDefinitions>
  378. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  379. <TextBlock Text="{Binding RollerThreeModel.LocOneRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  380. </Border>
  381. <TextBlock Grid.Row="1" Text="工位1" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  382. </Grid>
  383. </Border>
  384. <Border Grid.Column="1" BorderThickness="0,0,2,0" BorderBrush="Gray">
  385. <Grid>
  386. <Grid.RowDefinitions>
  387. <RowDefinition Height="70"/>
  388. <RowDefinition/>
  389. </Grid.RowDefinitions>
  390. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  391. <TextBlock Text="{Binding RollerThreeModel.LocTwoRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  392. </Border>
  393. <TextBlock Grid.Row="1" Text="工位2" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  394. </Grid>
  395. </Border>
  396. <Border Grid.Column="2" BorderThickness="0,0,2,0" BorderBrush="Gray">
  397. <Grid>
  398. <Grid.RowDefinitions>
  399. <RowDefinition Height="70"/>
  400. <RowDefinition/>
  401. </Grid.RowDefinitions>
  402. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  403. <TextBlock Text="{Binding RollerThreeModel.LocThreeRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  404. </Border>
  405. <TextBlock Grid.Row="1" Text="工位3" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  406. </Grid>
  407. </Border>
  408. <Border Grid.Column="3" BorderThickness="0,0,2,0" BorderBrush="Gray">
  409. <Grid>
  410. <Grid.RowDefinitions>
  411. <RowDefinition Height="70"/>
  412. <RowDefinition/>
  413. </Grid.RowDefinitions>
  414. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  415. <TextBlock Text="{Binding RollerThreeModel.LocFourRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  416. </Border>
  417. <TextBlock Grid.Row="1" Text="工位4" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  418. </Grid>
  419. </Border>
  420. <Border Grid.Column="4" BorderThickness="0,0,2,0" BorderBrush="Gray">
  421. <Grid>
  422. <Grid.RowDefinitions>
  423. <RowDefinition Height="70"/>
  424. <RowDefinition/>
  425. </Grid.RowDefinitions>
  426. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  427. <TextBlock Text="{Binding RollerThreeModel.LocFiveRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  428. </Border>
  429. <TextBlock Grid.Row="1" Text="工位5" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  430. </Grid>
  431. </Border>
  432. <Border Grid.Column="5" BorderThickness="0,0,2,0" BorderBrush="Gray">
  433. <Grid>
  434. <Grid.RowDefinitions>
  435. <RowDefinition Height="70"/>
  436. <RowDefinition/>
  437. </Grid.RowDefinitions>
  438. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  439. <TextBlock Text="{Binding RollerThreeModel.LocSixRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  440. </Border>
  441. <TextBlock Grid.Row="1" Text="工位6" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  442. </Grid>
  443. </Border>
  444. <Border Grid.Column="6" BorderThickness="0,0,2,0" BorderBrush="Gray">
  445. <Grid>
  446. <Grid.RowDefinitions>
  447. <RowDefinition Height="70"/>
  448. <RowDefinition/>
  449. </Grid.RowDefinitions>
  450. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  451. <TextBlock Text="{Binding RollerThreeModel.LocSevenRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  452. </Border>
  453. <TextBlock Grid.Row="1" Text="工位7" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  454. </Grid>
  455. </Border>
  456. <Border Grid.Column="7">
  457. <Grid>
  458. <Grid.RowDefinitions>
  459. <RowDefinition Height="70"/>
  460. <RowDefinition/>
  461. </Grid.RowDefinitions>
  462. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  463. <TextBlock Text="{Binding RollerThreeModel.LocEightRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  464. </Border>
  465. <TextBlock Grid.Row="1" Text="工位8" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  466. </Grid>
  467. </Border>
  468. </Grid>
  469. </Border>
  470. <Line X1="0" Y1="0" X2="720" Y2="0" Stroke="Aqua" StrokeThickness="2" StrokeDashArray="2" Margin="0,98,0,0"></Line>
  471. </Grid>
  472. </Grid>
  473. </Border>
  474. <Border Grid.Row="3" BorderThickness="0,0,0,2" BorderBrush="DarkBlue" >
  475. <Grid>
  476. <Grid.ColumnDefinitions>
  477. <ColumnDefinition Width="80"></ColumnDefinition>
  478. <ColumnDefinition></ColumnDefinition>
  479. </Grid.ColumnDefinitions>
  480. <Border BorderThickness="0,0,2,0" BorderBrush="DarkOrange">
  481. <Grid>
  482. <Grid.RowDefinitions>
  483. <RowDefinition></RowDefinition>
  484. <RowDefinition></RowDefinition>
  485. </Grid.RowDefinitions>
  486. <StackPanel VerticalAlignment="Center">
  487. <TextBlock Text="滚筒线4" FontSize="20" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="CadetBlue" Margin="0,0,0,5"></TextBlock>
  488. <Line X1="0" Y1="0" X2="78" Y2="0" Stroke="DarkOrange" StrokeThickness="2" StrokeDashArray="2"></Line>
  489. </StackPanel>
  490. <StackPanel Margin="0,43,0,0" Grid.RowSpan="2" >
  491. <Border Width="15" Height="15" CornerRadius="15" HorizontalAlignment="Left" Margin="12,10,0,0">
  492. <Border.Background>
  493. <RadialGradientBrush>
  494. <GradientStop Color="{Binding RollerFourModel.RollerRunState}" Offset="0.5" x:Name="gsGreen4"/>
  495. <GradientStop Color="White"/>
  496. </RadialGradientBrush>
  497. </Border.Background>
  498. </Border>
  499. <Border Width="15" Height="15" CornerRadius="15" HorizontalAlignment="Left" Margin="12,10,0,0">
  500. <Border.Background>
  501. <RadialGradientBrush>
  502. <GradientStop Color="{Binding RollerFourModel.RollerAlarmState}" Offset="0.5" x:Name="gsRed4"/>
  503. <GradientStop Color="White"/>
  504. </RadialGradientBrush>
  505. </Border.Background>
  506. </Border>
  507. </StackPanel>
  508. </Grid>
  509. </Border>
  510. <Grid Grid.Column="1">
  511. <Line X1="0" Y1="0" X2="720" Y2="0" Stroke="Aqua" StrokeThickness="2" StrokeDashArray="2" Margin="0,11,0,0"></Line>
  512. <Border Margin="10,10" BorderThickness="0,0,0,0" BorderBrush="White" CornerRadius="10">
  513. <Grid>
  514. <Grid.ColumnDefinitions>
  515. <ColumnDefinition/>
  516. <ColumnDefinition/>
  517. <ColumnDefinition/>
  518. <ColumnDefinition/>
  519. <ColumnDefinition/>
  520. <ColumnDefinition/>
  521. <ColumnDefinition/>
  522. <ColumnDefinition/>
  523. </Grid.ColumnDefinitions>
  524. <Border BorderThickness="0,0,2,0" BorderBrush="Gray">
  525. <Grid>
  526. <Grid.RowDefinitions>
  527. <RowDefinition Height="70"/>
  528. <RowDefinition/>
  529. </Grid.RowDefinitions>
  530. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  531. <TextBlock Text="{Binding RollerFourModel.LocOneRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  532. </Border>
  533. <TextBlock Grid.Row="1" Text="工位1" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  534. </Grid>
  535. </Border>
  536. <Border Grid.Column="1" BorderThickness="0,0,2,0" BorderBrush="Gray">
  537. <Grid>
  538. <Grid.RowDefinitions>
  539. <RowDefinition Height="70"/>
  540. <RowDefinition/>
  541. </Grid.RowDefinitions>
  542. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  543. <TextBlock Text="{Binding RollerFourModel.LocTwoRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  544. </Border>
  545. <TextBlock Grid.Row="1" Text="工位2" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  546. </Grid>
  547. </Border>
  548. <Border Grid.Column="2" BorderThickness="0,0,2,0" BorderBrush="Gray">
  549. <Grid>
  550. <Grid.RowDefinitions>
  551. <RowDefinition Height="70"/>
  552. <RowDefinition/>
  553. </Grid.RowDefinitions>
  554. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  555. <TextBlock Text="{Binding RollerFourModel.LocThreeRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  556. </Border>
  557. <TextBlock Grid.Row="1" Text="工位3" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  558. </Grid>
  559. </Border>
  560. <Border Grid.Column="3" BorderThickness="0,0,2,0" BorderBrush="Gray">
  561. <Grid>
  562. <Grid.RowDefinitions>
  563. <RowDefinition Height="70"/>
  564. <RowDefinition/>
  565. </Grid.RowDefinitions>
  566. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  567. <TextBlock Text="{Binding RollerFourModel.LocFourRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  568. </Border>
  569. <TextBlock Grid.Row="1" Text="工位4" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  570. </Grid>
  571. </Border>
  572. <Border Grid.Column="4" BorderThickness="0,0,2,0" BorderBrush="Gray">
  573. <Grid>
  574. <Grid.RowDefinitions>
  575. <RowDefinition Height="70"/>
  576. <RowDefinition/>
  577. </Grid.RowDefinitions>
  578. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  579. <TextBlock Text="{Binding RollerFourModel.LocFiveRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  580. </Border>
  581. <TextBlock Grid.Row="1" Text="工位5" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  582. </Grid>
  583. </Border>
  584. <Border Grid.Column="5" BorderThickness="0,0,2,0" BorderBrush="Gray">
  585. <Grid>
  586. <Grid.RowDefinitions>
  587. <RowDefinition Height="70"/>
  588. <RowDefinition/>
  589. </Grid.RowDefinitions>
  590. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  591. <TextBlock Text="{Binding RollerFourModel.LocSixRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  592. </Border>
  593. <TextBlock Grid.Row="1" Text="工位6" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  594. </Grid>
  595. </Border>
  596. <Border Grid.Column="6" BorderThickness="0,0,2,0" BorderBrush="Gray">
  597. <Grid>
  598. <Grid.RowDefinitions>
  599. <RowDefinition Height="70"/>
  600. <RowDefinition/>
  601. </Grid.RowDefinitions>
  602. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  603. <TextBlock Text="{Binding RollerFourModel.LocSevenRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  604. </Border>
  605. <TextBlock Grid.Row="1" Text="工位7" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  606. </Grid>
  607. </Border>
  608. <Border Grid.Column="7">
  609. <Grid>
  610. <Grid.RowDefinitions>
  611. <RowDefinition Height="70"/>
  612. <RowDefinition/>
  613. </Grid.RowDefinitions>
  614. <Border Width="60" Height="60" CornerRadius="30" BorderThickness="2" VerticalAlignment="Bottom" BorderBrush="HotPink">
  615. <TextBlock Text="{Binding RollerFourModel.LocEightRollerSerial}" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="DarkOrange"></TextBlock>
  616. </Border>
  617. <TextBlock Grid.Row="1" Text="工位8" HorizontalAlignment="Center" Foreground="DeepSkyBlue"></TextBlock>
  618. </Grid>
  619. </Border>
  620. </Grid>
  621. </Border>
  622. <Line X1="0" Y1="0" X2="720" Y2="0" Stroke="Aqua" StrokeThickness="2" StrokeDashArray="2" Margin="0,98,0,0"></Line>
  623. </Grid>
  624. </Grid>
  625. </Border>
  626. </Grid>
  627. </Viewbox>
  628. </UserControl>