EfemView.xaml 56 KB

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