NewE84Info.xaml 68 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737
  1. <UserControl x:Class="EfemUI.Controls.NewE84Info"
  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:ctrlCommon="clr-namespace:Aitex.Sorter.UI.Controls.Common;assembly=Aitex.Sorter.UI"
  7. xmlns:controls="clr-namespace:Aitex.Sorter.UI.Controls;assembly=Aitex.Sorter.UI"
  8. xmlns:Common="clr-namespace:Aitex.Sorter.Common;assembly=Aitex.Sorter.Common"
  9. xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
  10. mc:Ignorable="d" x:Name="self"
  11. d:DesignHeight="810" Width="2000">
  12. <Grid x:Name="root">
  13. <Border HorizontalAlignment="Left" VerticalAlignment="Top" BorderThickness="1" BorderBrush="#84a567"
  14. Height="810" Width="1909" Margin="0,0,-309,0" >
  15. <DockPanel Background="#d6f1ff" Margin="9,0,0,0">
  16. <Grid>
  17. <Grid.RowDefinitions>
  18. <RowDefinition Height="400" />
  19. <RowDefinition Height="90" />
  20. <RowDefinition Height="310" />
  21. </Grid.RowDefinitions>
  22. <Border Grid.Row="0" HorizontalAlignment="Left" VerticalAlignment="Top" BorderThickness="1" Margin="0,10,0,0"
  23. BorderBrush="#84a567" Height="380" Width="1590">
  24. <DockPanel Background="#d6f1ff">
  25. <Grid>
  26. <Grid.ColumnDefinitions>
  27. <ColumnDefinition Width="665" />
  28. <ColumnDefinition Width="430" />
  29. <ColumnDefinition Width="360*" />
  30. </Grid.ColumnDefinitions>
  31. <Border x:Name="LpBorder" Grid.Column="0" HorizontalAlignment="Left"
  32. VerticalAlignment="Top" BorderThickness="0" BorderBrush="Gray"
  33. Height="400" Width="650" Margin="10,0,0,0">
  34. <controls:HeaderPanel Header="Load Port Status" Width="650">
  35. <Grid>
  36. <Grid.RowDefinitions>
  37. <RowDefinition Height="*" />
  38. <RowDefinition Height="7*" />
  39. </Grid.RowDefinitions>
  40. <StackPanel Grid.Row="0" Grid.ColumnSpan="2" Orientation="Horizontal" VerticalAlignment="Center">
  41. <StackPanel.Resources>
  42. <Style TargetType="Label">
  43. <Setter Property="Margin" Value="0,0,0,0" />
  44. </Style>
  45. </StackPanel.Resources>
  46. <ctrlCommon:LED On="{Binding E84Data.IndicatiorLoad,Converter={StaticResource IndicatorStateToBoolConverter}}" />
  47. <Label Grid.Row="0" Grid.Column="1" Content="Load" FontSize="15"/>
  48. <ctrlCommon:LED On="{Binding E84Data.IndicatiorUnload,Converter={StaticResource IndicatorStateToBoolConverter}}" />
  49. <Label Content="Unload" FontSize="15"/>
  50. <ctrlCommon:LED On="{Binding E84Data.IndicatiorAccessManual,Converter={StaticResource IndicatorStateToBoolConverter}}"/>
  51. <Label Content="Manual" FontSize="15"/>
  52. <ctrlCommon:LED On="{Binding E84Data.IndicatiorPresence,Converter={StaticResource IndicatorStateToBoolConverter}}" />
  53. <Label Grid.Row="2" Grid.Column="1" Content="Presence" FontSize="15"/>
  54. <ctrlCommon:LED On="{Binding E84Data.IndicatiorPlacement,Converter={StaticResource IndicatorStateToBoolConverter}}" />
  55. <Label Grid.Row="4" Grid.Column="1" Content="Placement" FontSize="15"/>
  56. <ctrlCommon:LED On="{Binding E84Data.IndicatiorAccessAuto,Converter={StaticResource IndicatorStateToBoolConverter}}" />
  57. <Label Content="Auto" FontSize="15"/>
  58. <ctrlCommon:LED On="{Binding E84Data.IndicatiorStatus1,Converter={StaticResource IndicatorStateToBoolConverter}}" />
  59. <Label Content="Reserve" FontSize="15"/>
  60. <ctrlCommon:LED IsRed="True" On="{Binding E84Data.IndicatiorAlarm,Converter={StaticResource IndicatorStateToBoolConverter}}" />
  61. <Label Grid.Row="0" Grid.Column="1" Content="Alarm" FontSize="15"/>
  62. </StackPanel>
  63. <Border Grid.Row="1" >
  64. <Grid ctrlCommon:GridHelper.Column0="{StaticResource Table_BG_Title}" ctrlCommon:GridHelper.Column1="Transparent"
  65. ctrlCommon:GridHelper.Column2="{StaticResource Table_BG_Title}" ctrlCommon:GridHelper.Column3="Transparent">
  66. <Grid.ColumnDefinitions>
  67. <ColumnDefinition Width="150*" />
  68. <ColumnDefinition Width="170*"/>
  69. <ColumnDefinition Width="150*" />
  70. <ColumnDefinition Width="170*" />
  71. </Grid.ColumnDefinitions>
  72. <Grid.RowDefinitions>
  73. <RowDefinition Height="27" />
  74. <RowDefinition Height="27" />
  75. <RowDefinition Height="27" />
  76. <RowDefinition Height="27" />
  77. <RowDefinition Height="27" />
  78. <RowDefinition Height="27" />
  79. <RowDefinition Height="27" />
  80. <RowDefinition Height="27" />
  81. <RowDefinition Height="27" />
  82. <RowDefinition Height="90*" />
  83. </Grid.RowDefinitions>
  84. <Label Grid.Row="0" Grid.Column="0" Content="System Status" FontSize="15"
  85. HorizontalContentAlignment="Left" />
  86. <Label Grid.Row="0" Grid.Column="1" Content="{Binding E84Data.SystemStatus}" FontSize="15"
  87. HorizontalContentAlignment="Left" />
  88. <Label Grid.Row="1" Grid.Column="0" Content="Mode"
  89. FontSize="15"
  90. HorizontalContentAlignment="Left" />
  91. <Label Grid.Row="1" Content="{Binding E84Data.Mode}" Grid.Column="1" FontSize="15"
  92. HorizontalContentAlignment="Left" />
  93. <Label Grid.Row="2" Grid.Column="0" Content="Initial Pos.Mov"
  94. FontSize="15"
  95. HorizontalContentAlignment="Left" />
  96. <Label Grid.Row="2" Content="{Binding E84Data.InitPosMovement}" Grid.Column="1" FontSize="15"
  97. HorizontalContentAlignment="Left" />
  98. <Label Grid.Row="3" Grid.Column="0" Content="Operation Status"
  99. FontSize="15"
  100. HorizontalContentAlignment="Left" />
  101. <Label Grid.Row="3" Content="{Binding E84Data.OperationStatus}" Grid.Column="1" FontSize="15"
  102. HorizontalContentAlignment="Left" />
  103. <Label Grid.Row="4" Grid.Column="0" Content="Error Code"
  104. FontSize="15"
  105. HorizontalContentAlignment="Left" />
  106. <Label Grid.Row="4" Content="{Binding E84Data.ErrorCode}" Grid.Column="1" FontSize="15"
  107. HorizontalContentAlignment="Left" />
  108. <Label Grid.Row="5" Grid.Column="0" Content="Container Status"
  109. FontSize="15"
  110. HorizontalContentAlignment="Left" />
  111. <Label Grid.Row="5" Content="{Binding E84Data.ContainerStatus}" Grid.Column="1" FontSize="15"
  112. HorizontalContentAlignment="Left"/>
  113. <Label Grid.Row="6" Grid.Column="0" Content="Clamp Postion"
  114. FontSize="15"
  115. HorizontalContentAlignment="Left" />
  116. <Label Grid.Row="6" Content="{Binding E84Data.ClampPosition}" Grid.Column="1" FontSize="15"
  117. HorizontalContentAlignment="Left"/>
  118. <Label Grid.Row="7" Grid.Column="0" Content="Latch Postion"
  119. FontSize="15"
  120. HorizontalContentAlignment="Left" />
  121. <Label Grid.Row="7" Content="{Binding E84Data.LPDoorLatchPosition}" Grid.Column="1" FontSize="15"
  122. HorizontalContentAlignment="Left"/>
  123. <Label Grid.Row="8" Grid.Column="0" Content="Vacuum Status"
  124. FontSize="15"
  125. HorizontalContentAlignment="Left"/>
  126. <Label Grid.Row="8" Content="{Binding E84Data.VacuumStatus}" Grid.Column="1" FontSize="15"
  127. HorizontalContentAlignment="Left"/>
  128. <Label Grid.Row="0" Grid.Column="2" Content="Door Position" FontSize="15"
  129. HorizontalContentAlignment="Left" />
  130. <Label Grid.Row="0" Content="{Binding E84Data.LPDoorState}" Grid.Column="3" FontSize="15"
  131. HorizontalContentAlignment="Left" />
  132. <Label Grid.Row="1" Grid.Column="2" Content="Wafer Protruision" FontSize="15"
  133. HorizontalContentAlignment="Left" />
  134. <Label Grid.Row="1" Content="{Binding E84Data.WaferProtrusion}" Grid.Column="3" FontSize="15"
  135. HorizontalContentAlignment="Left" />
  136. <Label Grid.Row="2" Grid.Column="2" Content="Elevator Axis" FontSize="15"
  137. HorizontalContentAlignment="Left" />
  138. <Label Grid.Row="2" Content="{Binding E84Data.ElevatorAxisPosition}" Grid.Column="3" FontSize="15"
  139. HorizontalContentAlignment="Left"/>
  140. <Label Grid.Row="3" Grid.Column="2" Content="Dock Position" FontSize="15"
  141. HorizontalContentAlignment="Left" />
  142. <Label Grid.Row="3" Content="{Binding E84Data.DockPosition}" Grid.Column="3" FontSize="15"
  143. HorizontalContentAlignment="Left"/>
  144. <Label Grid.Row="4" Grid.Column="2" Content="Map Position" FontSize="15"
  145. HorizontalContentAlignment="Left" />
  146. <Label Grid.Row="4" Content="{Binding E84Data.MapperPostion}" Grid.Column="3" FontSize="15"
  147. HorizontalContentAlignment="Left" />
  148. <Label Grid.Row="5" Grid.Column="2" Content="Map Status" FontSize="15"
  149. HorizontalContentAlignment="Left" />
  150. <Label Grid.Row="5" Content="{Binding E84Data.MappingStatus}" Grid.Column="3" FontSize="15"
  151. HorizontalContentAlignment="Left"/>
  152. <Label Grid.Row="6" Grid.Column="2" Content="Model" FontSize="15"
  153. HorizontalContentAlignment="Left"/>
  154. <Label Grid.Row="6" Content="{Binding E84Data.Model}" Grid.Column="3" FontSize="15"
  155. HorizontalContentAlignment="Left"/>
  156. <Label Grid.Row="7" Grid.Column="2" Content="Fosb Mode" FontSize="15"
  157. HorizontalContentAlignment="Left" />
  158. <Label Grid.Row="7" Content="{Binding E84Data.IsFosbModeActual}" Grid.Column="3" FontSize="15"
  159. HorizontalContentAlignment="Left" />
  160. <Label Grid.Row="8" Grid.Column="2" Content="State Machine" FontSize="15"
  161. HorizontalContentAlignment="Left"/>
  162. <Label Grid.Row="8" Content="{Binding E84Data.SMStatus}" Grid.Column="3" FontSize="15"
  163. HorizontalContentAlignment="Left"/>
  164. <StackPanel Orientation="Vertical" Grid.Row="9" Grid.Column="0" Grid.ColumnSpan="4" VerticalAlignment="Top" HorizontalAlignment="Center" TextBlock.Foreground="White" Height="71" ctrlCommon:GridHelper.Column0="LightBlue" ctrlCommon:GridHelper.Column1="LightBlue" ctrlCommon:GridHelper.Column2="Transparent" Width="634">
  165. <StackPanel Grid.Row="0" Grid.Column="0" Orientation="Horizontal" Width="635" Height="35" Margin="0,0,0,0" >
  166. <Label Content="Command Option:" FontSize="15" HorizontalContentAlignment="Left" Width="138" Height="30" Margin="0,0,0,10" />
  167. <ComboBox x:Name="cboCmdOption" ItemsSource="{Binding LPCommandList}" FontSize="12" Width="361" Margin="5,2,5,10"/>
  168. <Button Content="Execute Command" FontSize="12"
  169. Command="{Binding DeviceExecuteMoveCommand}"
  170. CommandParameter="{Binding Text,ElementName=cboCmdOption}"
  171. Height="30" Margin="0,0,0,0" Width="121" IsEnabled="True"/>
  172. </StackPanel>
  173. <StackPanel Grid.Row="1" Grid.Column="0" Orientation="Horizontal" Width="635" Height="35" Margin="0,0,-1,0" >
  174. <Button Content="Load" FontSize="12" Command="{Binding DeviceOperationCommand}"
  175. CommandParameter="LoadportLoad"
  176. Height="30" Margin="0,0,0,0" Width="68" />
  177. <Button Content="Unload" FontSize="12" Command="{Binding DeviceOperationCommand}"
  178. CommandParameter="LoadportUnload"
  179. Height="30" Margin="3,0,0,0" Width="68" />
  180. <Button Content="Home" FontSize="12" Command="{Binding DeviceOperationCommand}"
  181. CommandParameter="LoadportHome"
  182. Height="30" Margin="3,0,0,0" Width="68" />
  183. <Button Content="Reset" FontSize="12" Command="{Binding DeviceOperationCommand}"
  184. CommandParameter="LoadportReset"
  185. Height="30" Margin="3,0,0,0" Width="68" />
  186. <Button Content="Stop" FontSize="12" Command="{Binding DeviceOperationCommand}"
  187. CommandParameter="LoadportStop" Height="30" Margin="3,0,0,0" Width="68" />
  188. <Button Content="Force Home" FontSize="12" Command="{Binding DeviceExecuteMoveCommand}"
  189. CommandParameter="(ABORG)"
  190. Height="30" Margin="3,0,0,0" Width="68" />
  191. <Button Content="Read Status" FontSize="12" Command="{Binding DeviceExecuteGetCommand}"
  192. CommandParameter="(STATE)" Height="30" Margin="3,0,0,0" Width="68" />
  193. <Button Content="Fosb ON" FontSize="12" Command="{Binding DeviceExecuteSetCommand}"
  194. CommandParameter="(FSBON)" Height="30" Margin="3,0,0,0" Width="68" />
  195. <Button Content="Fosb Off" FontSize="12" Command="{Binding DeviceExecuteSetCommand}"
  196. CommandParameter="(FSBOFF)" Height="30" Margin="3,0,0,0" Width="68" />
  197. </StackPanel>
  198. </StackPanel>
  199. </Grid>
  200. </Border>
  201. </Grid>
  202. </controls:HeaderPanel>
  203. </Border>
  204. <Border Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Bottom"
  205. BorderThickness="1" BorderBrush="Gray" Height="378" Width="420" Margin="5,0,5,0">
  206. <DockPanel Background="{StaticResource Table_BG_Content}">
  207. <controls:HeaderPanel Header="E87 Status" Width="420">
  208. <Grid Height="338">
  209. <Grid ctrlCommon:GridHelper.Column0="{StaticResource Table_BG_Title}" ctrlCommon:GridHelper.Column1="Transparent" Margin="0,0,0,0">
  210. <Grid.ColumnDefinitions>
  211. <ColumnDefinition Width="80*" />
  212. <ColumnDefinition Width="99*" />
  213. </Grid.ColumnDefinitions>
  214. <Grid.RowDefinitions>
  215. <RowDefinition Height="38" />
  216. <RowDefinition Height="38" />
  217. <RowDefinition Height="38" />
  218. <RowDefinition Height="38" />
  219. <RowDefinition Height="38" />
  220. <RowDefinition Height="38" />
  221. <RowDefinition Height="38" />
  222. <RowDefinition Height="38" />
  223. <RowDefinition Height="38" />
  224. </Grid.RowDefinitions>
  225. <Label Grid.Row="0" Content="Port Reserved :" FontSize="15"
  226. HorizontalContentAlignment="Left" />
  227. <ctrlCommon:LED Grid.Row="0" Grid.Column="1"
  228. On="{Binding E84Data.PodReserved}" Margin="5,0,0,0" Height="36" VerticalAlignment="Top" />
  229. <Label Grid.Row="1" Content="Port State :" FontSize="15"
  230. HorizontalContentAlignment="Left"
  231. VerticalAlignment="Center" Height="30" Margin="0,4" />
  232. <Label Content="{Binding E84Data.PortState}" Grid.Row="1"
  233. Grid.Column="1"
  234. FontSize="15" HorizontalContentAlignment="Center"
  235. VerticalAlignment="Center" Margin="5,4,0,4" Height="30" />
  236. <Label Grid.Row="2" Content="Carrier ID :"
  237. HorizontalContentAlignment="Left" FontSize="15"
  238. VerticalAlignment="Center" Height="30" Margin="0,4" />
  239. <Label Content="{Binding E84Data.CarrierID}" Grid.Row="2"
  240. Grid.Column="1" FontSize="15" Height="30"
  241. HorizontalContentAlignment="Center"
  242. VerticalAlignment="Center" Margin="5,4,0,4" />
  243. <Label Grid.Row="3" Content="Slot Map :"
  244. HorizontalContentAlignment="Left" FontSize="15"
  245. VerticalAlignment="Center" Height="30" Margin="0,4" />
  246. <Label Content="{Binding E84Data.SlotMap}" Grid.Row="3"
  247. Grid.Column="1" FontSize="15"
  248. HorizontalContentAlignment="Center"
  249. VerticalAlignment="Center" Height="32" Margin="5,4,0,2" />
  250. <Label Grid.Row="4" Content="Access Mode :"
  251. HorizontalContentAlignment="Left" FontSize="15"
  252. VerticalAlignment="Center" Height="30" Margin="0,4" />
  253. <Label Content="{Binding E84Data.AccessMode}" Grid.Row="4"
  254. Grid.Column="1" FontSize="15" Height="32"
  255. HorizontalContentAlignment="Center"
  256. VerticalAlignment="Center" Margin="5,4,0,2" />
  257. <Label Grid.Row="5" Content="Access Status :"
  258. HorizontalContentAlignment="Left" FontSize="15"
  259. VerticalAlignment="Center" Height="30" Margin="0,4" />
  260. <Label Content="{Binding E84Data.AccessStatus}" Grid.Row="5"
  261. Grid.Column="1" FontSize="15" Height="32"
  262. HorizontalContentAlignment="Center"
  263. VerticalAlignment="Center" Margin="5,4,0,2" />
  264. <Label Grid.Row="6" Grid.Column =" 0" Content="Carrier ID Status :"
  265. HorizontalContentAlignment="Left" FontSize="15"
  266. VerticalAlignment="Center" Grid.ColumnSpan="1" Margin="0,8,0,0" Height="30" />
  267. <Label Content="{Binding E84Data.CarrierIDStatus}" Grid.Row="6"
  268. Grid.Column="1" FontSize="15" Height="34"
  269. HorizontalContentAlignment="Center"
  270. VerticalAlignment="Center" Margin="5,2,0,2" Grid.ColumnSpan="1" />
  271. <Label Grid.Row="7" Content="Slot Map Status :"
  272. HorizontalContentAlignment="Left" FontSize="15"
  273. VerticalAlignment="Center" Grid.Column="0" Margin="0,8,0,0" Height="30" />
  274. <Label Content="{Binding E84Data.SlotMapStatus}" Grid.Row="7"
  275. Grid.Column="1" FontSize="15" Height="36"
  276. HorizontalContentAlignment="Center"
  277. VerticalAlignment="Center" Margin="5,2,0,0" />
  278. <StackPanel Orientation="Horizontal" Grid.Row="8" Grid.Column="0" Grid.ColumnSpan="2" VerticalAlignment="Center" HorizontalAlignment="Center" TextBlock.Foreground="White" Height="29" ctrlCommon:GridHelper.Column0="LightBlue" ctrlCommon:GridHelper.Column1="LightBlue" ctrlCommon:GridHelper.Column2="Transparent" Width="426">
  279. <!--{Binding E84Data.AccessMode,Mode=OneTime,Converter={StaticResource E84AccessModeToBoolConverter}}-->
  280. <Button FontSize="12" Height="20" Width="60" x:Name="SetAMHS" Content="SetAMHS" Command="{Binding E84Command}" CommandParameter="SetAMHS"/>
  281. <Button FontSize="12" Height="20" Width="60" x:Name="SetManual" Content="SetManual" Command="{Binding E84Command}" CommandParameter="SetManual"/>
  282. <Button FontSize="12" Height="20" Width="60" x:Name="InService" Content="InService" Command="{Binding E84Command}" CommandParameter="SetInService"/>
  283. <Button FontSize="12" Height="20" Width="60" x:Name="OutService" Content="OutService" Command="{Binding E84Command}" CommandParameter="SetOutService"/>
  284. <Button FontSize="12" Height="20" Width="60" x:Name="Proceed" Content="Proceed" Command="{Binding FALoadPortCommand}" CommandParameter="ProceedWithCarrier"/>
  285. <Button FontSize="12" Height="20" Width="60" x:Name="Cancel" Content="Cancel" Command="{Binding FALoadPortCommand}" CommandParameter="CancelCarrier"/>
  286. <!--<CheckBox x:Name="AutomaticMode" Content="Automatic Mode" IsChecked="False"
  287. VerticalAlignment="Center" HorizontalAlignment="Left"
  288. FontSize="16" Margin="0,2" Height="25" Width="235" Grid.ColumnSpan="2">
  289. <i:Interaction.Triggers>
  290. <i:EventTrigger EventName="Checked">
  291. <i:InvokeCommandAction Command="{Binding E84Command}"
  292. CommandParameter="SetAMHS" />
  293. </i:EventTrigger>
  294. <i:EventTrigger EventName="Unchecked">
  295. <i:InvokeCommandAction Command="{Binding E84Command}"
  296. CommandParameter="SetManual" />
  297. </i:EventTrigger>
  298. </i:Interaction.Triggers>
  299. </CheckBox>
  300. <CheckBox x:Name="InService" Content="In Service" IsChecked="false"
  301. VerticalAlignment="Center" HorizontalAlignment="Left"
  302. FontSize="16" Margin="0,2" Height="25" Width="180" Grid.Column="1">
  303. <i:Interaction.Triggers>
  304. <i:EventTrigger EventName="Checked">
  305. <i:InvokeCommandAction Command="{Binding E84Command}"
  306. CommandParameter="SetInService" />
  307. </i:EventTrigger>
  308. <i:EventTrigger EventName="Unchecked">
  309. <i:InvokeCommandAction Command="{Binding E84Command}"
  310. CommandParameter="SetOutService" />
  311. </i:EventTrigger>
  312. </i:Interaction.Triggers>
  313. </CheckBox>-->
  314. </StackPanel>
  315. </Grid>
  316. </Grid>
  317. </controls:HeaderPanel>
  318. </DockPanel>
  319. </Border>
  320. <Border x:Name="ConfigBorder1" Grid.Column="2" HorizontalAlignment="Left" VerticalAlignment="Bottom"
  321. BorderThickness="1" BorderBrush="#84a567" Height="378" Width="488" Margin="5,0,0,0">
  322. <DockPanel Background="{StaticResource Table_BG_Content}" Margin="9,0,-1,0">
  323. <controls:HeaderPanel Header="Carrier ID Reader" Width="480">
  324. <Grid>
  325. <Grid ctrlCommon:GridHelper.Column0="{StaticResource Table_BG_Title}" ctrlCommon:GridHelper.Column1="Transparent">
  326. <Grid.ColumnDefinitions>
  327. <ColumnDefinition Width="183*"/>
  328. <ColumnDefinition Width="206*"/>
  329. </Grid.ColumnDefinitions>
  330. <Grid.RowDefinitions>
  331. <RowDefinition Height="45" />
  332. <RowDefinition Height="45" />
  333. <RowDefinition Height="45" />
  334. <RowDefinition Height="45" />
  335. <RowDefinition Height="45" />
  336. <RowDefinition Height="35" />
  337. <RowDefinition Height="30" />
  338. <RowDefinition Height="30" />
  339. </Grid.RowDefinitions>
  340. <controls:AITScBoolRow Name="PLInService" ScName="In Service" Grid.Row="0"
  341. Grid.ColumnSpan="2"
  342. ScId="LoadPort.LoadPort1CarrierIdReaderInUse"
  343. ScFeedback="True"
  344. ScSetPoint="True"
  345. Command=""
  346. NameWidth="185" FeedbackWidth="90"
  347. SetPointWidth="90" CommandWidth="110" IsEnabled="True"/>
  348. <controls:AITScDoubleRow Name="PLDataReadSize" ScName="Data Read Size" Grid.Row="1"
  349. Grid.ColumnSpan="2"
  350. ScId="LoadPort.DataReadSize"
  351. ScFeedback="{Binding ConfigFeedback.LoadPort_DataReadSize}"
  352. ScSetPoint="{Binding ConfigSetPoint.LoadPort_DataReadSize}"
  353. Command="{Binding SetConfigCommand}"
  354. NameWidth="185" FeedbackWidth="90"
  355. SetPointWidth="90" CommandWidth="110" />
  356. <controls:AITScDoubleRow Name="PLStartPage" ScName="Start Page" Grid.Row="2"
  357. Grid.ColumnSpan="2"
  358. ScId="LoadPort.StartPage"
  359. ScFeedback="{Binding ConfigFeedback.LoadPort_StartPage}"
  360. ScSetPoint="{Binding ConfigSetPoint.LoadPort_StartPage}"
  361. Command="{Binding SetConfigCommand}"
  362. NameWidth="185" FeedbackWidth="90"
  363. SetPointWidth="90" CommandWidth="110" />
  364. <controls:AITScBoolRow Name="PLEnableAutoCarrierIdRead" ScName="Auto Read" Grid.Row="3"
  365. Grid.ColumnSpan="2"
  366. ScId="LoadPort.EnableAutoCarrierIdRead"
  367. ScFeedback="{Binding ConfigFeedback.LoadPort_EnableAutoCarrierIdRead}"
  368. ScSetPoint="{Binding ConfigSetPoint.LoadPort_EnableAutoCarrierIdRead}"
  369. Command="{Binding SetConfigCommand}"
  370. NameWidth="185" FeedbackWidth="90"
  371. SetPointWidth="90" CommandWidth="110" />
  372. <controls:AITScDoubleRow Name="PLDefaultPage" ScName="Default Page" Grid.Row="4"
  373. Grid.ColumnSpan="2"
  374. ScId="LoadPort.DefaultPage"
  375. ScFeedback="{Binding ConfigFeedback.LoadPort_DefaultPage}"
  376. ScSetPoint="{Binding ConfigSetPoint.LoadPort_DefaultPage}"
  377. Command="{Binding SetConfigCommand}"
  378. NameWidth="185" FeedbackWidth="90"
  379. SetPointWidth="90" CommandWidth="110" />
  380. <StackPanel Grid.Row="5" Grid.Column="0" Orientation="Horizontal" Margin="0,5,0,0" Grid.ColumnSpan="2" >
  381. <Label Content="CarrierID Reader Option:" FontSize="15" HorizontalContentAlignment="Left" Width="208" />
  382. <ComboBox Margin="5,0,0,0" x:Name="cboCarrierIDOption" ItemsSource="{Binding RobotArmSelected}" Width="260">
  383. <ComboBoxItem Content="0"></ComboBoxItem>
  384. <ComboBoxItem Content="1"></ComboBoxItem>
  385. <ComboBoxItem Content="2"></ComboBoxItem>
  386. </ComboBox>
  387. </StackPanel>
  388. <StackPanel Grid.Row="6" Grid.Column="0" Orientation="Horizontal" Margin="5,0,0,0" Grid.ColumnSpan="2" >
  389. <Button x:Name="BtnReadCarrierID" Content="Read" FontSize="12" Command="{Binding DeviceOperationCommand}" Height="25" Margin="0,0,0,0" Width="83" />
  390. <TextBox x:Name="txtReadCarrierID" Text="{Binding E84Data.CarrierID}" IsEnabled="True" Margin="5,2" Width="380" Height="25"/>
  391. </StackPanel>
  392. <StackPanel Grid.Row="7" Grid.Column="0" Orientation="Horizontal" Margin="5,0,0,0" Grid.ColumnSpan="2" >
  393. <Button x:Name="BtnWriteCarrierID" Content="Write" FontSize="12" Command="{Binding DeviceOperationCommand}" Height="28" Margin="0,0,0,0" Width="83" />
  394. <TextBox x:Name="txtWriteCarrierID" IsEnabled="True" Margin="5,2" Width="380" Height="25"/>
  395. </StackPanel>
  396. </Grid>
  397. </Grid>
  398. </controls:HeaderPanel>
  399. </DockPanel>
  400. </Border>
  401. </Grid>
  402. </DockPanel>
  403. </Border>
  404. <Border Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Bottom" BorderThickness="1"
  405. BorderBrush="#84a567" Height="90" Width="1580" Margin="10,0,0,0">
  406. <DockPanel Background="{StaticResource Table_BG_Content}" HorizontalAlignment="Left">
  407. <!--<Label Content="E84 Status Monitor" HorizontalContentAlignment="Center"
  408. DockPanel.Dock="Top" Background="#7fc7ed" Height="30" />-->
  409. <controls:HeaderPanel Header="E84 Status Monitor" Width="1579">
  410. <Grid>
  411. <Border BorderBrush="Gray" BorderThickness="1">
  412. <Grid ctrlCommon:GridHelper.Column0="{StaticResource Table_BG_Title}" ctrlCommon:GridHelper.Column1="Transparent">
  413. <Grid.ColumnDefinitions>
  414. <ColumnDefinition Width="*" />
  415. <ColumnDefinition Width="3*" />
  416. </Grid.ColumnDefinitions>
  417. <Label Grid.Row="1" Content="Status :" FontSize="18"
  418. HorizontalContentAlignment="Right" VerticalAlignment="Center" />
  419. <Label Content="{Binding E84Data.E84State}" Grid.Column="1"
  420. BorderThickness="2"
  421. BorderBrush="White" Width="400" FontSize="18"
  422. HorizontalContentAlignment="Center" VerticalAlignment="Center" Height="39" Margin="219,0,218,0" />
  423. </Grid>
  424. </Border>
  425. </Grid>
  426. </controls:HeaderPanel>
  427. </DockPanel>
  428. </Border>
  429. <Border Grid.Row="2" HorizontalAlignment="Left" VerticalAlignment="Bottom" BorderThickness="1"
  430. BorderBrush="#84a567" Height="305" Width="1590" Margin="0,0,0,0" >
  431. <DockPanel Background="#d6f1ff" Margin="0,0,20,0">
  432. <Grid>
  433. <Grid.ColumnDefinitions>
  434. <ColumnDefinition Width="295" />
  435. <ColumnDefinition Width="295" />
  436. <ColumnDefinition Width="465" />
  437. <ColumnDefinition Width="395" />
  438. </Grid.ColumnDefinitions>
  439. <Border x:Name="Inputs" Grid.Column="0" HorizontalAlignment="Left"
  440. VerticalAlignment="Bottom"
  441. BorderThickness="1" BorderBrush="#84a567" Height="305" Width="280" Margin="10,0,5,0">
  442. <DockPanel Background="{StaticResource Table_BG_Content}">
  443. <controls:HeaderPanel Header="E84 Factory Inputs" Width="280">
  444. <Grid>
  445. <Border BorderBrush="Gray" BorderThickness="1">
  446. <Grid ctrlCommon:GridHelper.Column0="{StaticResource Table_BG_Title}" ctrlCommon:GridHelper.Column1="Transparent">
  447. <Grid.ColumnDefinitions>
  448. <ColumnDefinition Width="1.9*" />
  449. <ColumnDefinition Width="*" />
  450. </Grid.ColumnDefinitions>
  451. <Grid.RowDefinitions>
  452. <RowDefinition Height="30" />
  453. <RowDefinition Height="30" />
  454. <RowDefinition Height="30" />
  455. <RowDefinition Height="30" />
  456. <RowDefinition Height="30" />
  457. <RowDefinition Height="30" />
  458. <RowDefinition Height="30" />
  459. </Grid.RowDefinitions>
  460. <Label Grid.Row="0" Content="Vaild :" FontSize="18"
  461. HorizontalContentAlignment="Right" />
  462. <ctrlCommon:LED Grid.Row="0" Grid.Column="1"
  463. On="{Binding E84Data.Valid}" />
  464. <Label Grid.Row="1" Content="Transfer Request :" FontSize="18"
  465. HorizontalContentAlignment="Right" />
  466. <ctrlCommon:LED Grid.Row="1" Grid.Column="1"
  467. On="{Binding E84Data.TransferRequest}" />
  468. <Label Grid.Row="2" Content="Busy :" FontSize="18"
  469. HorizontalContentAlignment="Right" />
  470. <ctrlCommon:LED Grid.Row="2" Grid.Column="1"
  471. On="{Binding E84Data.Busy}" />
  472. <Label Grid.Row="3" Content="Transfer Complete :" FontSize="18"
  473. HorizontalContentAlignment="Right" />
  474. <ctrlCommon:LED Grid.Row="3" Grid.Column="1"
  475. On="{Binding E84Data.TransferComplete}" />
  476. <Label Grid.Row="4" Content="CS_0 :" FontSize="18"
  477. HorizontalContentAlignment="Right" />
  478. <ctrlCommon:LED Grid.Row="4" Grid.Column="1"
  479. On="{Binding E84Data.CS0}" />
  480. <Label Grid.Row="5" Content="CS_1 :" FontSize="18"
  481. HorizontalContentAlignment="Right" />
  482. <ctrlCommon:LED Grid.Row="5" Grid.Column="1"
  483. On="False" />
  484. <Label Grid.Row="6" Content="Continuous Transfer :" FontSize="18"
  485. HorizontalContentAlignment="Right" />
  486. <ctrlCommon:LED Grid.Row="6" Grid.Column="1"
  487. On="{Binding E84Data.ContinuousTransfer}" />
  488. </Grid>
  489. </Border>
  490. </Grid>
  491. </controls:HeaderPanel>
  492. </DockPanel>
  493. </Border>
  494. <Border x:Name="Outputs" Grid.Column="1" HorizontalAlignment="Left"
  495. VerticalAlignment="Bottom"
  496. BorderThickness="1" BorderBrush="#84a567" Height="305" Width="280" Margin="5,0,5,0">
  497. <DockPanel Background="{StaticResource Table_BG_Content}">
  498. <!--<Label Content="E84 Factory Outputs" HorizontalContentAlignment="Center"
  499. DockPanel.Dock="Top" Background="#7fc7ed" Height="30" />-->
  500. <controls:HeaderPanel Header="E84 Factory Outputs" Width="280">
  501. <Grid>
  502. <Grid.RowDefinitions>
  503. <RowDefinition Height="3*" />
  504. <RowDefinition Height="*" />
  505. </Grid.RowDefinitions>
  506. <Border Grid.Row="0" BorderBrush="Gray" BorderThickness="1">
  507. <Grid ctrlCommon:GridHelper.Column0="{StaticResource Table_BG_Title}" ctrlCommon:GridHelper.Column1="Transparent">
  508. <Grid.ColumnDefinitions>
  509. <ColumnDefinition Width="1.9*" />
  510. <ColumnDefinition Width="*" />
  511. </Grid.ColumnDefinitions>
  512. <Grid.RowDefinitions>
  513. <RowDefinition Height="30" />
  514. <RowDefinition Height="30" />
  515. <RowDefinition Height="30" />
  516. <RowDefinition Height="30" />
  517. <RowDefinition Height="30" />
  518. </Grid.RowDefinitions>
  519. <Label Grid.Row="0" Content="Load Request :" FontSize="18"
  520. HorizontalContentAlignment="Right" />
  521. <ctrlCommon:LED Grid.Row="0" Grid.Column="1"
  522. On="{Binding E84Data.LoadRequest}" />
  523. <Label Grid.Row="1" Content="Unload Request :" FontSize="18"
  524. HorizontalContentAlignment="Right" />
  525. <ctrlCommon:LED Grid.Row="1" Grid.Column="1"
  526. On="{Binding E84Data.UnloadRequest}" />
  527. <Label Grid.Row="2" Content="Ready to Transfer :" FontSize="18"
  528. HorizontalContentAlignment="Right" />
  529. <ctrlCommon:LED Grid.Row="2" Grid.Column="1"
  530. On="{Binding E84Data.ReadyToTransfer}" />
  531. <Label Grid.Row="3" Content="Handoff Available :" FontSize="18"
  532. HorizontalContentAlignment="Right" />
  533. <ctrlCommon:LED Grid.Row="3" Grid.Column="1"
  534. On="{Binding E84Data.HandoffAvailable}" />
  535. <Label Grid.Row="4" Content="Emergency Stop OK :" FontSize="18"
  536. HorizontalContentAlignment="Right" />
  537. <ctrlCommon:LED Grid.Row="4" Grid.Column="1"
  538. On="{Binding E84Data.EmergencyOk}" />
  539. </Grid>
  540. </Border>
  541. <Border Grid.Row="1" BorderBrush="Gray" BorderThickness="1">
  542. <Grid ctrlCommon:GridHelper.Column0="{StaticResource Table_BG_Title}" ctrlCommon:GridHelper.Column1="Transparent">
  543. <CheckBox Content="Error on Placement Timeout" IsChecked="True" IsEnabled="False"
  544. VerticalAlignment="Center" HorizontalAlignment="Center"
  545. FontSize="16" />
  546. </Grid>
  547. </Border>
  548. </Grid>
  549. </controls:HeaderPanel>
  550. </DockPanel>
  551. </Border>
  552. <Border x:Name="ConfigBorder" Grid.Column="2" HorizontalAlignment="Left"
  553. VerticalAlignment="Bottom"
  554. BorderThickness="1" BorderBrush="#84a567" Height="305" Width="450" Margin="5,0,5,0">
  555. <DockPanel Background="{StaticResource Table_BG_Content}">
  556. <controls:HeaderPanel Header="TimeOut Settings" Width="450">
  557. <!--<Label Content="TimeOut Settings" HorizontalContentAlignment="Center"
  558. DockPanel.Dock="Top" Background="#7fc7ed" Height="30" />-->
  559. <Grid>
  560. <Border BorderBrush="Gray" BorderThickness="1">
  561. <Grid ctrlCommon:GridHelper.Column0="{StaticResource Table_BG_Title}" ctrlCommon:GridHelper.Column1="Transparent">
  562. <Grid.ColumnDefinitions>
  563. <ColumnDefinition Width="95*"/>
  564. <ColumnDefinition Width="181*"/>
  565. </Grid.ColumnDefinitions>
  566. <Grid.RowDefinitions>
  567. <RowDefinition Height="35" />
  568. <RowDefinition Height="35" />
  569. <RowDefinition Height="35" />
  570. <RowDefinition Height="35" />
  571. <RowDefinition Height="35" />
  572. <RowDefinition Height="35" />
  573. </Grid.RowDefinitions>
  574. <controls:AITScDoubleRow ScName="TP1 (sec)" Grid.Row="0"
  575. ScId="Fa.E84.TP1"
  576. ScFeedback="{Binding ConfigFeedback.Fa_E84_TP1}"
  577. ScSetPoint="{Binding ConfigSetPoint.Fa_E84_TP1}"
  578. Command="{Binding SetConfigCommand}"
  579. NameWidth="110" FeedbackWidth="110"
  580. SetPointWidth="110" CommandWidth="115" Grid.ColumnSpan="2" />
  581. <controls:AITScDoubleRow ScName="TP2 (sec)" Grid.Row="1"
  582. ScId="Fa.E84.TP2"
  583. ScFeedback="{Binding ConfigFeedback.Fa_E84_TP2}"
  584. ScSetPoint="{Binding ConfigSetPoint.Fa_E84_TP2}"
  585. Command="{Binding SetConfigCommand}"
  586. NameWidth="110" FeedbackWidth="110"
  587. SetPointWidth="110" CommandWidth="115" Grid.ColumnSpan="2" />
  588. <controls:AITScDoubleRow ScName="TP3 (sec)" Grid.Row="2"
  589. ScId="Fa.E84.TP3"
  590. ScFeedback="{Binding ConfigFeedback.Fa_E84_TP3}"
  591. ScSetPoint="{Binding ConfigSetPoint.Fa_E84_TP3}"
  592. Command="{Binding SetConfigCommand}"
  593. NameWidth="110" FeedbackWidth="110"
  594. SetPointWidth="110" CommandWidth="115" Grid.ColumnSpan="2" />
  595. <controls:AITScDoubleRow ScName="TP4(sec)" Grid.Row="3"
  596. ScId="Fa.E84.TP4"
  597. ScFeedback="{Binding ConfigFeedback.Fa_E84_TP4}"
  598. ScSetPoint="{Binding ConfigSetPoint.Fa_E84_TP4}"
  599. Command="{Binding SetConfigCommand}"
  600. NameWidth="110" FeedbackWidth="110"
  601. SetPointWidth="110" CommandWidth="115" Grid.ColumnSpan="2" />
  602. <controls:AITScDoubleRow ScName="TP5(sec)" Grid.Row="4"
  603. ScId="Fa.E84.TP5"
  604. ScFeedback="{Binding ConfigFeedback.Fa_E84_TP5}"
  605. ScSetPoint="{Binding ConfigSetPoint.Fa_E84_TP5}"
  606. Command="{Binding SetConfigCommand}"
  607. NameWidth="110" FeedbackWidth="110"
  608. SetPointWidth="110" CommandWidth="115" Grid.ColumnSpan="2" />
  609. <controls:AITScDoubleRow ScName="TP6(sec)" Grid.Row="5"
  610. ScId="Fa.E84.TP6"
  611. ScFeedback="{Binding ConfigFeedback.Fa_E84_TP6}"
  612. ScSetPoint="{Binding ConfigSetPoint.Fa_E84_TP6}"
  613. Command="{Binding SetConfigCommand}"
  614. NameWidth="110" FeedbackWidth="110"
  615. SetPointWidth="110" CommandWidth="115" Grid.ColumnSpan="2" />
  616. </Grid>
  617. </Border>
  618. </Grid>
  619. </controls:HeaderPanel>
  620. </DockPanel>
  621. </Border>
  622. <Border Grid.Column="3" HorizontalAlignment="Left" VerticalAlignment="Bottom"
  623. BorderThickness="1" BorderBrush="#84a567" Height="305" Width="372" Margin="0">
  624. <DockPanel Background="{StaticResource Table_BG_Content}">
  625. <controls:HeaderPanel Header="Error Recovery" Width="370">
  626. <!--<Label Content="Error Recovery" HorizontalContentAlignment="Center"
  627. DockPanel.Dock="Top" Background="#7fc7ed" Height="30" />-->
  628. <Grid>
  629. <Grid.RowDefinitions>
  630. <RowDefinition Height="*" />
  631. <RowDefinition Height="50" />
  632. <RowDefinition Height="50" />
  633. <RowDefinition Height="100" />
  634. </Grid.RowDefinitions>
  635. <Button Content="Retry" x:Name="btnRetry" Grid.Row="1" FontSize="20"
  636. Width="120" Height="40" VerticalAlignment="Center" Command="{Binding E84Command}"
  637. CommandParameter="E84Retry" />
  638. <Button Content="Complete" x:Name="btnComplete" Grid.Row="2" FontSize="20"
  639. Width="120" Height="40" VerticalAlignment="Center" Command="{Binding E84Command}"
  640. CommandParameter="E84Complete" />
  641. <Border Grid.Row="3" BorderBrush="Gray" BorderThickness="1">
  642. <Grid ctrlCommon:GridHelper.Column0="{StaticResource Table_BG_Title}" ctrlCommon:GridHelper.Column1="Transparent" Margin="10">
  643. <CheckBox Content="Error on access mode violation"
  644. IsChecked="False" VerticalAlignment="Center"
  645. HorizontalAlignment="Center" FontSize="16" IsEnabled="False"/>
  646. </Grid>
  647. </Border>
  648. </Grid>
  649. </controls:HeaderPanel>
  650. </DockPanel>
  651. </Border>
  652. </Grid>
  653. </DockPanel>
  654. </Border>
  655. <Border HorizontalAlignment="Right" VerticalAlignment="Bottom" BorderThickness="1"
  656. BorderBrush="#84a567" Height="793" Width="303" Margin="0,0,0,0" Grid.RowSpan="3">
  657. <DockPanel Background="{StaticResource Table_BG_Content}" HorizontalAlignment="Left">
  658. <controls:HeaderPanel Header="Wafer Thickness(1=0.01mm)" Width="282" RenderTransformOrigin="0.045,0.503">
  659. <DataGrid FontSize="16" AutoGenerateColumns="False" CanUserAddRows="False" CanUserResizeRows="False" CanUserSortColumns="False" ItemsSource="{Binding E84Data.AllSlotThickness}"
  660. ScrollViewer.CanContentScroll="True"
  661. ScrollViewer.VerticalScrollBarVisibility="Auto"
  662. ScrollViewer.HorizontalScrollBarVisibility="Auto" Height="754" VerticalAlignment="Top" Margin="0,0,0,0" Width="282">
  663. <DataGrid.Columns>
  664. <DataGridTemplateColumn Header="Slot" Width="100" IsReadOnly="True">
  665. <DataGridTemplateColumn.CellTemplate>
  666. <DataTemplate>
  667. <Label Width="100" FontSize="12" HorizontalAlignment="Center" Background="{StaticResource Table_BG_Content}" Content="{Binding SlotName}"/>
  668. </DataTemplate>
  669. </DataGridTemplateColumn.CellTemplate>
  670. </DataGridTemplateColumn>
  671. <DataGridTemplateColumn Header="Thickness" Width="180" IsReadOnly="True">
  672. <DataGridTemplateColumn.CellTemplate>
  673. <DataTemplate>
  674. <TextBlock Width="180" FontSize="12" Foreground="Gray" TextAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Stretch" Background="#d6f1ff" Text="{Binding Value}"/>
  675. </DataTemplate>
  676. </DataGridTemplateColumn.CellTemplate>
  677. </DataGridTemplateColumn>
  678. </DataGrid.Columns>
  679. </DataGrid>
  680. </controls:HeaderPanel>
  681. </DockPanel>
  682. </Border>
  683. </Grid>
  684. </DockPanel>
  685. </Border>
  686. </Grid>
  687. </UserControl>