EquipmentStatusView.xaml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. <UserControl x:Class="FurnaceUI.Views.Operations.EquipmentStatusView"
  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:FurnaceUI.Views.Operations" xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:cal="http://www.caliburn.org"
  7. mc:Ignorable="d"
  8. d:DesignHeight="1000" d:DesignWidth="1300">
  9. <Canvas Background="White" Height="680" Width="1200">
  10. <StackPanel Canvas.Left="55" Canvas.Top="20">
  11. <Border BorderBrush="Green" BorderThickness="2" CornerRadius="6" Width="540" Height="275" Grid.Column="0">
  12. <StackPanel Orientation="Vertical" Margin="10" HorizontalAlignment="Center">
  13. <Grid Margin="-190,0,0,0">
  14. <Grid.RowDefinitions>
  15. <RowDefinition Height="45"></RowDefinition>
  16. <RowDefinition Height="40"></RowDefinition>
  17. <RowDefinition Height="40"></RowDefinition>
  18. <RowDefinition Height="40"></RowDefinition>
  19. <RowDefinition Height="40"></RowDefinition>
  20. <RowDefinition Height="40"></RowDefinition>
  21. </Grid.RowDefinitions>
  22. <Border Grid.Row="0" BorderBrush="Black" BorderThickness="1" Padding="5,0,0,0" Width="320" Background="{DynamicResource MainArea_BG}">
  23. <TextBlock Text="SD Automation Processing State" FontSize="17" HorizontalAlignment="Left" VerticalAlignment="Center" Padding="5,0,0,0"/>
  24. </Border>
  25. <Border Grid.Row="1" BorderBrush="Black" BorderThickness="1,0,1,0" Background="{Binding LoadingBk}" Width="320" >
  26. <TextBlock Text="Elevator Unloading" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  27. </Border>
  28. <Border Grid.Row="2" BorderBrush="Black" BorderThickness="1,1,1,0" Background="{Binding UnloadingBk}" Width="320" >
  29. <TextBlock Text="Cooling Before Boat Transfer" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  30. </Border>
  31. <Border Grid.Row="3" BorderBrush="Black" BorderThickness="1,1,1,0" Background="{Binding UnloadingBk}" Width="320" >
  32. <TextBlock Text="Boat Moving" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  33. </Border>
  34. <Border Grid.Row="4" BorderBrush="Black" BorderThickness="1,1,1,0" Background="{Binding UnloadingBk}" Width="320">
  35. <TextBlock Text="Cooling Before Discharge" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  36. </Border>
  37. <Border Grid.Row="5" BorderBrush="Black" BorderThickness="1,1,1,1" Background="{Binding UnloadingBk}" Width="320">
  38. <TextBlock Text=" Discharging" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  39. </Border>
  40. </Grid>
  41. <Border Grid.Row="6" Margin="340,-150,5,100">
  42. <Button Content="Cancel" Width="150" Height="55" IsEnabled="{Binding TransferJobEnabledAbort}">
  43. <i:Interaction.Triggers>
  44. <i:EventTrigger EventName="Click">
  45. <cal:ActionMessage MethodName="Cancel">
  46. </cal:ActionMessage>
  47. </i:EventTrigger>
  48. </i:Interaction.Triggers>
  49. </Button>
  50. </Border>
  51. </StackPanel>
  52. </Border>
  53. <Path Stroke="Gray" StrokeThickness="1" Margin="150,-278,0,0">
  54. <Path.Data>
  55. <LineGeometry StartPoint="200,5" EndPoint="200,277"/>
  56. </Path.Data>
  57. </Path>
  58. </StackPanel>
  59. <StackPanel Canvas.Left="625" Canvas.Top="20">
  60. <Border BorderBrush="Green" BorderThickness="2" CornerRadius="6" Width="540" Height="275" Grid.Column="0">
  61. <StackPanel Orientation="Vertical" Margin="10" HorizontalAlignment="Center">
  62. <Grid Margin="-190,0,0,0">
  63. <Grid.RowDefinitions>
  64. <RowDefinition Height="45"></RowDefinition>
  65. <RowDefinition Height="40"></RowDefinition>
  66. <RowDefinition Height="40"></RowDefinition>
  67. <RowDefinition Height="40"></RowDefinition>
  68. <RowDefinition Height="40"></RowDefinition>
  69. <RowDefinition Height="40"></RowDefinition>
  70. </Grid.RowDefinitions>
  71. <Border Grid.Row="0" BorderBrush="Black" BorderThickness="1" Padding="5,0,0,0" Width="320" Background="{DynamicResource MainArea_BG}">
  72. <TextBlock Text="Boat Designation Processing State" FontSize="17" HorizontalAlignment="Left" VerticalAlignment="Center" Padding="5,0,0,0"/>
  73. </Border>
  74. <Border Grid.Row="1" BorderBrush="Black" BorderThickness="1,0,1,0" Background="{Binding LoadingBk}" Width="320" >
  75. <TextBlock Text="Elevator Unloading" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  76. </Border>
  77. <Border Grid.Row="2" BorderBrush="Black" BorderThickness="1,1,1,0" Background="{Binding UnloadingBk}" Width="320" >
  78. <TextBlock Text="Cooling Before Boat Transfer" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  79. </Border>
  80. <Border Grid.Row="3" BorderBrush="Black" BorderThickness="1,1,1,0" Background="{Binding UnloadingBk}" Width="320" >
  81. <TextBlock Text="Boat Moving" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  82. </Border>
  83. <Border Grid.Row="4" BorderBrush="Black" BorderThickness="1,1,1,0" Background="{Binding UnloadingBk}" Width="320">
  84. <TextBlock Text="Cooling Before Discharge" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  85. </Border>
  86. <Border Grid.Row="5" BorderBrush="Black" BorderThickness="1,1,1,1" Background="{Binding UnloadingBk}" Width="320">
  87. <TextBlock Text=" Discharging" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  88. </Border>
  89. </Grid>
  90. <Border Grid.Row="6" Margin="340,-150,5,100">
  91. <Button Content="Cancel" Width="150" Height="55" IsEnabled="{Binding TransferJobEnabledAbort}">
  92. <i:Interaction.Triggers>
  93. <i:EventTrigger EventName="Click">
  94. <cal:ActionMessage MethodName="Cancel">
  95. </cal:ActionMessage>
  96. </i:EventTrigger>
  97. </i:Interaction.Triggers>
  98. </Button>
  99. </Border>
  100. </StackPanel>
  101. </Border>
  102. <Path Stroke="Gray" StrokeThickness="1" Margin="150,-278,0,0">
  103. <Path.Data>
  104. <LineGeometry StartPoint="200,5" EndPoint="200,277"/>
  105. </Path.Data>
  106. </Path>
  107. </StackPanel>
  108. <StackPanel Canvas.Left="55" Canvas.Top="320">
  109. <Border BorderBrush="Green" BorderThickness="2" CornerRadius="6" Width="540" Height="280" Grid.Column="0">
  110. <StackPanel Orientation="Vertical" Margin="10" HorizontalAlignment="Center">
  111. <Grid Margin="-190,0,0,0">
  112. <Grid.RowDefinitions>
  113. <RowDefinition Height="45"></RowDefinition>
  114. <RowDefinition Height="40"></RowDefinition>
  115. <RowDefinition Height="40"></RowDefinition>
  116. <RowDefinition Height="40"></RowDefinition>
  117. <RowDefinition Height="40"></RowDefinition>
  118. <RowDefinition Height="40"></RowDefinition>
  119. </Grid.RowDefinitions>
  120. <Border Grid.Row="0" BorderBrush="Black" BorderThickness="1" Padding="5,0,0,0" Width="320" Background="{DynamicResource MainArea_BG}">
  121. <TextBlock Text="PM Recipe Automation Processing State" FontSize="17" HorizontalAlignment="Left" VerticalAlignment="Center" Padding="5,0,0,0"/>
  122. </Border>
  123. <Border Grid.Row="1" Grid.RowSpan="3" BorderBrush="Black" BorderThickness="1,0,1,0" Background="{Binding LoadingBk}" Width="320" >
  124. <Grid Width="240" Margin="0,20,0,0">
  125. <Grid.RowDefinitions>
  126. <RowDefinition Height="40"></RowDefinition>
  127. <RowDefinition Height="40"></RowDefinition>
  128. </Grid.RowDefinitions>
  129. <Grid.ColumnDefinitions>
  130. <ColumnDefinition></ColumnDefinition>
  131. <ColumnDefinition></ColumnDefinition>
  132. </Grid.ColumnDefinitions>
  133. <Border Grid.Row="0" BorderBrush="Black" BorderThickness="1" Padding="5,0,0,0" Background="{DynamicResource MainArea_BG}">
  134. <TextBlock Text="CJID" FontSize="18" HorizontalAlignment="Left" VerticalAlignment="Center" Padding="5,0,0,0"/>
  135. </Border>
  136. <Border Grid.Row="0" Grid.Column="1" BorderBrush="Black" BorderThickness="0,1,1,1" Padding="5,0,0,0" Background="White">
  137. <TextBlock Text="" FontSize="18" HorizontalAlignment="Left" VerticalAlignment="Center" Padding="5,0,0,0"/>
  138. </Border>
  139. <Border Grid.Row="1" BorderBrush="Black" BorderThickness="1,0,1,1" Padding="5,0,0,0" Background="{DynamicResource MainArea_BG}">
  140. <TextBlock Text="PJID" FontSize="18" HorizontalAlignment="Left" VerticalAlignment="Center" Padding="5,0,0,0"/>
  141. </Border>
  142. <Border Grid.Row="1" Grid.Column="1" BorderBrush="Black" BorderThickness="0,0,1,1" Padding="5,0,0,0" Background="White">
  143. <TextBlock Text="" FontSize="18" HorizontalAlignment="Left" VerticalAlignment="Center" Padding="5,0,0,0"/>
  144. </Border>
  145. </Grid>
  146. </Border>
  147. <Border Grid.Row="4" BorderBrush="Black" BorderThickness="1,1,1,0" Background="{Binding UnloadingBk}" Width="320">
  148. <TextBlock Text="PM Recipe Waiting" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  149. </Border>
  150. <Border Grid.Row="5" BorderBrush="Black" BorderThickness="1,1,1,1" Background="{Binding UnloadingBk}" Width="320">
  151. <TextBlock Text="PM Rcipe Executing" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  152. </Border>
  153. </Grid>
  154. <Border Margin="340,-150,5,100">
  155. <Button Content="Aobrt" Width="150" Height="55" IsEnabled="{Binding TransferJobEnabledAbort}">
  156. <i:Interaction.Triggers>
  157. <i:EventTrigger EventName="Click">
  158. <cal:ActionMessage MethodName="Aobrt">
  159. </cal:ActionMessage>
  160. </i:EventTrigger>
  161. </i:Interaction.Triggers>
  162. </Button>
  163. </Border>
  164. </StackPanel>
  165. </Border>
  166. <Path Stroke="Gray" StrokeThickness="1" Margin="150,-283,0,0">
  167. <Path.Data>
  168. <LineGeometry StartPoint="200,5" EndPoint="200,281"/>
  169. </Path.Data>
  170. </Path>
  171. </StackPanel>
  172. <Canvas>
  173. <Button Canvas.Left="1050" Canvas.Top="620" Content="Close" Width="130" Height="45">
  174. <i:Interaction.Triggers>
  175. <i:EventTrigger EventName="Click">
  176. <cal:ActionMessage MethodName="CloseCmd">
  177. </cal:ActionMessage>
  178. </i:EventTrigger>
  179. </i:Interaction.Triggers>
  180. </Button>
  181. </Canvas>
  182. </Canvas>
  183. </UserControl>