EfemView.xaml 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645
  1. <UserControl x:Class="Venus_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:Venus_MainPages.Views"
  7. xmlns:customControls="clr-namespace:Venus_Themes.CustomControls;assembly=Venus_Themes"
  8. xmlns:userControls="clr-namespace:Venus_Themes.UserControls;assembly=Venus_Themes"
  9. xmlns:prism="http://prismlibrary.com/"
  10. xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
  11. xmlns:converters="clr-namespace:Venus_Themes.Converters;assembly=Venus_Themes"
  12. prism:ViewModelLocator.AutoWireViewModel="True"
  13. xmlns:unity="clr-namespace:Venus_MainPages.Unity"
  14. mc:Ignorable="d"
  15. d:DesignHeight="850" d:DesignWidth="1920">
  16. <UserControl.Resources>
  17. <converters:BoolToVisibility2 x:Key="BoolToVisibility2"/>
  18. </UserControl.Resources>
  19. <Canvas>
  20. <Border BorderThickness="0,0,0,1" BorderBrush="Black" Canvas.Top="20" Canvas.Left="540">
  21. <StackPanel Orientation="Horizontal" Margin="0,0,0,5">
  22. <!--<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"/>
  23. <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"/>-->
  24. <customControls:PathButton Content="Home All" FontSize="15" Width="120" Height="28" Margin="20 5 5 0" Command="{Binding HomeAllCommand}"/>
  25. <customControls:PathButton Content="Clear Error" FontSize="15" Width="120" Height="28" Margin="5 5 0 0" Command="{Binding ClearErrorCommand}"/>
  26. <customControls:PathButton Content="Abort" FontSize="15" Width="120" Height="28" Margin="5 5 20 0" Command="{Binding AbortCommand}"/>
  27. <RadioButton Content="Offline" FontSize="15" Width="120" Height="28" Margin="80 5 5 5" Style="{StaticResource Button_RadioButton}" IsChecked="{Binding RtDataValues[EFEM.IsOnline],Converter={StaticResource BoolToBool}}" GroupName="IsOnline" Command="{Binding OfflineCommand}"/>
  28. <RadioButton Content="Online" FontSize="15" Width="120" Height="28" Margin="5 5 0 5" Style="{StaticResource Button_RadioButton}" IsChecked="{Binding RtDataValues[EFEM.IsOnline]}" GroupName="IsOnline" Command="{Binding OnlineCommand}"/>
  29. </StackPanel>
  30. </Border>
  31. <userControls:FOUPFrontView UnitData="{Binding LP1ModuleInfo}" Canvas.Top="60" Canvas.Left="20"/>
  32. <userControls:FOUPFrontView UnitData="{Binding LP2ModuleInfo}" Canvas.Top="60" Canvas.Left="160"/>
  33. <userControls:FOUPFrontView UnitData="{Binding LP3ModuleInfo}" Canvas.Top="60" Canvas.Left="300"/>
  34. <userControls:EFEMFrontView UnitData="{Binding EFEMModuleInfo}" Title="Efem Robot" Canvas.Top="280" Canvas.Left="1040"/>
  35. <Canvas Canvas.Top="-150">
  36. <!--<Viewbox Width="890" Height="890" Canvas.Top="5" Canvas.Left="297" Stretch="Fill">
  37. <Canvas Width="1000" Height="1000">
  38. <userControls:MainTM Width="300" Height="250" Canvas.Left="380" Canvas.Top="90"/>
  39. <userControls:LoadLockLeft Width="150" Height="150" Canvas.Top="310" Canvas.Left="358" DoorIsOpen="{Binding RtDataValues[TM.LLATSlitDoor.IsClosed],Converter={StaticResource BoolToBool}}" Door2IsOpen="{Binding RtDataValues[TM.LLAESlitDoor.IsClosed],Converter={StaticResource BoolToBool}}" Visibility="{Binding LLAIsInstalled,Converter={StaticResource bool2VisibilityConverter}}" RobotWafer="{Binding LLAWafer}"/>
  40. <userControls:LoadLockRight Width="150" Height="150" Canvas.Top="309" Canvas.Left="519" DoorIsOpen="{Binding RtDataValues[TM.LLBTSlitDoor.IsClosed],Converter={StaticResource BoolToBool}}" Door2IsOpen="{Binding RtDataValues[TM.LLBESlitDoor.IsClosed],Converter={StaticResource BoolToBool}}" Visibility="{Binding LLBIsInstalled,Converter={StaticResource bool2VisibilityConverter}}" RobotWafer="{Binding LLBWafer}"/>
  41. </Canvas>
  42. </Viewbox>-->
  43. <!--<userControls:EFEM x:Name="efem1" Width="500" Height="180" Canvas.Left="500" Canvas.Top="430" Aligner1Wafer="{Binding Aligner1Wafer}" LP1Presented="{Binding RtDataValues[LP1.CassettePlaced]}" LP2Presented="{Binding RtDataValues[LP2.CassettePlaced]}" LP3Presented="{Binding RtDataValues[LP3.CassettePlaced]}" LP1Loaded="{Binding RtDataValues[LP1.IsLoaded]}" LP2Loaded="{Binding RtDataValues[LP2.IsLoaded]}" LP3Loaded="{Binding RtDataValues[LP3.IsLoaded]}" RobotATAction="{Binding Robot1TAction}" RobotAXAction="{Binding Robot1XAction}" RobotBTAction="{Binding Robot2TAction}" RobotBXAction="{Binding Robot2XAction}" RobotAWaferInfo="{Binding BladeAWafer}" RobotBWaferInfo="{Binding BladeBWafer}" CurrentRobotPosition="{Binding CurrentRobotPosition}"/>-->
  44. <userControls:NiceLeftLoadLock Width="500" Height="500" Canvas.Top="238" Canvas.Left="585" LLADoorIsOpen="{Binding RtDataValues[TM.LLAESlitDoor.IsClosed],Converter={StaticResource BoolToBool}}" RobotWafer="{Binding LLAWafer}"/>
  45. <userControls:NiceRightLoadLock Width="500" Height="500" Canvas.Top="238" Canvas.Left="750" LLBDoorIsOpen="{Binding RtDataValues[TM.LLBESlitDoor.IsClosed],Converter={StaticResource BoolToBool}}" RobotWafer="{Binding LLBWafer}"/>
  46. <!--<userControls:LoadLockRight/>-->
  47. <userControls:NiceEFEM Width="500" Height="370" Canvas.Left="500" Canvas.Top="424" Aligner1Wafer="{Binding Aligner1Wafer}" LP1Presented="{Binding RtDataValues[LP1.CassettePlaced]}" LP2Presented="{Binding RtDataValues[LP2.CassettePlaced]}" LP3Presented="{Binding RtDataValues[LP3.CassettePlaced]}" LP1Loaded="{Binding RtDataValues[LP1.IsLoaded]}" LP2Loaded="{Binding RtDataValues[LP2.IsLoaded]}" LP3Loaded="{Binding RtDataValues[LP3.IsLoaded]}" RobotAWaferInfo="{Binding BladeAWafer}" RobotBWaferInfo="{Binding BladeBWafer}" Blade1RobotTAction="{Binding Blade1NiceGuangChuanWaferRobotTAction}" Blade2RobotTAction="{Binding Blade2NiceGuangChuanWaferRobotTAction}" Blade1RobotXAction="{Binding Blade1NiceGuangChuanWaferRobotXAction}" Blade2RobotXAction="{Binding Blade2NiceGuangChuanWaferRobotXAction}"/>
  48. <userControls:FOUPFrontView UnitData="{Binding LLAModuleInfo}" VerticalAlignment="Top" Canvas.Top="350" Canvas.Left="440" Visibility="{Binding LLAIsInstalled,Converter={StaticResource bool2VisibilityConverter}}" ShowTitle="False"/>
  49. <userControls:FOUPFrontView UnitData="{Binding LLBModuleInfo}" VerticalAlignment="Top" Canvas.Top="350" Canvas.Left="950" Visibility="{Binding LLBIsInstalled,Converter={StaticResource bool2VisibilityConverter}}" ShowTitle="False"/>
  50. </Canvas>
  51. <Grid Canvas.Top="400" Canvas.Left="1020" Width="500">
  52. <Grid.RowDefinitions>
  53. <RowDefinition Height="30"/>
  54. <RowDefinition Height="36"/>
  55. <RowDefinition Height="Auto"/>
  56. </Grid.RowDefinitions>
  57. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_FirstTitle}" Padding="5,1">
  58. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
  59. <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">
  60. <Path.RenderTransform>
  61. <TransformGroup>
  62. <ScaleTransform/>
  63. <SkewTransform/>
  64. <RotateTransform Angle="45"/>
  65. <TranslateTransform/>
  66. </TransformGroup>
  67. </Path.RenderTransform>
  68. </Path>
  69. <TextBlock Margin="5,0,0,0" Text="EFEM Robot Operation" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_White}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  70. </StackPanel>
  71. </Border>
  72. <Border Grid.Row="1" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,0" Background="{DynamicResource Table_BG_Content}" >
  73. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
  74. <customControls:PathButton Content="Home" Height="33" Width="100" Command="{Binding RobotHomeCommand}"/>
  75. </StackPanel>
  76. </Border>
  77. <!--<Border Grid.Row="1" BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" >-->
  78. <Grid Height="100" unity:GridOptions.ShowBorder="True" unity:GridOptions.LineBrush="Black" Grid.Row="2" Background="{DynamicResource Table_BG_Content}">
  79. <Grid.RowDefinitions>
  80. <RowDefinition Height="25"/>
  81. <RowDefinition/>
  82. <RowDefinition/>
  83. <!--<RowDefinition/>
  84. <RowDefinition/>-->
  85. <!--<RowDefinition/>-->
  86. </Grid.RowDefinitions>
  87. <Grid.ColumnDefinitions>
  88. <ColumnDefinition/>
  89. <ColumnDefinition/>
  90. <ColumnDefinition/>
  91. <ColumnDefinition/>
  92. </Grid.ColumnDefinitions>
  93. <TextBlock Text="Module" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14" />
  94. <TextBlock Text="Slot" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14"/>
  95. <TextBlock Text="Blada" Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14"/>
  96. <TextBlock Text="Operation" Grid.Column="3" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14"/>
  97. <ComboBox Grid.Row="1" Margin="5" SelectedItem="{Binding PickSelectedModule}" ItemsSource="{Binding EFEMModules}">
  98. <i:Interaction.Triggers>
  99. <i:EventTrigger EventName="SelectionChanged">
  100. <i:InvokeCommandAction Command="{Binding ModuleChangeCommand}" CommandParameter="Pick"/>
  101. </i:EventTrigger>
  102. </i:Interaction.Triggers>
  103. </ComboBox>
  104. <ComboBox Grid.Row="1" Grid.Column="1" Margin="5" ItemsSource="{Binding PickSoltItemsSource}" SelectedIndex="{Binding PickSoltSelectedIndex}"/>
  105. <ComboBox Grid.Row="1" Grid.Column="2" Margin="5" SelectedItem="{Binding PickSelectedBlade}" unity:ItemsControlHelper.EnumValuesToItemsSource="True"/>
  106. <Button Grid.Row="1" Grid.Column="3" Content="Pick" Command="{Binding PickCommand}"/>
  107. <ComboBox Grid.Row="2" Margin="5" SelectedItem="{Binding PlaceSelectedModule}" ItemsSource="{Binding EFEMModules}">
  108. <i:Interaction.Triggers>
  109. <i:EventTrigger EventName="SelectionChanged">
  110. <i:InvokeCommandAction Command="{Binding ModuleChangeCommand}" CommandParameter="Place" />
  111. </i:EventTrigger>
  112. </i:Interaction.Triggers>
  113. </ComboBox>
  114. <ComboBox Grid.Row="2" Grid.Column="1" Margin="5" ItemsSource="{Binding PlaceSoltItemsSource}" SelectedIndex="{Binding PlaceSoltSelectedIndex}"/>
  115. <ComboBox Grid.Row="2" Grid.Column="2" Margin="5" SelectedItem="{Binding PlaceSelectedBlade}" unity:ItemsControlHelper.EnumValuesToItemsSource="True"/>
  116. <Button Grid.Row="2" Grid.Column="3" Content="Place" Command="{Binding PlaceCommand}"/>
  117. <!--<ComboBox Grid.Row="3" Margin="5" SelectedItem="{Binding ExtendSelectedModule}" ItemsSource="{Binding EFEMModules}">
  118. <i:Interaction.Triggers>
  119. <i:EventTrigger EventName="SelectionChanged">
  120. <i:InvokeCommandAction Command="{Binding ModuleChangeCommand}" CommandParameter="Extend" />
  121. </i:EventTrigger>
  122. </i:Interaction.Triggers>
  123. </ComboBox>
  124. <ComboBox Grid.Row="3" Grid.Column="1" Margin="5" ItemsSource="{Binding ExtendSoltItemsSource}" SelectedIndex="{Binding ExtendSoltSelectedIndex}"/>
  125. <ComboBox Grid.Row="3" Grid.Column="2" Margin="5" SelectedItem="{Binding ExtendSelectedBlade}" unity:ItemsControlHelper.EnumValuesToItemsSource="True"/>
  126. <Button Grid.Row="3" Grid.Column="3" Content="Extend" Command="{Binding ExtendCommand}"/>
  127. <ComboBox Grid.Row="4" Margin="5" SelectedItem="{Binding RetractSelectedModule}" ItemsSource="{Binding EFEMModules}">
  128. <i:Interaction.Triggers>
  129. <i:EventTrigger EventName="SelectionChanged">
  130. <i:InvokeCommandAction Command="{Binding ModuleChangeCommand}" CommandParameter="Retract" />
  131. </i:EventTrigger>
  132. </i:Interaction.Triggers>
  133. </ComboBox>
  134. <ComboBox Grid.Row="4" Grid.Column="1" Margin="5" ItemsSource="{Binding RetractSoltItemsSource}" SelectedIndex="{Binding RetractSoltSelectedIndex}"/>
  135. <ComboBox Grid.Row="4" Grid.Column="2" Margin="5" SelectedItem="{Binding RetractSelectedBlade}" unity:ItemsControlHelper.EnumValuesToItemsSource="True"/>
  136. <Button Grid.Row="4" Grid.Column="3" Content="Retract" Command="{Binding RetractCommand}"/>-->
  137. <!--<ComboBox Grid.Row="5" Grid.Column="0" Margin="5" SelectedItem="{Binding WaferRobotTAction}" unity:ItemsControlHelper.EnumValuesToItemsSource="True"/>
  138. <ComboBox Grid.Row="5" Grid.Column="2" Margin="5" SelectedItem="{Binding GoToSelectedBlade}" unity:ItemsControlHelper.EnumValuesToItemsSource="True"/>-->
  139. <!--<Button Grid.Row="5" Grid.Column="3" Margin="5" Height="25" Content="Goto" IsEnabled="{Binding Path=IsManualMode}" Command="{Binding GotoCommand}"/>-->
  140. </Grid>
  141. </Grid>
  142. <StackPanel Canvas.Left="1040" Canvas.Top="180" Width="400">
  143. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_FirstTitle}" Padding="5,1" Height="30">
  144. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
  145. <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">
  146. <Path.RenderTransform>
  147. <TransformGroup>
  148. <ScaleTransform/>
  149. <SkewTransform/>
  150. <RotateTransform Angle="45"/>
  151. <TranslateTransform/>
  152. </TransformGroup>
  153. </Path.RenderTransform>
  154. </Path>
  155. <TextBlock Margin="5,0,0,0" Text="Aligner1 Operation" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_White}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  156. </StackPanel>
  157. </Border>
  158. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="#D0D8E8" Height="40">
  159. <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
  160. <customControls:PathButton Content="Home" Width="80" Height="33" Command="{Binding Align1HomeCommand}"/>
  161. <customControls:PathButton Content="Up" Width="80" Height="33" Command="{Binding Align1UpCommand}"/>
  162. <customControls:PathButton Content="Down" Width="80" Height="33" Command="{Binding Align1DownCommand}"/>
  163. <customControls:PathButton Content="Align" Width="80" Height="33" Command="{Binding Align1AlignCommand}"/>
  164. <TextBox Text="{Binding AlignValue,UpdateSourceTrigger=PropertyChanged}" Width="60" Height="33" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" Margin="1,0,1,0" FontSize="20"/>
  165. </StackPanel>
  166. </Border>
  167. </StackPanel>
  168. <StackPanel Orientation="Horizontal" Canvas.Bottom="-50" Canvas.Left="100">
  169. <Grid Width="450" Visibility="{Binding IsLP1Installed, Converter={StaticResource bool2VisibilityConverter}}" IsEnabled="{Binding IsEfemConnected}">
  170. <Grid.RowDefinitions>
  171. <RowDefinition Height="24"/>
  172. <RowDefinition Height="30"/>
  173. <RowDefinition Height="30"/>
  174. <RowDefinition Height="30"/>
  175. <RowDefinition Height="30"/>
  176. <RowDefinition Height="30"/>
  177. <RowDefinition Height="30"/>
  178. <RowDefinition Height="30"/>
  179. <RowDefinition Height="30"/>
  180. </Grid.RowDefinitions>
  181. <Grid.ColumnDefinitions>
  182. <ColumnDefinition Width="100"/>
  183. <ColumnDefinition Width="60"/>
  184. <ColumnDefinition Width="*"/>
  185. </Grid.ColumnDefinitions>
  186. <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"/>
  187. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1,0,1">
  188. <TextBlock Text="Status" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" />
  189. </Border>
  190. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{Binding LP1StatusBackground}" Grid.Row="1" Grid.Column="1" Padding="5,1">
  191. <TextBlock Text="{Binding RtDataValues[LP1.Status]}" TextAlignment="Center" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
  192. </Border>
  193. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column ="2" Padding="5,1">
  194. <StackPanel Orientation="Horizontal" >
  195. <Button Content="Home" Width="80" Height="25" Margin="10,0" Command="{Binding LPHomeCommand}" CommandParameter="LP1"/>
  196. <Button IsEnabled="{Binding IsLP1AbortEnable}" Content="Abort" Width="80" Height="25" Margin="10,0" Command="{Binding LPAbortCommand}" CommandParameter="LP1"/>
  197. <Button IsEnabled="{Binding IsLP1ResetEnable}" Content="Reset" Width="80" Height="25" Margin="8,0" Command="{Binding LPResetCommand}" CommandParameter="LP1"/>
  198. </StackPanel>
  199. </Border>
  200. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" Padding="5,1,0,1">
  201. <TextBlock Text="Is Present" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
  202. </Border>
  203. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="1" Padding="5,1">
  204. <!--<deviceControl:AITSensor Margin="5,0" GreenColor="True" LightOnValue="{Binding IsLP1Present}"></deviceControl:AITSensor>-->
  205. <TextBlock Text="{Binding RtDataValues[LP1.IsLoaded]}"/>
  206. </Border>
  207. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="2" Padding="5,1">
  208. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" >
  209. <Button IsEnabled="{Binding IsLP1LoadEnable}" Content="Load" Width="80" Height="25" Margin="10,0" Command="{Binding LPLoadCommand}" CommandParameter="LP1"/>
  210. <Button IsEnabled="{Binding IsLP1UnloadEnable}" Content="Unload" Width="80" Height="25" Margin="10,0 " Command="{Binding LPUnLoadCommand}" CommandParameter="LP1"/>
  211. </StackPanel>
  212. </Border>
  213. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="3" Padding="5,1,0,1">
  214. <TextBlock Text="Carrier ID" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
  215. </Border>
  216. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="1" Padding="5,1">
  217. <TextBlock Text="{Binding RtDataValues[LP1.CarrierId]}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  218. </Border>
  219. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="2" Padding="5,1">
  220. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" >
  221. <Button IsEnabled="{Binding IsLP1ReadCarrierIdEnable}" Content="Read Carrier ID" Width="125" Height="25" Margin="10,0" Command="{Binding LPReadIDCommand}" CommandParameter="LP1"/>
  222. </StackPanel>
  223. </Border>
  224. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="4" Padding="5,1,0,1">
  225. <TextBlock Text="Is Clamped" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" />
  226. </Border>
  227. <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">
  228. <!--<deviceControl:AITSensor Margin="5,0" GreenColor="True" LightOnValue="{Binding IsLP1Clamped}"></deviceControl:AITSensor>-->
  229. <TextBlock Text="{Binding RtDataValues[LP1.IsClamped]}"/>
  230. </Border>
  231. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column="2" Padding="5,1">
  232. <StackPanel Orientation="Horizontal">
  233. <Button IsEnabled="{Binding IsLP1ClampEnable}" Margin="10,0" Content="Clamp" Width="90" Height="25" Command="{Binding LPClampCommand}" CommandParameter="LP1"/>
  234. <Button IsEnabled="{Binding IsLP1UnclampEnable}" Margin="10,0" Content="Unclamp" Width="90" Height="25" Command="{Binding LPUnClampCommand}" CommandParameter="LP1"/>
  235. </StackPanel>
  236. </Border>
  237. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="5" Padding="5,1,0,1">
  238. <TextBlock Text="Is Docked" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" />
  239. </Border>
  240. <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">
  241. <!--<deviceControl:AITSensor Margin="5,0" GreenColor="True" LightOnValue="{Binding IsLP1Docked}"></deviceControl:AITSensor>-->
  242. <TextBlock Text="{Binding RtDataValues[LP1.IsDocked]}"/>
  243. </Border>
  244. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="2" Padding="5,1">
  245. <StackPanel Orientation="Horizontal">
  246. <Button IsEnabled="{Binding IsLP1DockEnable}" Margin="10,0" Content="Dock" Width="90" Height="25" Command="{Binding LPDockCommand}" CommandParameter="LP1">
  247. <!--<i:Interaction.Triggers>
  248. <i:EventTrigger EventName="Click">
  249. <cal:ActionMessage MethodName="Dock">
  250. <cal:Parameter Value="{Binding FOUPA.ModuleID}"></cal:Parameter>
  251. </cal:ActionMessage>
  252. </i:EventTrigger>
  253. </i:Interaction.Triggers>-->
  254. </Button>
  255. <Button IsEnabled="{Binding IsLP1UndockEnable}" Margin="10,0" Content="Undock" Width="90" Height="25" Command="{Binding LPUnDockCommand}" CommandParameter="LP1">
  256. <!--<i:Interaction.Triggers>
  257. <i:EventTrigger EventName="Click">
  258. <cal:ActionMessage MethodName="Undock">
  259. <cal:Parameter Value="{Binding FOUPA.ModuleID}"></cal:Parameter>
  260. </cal:ActionMessage>
  261. </i:EventTrigger>
  262. </i:Interaction.Triggers>-->
  263. </Button>
  264. </StackPanel>
  265. </Border>
  266. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="6" Padding="5,1,0,1">
  267. <TextBlock Text="Is Door Open" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" />
  268. </Border>
  269. <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">
  270. <!--<deviceControl:AITSensor Margin="5,0" GreenColor="True" LightOnValue="{Binding IsLP1DoorOpen}"></deviceControl:AITSensor>-->
  271. </Border>
  272. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="6" Grid.Column="2" Padding="5,1">
  273. <StackPanel Orientation="Horizontal">
  274. <Button IsEnabled="{Binding IsLP1OpenEnable}" Margin="10,0" Content="Open" Width="90" Height="25" Command="{Binding LPOpenDoorCommand}" CommandParameter="LP1">
  275. <!--<i:Interaction.Triggers>
  276. <i:EventTrigger EventName="Click">
  277. <cal:ActionMessage MethodName="OpenDoor">
  278. <cal:Parameter Value="{Binding FOUPA.ModuleID}"></cal:Parameter>
  279. </cal:ActionMessage>
  280. </i:EventTrigger>
  281. </i:Interaction.Triggers>-->
  282. </Button>
  283. <Button IsEnabled="{Binding IsLP1CloseEnable}" Margin="10,0" Content="Close" Width="90" Height="25" Command="{Binding LPCloseDoorCommand}" CommandParameter="LP1">
  284. <!--<i:Interaction.Triggers>
  285. <i:EventTrigger EventName="Click">
  286. <cal:ActionMessage MethodName="CloseDoor">
  287. <cal:Parameter Value="{Binding FOUPA.ModuleID}"></cal:Parameter>
  288. </cal:ActionMessage>
  289. </i:EventTrigger>
  290. </i:Interaction.Triggers>-->
  291. </Button>
  292. </StackPanel>
  293. </Border>
  294. </Grid>
  295. <Grid Margin="1,0,0,0" Width="450" Visibility="{Binding IsLP1Installed, Converter={StaticResource bool2VisibilityConverter}}" IsEnabled="{Binding IsEfemConnected}">
  296. <Grid.RowDefinitions>
  297. <RowDefinition Height="24"/>
  298. <RowDefinition Height="30"/>
  299. <RowDefinition Height="30"/>
  300. <RowDefinition Height="30"/>
  301. <RowDefinition Height="30"/>
  302. <RowDefinition Height="30"/>
  303. <RowDefinition Height="30"/>
  304. <RowDefinition Height="30"/>
  305. <RowDefinition Height="30"/>
  306. </Grid.RowDefinitions>
  307. <Grid.ColumnDefinitions>
  308. <ColumnDefinition Width="100"/>
  309. <ColumnDefinition Width="60"/>
  310. <ColumnDefinition Width="*"/>
  311. </Grid.ColumnDefinitions>
  312. <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"/>
  313. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1,0,1">
  314. <TextBlock Text="Status" 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="{Binding LP1StatusBackground}" Grid.Row="1" Grid.Column="1" Padding="5,1">
  317. <TextBlock Text="{Binding RtDataValues[LP2.Status]}" TextAlignment="Center" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
  318. </Border>
  319. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column ="2" Padding="5,1">
  320. <StackPanel Orientation="Horizontal" >
  321. <Button Content="Home" Width="80" Height="25" Margin="10,0" Command="{Binding LPHomeCommand}" CommandParameter="LP2"/>
  322. <Button IsEnabled="{Binding IsLP1AbortEnable}" Content="Abort" Width="80" Height="25" Margin="10,0" Command="{Binding LPAbortCommand}" CommandParameter="LP2"/>
  323. <Button IsEnabled="{Binding IsLP1ResetEnable}" Content="Reset" Width="80" Height="25" Margin="8,0" Command="{Binding LPResetCommand}" CommandParameter="LP2"/>
  324. </StackPanel>
  325. </Border>
  326. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" Padding="5,1,0,1">
  327. <TextBlock Text="Is Present" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
  328. </Border>
  329. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="1" Padding="5,1">
  330. <!--<deviceControl:AITSensor Margin="5,0" GreenColor="True" LightOnValue="{Binding IsLP1Present}"></deviceControl:AITSensor>-->
  331. <TextBlock Text="{Binding RtDataValues[LP2.IsLoaded]}"/>
  332. </Border>
  333. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="2" Padding="5,1">
  334. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" >
  335. <Button IsEnabled="{Binding IsLP1LoadEnable}" Content="Load" Width="80" Height="25" Margin="10,0" Command="{Binding LPLoadCommand}" CommandParameter="LP2"/>
  336. <Button IsEnabled="{Binding IsLP1UnloadEnable}" Content="Unload" Width="80" Height="25" Margin="10,0 " Command="{Binding LPUnLoadCommand}" CommandParameter="LP2"/>
  337. </StackPanel>
  338. </Border>
  339. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="3" Padding="5,1,0,1">
  340. <TextBlock Text="Carrier ID" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
  341. </Border>
  342. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="1" Padding="5,1">
  343. <TextBlock Text="{Binding RtDataValues[LP2.CarrierId]}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  344. </Border>
  345. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="2" Padding="5,1">
  346. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" >
  347. <Button IsEnabled="{Binding IsLP1ReadCarrierIdEnable}" Content="Read Carrier ID" Width="125" Height="25" Margin="10,0" Command="{Binding LPReadIDCommand}" CommandParameter="LP2"/>
  348. </StackPanel>
  349. </Border>
  350. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="4" Padding="5,1,0,1">
  351. <TextBlock Text="Is Clamped" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" />
  352. </Border>
  353. <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">
  354. <!--<deviceControl:AITSensor Margin="5,0" GreenColor="True" LightOnValue="{Binding IsLP1Clamped}"></deviceControl:AITSensor>-->
  355. <TextBlock Text="{Binding RtDataValues[LP2.IsClamped]}"/>
  356. </Border>
  357. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column="2" Padding="5,1">
  358. <StackPanel Orientation="Horizontal" >
  359. <Button IsEnabled="{Binding IsLP1ClampEnable}" Margin="10,0" Content="Clamp" Width="90" Height="25" Command="{Binding LPClampCommand}" CommandParameter="LP2"/>
  360. <Button IsEnabled="{Binding IsLP1UnclampEnable}" Margin="10,0" Content="Unclamp" Width="90" Height="25" Command="{Binding LPUnClampCommand}" CommandParameter="LP2"/>
  361. </StackPanel>
  362. </Border>
  363. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="5" Padding="5,1,0,1">
  364. <TextBlock Text="Is Docked" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" />
  365. </Border>
  366. <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">
  367. <!--<deviceControl:AITSensor Margin="5,0" GreenColor="True" LightOnValue="{Binding IsLP1Docked}"></deviceControl:AITSensor>-->
  368. <TextBlock Text="{Binding RtDataValues[LP2.IsDocked]}"/>
  369. </Border>
  370. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="2" Padding="5,1">
  371. <StackPanel Orientation="Horizontal">
  372. <Button IsEnabled="{Binding IsLP1DockEnable}" Margin="10,0" Content="Dock" Width="90" Height="25" Command="{Binding LPDockCommand}" CommandParameter="LP2">
  373. </Button>
  374. <Button IsEnabled="{Binding IsLP1UndockEnable}" Margin="10,0" Content="Undock" Width="90" Height="25" Command="{Binding LPUnDockCommand}" CommandParameter="LP2">
  375. </Button>
  376. </StackPanel>
  377. </Border>
  378. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="6" Padding="5,1,0,1">
  379. <TextBlock Text="Is Door Open" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" />
  380. </Border>
  381. <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">
  382. <!--<deviceControl:AITSensor Margin="5,0" GreenColor="True" LightOnValue="{Binding IsLP1DoorOpen}"></deviceControl:AITSensor>-->
  383. </Border>
  384. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="6" Grid.Column="2" Padding="5,1">
  385. <StackPanel Orientation="Horizontal">
  386. <Button IsEnabled="{Binding IsLP1OpenEnable}" Margin="10,0" Content="Open" Width="90" Height="25" Command="{Binding LPOpenDoorCommand}" CommandParameter="LP2">
  387. <!--<i:Interaction.Triggers>
  388. <i:EventTrigger EventName="Click">
  389. <cal:ActionMessage MethodName="OpenDoor">
  390. <cal:Parameter Value="{Binding FOUPA.ModuleID}"></cal:Parameter>
  391. </cal:ActionMessage>
  392. </i:EventTrigger>
  393. </i:Interaction.Triggers>-->
  394. </Button>
  395. <Button IsEnabled="{Binding IsLP1CloseEnable}" Margin="10,0" Content="Close" Width="90" Height="25" Command="{Binding LPCloseDoorCommand}" CommandParameter="LP2">
  396. <!--<i:Interaction.Triggers>
  397. <i:EventTrigger EventName="Click">
  398. <cal:ActionMessage MethodName="CloseDoor">
  399. <cal:Parameter Value="{Binding FOUPA.ModuleID}"></cal:Parameter>
  400. </cal:ActionMessage>
  401. </i:EventTrigger>
  402. </i:Interaction.Triggers>-->
  403. </Button>
  404. </StackPanel>
  405. </Border>
  406. </Grid>
  407. <Grid Margin="1,0,0,0" Width="450" Visibility="{Binding IsLP1Installed, Converter={StaticResource bool2VisibilityConverter}}" IsEnabled="{Binding IsEfemConnected}">
  408. <Grid.RowDefinitions>
  409. <RowDefinition Height="24"/>
  410. <RowDefinition Height="30"/>
  411. <RowDefinition Height="30"/>
  412. <RowDefinition Height="30"/>
  413. <RowDefinition Height="30"/>
  414. <RowDefinition Height="30"/>
  415. <RowDefinition Height="30"/>
  416. <RowDefinition Height="30"/>
  417. <RowDefinition Height="30"/>
  418. </Grid.RowDefinitions>
  419. <Grid.ColumnDefinitions>
  420. <ColumnDefinition Width="100"/>
  421. <ColumnDefinition Width="60"/>
  422. <ColumnDefinition Width="*"/>
  423. </Grid.ColumnDefinitions>
  424. <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"/>
  425. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1,0,1">
  426. <TextBlock Text="Status" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" />
  427. </Border>
  428. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{Binding LP1StatusBackground}" Grid.Row="1" Grid.Column="1" Padding="5,1">
  429. <TextBlock Text="{Binding RtDataValues[LP3.Status]}" TextAlignment="Center" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
  430. </Border>
  431. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column ="2" Padding="5,1">
  432. <StackPanel Orientation="Horizontal" >
  433. <Button Content="Home" Width="80" Height="25" Margin="10,0" Command="{Binding LPHomeCommand}" CommandParameter="LP3"/>
  434. <Button IsEnabled="{Binding IsLP1AbortEnable}" Content="Abort" Width="80" Height="25" Margin="10,0" Command="{Binding LPAbortCommand}" CommandParameter="LP3"/>
  435. <Button IsEnabled="{Binding IsLP1ResetEnable}" Content="Reset" Width="80" Height="25" Margin="8,0" Command="{Binding LPResetCommand}" CommandParameter="LP3"/>
  436. </StackPanel>
  437. </Border>
  438. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" Padding="5,1,0,1">
  439. <TextBlock Text="Is Present" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
  440. </Border>
  441. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="1" Padding="5,1">
  442. <!--<deviceControl:AITSensor Margin="5,0" GreenColor="True" LightOnValue="{Binding IsLP1Present}"></deviceControl:AITSensor>-->
  443. <TextBlock Text="{Binding RtDataValues[LP1.IsLoaded]}"/>
  444. </Border>
  445. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="2" Padding="5,1">
  446. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" >
  447. <Button IsEnabled="{Binding IsLP1LoadEnable}" Content="Load" Width="80" Height="25" Margin="10,0" Command="{Binding LPLoadCommand}" CommandParameter="LP3"/>
  448. <Button IsEnabled="{Binding IsLP1UnloadEnable}" Content="Unload" Width="80" Height="25" Margin="10,0 " Command="{Binding LPUnLoadCommand}" CommandParameter="LP3"/>
  449. </StackPanel>
  450. </Border>
  451. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="3" Padding="5,1,0,1">
  452. <TextBlock Text="Carrier ID" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
  453. </Border>
  454. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="1" Padding="5,1">
  455. <TextBlock Text="{Binding RtDataValues[LP3.CarrierId]}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  456. </Border>
  457. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="2" Padding="5,1">
  458. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" >
  459. <Button IsEnabled="{Binding IsLP1ReadCarrierIdEnable}" Content="Read Carrier ID" Width="125" Height="25" Margin="10,0" Command="{Binding LPReadIDCommand}" CommandParameter="LP3"/>
  460. </StackPanel>
  461. </Border>
  462. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="4" Padding="5,1,0,1">
  463. <TextBlock Text="Is Clamped" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" />
  464. </Border>
  465. <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">
  466. <!--<deviceControl:AITSensor Margin="5,0" GreenColor="True" LightOnValue="{Binding IsLP1Clamped}"></deviceControl:AITSensor>-->
  467. <TextBlock Text="{Binding RtDataValues[LP3.IsClamped]}"/>
  468. </Border>
  469. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column="2" Padding="5,1">
  470. <StackPanel Orientation="Horizontal" >
  471. <Button IsEnabled="{Binding IsLP1ClampEnable}" Margin="10,0" Content="Clamp" Width="90" Height="25" Command="{Binding LPClampCommand}" CommandParameter="LP3"/>
  472. <Button IsEnabled="{Binding IsLP1UnclampEnable}" Margin="10,0" Content="Unclamp" Width="90" Height="25" Command="{Binding LPUnClampCommand}" CommandParameter="LP3"/>
  473. </StackPanel>
  474. </Border>
  475. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="5" Padding="5,1,0,1">
  476. <TextBlock Text="Is Docked" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" />
  477. </Border>
  478. <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">
  479. <!--<deviceControl:AITSensor Margin="5,0" GreenColor="True" LightOnValue="{Binding IsLP1Docked}"></deviceControl:AITSensor>-->
  480. <TextBlock Text="{Binding RtDataValues[LP3.IsDocked]}"/>
  481. </Border>
  482. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="2" Padding="5,1">
  483. <StackPanel Orientation="Horizontal">
  484. <Button IsEnabled="{Binding IsLP1DockEnable}" Margin="10,0" Content="Dock" Width="90" Height="25" Command="{Binding LPDockCommand}" CommandParameter="LP3"/>
  485. <Button IsEnabled="{Binding IsLP1UndockEnable}" Margin="10,0" Content="Undock" Width="90" Height="25" Command="{Binding LPUnDockCommand}" CommandParameter="LP3"/>
  486. </StackPanel>
  487. </Border>
  488. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="6" Padding="5,1,0,1">
  489. <TextBlock Text="Is Door Open" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" />
  490. </Border>
  491. <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">
  492. <!--<deviceControl:AITSensor Margin="5,0" GreenColor="True" LightOnValue="{Binding IsLP1DoorOpen}"></deviceControl:AITSensor>-->
  493. </Border>
  494. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="6" Grid.Column="2" Padding="5,1">
  495. <StackPanel Orientation="Horizontal">
  496. <Button IsEnabled="{Binding IsLP1OpenEnable}" Margin="10,0" Content="Open" Width="90" Height="25" Command="{Binding LPOpenDoorCommand}" CommandParameter="LP1"/>
  497. <Button IsEnabled="{Binding IsLP1CloseEnable}" Margin="10,0" Content="Close" Width="90" Height="25" Command="{Binding LPCloseDoorCommand}" CommandParameter="LP1"/>
  498. </StackPanel>
  499. </Border>
  500. </Grid>
  501. </StackPanel>
  502. <!--<Canvas Visibility="Visible">
  503. <Button Content="平移" Canvas.Left="1600" Canvas.Top="60" Width="100" Height="30" Click="Button_Click_3"/>
  504. <ComboBox Canvas.Left="1700" Canvas.Top="60" Width="100" Height="30" x:Name="cb2">
  505. <ComboBoxItem>Right</ComboBoxItem>
  506. <ComboBoxItem>Left</ComboBoxItem>
  507. <ComboBoxItem>Origin</ComboBoxItem>
  508. </ComboBox>
  509. <Button Content="旋转" Canvas.Left="1600" Canvas.Top="100" Width="100" Height="30" Click="Button_Click"/>
  510. <ComboBox Canvas.Left="1700" Canvas.Top="100" Width="100" Height="30" x:Name="cb1">
  511. <ComboBoxItem>LLA</ComboBoxItem>
  512. <ComboBoxItem>LLB</ComboBoxItem>
  513. <ComboBoxItem>Aligner1</ComboBoxItem>
  514. <ComboBoxItem>LP1</ComboBoxItem>
  515. <ComboBoxItem>LP2</ComboBoxItem>
  516. <ComboBoxItem>LP3</ComboBoxItem>
  517. <ComboBoxItem>RightLocation</ComboBoxItem>
  518. <ComboBoxItem>LeftLocation</ComboBoxItem>
  519. </ComboBox>
  520. <Button Content="伸" Canvas.Left="1600" Canvas.Top="140" Width="100" Height="30" Click="Button_Click_1"/>
  521. <Button Content="缩" Canvas.Left="1600" Canvas.Top="180" Width="100" Height="30" Click="Button_Click_2"/>
  522. <TextBox Canvas.Left="1600" Canvas.Top="220" Text="{Binding RobotMoveInfo.BladeTarget}"/>
  523. <TextBox Canvas.Left="1700" Canvas.Top="220" Text="{Binding RobotMoveInfo.ArmTarget}"/>
  524. <TextBox Canvas.Left="1800" Canvas.Top="220" Text="{Binding RobotMoveInfo.Action}"/>
  525. </Canvas>-->
  526. </Canvas>
  527. </UserControl>