EfemView.xaml 54 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658
  1. <UserControl x:Class="CyberX8_MainPages.Views.EfemView"
  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:CyberX8_MainPages.Views"
  7. xmlns:customControls="clr-namespace:CyberX8_Themes.CustomControls;assembly=CyberX8_Themes"
  8. xmlns:userControls="clr-namespace:CyberX8_Themes.UserControls;assembly=CyberX8_Themes"
  9. xmlns:prism="http://prismlibrary.com/"
  10. xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
  11. xmlns:converters="clr-namespace:CyberX8_Themes.Converters;assembly=CyberX8_Themes"
  12. prism:ViewModelLocator.AutoWireViewModel="True"
  13. xmlns:unity="clr-namespace:CyberX8_MainPages.Unity"
  14. mc:Ignorable="d"
  15. d:DesignHeight="850" d:DesignWidth="1920">
  16. <UserControl.Resources>
  17. <converters:BoolToVisibility2 x:Key="BoolToVisibility2"/>
  18. <converters:BoolToVisibility x:Key="BoolToVisibility"/>
  19. <converters:BoolToColor x:Key="boolToColor"></converters:BoolToColor>
  20. </UserControl.Resources>
  21. <Canvas>
  22. <Border BorderThickness="0,0,0,1" BorderBrush="Black" Canvas.Top="20" Canvas.Left="540">
  23. <StackPanel Orientation="Horizontal" Margin="0,0,0,5">
  24. <!--<RadioButton Content="Connect" FontSize="15" Width="120" Height="28" Margin="20 5 5 0" Style="{StaticResource Button_RadioButton}" IsChecked="{Binding TMIsOFFline,Converter={StaticResource BoolToBool},Mode=TwoWay}" GroupName="IsConnect"/>
  25. <RadioButton Content="DisConnect" FontSize="15" Width="120" Height="28" Margin="5 5 0 0" Style="{StaticResource Button_RadioButton}" IsChecked="{Binding TMIsOFFline,Mode=TwoWay}" GroupName="IsConnect"/>-->
  26. <customControls:PathButton IsEnabled="{Binding IsHomeAllEnable}" Content="Home All" FontSize="15" Width="120" Height="28" Margin="20 5 5 0" Command="{Binding HomeAllCommand}"/>
  27. <customControls:PathButton Content="Clear Error" FontSize="15" Width="120" Height="28" Margin="5 5 5 0" Command="{Binding ClearErrorCommand}"/>
  28. <customControls:PathButton Content="Abort" FontSize="15" Width="120" Height="28" Margin="5 5 5 0" Command="{Binding AbortCommand}"/>
  29. <customControls:PathButton Content="CloseBuzzer" FontSize="15" Width="120" Height="28" Margin="5 5 5 0" Command="{Binding CloseBuzzerCommand}"/>
  30. </StackPanel>
  31. </Border>
  32. <userControls:FOUPFrontView UnitData="{Binding LP1ModuleInfo}" Canvas.Top="70" Canvas.Left="20"/>
  33. <TextBlock Text="LP1" Canvas.Top="470" Canvas.Left="70" FontSize="12"></TextBlock>
  34. <userControls:FOUPFrontView UnitData="{Binding LP2ModuleInfo}" Canvas.Top="70" Canvas.Left="160"/>
  35. <TextBlock Text="LP2" Canvas.Top="470" Canvas.Left="210" FontSize="12"></TextBlock>
  36. <userControls:FOUPFrontView UnitData="{Binding LP3ModuleInfo}" Canvas.Top="70" Canvas.Left="300"/>
  37. <TextBlock Text="LP3" Canvas.Top="470" Canvas.Left="350" FontSize="12"></TextBlock>
  38. <StackPanel Canvas.Top="15" Canvas.Left="1700">
  39. <userControls:FOUPFrontView UnitData="{Binding Dummy2ModuleInfo}" ShowTitle="False" IsEnabled="{Binding RtDataValues[System.IsAutoMode],Converter={StaticResource BoolToBool}}"/>
  40. <TextBlock Text="Dummy2" HorizontalAlignment="Center" Margin="0,5,0,20" FontSize="12">
  41. </TextBlock>
  42. </StackPanel>
  43. <StackPanel Canvas.Top="15" Canvas.Left="1550">
  44. <userControls:FOUPFrontView UnitData="{Binding Dummy1ModuleInfo}" ShowTitle="False" IsEnabled="{Binding RtDataValues[System.IsAutoMode],Converter={StaticResource BoolToBool}}"/>
  45. <TextBlock Text="Dummy1" HorizontalAlignment="Center" Margin="0,5,0,0" FontSize="12">
  46. </TextBlock>
  47. </StackPanel>
  48. <userControls:SRDFrontView UnitData1="{Binding Srd2ModuleInfo}" UnitData2="{Binding Srd1ModuleInfo}" Title="SRD" Canvas.Top="80" Canvas.Left="1040"/>
  49. <userControls:RobotFrontView UnitData="{Binding EFEMModuleInfo}" Canvas.Left="1222" Canvas.Top="112"/>
  50. <Canvas Canvas.Top="-150">
  51. <Grid Canvas.Left="499" Canvas.Top="440" Panel.ZIndex="2" Visibility="{Binding IsLP1Unable,Converter={StaticResource bool2VisibilityConverter}}">
  52. <Rectangle Width="70" Height="70" Fill="Silver" Opacity="0.8" RadiusX="0.1" RadiusY="0.1"
  53. />
  54. </Grid>
  55. <TextBlock Canvas.Top="485" Canvas.Left="450" Text="{Binding RtDataValues[LP1.WaferSize]}" Visibility="{Binding RtDataValues[LP1.CassettePlaced], Converter={StaticResource BoolToVisibility2}}"
  56. HorizontalAlignment="Center" Margin="0,5,0,0" FontSize="16">
  57. </TextBlock>
  58. <Grid Canvas.Left="499" Canvas.Top="538" Panel.ZIndex="2" Visibility="{Binding IsLP2Unable,Converter={StaticResource bool2VisibilityConverter}}">
  59. <Rectangle Width="70" Height="70" Fill="Silver" Opacity="0.8" RadiusX="0.1" RadiusY="0.1"
  60. />
  61. </Grid>
  62. <TextBlock Canvas.Top="580" Canvas.Left="450" Text="{Binding RtDataValues[LP2.WaferSize]}" Visibility="{Binding RtDataValues[LP2.CassettePlaced], Converter={StaticResource BoolToVisibility2}}"
  63. HorizontalAlignment="Center" Margin="0,5,0,0" FontSize="16">
  64. </TextBlock>
  65. <Grid Canvas.Left="499" Canvas.Top="635" Panel.ZIndex="2" Visibility="{Binding IsLP3Unable,Converter={StaticResource bool2VisibilityConverter}}">
  66. <Rectangle Width="70" Height="70" Fill="Silver" Opacity="0.8" RadiusX="0.1" RadiusY="0.1"
  67. />
  68. </Grid>
  69. <TextBlock Canvas.Top="680" Canvas.Left="450" Text="{Binding RtDataValues[LP3.WaferSize]}" Visibility="{Binding RtDataValues[LP3.CassettePlaced], Converter={StaticResource BoolToVisibility2}}"
  70. HorizontalAlignment="Center" Margin="0,5,0,0" FontSize="16">
  71. </TextBlock>
  72. <Viewbox Width="890" Height="890" Canvas.Top="5" Canvas.Left="297" Stretch="Fill">
  73. <Canvas Width="1000" Height="1000">
  74. <!--<userControls:MainTM Width="300" Height="250" Canvas.Left="380" Canvas.Top="90"/>-->
  75. </Canvas>
  76. </Viewbox>
  77. <userControls:EFEM x:Name="efem1" Width="360" Height="300" Canvas.Left="578" Canvas.Top="426"
  78. Puf1Wafer="{Binding Puf1Wafer}"
  79. Puf2Wafer="{Binding Puf2Wafer}"
  80. LP1Presented="{Binding RtDataValues[LP1.CassettePlaced]}"
  81. LP2Presented="{Binding RtDataValues[LP2.CassettePlaced]}"
  82. LP3Presented="{Binding RtDataValues[LP3.CassettePlaced]}"
  83. LP1Loaded="{Binding RtDataValues[LP1.IsLoaded]}"
  84. LP2Loaded="{Binding RtDataValues[LP2.IsLoaded]}"
  85. LP3Loaded="{Binding RtDataValues[LP3.IsLoaded]}"
  86. RobotATAction="{Binding Robot1TAction}"
  87. RobotAXAction="{Binding Robot1XAction}"
  88. RobotAWaferInfo="{Binding BladeAWafer}"
  89. CurrentRobotPosition="{Binding CurrentRobotPosition}"
  90. Puf2IsInRobotStation="{Binding Puf2IsInRobotStation}"
  91. Puf1IsInRobotStation="{Binding Puf1IsInRobotStation}"
  92. Aligner1Wafer="{Binding Aligner1Wafer}"
  93. AlignActionValue="{Binding AlignValue, UpdateSourceTrigger=PropertyChanged}"/>
  94. </Canvas>
  95. <userControls:SRD CassetteName="SRD" Canvas.Left="787" Canvas.Top="172" Width="100" Height="100" HorizontalAlignment="Left" VerticalAlignment="Center" SRD1Wafer="{Binding Srd1Wafer}" SRD2Wafer="{Binding Srd2Wafer}" SRDVisibility="Visible"/>
  96. <!--<userControls:SRD CassetteName="SRD2" Canvas.Left="734" Canvas.Top="172" Width="100" Height="100" HorizontalAlignment="Center" VerticalAlignment="Top" RobotWafer="{Binding SRD2Wafer}" SRDVisibility="Visible"/>-->
  97. <userControls:DummyCassette Canvas.Left="751" Canvas.Top="272" RotateTransformValue="180" Width="100" Height="100" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  98. <TextBlock Canvas.Top="142" Canvas.Left="670" Text="Dummy" HorizontalAlignment="Center" Margin="0,5,0,0" FontSize="16">
  99. </TextBlock>
  100. <Grid Canvas.Top="280" Canvas.Left="1020" Width="500">
  101. <Grid.RowDefinitions>
  102. <RowDefinition Height="30"/>
  103. <RowDefinition Height="36"/>
  104. <RowDefinition Height="Auto"/>
  105. </Grid.RowDefinitions>
  106. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_FirstTitle}" Padding="5,1">
  107. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
  108. <Path Data="M0,0 L5,0 5,5 z" Fill="White" HorizontalAlignment="Left" Grid.Row="1" RenderTransformOrigin="0.5,0.5" Stretch="Fill" Width="5" Height="5">
  109. <Path.RenderTransform>
  110. <TransformGroup>
  111. <ScaleTransform/>
  112. <SkewTransform/>
  113. <RotateTransform Angle="45"/>
  114. <TranslateTransform/>
  115. </TransformGroup>
  116. </Path.RenderTransform>
  117. </Path>
  118. <TextBlock Margin="5,0,0,0" Text="EFEM Robot Operation" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_White}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  119. </StackPanel>
  120. </Border>
  121. <Border Grid.Row="1" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,0" Background="{DynamicResource Table_BG_Content}" >
  122. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
  123. <customControls:PathButton Content="Home" Height="33" Width="120" Margin="20,0,20,0" Command="{Binding RobotHomeCommand}"/>
  124. <customControls:PathButton Content="Power On" Height="33" Width="120" Margin="20,0,20,0" Command="{Binding RobotPowerOnCommand}"/>
  125. <customControls:PathButton Content="Power Off" Height="33" Width="120" Margin="20,0,20,0" Command="{Binding RobotPowerOffCommand}"/>
  126. </StackPanel>
  127. </Border>
  128. <Border Grid.Row="2" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,0" Background="{DynamicResource Table_BG_Content}" Margin="0,0,0,64" >
  129. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
  130. <customControls:PathButton Content="Map Dummy" Height="33" Width="120" Margin="20,0,20,0" Command="{Binding BFMapCommand}"/>
  131. <customControls:PathButton Content="Speed" Height="33" Width="120" Margin="20,0,0,0" Command="{Binding SetRobotSpeedCommand}"/>
  132. <TextBox Text="{Binding RobotSpeedValue, Mode=TwoWay}" Width="60" Height="33" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" Margin="5,0,20,0" FontSize="20"/>
  133. <CheckBox Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Center" Content="Vacuum On" FontSize="13" FontWeight="Bold"
  134. IsChecked="{Binding IsRobotVacuumOn, Mode=TwoWay}" Command="{Binding RobotVacuumCommand}"/>
  135. </StackPanel>
  136. </Border>
  137. <!--<Border Grid.Row="1" BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" >-->
  138. <Grid Height="100" unity:GridOptions.ShowBorder="True" unity:GridOptions.LineBrush="Black" Grid.Row="2" Background="{DynamicResource Table_BG_Content}" Margin="0,37,0,-37">
  139. <Grid.RowDefinitions>
  140. <RowDefinition Height="25"/>
  141. <RowDefinition/>
  142. <RowDefinition/>
  143. <!--<RowDefinition/>
  144. <RowDefinition/>-->
  145. <!--<RowDefinition/>-->
  146. </Grid.RowDefinitions>
  147. <Grid.ColumnDefinitions>
  148. <ColumnDefinition/>
  149. <ColumnDefinition/>
  150. <ColumnDefinition/>
  151. <ColumnDefinition/>
  152. </Grid.ColumnDefinitions>
  153. <TextBlock Text="Module" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14" />
  154. <TextBlock Text="Slot" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14"/>
  155. <TextBlock Text="Blade" Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14"/>
  156. <TextBlock Text="Operation" Grid.Column="3" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14"/>
  157. <ComboBox Grid.Row="1" Margin="5" SelectedItem="{Binding PickSelectedModule}" ItemsSource="{Binding EFEMModules}">
  158. <i:Interaction.Triggers>
  159. <i:EventTrigger EventName="SelectionChanged">
  160. <i:InvokeCommandAction Command="{Binding ModuleChangeCommand}" CommandParameter="Pick"/>
  161. </i:EventTrigger>
  162. </i:Interaction.Triggers>
  163. </ComboBox>
  164. <ComboBox Grid.Row="1" Grid.Column="1" Margin="5" ItemsSource="{Binding PickSoltItemsSource}" SelectedIndex="{Binding PickSoltSelectedIndex}"/>
  165. <TextBox Text="1" Grid.Row="1" Grid.Column="2" Margin="5" FontSize="15" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"></TextBox>
  166. <!--<ComboBox Grid.Row="1" Grid.Column="2" Margin="5" SelectedItem="{Binding PickSelectedBlade}" unity:ItemsControlHelper.EnumValuesToItemsSource="True"/>-->
  167. <Button Grid.Row="1" Grid.Column="3" Content="Pick" Command="{Binding PickCommand}"/>
  168. <ComboBox Grid.Row="2" Margin="5" SelectedItem="{Binding PlaceSelectedModule}" ItemsSource="{Binding EFEMModules}">
  169. <i:Interaction.Triggers>
  170. <i:EventTrigger EventName="SelectionChanged">
  171. <i:InvokeCommandAction Command="{Binding ModuleChangeCommand}" CommandParameter="Place" />
  172. </i:EventTrigger>
  173. </i:Interaction.Triggers>
  174. </ComboBox>
  175. <ComboBox Grid.Row="2" Grid.Column="1" Margin="5" ItemsSource="{Binding PlaceSoltItemsSource}" SelectedIndex="{Binding PlaceSoltSelectedIndex}"/>
  176. <!--<ComboBox Grid.Row="2" Grid.Column="2" Margin="5" SelectedItem="{Binding PlaceSelectedBlade}" unity:ItemsControlHelper.EnumValuesToItemsSource="True"/>-->
  177. <TextBox Text="1" Grid.Row="2" Grid.Column="2" Margin="5" FontSize="15" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"></TextBox>
  178. <Button Grid.Row="2" Grid.Column="3" Content="Place" Command="{Binding PlaceCommand}"/>
  179. <!--<ComboBox Grid.Row="3" Margin="5" SelectedItem="{Binding ExtendSelectedModule}" ItemsSource="{Binding EFEMModules}">
  180. <i:Interaction.Triggers>
  181. <i:EventTrigger EventName="SelectionChanged">
  182. <i:InvokeCommandAction Command="{Binding ModuleChangeCommand}" CommandParameter="Extend" />
  183. </i:EventTrigger>
  184. </i:Interaction.Triggers>
  185. </ComboBox>
  186. <ComboBox Grid.Row="3" Grid.Column="1" Margin="5" ItemsSource="{Binding ExtendSoltItemsSource}" SelectedIndex="{Binding ExtendSoltSelectedIndex}"/>
  187. <ComboBox Grid.Row="3" Grid.Column="2" Margin="5" SelectedItem="{Binding ExtendSelectedBlade}" unity:ItemsControlHelper.EnumValuesToItemsSource="True"/>
  188. <Button Grid.Row="3" Grid.Column="3" Content="Extend" Command="{Binding ExtendCommand}"/>
  189. <ComboBox Grid.Row="4" Margin="5" SelectedItem="{Binding RetractSelectedModule}" ItemsSource="{Binding EFEMModules}">
  190. <i:Interaction.Triggers>
  191. <i:EventTrigger EventName="SelectionChanged">
  192. <i:InvokeCommandAction Command="{Binding ModuleChangeCommand}" CommandParameter="Retract" />
  193. </i:EventTrigger>
  194. </i:Interaction.Triggers>
  195. </ComboBox>
  196. <ComboBox Grid.Row="4" Grid.Column="1" Margin="5" ItemsSource="{Binding RetractSoltItemsSource}" SelectedIndex="{Binding RetractSoltSelectedIndex}"/>
  197. <ComboBox Grid.Row="4" Grid.Column="2" Margin="5" SelectedItem="{Binding RetractSelectedBlade}" unity:ItemsControlHelper.EnumValuesToItemsSource="True"/>
  198. <Button Grid.Row="4" Grid.Column="3" Content="Retract" Command="{Binding RetractCommand}"/>-->
  199. <!--<ComboBox Grid.Row="5" Grid.Column="0" Margin="5" SelectedItem="{Binding WaferRobotTAction}" unity:ItemsControlHelper.EnumValuesToItemsSource="True"/>
  200. <ComboBox Grid.Row="5" Grid.Column="2" Margin="5" SelectedItem="{Binding GoToSelectedBlade}" unity:ItemsControlHelper.EnumValuesToItemsSource="True"/>-->
  201. <!--<Button Grid.Row="5" Grid.Column="3" Margin="5" Height="25" Content="Goto" IsEnabled="{Binding Path=IsManualMode}" Command="{Binding GotoCommand}"/>-->
  202. </Grid>
  203. </Grid>
  204. <StackPanel Canvas.Left="1040" Canvas.Top="175" Width="400">
  205. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_FirstTitle}" Padding="5,1" Height="30">
  206. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
  207. <Path Data="M0,0 L5,0 5,5 z" Fill="White" HorizontalAlignment="Left" Grid.Row="1" RenderTransformOrigin="0.5,0.5" Stretch="Fill" Width="5" Height="5">
  208. <Path.RenderTransform>
  209. <TransformGroup>
  210. <ScaleTransform/>
  211. <SkewTransform/>
  212. <RotateTransform Angle="45"/>
  213. <TranslateTransform/>
  214. </TransformGroup>
  215. </Path.RenderTransform>
  216. </Path>
  217. <TextBlock Margin="5,0,0,0" Text="Aligner1 Operation" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_White}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  218. </StackPanel>
  219. </Border>
  220. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="#D0D8E8" Height="40">
  221. <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
  222. <customControls:PathButton Content="Home" Width="100" Height="33" Command="{Binding Align1HomeCommand}" Margin="0,0,5,0"/>
  223. <customControls:PathButton Content="Align" Width="100" Height="33" Command="{Binding Align1AlignCommand}" Margin="0,0,2,0"/>
  224. <TextBox Text="{Binding AlignValue, UpdateSourceTrigger=PropertyChanged}" Width="60" Height="33" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" Margin="2,0,12,0" FontSize="20"/>
  225. <CheckBox Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Center" Content="Vacuum On" FontSize="10" FontWeight="Bold"
  226. IsChecked="{Binding IsAlignerVacuumOn, Mode=TwoWay}" Command="{Binding AlignerVacuumCommand}"/>
  227. </StackPanel>
  228. </Border>
  229. </StackPanel>
  230. <StackPanel Orientation="Horizontal" Canvas.Bottom="-50" Canvas.Left="100">
  231. <Grid Width="470" Visibility="{Binding IsLP1Installed, Converter={StaticResource bool2VisibilityConverter}}" IsEnabled="{Binding IsLP1Unable,Converter={StaticResource BoolToBool}}">
  232. <Grid.RowDefinitions>
  233. <RowDefinition Height="24"/>
  234. <RowDefinition Height="30"/>
  235. <RowDefinition Height="30"/>
  236. <RowDefinition Height="30"/>
  237. <RowDefinition Height="30"/>
  238. <RowDefinition Height="30"/>
  239. <RowDefinition Height="30"/>
  240. <RowDefinition Height="30"/>
  241. <RowDefinition Height="30"/>
  242. </Grid.RowDefinitions>
  243. <Grid.ColumnDefinitions>
  244. <ColumnDefinition Width="100"/>
  245. <ColumnDefinition Width="60"/>
  246. <ColumnDefinition Width="*"/>
  247. </Grid.ColumnDefinitions>
  248. <Label Content="LP1" Background="{DynamicResource Table_BG_Title}" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Grid.Row="0" Grid.ColumnSpan="3" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
  249. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1,0,1">
  250. <TextBlock Text="Status" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" />
  251. </Border>
  252. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{Binding LP1StatusBackground}" Grid.Row="1" Grid.Column="1" Padding="5,1">
  253. <TextBlock Text="{Binding RtDataValues[LP1.Status]}" TextAlignment="Center" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
  254. </Border>
  255. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column ="2" Padding="5,1">
  256. <StackPanel Orientation="Horizontal" >
  257. <!--<Button Content="Home" Width="80" Height="25" Margin="10,0" Command="{Binding LPHomeCommand}" CommandParameter="LP1"/>-->
  258. <Button IsEnabled="{Binding IsLP1AbortEnable}" Content="Abort" Width="80" Height="25" Margin="10,0" Command="{Binding LPAbortCommand}" CommandParameter="LP1"/>
  259. <Button IsEnabled="{Binding IsLP1ResetEnable}" Content="Reset" Width="80" Height="25" Margin="10,0" Command="{Binding LPResetCommand}" CommandParameter="LP1"/>
  260. </StackPanel>
  261. </Border>
  262. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" Padding="5,1,0,1">
  263. <TextBlock Text="Is Present" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
  264. </Border>
  265. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="1" Padding="5,1">
  266. <!--<deviceControl:AITSensor Margin="5,0" GreenColor="True" LightOnValue="{Binding IsLP1Present}"></deviceControl:AITSensor>-->
  267. <Ellipse Width="16" Height="16" Fill="{Binding RtDataValues[LP1.CassettePlaced],Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  268. </Border>
  269. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="2" Padding="5,1">
  270. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" IsEnabled="{Binding IsLP1HasNoJob}">
  271. <!--<Button IsEnabled="{Binding IsLP1LoadEnable}" Content="Load" Width="80" Height="25" Margin="10,0" Command="{Binding LPLoadCommand}" CommandParameter="LP1"/>-->
  272. <!--<Button IsEnabled="{Binding IsLP1UnloadEnable}" Content="Unload" Width="80" Height="25" Margin="10,0 " Command="{Binding LPUnLoadCommand}" CommandParameter="LP1"/>-->
  273. <Button IsEnabled="{Binding RtDataValues[LP1.IsLoaded]}" Content="Map" Width="80" Height="25" Margin="10,0 " Command="{Binding LPMapCommand}" CommandParameter="LP1"/>
  274. </StackPanel>
  275. </Border>
  276. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="3" Padding="5,1,0,1">
  277. <TextBlock Text="Carrier ID" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
  278. </Border>
  279. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="1" Padding="5,1">
  280. <TextBlock Text="{Binding RtDataValues[LP1.CarrierId]}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  281. </Border>
  282. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="2" Padding="5,1">
  283. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" >
  284. <Button IsEnabled="{Binding RtDataValues[LP1.CassettePlaced]}" Content="ReadID" Width="80" Height="25" Margin="10,0" Command="{Binding LPReadIDCommand}" CommandParameter="LP1"/>
  285. <Button IsEnabled="{Binding RtDataValues[LP1.CassettePlaced]}" Content="WriteID " Width="80" Height="25" Margin="10,0" Command="{Binding LP1WriteIDCommand}" CommandParameter="LP1"/>
  286. <TextBox IsEnabled="{Binding RtDataValues[LP1.CassettePlaced]}" Text="{Binding SetLP1IDValue, Mode=TwoWay}" Width="80" Height="25" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" FontSize="15"/>
  287. </StackPanel>
  288. </Border>
  289. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="4" Padding="5,1,0,1">
  290. <TextBlock Text="Is Clamped" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" />
  291. </Border>
  292. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column="1" Padding="5,1,0,1">
  293. <!--<deviceControl:AITSensor Margin="5,0" GreenColor="True" LightOnValue="{Binding IsLP1Clamped}"></deviceControl:AITSensor>-->
  294. <TextBlock Text="{Binding RtDataValues[LP1.IsClamped]}" TextAlignment="Center"/>
  295. </Border>
  296. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column="2" Padding="5,1">
  297. <StackPanel Orientation="Horizontal">
  298. <!--<Button IsEnabled="{Binding IsLP1ClampEnable}" Margin="10,0" Content="Clamp" Width="80" Height="25" Command="{Binding LPClampCommand}" CommandParameter="LP1"/>-->
  299. <!--<Button IsEnabled="{Binding IsLP1UnclampEnable}" Margin="10,0" Content="Unclamp" Width="80" Height="25" Command="{Binding LPUnClampCommand}" CommandParameter="LP1"/>-->
  300. </StackPanel>
  301. </Border>
  302. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="5" Padding="5,1,0,1">
  303. <TextBlock Text="Is Docked" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" />
  304. </Border>
  305. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="1" Padding="5,1,0,1">
  306. <!--<deviceControl:AITSensor Margin="5,0" GreenColor="True" LightOnValue="{Binding IsLP1Docked}"></deviceControl:AITSensor>-->
  307. <TextBlock Text="{Binding RtDataValues[LP1.IsDocked]}" TextAlignment="Center"/>
  308. </Border>
  309. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="2" Padding="5,1">
  310. <StackPanel Orientation="Horizontal">
  311. </StackPanel>
  312. </Border>
  313. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="6" Padding="5,1,0,1">
  314. <TextBlock Text="Is Door Open" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" />
  315. </Border>
  316. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="6" Grid.Column="1" Padding="5,1,0,1">
  317. <TextBlock Text="{Binding RtDataValues[LP1.IsDoorOpened]}" TextAlignment="Center"/>
  318. </Border>
  319. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="6" Grid.Column="2" Padding="5,1">
  320. <StackPanel Orientation="Horizontal">
  321. </StackPanel>
  322. </Border>
  323. </Grid>
  324. <Grid Margin="1,0,0,0" Width="470" Visibility="{Binding IsLP1Installed, Converter={StaticResource bool2VisibilityConverter}}" IsEnabled="{Binding IsLP2Unable,Converter={StaticResource BoolToBool}}">
  325. <Grid.RowDefinitions>
  326. <RowDefinition Height="24"/>
  327. <RowDefinition Height="30"/>
  328. <RowDefinition Height="30"/>
  329. <RowDefinition Height="30"/>
  330. <RowDefinition Height="30"/>
  331. <RowDefinition Height="30"/>
  332. <RowDefinition Height="30"/>
  333. <RowDefinition Height="30"/>
  334. <RowDefinition Height="30"/>
  335. </Grid.RowDefinitions>
  336. <Grid.ColumnDefinitions>
  337. <ColumnDefinition Width="100"/>
  338. <ColumnDefinition Width="60"/>
  339. <ColumnDefinition Width="*"/>
  340. </Grid.ColumnDefinitions>
  341. <Label Content="LP2" Background="{DynamicResource Table_BG_Title}" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Grid.Row="0" Grid.ColumnSpan="3" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
  342. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1,0,1">
  343. <TextBlock Text="Status" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" />
  344. </Border>
  345. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{Binding LP1StatusBackground}" Grid.Row="1" Grid.Column="1" Padding="5,1">
  346. <TextBlock Text="{Binding RtDataValues[LP2.Status]}" TextAlignment="Center" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
  347. </Border>
  348. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column ="2" Padding="5,1">
  349. <StackPanel Orientation="Horizontal" >
  350. <!--<Button Content="Home" Width="80" Height="25" Margin="10,0" Command="{Binding LPHomeCommand}" CommandParameter="LP2"/>-->
  351. <Button IsEnabled="{Binding IsLP1AbortEnable}" Content="Abort" Width="80" Height="25" Margin="10,0" Command="{Binding LPAbortCommand}" CommandParameter="LP2"/>
  352. <Button IsEnabled="{Binding IsLP1ResetEnable}" Content="Reset" Width="80" Height="25" Margin="10,0" Command="{Binding LPResetCommand}" CommandParameter="LP2"/>
  353. </StackPanel>
  354. </Border>
  355. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" Padding="5,1,0,1">
  356. <TextBlock Text="Is Present" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
  357. </Border>
  358. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="1" Padding="5,1">
  359. <!--<deviceControl:AITSensor Margin="5,0" GreenColor="True" LightOnValue="{Binding IsLP1Present}"></deviceControl:AITSensor>-->
  360. <Ellipse Width="16" Height="16" Fill="{Binding RtDataValues[LP2.CassettePlaced],Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  361. </Border>
  362. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="2" Padding="5,1">
  363. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" IsEnabled="{Binding IsLP2HasNoJob}">
  364. <!--<Button IsEnabled="{Binding IsLP1LoadEnable}" Content="Load" Width="80" Height="25" Margin="10,0" Command="{Binding LPLoadCommand}" CommandParameter="LP2"/>
  365. <Button IsEnabled="{Binding IsLP1UnloadEnable}" Content="Unload" Width="80" Height="25" Margin="10,0 " Command="{Binding LPUnLoadCommand}" CommandParameter="LP2"/>-->
  366. <Button IsEnabled="{Binding RtDataValues[LP2.IsLoaded]}" Content="Map" Width="80" Height="25" Margin="10,0 " Command="{Binding LPMapCommand}" CommandParameter="LP2"/>
  367. </StackPanel>
  368. </Border>
  369. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="3" Padding="5,1,0,1">
  370. <TextBlock Text="Carrier ID" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
  371. </Border>
  372. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="1" Padding="5,1">
  373. <TextBlock Text="{Binding RtDataValues[LP2.CarrierId]}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  374. </Border>
  375. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="2" Padding="5,1">
  376. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" >
  377. <Button IsEnabled="{Binding RtDataValues[LP2.CassettePlaced]}" Content="ReadID" Width="80" Height="25" Margin="10,0" Command="{Binding LPReadIDCommand}" CommandParameter="LP2"/>
  378. <Button IsEnabled="{Binding RtDataValues[LP2.CassettePlaced]}" Content="WriteID " Width="80" Height="25" Margin="10,0" Command="{Binding LP2WriteIDCommand}" CommandParameter="LP2"/>
  379. <TextBox IsEnabled="{Binding RtDataValues[LP2.CassettePlaced]}" Text="{Binding SetLP2IDValue, Mode=TwoWay}" Width="80" Height="25" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" FontSize="15"/>
  380. </StackPanel>
  381. </Border>
  382. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="4" Padding="5,1,0,1">
  383. <TextBlock Text="Is Clamped" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" />
  384. </Border>
  385. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column="1" Padding="5,1,0,1">
  386. <!--<deviceControl:AITSensor Margin="5,0" GreenColor="True" LightOnValue="{Binding IsLP1Clamped}"></deviceControl:AITSensor>-->
  387. <TextBlock Text="{Binding RtDataValues[LP2.IsClamped]}" TextAlignment="Center"/>
  388. </Border>
  389. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column="2" Padding="5,1">
  390. <StackPanel Orientation="Horizontal" >
  391. <!--<Button IsEnabled="{Binding IsLP1ClampEnable}" Margin="10,0" Content="Clamp" Width="80" Height="25" Command="{Binding LPClampCommand}" CommandParameter="LP2"/>
  392. <Button IsEnabled="{Binding IsLP1UnclampEnable}" Margin="10,0" Content="Unclamp" Width="80" Height="25" Command="{Binding LPUnClampCommand}" CommandParameter="LP2"/>-->
  393. </StackPanel>
  394. </Border>
  395. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="5" Padding="5,1,0,1">
  396. <TextBlock Text="Is Docked" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" />
  397. </Border>
  398. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="1" Padding="5,1,0,1">
  399. <!--<deviceControl:AITSensor Margin="5,0" GreenColor="True" LightOnValue="{Binding IsLP1Docked}"></deviceControl:AITSensor>-->
  400. <TextBlock Text="{Binding RtDataValues[LP2.IsDocked]}" TextAlignment="Center"/>
  401. </Border>
  402. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="2" Padding="5,1">
  403. <StackPanel Orientation="Horizontal">
  404. <!--<Button IsEnabled="{Binding IsLP1DockEnable}" Margin="10,0" Content="Dock" Width="80" Height="25" Command="{Binding LPDockCommand}" CommandParameter="LP2">
  405. </Button>
  406. <Button IsEnabled="{Binding IsLP1UndockEnable}" Margin="10,0" Content="Undock" Width="80" Height="25" Command="{Binding LPUnDockCommand}" CommandParameter="LP2">
  407. </Button>-->
  408. </StackPanel>
  409. </Border>
  410. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="6" Padding="5,1,0,1">
  411. <TextBlock Text="Is Door Open" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" />
  412. </Border>
  413. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="6" Grid.Column="1" Padding="5,1,0,1">
  414. <TextBlock Text="{Binding RtDataValues[LP2.IsDoorOpened]}" TextAlignment="Center"/>
  415. </Border>
  416. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="6" Grid.Column="2" Padding="5,1">
  417. <StackPanel Orientation="Horizontal">
  418. <!--<TextBox IsEnabled="{Binding RtDataValues[LP2.CassettePlaced]}" Margin="10,0" Text="{Binding SetLP2CycleValue, Mode=TwoWay}" Width="80" Height="25" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" FontSize="15"/>
  419. <Button IsEnabled="{Binding RtDataValues[LP2.CassettePlaced]}" Content="Cycle Load/Unload " Width="150" Height="25" Margin="10,0" Command="{Binding LP2CycleCommand}" CommandParameter="LP2"/>-->
  420. </StackPanel>
  421. </Border>
  422. </Grid>
  423. <Grid Margin="1,0,0,0" Width="470" Visibility="{Binding IsLP1Installed, Converter={StaticResource bool2VisibilityConverter}}" IsEnabled="{Binding IsLP3Unable,Converter={StaticResource BoolToBool}}">
  424. <Grid.RowDefinitions>
  425. <RowDefinition Height="24"/>
  426. <RowDefinition Height="30"/>
  427. <RowDefinition Height="30"/>
  428. <RowDefinition Height="30"/>
  429. <RowDefinition Height="30"/>
  430. <RowDefinition Height="30"/>
  431. <RowDefinition Height="30"/>
  432. <RowDefinition Height="30"/>
  433. <RowDefinition Height="30"/>
  434. </Grid.RowDefinitions>
  435. <Grid.ColumnDefinitions>
  436. <ColumnDefinition Width="100"/>
  437. <ColumnDefinition Width="60"/>
  438. <ColumnDefinition Width="*"/>
  439. </Grid.ColumnDefinitions>
  440. <Label Content="LP3" Background="{DynamicResource Table_BG_Title}" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Grid.Row="0" Grid.ColumnSpan="3" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
  441. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1,0,1">
  442. <TextBlock Text="Status" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" />
  443. </Border>
  444. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{Binding LP1StatusBackground}" Grid.Row="1" Grid.Column="1" Padding="5,1">
  445. <TextBlock Text="{Binding RtDataValues[LP3.Status]}" TextAlignment="Center" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
  446. </Border>
  447. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column ="2" Padding="5,1">
  448. <StackPanel Orientation="Horizontal" >
  449. <!--<Button Content="Home" Width="80" Height="25" Margin="10,0" Command="{Binding LPHomeCommand}" CommandParameter="LP3"/>-->
  450. <Button IsEnabled="{Binding IsLP1AbortEnable}" Content="Abort" Width="80" Height="25" Margin="10,0" Command="{Binding LPAbortCommand}" CommandParameter="LP3"/>
  451. <Button IsEnabled="{Binding IsLP1ResetEnable}" Content="Reset" Width="80" Height="25" Margin="10,0" Command="{Binding LPResetCommand}" CommandParameter="LP3"/>
  452. </StackPanel>
  453. </Border>
  454. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" Padding="5,1,0,1">
  455. <TextBlock Text="Is Present" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
  456. </Border>
  457. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="1" Padding="5,1">
  458. <!--<deviceControl:AITSensor Margin="5,0" GreenColor="True" LightOnValue="{Binding IsLP1Present}"></deviceControl:AITSensor>-->
  459. <Ellipse Width="16" Height="16" Fill="{Binding RtDataValues[LP3.CassettePlaced],Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  460. </Border>
  461. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="2" Padding="5,1">
  462. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" IsEnabled="{Binding IsLP3HasNoJob}">
  463. <!--<Button IsEnabled="{Binding IsLP1LoadEnable}" Content="Load" Width="80" Height="25" Margin="10,0" Command="{Binding LPLoadCommand}" CommandParameter="LP3"/>
  464. <Button IsEnabled="{Binding IsLP1UnloadEnable}" Content="Unload" Width="80" Height="25" Margin="10,0 " Command="{Binding LPUnLoadCommand}" CommandParameter="LP3"/>-->
  465. <Button IsEnabled="{Binding RtDataValues[LP3.IsLoaded]}" Content="Map" Width="80" Height="25" Margin="10,0 " Command="{Binding LPMapCommand}" CommandParameter="LP3"/>
  466. </StackPanel>
  467. </Border>
  468. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="3" Padding="5,1,0,1">
  469. <TextBlock Text="Carrier ID" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
  470. </Border>
  471. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="1" Padding="5,1">
  472. <TextBlock Text="{Binding RtDataValues[LP3.CarrierId]}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  473. </Border>
  474. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="2" Padding="5,1">
  475. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" >
  476. <Button IsEnabled="{Binding RtDataValues[LP3.CassettePlaced]}" Content="ReadID" Width="80" Height="25" Margin="10,0" Command="{Binding LPReadIDCommand}" CommandParameter="LP3"/>
  477. <Button IsEnabled="{Binding RtDataValues[LP3.CassettePlaced]}" Content="WriteID " Width="80" Height="25" Margin="10,0" Command="{Binding LP3WriteIDCommand}" CommandParameter="LP3"/>
  478. <TextBox IsEnabled="{Binding RtDataValues[LP3.CassettePlaced]}" Text="{Binding SetLP3IDValue, Mode=TwoWay}" Width="80" Height="25" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" FontSize="15"/>
  479. </StackPanel>
  480. </Border>
  481. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="4" Padding="5,1,0,1">
  482. <TextBlock Text="Is Clamped" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" />
  483. </Border>
  484. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column="1" Padding="5,1,0,1">
  485. <!--<deviceControl:AITSensor Margin="5,0" GreenColor="True" LightOnValue="{Binding IsLP1Clamped}"></deviceControl:AITSensor>-->
  486. <TextBlock Text="{Binding RtDataValues[LP3.IsClamped]}" TextAlignment="Center"/>
  487. </Border>
  488. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column="2" Padding="5,1">
  489. <StackPanel Orientation="Horizontal" >
  490. <!--<Button IsEnabled="{Binding IsLP1ClampEnable}" Margin="10,0" Content="Clamp" Width="80" Height="25" Command="{Binding LPClampCommand}" CommandParameter="LP3"/>
  491. <Button IsEnabled="{Binding IsLP1UnclampEnable}" Margin="10,0" Content="Unclamp" Width="80" Height="25" Command="{Binding LPUnClampCommand}" CommandParameter="LP3"/>-->
  492. </StackPanel>
  493. </Border>
  494. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="5" Padding="5,1,0,1">
  495. <TextBlock Text="Is Docked" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" />
  496. </Border>
  497. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="1" Padding="5,1,0,1">
  498. <!--<deviceControl:AITSensor Margin="5,0" GreenColor="True" LightOnValue="{Binding IsLP1Docked}"></deviceControl:AITSensor>-->
  499. <TextBlock Text="{Binding RtDataValues[LP3.IsDocked]}" TextAlignment="Center"/>
  500. </Border>
  501. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="2" Padding="5,1">
  502. <StackPanel Orientation="Horizontal">
  503. <!--<Button IsEnabled="{Binding IsLP1DockEnable}" Margin="10,0" Content="Dock" Width="80" Height="25" Command="{Binding LPDockCommand}" CommandParameter="LP3"/>
  504. <Button IsEnabled="{Binding IsLP1UndockEnable}" Margin="10,0" Content="Undock" Width="80" Height="25" Command="{Binding LPUnDockCommand}" CommandParameter="LP3"/>-->
  505. </StackPanel>
  506. </Border>
  507. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="6" Padding="5,1,0,1">
  508. <TextBlock Text="Is Door Open" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" />
  509. </Border>
  510. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="6" Grid.Column="1" Padding="5,1,0,1">
  511. <TextBlock Text="{Binding RtDataValues[LP3.IsDoorOpened]}" TextAlignment="Center"/>
  512. </Border>
  513. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="6" Grid.Column="2" Padding="5,1">
  514. <StackPanel Orientation="Horizontal">
  515. <!--<TextBox IsEnabled="{Binding RtDataValues[LP3.CassettePlaced]}" Margin="10,0" Text="{Binding SetLP3CycleValue, Mode=TwoWay}" Width="80" Height="25" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" FontSize="15"/>
  516. <Button IsEnabled="{Binding RtDataValues[LP3.CassettePlaced]}" Content="Cycle Load/Unload " Width="150" Height="25" Margin="10,0" Command="{Binding LP3CycleCommand}" CommandParameter="LP3"/>-->
  517. </StackPanel>
  518. </Border>
  519. </Grid>
  520. </StackPanel>
  521. <!--<Canvas Visibility="Visible">
  522. <Button Content="平移" Canvas.Left="1600" Canvas.Top="60" Width="100" Height="30" Click="Button_Click_3"/>
  523. <ComboBox Canvas.Left="1700" Canvas.Top="60" Width="100" Height="30" x:Name="cb2">
  524. <ComboBoxItem>Right</ComboBoxItem>
  525. <ComboBoxItem>Left</ComboBoxItem>
  526. <ComboBoxItem>Origin</ComboBoxItem>
  527. </ComboBox>
  528. <Button Content="旋转" Canvas.Left="1600" Canvas.Top="100" Width="100" Height="30" Click="Button_Click"/>
  529. <ComboBox Canvas.Left="1700" Canvas.Top="100" Width="100" Height="30" x:Name="cb1">
  530. <ComboBoxItem>LLA</ComboBoxItem>
  531. <ComboBoxItem>LLB</ComboBoxItem>
  532. <ComboBoxItem>Aligner1</ComboBoxItem>
  533. <ComboBoxItem>LP1</ComboBoxItem>
  534. <ComboBoxItem>LP2</ComboBoxItem>
  535. <ComboBoxItem>LP3</ComboBoxItem>
  536. <ComboBoxItem>RightLocation</ComboBoxItem>
  537. <ComboBoxItem>LeftLocation</ComboBoxItem>
  538. </ComboBox>
  539. <Button Content="伸" Canvas.Left="1600" Canvas.Top="140" Width="100" Height="30" Click="Button_Click_1"/>
  540. <Button Content="缩" Canvas.Left="1600" Canvas.Top="180" Width="100" Height="30" Click="Button_Click_2"/>
  541. <TextBox Canvas.Left="1600" Canvas.Top="220" Text="{Binding RobotMoveInfo.BladeTarget}"/>
  542. <TextBox Canvas.Left="1700" Canvas.Top="220" Text="{Binding RobotMoveInfo.ArmTarget}"/>
  543. <TextBox Canvas.Left="1800" Canvas.Top="220" Text="{Binding RobotMoveInfo.Action}"/>
  544. </Canvas>-->
  545. <!--<Button Padding="5" Canvas.Top="120" Canvas.Left="1040" Content="PUF1Pick" Command="{Binding PUFPickCommand}" CommandParameter="PUF1"/>
  546. <Button Padding="5" Canvas.Top="120" Canvas.Left="1115" Content="PUF1Place" Command="{Binding PUFPlaceCommand}" CommandParameter="PUF1" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  547. <Button Padding="5" Canvas.Top="120" Canvas.Left="1200" Content="PUF2Pick" Command="{Binding PUFPickCommand}" CommandParameter="PUF2"/>
  548. <Button Padding="5" Canvas.Top="120" Canvas.Left="1275" Content="PUF2Place" Command="{Binding PUFPlaceCommand}" CommandParameter="PUF2" HorizontalAlignment="Left" VerticalAlignment="Center"/>-->
  549. </Canvas>
  550. </UserControl>