OperationOverNewView.xaml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. <UserControl x:Class="PunkHPX8_MainPages.Views.OperationOverNewView"
  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:PunkHPX8_MainPages.Views"
  7. mc:Ignorable="d"
  8. xmlns:ctrls="clr-namespace:PunkHPX8_Themes.UserControls;assembly=PunkHPX8_Themes"
  9. xmlns:customControls="clr-namespace:PunkHPX8_Themes.CustomControls;assembly=PunkHPX8_Themes"
  10. xmlns:Attach="clr-namespace:PunkHPX8_UI.Themes.Attach;assembly=PunkHPX8_Themes"
  11. xmlns:converters="clr-namespace:PunkHPX8_Themes.Converters;assembly=PunkHPX8_Themes"
  12. xmlns:converters2="clr-namespace:PunkHPX8_MainPages.Converters"
  13. xmlns:userControls="clr-namespace:PunkHPX8_Themes.UserControls;assembly=PunkHPX8_Themes"
  14. xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
  15. xmlns:prism="http://prismlibrary.com/"
  16. prism:ViewModelLocator.AutoWireViewModel="True"
  17. xmlns:deviceControl="clr-namespace:Aitex.Core.UI.DeviceControl;assembly=MECF.Framework.UI.Core"
  18. xmlns:unity="clr-namespace:PunkHPX8_MainPages.Unity"
  19. d:DesignHeight="800" d:DesignWidth="1800">
  20. <!--<i:Interaction.Triggers>
  21. <i:EventTrigger EventName="Loaded">
  22. <i:InvokeCommandAction Command="{Binding LoadCommand}"/>
  23. </i:EventTrigger>
  24. </i:Interaction.Triggers>-->
  25. <UserControl.Resources>
  26. <converters:BoolToVisibility x:Key="boolToVisibility"/>
  27. <converters:BoolToVisibility2 x:Key="boolToVisibility2"/>
  28. <converters:BoolToVisibility3 x:Key="boolToVisibility3"/>
  29. <converters:BoolToBool x:Key="BoolToBool"/>
  30. <converters2:IsOnlineToOpacityConverter x:Key="IsOnlineToOpacityConverter"/>
  31. <converters:BoolToColor x:Key="boolToColor"/>
  32. <converters:BoolToColor4 x:Key="boolToColor4"/>
  33. <converters2:IntToPathDataConverter x:Key="IntToPathDataConverter"/>
  34. </UserControl.Resources>
  35. <Canvas>
  36. <userControls:WaferStatus Canvas.Left="1721" Canvas.Top="15" HorizontalAlignment="Center" VerticalAlignment="Top"/>
  37. <Border BorderThickness="0,0,0,1" BorderBrush="Black" Canvas.Top="20" Canvas.Left="40" Width="915">
  38. <StackPanel Orientation="Horizontal" Margin="0,0,0,5">
  39. <customControls:PathButton PathData="{StaticResource Icon_Init}" DefaultFillBrush="White" Command="{Binding HomeAllCommand}" Width="120" Height="30" Content="Initialize" Margin="10,0,0,0" IsEnabled="{Binding RtDataValues[System.IsAutoMode],Converter={StaticResource BoolToBool}}"/>
  40. <RadioButton Content="Manual" FontSize="15" Width="120" Height="28" Margin="50 0 5 0" Style="{StaticResource Button_RadioButton}" Command="{Binding EnableManualCommand}" IsChecked="{Binding RtDataValues[System.IsAutoMode],Converter={StaticResource BoolToBool}}"/>
  41. <RadioButton Content="Auto" FontSize="15" Width="120" Height="28" Margin="0 0 0 0" Style="{StaticResource Button_RadioButton}" Command="{Binding EnableAutoCommand}" IsChecked="{Binding RtDataValues[System.IsAutoMode]}"/>
  42. <customControls:PathButton PathData="{StaticResource Icon_Abort}" DefaultFillBrush="White" Width="130" Height="30" Content="Abort" Command="{Binding AbortAllCommand}" Margin="50 0 0 0" />
  43. <customControls:PathButton PathData="{Binding RtDataValues[EquipmentStatus],Converter={StaticResource IntToPathDataConverter}}" DefaultFillBrush="White" Width="130" Height="30" Content="{Binding RouteState}" Command="{Binding ResumeAllJobCommand}" IsEnabled="{Binding RtDataValues[System.IsAutoMode]}" Margin="50 0 0 0" />
  44. </StackPanel>
  45. </Border>
  46. <Canvas >
  47. <userControls:CellChamber x:Name="efem1" Width="924" Height="733" Canvas.Left="58" Canvas.Top="100"
  48. LP1Presented="{Binding RtDataValues[LP1.CassettePlaced]}"
  49. LP2Presented="{Binding RtDataValues[LP2.CassettePlaced]}"
  50. LP1Loaded="{Binding RtDataValues[LP1.IsLoaded]}"
  51. LP2Loaded="{Binding RtDataValues[LP2.IsLoaded]}"
  52. RobotATAction="{Binding Robot1TAction}"
  53. RobotAXAction="{Binding Robot1XAction}"
  54. RobotBFAction="{Binding Robot2FAction}"
  55. RobotAWaferInfo="{Binding BladeAWafer}"
  56. RobotBWaferInfo="{Binding BladeBWafer}"
  57. CurrentRobotPosition="{Binding CurrentRobotPosition}"
  58. Aligner1Wafer="{Binding Aligner1Wafer}"
  59. VPW1Wafer="{Binding VPW1Wafer}"
  60. VPW2Wafer="{Binding VPW2Wafer}"
  61. PlatingCell1Wafer="{Binding PlatingCell1Wafer}"
  62. PlatingCell2Wafer="{Binding PlatingCell2Wafer}"
  63. PlatingCell3Wafer="{Binding PlatingCell3Wafer}"
  64. PlatingCell4Wafer="{Binding PlatingCell4Wafer}"
  65. AlignActionValue="{Binding AlignValue, UpdateSourceTrigger=PropertyChanged}"
  66. Srd1Wafer="{Binding Srd1Wafer}"
  67. Srd2Wafer="{Binding Srd2Wafer}" HorizontalAlignment="Center" VerticalAlignment="Top"/>
  68. </Canvas>
  69. <Canvas Canvas.Left="160" Canvas.Top="-165">
  70. <TextBlock Canvas.Top="530" Canvas.Left="-60" Text="{Binding RtDataValues[LP1.WaferSize], StringFormat=({0})}" Visibility="{Binding RtDataValues[LP2.CassettePlaced], Converter={StaticResource boolToVisibility2}}"
  71. HorizontalAlignment="Center" Margin="0,5,0,0" FontSize="16">
  72. </TextBlock>
  73. <TextBlock Canvas.Top="700" Canvas.Left="-60" Text="{Binding RtDataValues[LP2.WaferSize], StringFormat=({0})}" Visibility="{Binding RtDataValues[LP2.CassettePlaced], Converter={StaticResource boolToVisibility2}}"
  74. HorizontalAlignment="Center" Margin="0,5,0,0" FontSize="16">
  75. </TextBlock>
  76. <TabPanel Canvas.Left="1170" Canvas.Top="140" Visibility="{Binding ElementName=CarrierRadioButton,Path=IsChecked,Converter={StaticResource boolToVisibility2}}">
  77. <Border BorderBrush="Gray" BorderThickness="1" Width="310" Height="480">
  78. <StackPanel Orientation="Horizontal" >
  79. <StackPanel>
  80. <TextBox Background="{DynamicResource Table_BG_Title}" Text="LP1" Width="150" Height="15" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
  81. IsReadOnly="True" FontSize="10"/>
  82. <ctrls:FOUPFrontView UnitData="{Binding LP1ModuleInfo}"
  83. IsCassettePlaced="{Binding RtDataValues[LP1.CassettePlaced]}"
  84. ShowTitle="False" IsEnabled="{Binding RtDataValues[System.IsAutoMode],Converter={StaticResource BoolToBool}}"
  85. Visibility="{Binding RtDataValues[LP1.CassettePlaced],Converter={StaticResource boolToVisibility2}}"/>
  86. <TextBlock HorizontalAlignment="Center" Margin="0,5,0,0" FontSize="12" Visibility="{Binding RtDataValues[LP1.CassettePlaced],Converter={StaticResource boolToVisibility2}}">
  87. <TextBlock.Text>
  88. <MultiBinding StringFormat="{}Wafer Count:{0}">
  89. <Binding Path="LP1WaferCount"></Binding>
  90. </MultiBinding>
  91. </TextBlock.Text>
  92. </TextBlock>
  93. <StackPanel VerticalAlignment="Bottom" Orientation="Horizontal" IsEnabled="{Binding IsLP1HasNoJob}" Visibility="{Binding RtDataValues[LP1.CassettePlaced],Converter={StaticResource boolToVisibility2}}">
  94. <customControls:PathButton Content="Map" HorizontalAlignment="Center" Margin="25,5,0,5" Width="75" Height="30" Command="{Binding MapCommand}" CommandParameter="LP1" IsEnabled="{Binding IsLP1Unable,Converter={StaticResource BoolToBool}}"/>
  95. </StackPanel>
  96. </StackPanel>
  97. <StackPanel>
  98. <TextBox Background="{DynamicResource Table_BG_Title}" Text="LP2" Width="150" Height="15" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
  99. IsReadOnly="True" FontSize="10"/>
  100. <ctrls:FOUPFrontView UnitData="{Binding LP2ModuleInfo}"
  101. IsCassettePlaced="{Binding RtDataValues[LP2.CassettePlaced]}"
  102. ShowTitle="False" IsEnabled="{Binding RtDataValues[System.IsAutoMode],Converter={StaticResource BoolToBool}}"
  103. Visibility="{Binding RtDataValues[LP2.CassettePlaced],Converter={StaticResource boolToVisibility2}}"/>
  104. <TextBlock HorizontalAlignment="Center" Margin="0,5,0,0" FontSize="12" Visibility="{Binding RtDataValues[LP2.CassettePlaced],Converter={StaticResource boolToVisibility2}}">
  105. <TextBlock.Text>
  106. <MultiBinding StringFormat="{}Wafer Count:{0}">
  107. <Binding Path="LP2WaferCount"></Binding>
  108. </MultiBinding>
  109. </TextBlock.Text>
  110. </TextBlock>
  111. <StackPanel Orientation="Horizontal" IsEnabled="{Binding IsLP2HasNoJob}" Visibility="{Binding RtDataValues[LP2.CassettePlaced],Converter={StaticResource boolToVisibility2}}">
  112. <customControls:PathButton Content="Map" HorizontalAlignment="Center" Margin="25,5,0,5" Width="75" Height="30" Command="{Binding MapCommand}" CommandParameter="LP2"
  113. IsEnabled="{Binding IsLP2Unable,Converter={StaticResource BoolToBool}}"/>
  114. </StackPanel>
  115. </StackPanel>
  116. </StackPanel>
  117. </Border>
  118. </TabPanel>
  119. </Canvas>
  120. <Canvas Canvas.Left="160" Canvas.Top="335">
  121. <TabPanel Canvas.Left="1170" Canvas.Top="140" Visibility="{Binding ElementName=CarrierRadioButton,Path=IsChecked,Converter={StaticResource boolToVisibility2}}">
  122. <Border BorderBrush="Gray" BorderThickness="1" Width="310" Height="280">
  123. <StackPanel Orientation="Horizontal" >
  124. <StackPanel >
  125. <TextBox Background="{DynamicResource Table_BG_Title}" Text="Dummy1" Width="130" Height="15" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
  126. IsReadOnly="True" FontSize="10"/>
  127. <ctrls:FOUPFrontView UnitData="{Binding Dummy1ModuleInfo}"
  128. IsCassettePlaced="{Binding RtDataValues[Dummy1.CassettePlaced]}"
  129. ShowTitle="False" IsEnabled="{Binding RtDataValues[System.IsAutoMode],Converter={StaticResource BoolToBool}}"
  130. Visibility="{Binding RtDataValues[Dummy1.CassettePlaced],Converter={StaticResource boolToVisibility2}}"/>
  131. <TextBlock HorizontalAlignment="Center" Margin="0,5,0,0" FontSize="12"
  132. Visibility="{Binding RtDataValues[Dummy1.CassettePlaced],Converter={StaticResource boolToVisibility2}}">
  133. <TextBlock.Text>
  134. <MultiBinding StringFormat="{}Wafer Count:{0}">
  135. <Binding Path="Dummy1WaferCount"></Binding>
  136. </MultiBinding>
  137. </TextBlock.Text>
  138. </TextBlock>
  139. <TextBlock Text="{Binding RtDataValues[Dummy1.WaferSize], StringFormat=({0})}" HorizontalAlignment="Center" Margin="0,10,0,0" FontSize="12"
  140. Visibility="{Binding RtDataValues[Dummy1.CassettePlaced],Converter={StaticResource boolToVisibility2}}"/>
  141. </StackPanel>
  142. <StackPanel >
  143. <TextBox Background="{DynamicResource Table_BG_Title}" Text="Dummy2" Width="130" Height="15" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
  144. IsReadOnly="True" FontSize="10"/>
  145. <ctrls:FOUPFrontView UnitData="{Binding Dummy2ModuleInfo}"
  146. IsCassettePlaced="{Binding RtDataValues[Dummy2.CassettePlaced]}"
  147. ShowTitle="False" IsEnabled="{Binding RtDataValues[System.IsAutoMode],Converter={StaticResource BoolToBool}}"
  148. Visibility="{Binding RtDataValues[Dummy2.CassettePlaced],Converter={StaticResource boolToVisibility2}}"/>
  149. <TextBlock HorizontalAlignment="Center" Margin="0,5,0,0" FontSize="12" Visibility="{Binding RtDataValues[Dummy2.CassettePlaced],Converter={StaticResource boolToVisibility2}}">
  150. <TextBlock.Text>
  151. <MultiBinding StringFormat="{}Wafer Count:{0}">
  152. <Binding Path="Dummy2WaferCount"></Binding>
  153. </MultiBinding>
  154. </TextBlock.Text>
  155. </TextBlock>
  156. <TextBlock Text="{Binding RtDataValues[Dummy2.WaferSize], StringFormat=({0})}" HorizontalAlignment="Center" Margin="0,10,0,0" FontSize="12" Visibility="{Binding RtDataValues[Dummy2.CassettePlaced],Converter={StaticResource boolToVisibility2}}"/>
  157. </StackPanel>
  158. </StackPanel>
  159. </Border>
  160. </TabPanel>
  161. </Canvas>
  162. <!--<userControls:SRD CassetteName="SRD2" Canvas.Left="345" Canvas.Top="107" Width="100" Height="100" HorizontalAlignment="Center" VerticalAlignment="Top" RobotWafer="{Binding SRD2Wafer}" SRDVisibility="Visible"/>-->
  163. <userControls:SRDFrontView UnitData1="{Binding SRD2ModuleInfo}" UnitData2="{Binding SRD1ModuleInfo}" Title="SRD" Canvas.Top="71" Canvas.Left="1125"/>
  164. <userControls:RobotFrontView Canvas.Left="1125" Canvas.Top="183" UnitData="{Binding EFEMModuleInfo}"/>
  165. </Canvas>
  166. </UserControl>