Transfer.xaml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. <UserControl x:Class="SummaryModule.Views.Transfer"
  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:SummaryModule.Views"
  7. xmlns:controls="clr-namespace:SummaryModule.Controls"
  8. xmlns:Montion="clr-namespace:SummaryModule.Controls.BaseMotion"
  9. xmlns:status="clr-namespace:SummaryModule.Controls.Status"
  10. xmlns:CommonUI="clr-namespace:UniversalControls.Controls;assembly=UniversalControls"
  11. mc:Ignorable="d"
  12. d:DesignHeight="450" d:DesignWidth="800">
  13. <UserControl.Resources>
  14. <ResourceDictionary >
  15. <ResourceDictionary.MergedDictionaries>
  16. <ResourceDictionary Source="/UICommon;component/Resources.xaml"/>
  17. </ResourceDictionary.MergedDictionaries>
  18. </ResourceDictionary>
  19. </UserControl.Resources>
  20. <Border Background="{StaticResource BorderBackgroundColor}" Margin="8" CornerRadius="8">
  21. <Grid Margin="8">
  22. <Grid.RowDefinitions>
  23. <RowDefinition/>
  24. <RowDefinition Height="8"/>
  25. <RowDefinition Height="auto"/>
  26. <RowDefinition Height="8"/>
  27. <RowDefinition Height="auto"/>
  28. </Grid.RowDefinitions>
  29. <Viewbox Margin="16">
  30. <status:BaseTransfer BufferCommand="{Binding BufferCommand}" LoadPortCommand="{Binding LoadPortCommand}" FimsCommand="{Binding FimsCommand}"/>
  31. </Viewbox>
  32. <Grid Grid.Row="2" Margin="4,0">
  33. <Grid.ColumnDefinitions>
  34. <ColumnDefinition Width="360"/>
  35. <ColumnDefinition/>
  36. <ColumnDefinition Width="360"/>
  37. <ColumnDefinition Width="8"/>
  38. <ColumnDefinition Width="auto"/>
  39. </Grid.ColumnDefinitions>
  40. <controls:Header_Content Height="32" Header="Mapping Result:"/>
  41. <controls:Header_Content Height="32" Grid.Column="2" Header="Foup Cycle Count:"/>
  42. <StackPanel Orientation="Horizontal" Grid.Column="4">
  43. <StackPanel Background="#b1d2f2" VerticalAlignment="Center" HorizontalAlignment="Center">
  44. <Border BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="1" Height="24" Width="48">
  45. <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">All</TextBlock>
  46. </Border>
  47. <Border BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="1,0,1,1" Height="24" Width="48">
  48. <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">
  49. <Run>0</Run>
  50. <Run>/</Run>
  51. <Run>0</Run>
  52. </TextBlock>
  53. </Border>
  54. </StackPanel>
  55. <StackPanel Background="#ffffff" VerticalAlignment="Center" HorizontalAlignment="Center">
  56. <Border BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="1" Height="24" Width="48">
  57. <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">Empty</TextBlock>
  58. </Border>
  59. <Border BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="1,0,1,1" Height="24" Width="48">
  60. <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">0</TextBlock>
  61. </Border>
  62. </StackPanel>
  63. <StackPanel Background="#02ffff" VerticalAlignment="Center" HorizontalAlignment="Center">
  64. <Border BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="1" Height="24" Width="32">
  65. <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">P1</TextBlock>
  66. </Border>
  67. <Border BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="1,0,1,1" Height="24" Width="32">
  68. <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">0</TextBlock>
  69. </Border>
  70. </StackPanel>
  71. <StackPanel Background="#02ffff" VerticalAlignment="Center" HorizontalAlignment="Center">
  72. <Border BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="1" Height="24" Width="32">
  73. <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">P2</TextBlock>
  74. </Border>
  75. <Border BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="1,0,1,1" Height="24" Width="32">
  76. <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">0</TextBlock>
  77. </Border>
  78. </StackPanel>
  79. <StackPanel Background="#fb9355" VerticalAlignment="Center" HorizontalAlignment="Center">
  80. <Border BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="1" Height="24" Width="32">
  81. <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">SD</TextBlock>
  82. </Border>
  83. <Border BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="1,0,1,1" Height="24" Width="32">
  84. <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">0</TextBlock>
  85. </Border>
  86. </StackPanel>
  87. <StackPanel Background="#aa93ff" VerticalAlignment="Center" HorizontalAlignment="Center">
  88. <Border BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="1" Height="24" Width="32">
  89. <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">ED</TextBlock>
  90. </Border>
  91. <Border BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="1,0,1,1" Height="24" Width="32">
  92. <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">0</TextBlock>
  93. </Border>
  94. </StackPanel>
  95. <StackPanel Background="#0395ff" VerticalAlignment="Center" HorizontalAlignment="Center">
  96. <Border BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="1" Height="24" Width="32">
  97. <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">M1</TextBlock>
  98. </Border>
  99. <Border BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="1,0,1,1" Height="24" Width="32">
  100. <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">0</TextBlock>
  101. </Border>
  102. </StackPanel>
  103. <StackPanel Background="#ff6fab" VerticalAlignment="Center" HorizontalAlignment="Center">
  104. <Border BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="1" Height="24" Width="32">
  105. <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">M2</TextBlock>
  106. </Border>
  107. <Border BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="1,0,1,1" Height="24" Width="32">
  108. <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">0</TextBlock>
  109. </Border>
  110. </StackPanel>
  111. </StackPanel>
  112. </Grid>
  113. <UniformGrid Grid.Row="4" Rows="1">
  114. <Button Style="{StaticResource FunctionButton}" Margin="4" Height="36" Command="{Binding InitCommand}">
  115. <StackPanel Orientation="Horizontal">
  116. <CommonUI:SignalLight/>
  117. <TextBlock VerticalAlignment="Center" Margin="8,0">Initialize</TextBlock>
  118. </StackPanel>
  119. </Button>
  120. <CheckBox x:Name="Manual" Style="{StaticResource RecipeCheckBox}" Margin="2,0" Height="36">Manual Operation</CheckBox>
  121. <CheckBox x:Name="Modify" Style="{StaticResource RecipeCheckBox}" Margin="2,0" Height="36">Modify</CheckBox>
  122. <Button Style="{StaticResource FunctionButton}" Margin="4" Height="36">Sensor Status</Button>
  123. <Button Style="{StaticResource FunctionButton}" Margin="4" Height="36">Return Wafer</Button>
  124. <Button Style="{StaticResource FunctionButton}" Margin="4" Height="36">Delete Wafer</Button>
  125. <Button Style="{StaticResource FunctionButton}" Margin="4" Height="36">Delete Carrier</Button>
  126. </UniformGrid>
  127. <Popup x:Name="ManualPop" IsOpen="{Binding ElementName=Manual, Path=IsChecked}" StaysOpen="False" AllowsTransparency="True" PlacementTarget="{Binding ElementName=Manual}" PopupAnimation="Slide" VerticalOffset="-6" Placement="Top">
  128. <Border Margin="8" Background="White" CornerRadius="4">
  129. <Border Width="{Binding ElementName=Manual, Path=ActualWidth}" Background="White" CornerRadius="4" BorderThickness="1" BorderBrush="{StaticResource DarkBorderColor}">
  130. <Border.Effect>
  131. <DropShadowEffect ShadowDepth="8" BlurRadius="5" Color="Gray"/>
  132. </Border.Effect>
  133. <Grid Margin="8">
  134. <Grid.RowDefinitions>
  135. <RowDefinition Height="auto"/>
  136. <RowDefinition Height="16"/>
  137. <RowDefinition/>
  138. </Grid.RowDefinitions>
  139. <TextBlock FontSize="14" FontWeight="Bold">Manual Opreation</TextBlock>
  140. <UniformGrid Columns="1" Grid.Row="2" Margin="-8">
  141. <Button Style="{StaticResource FunctionButton}" Height="32" Margin="8" Command="{Binding OperationCommand}" CommandParameter="CarrierRobot">Carrier Robot</Button>
  142. <Button Style="{StaticResource FunctionButton}" Height="32" Margin="8" Command="{Binding OperationCommand}" CommandParameter="WaferRobot">Wafer Robot</Button>
  143. <Button Style="{StaticResource FunctionButton}" Height="32" Margin="8" Command="{Binding OperationCommand}" CommandParameter="LoadPort">LoadPort</Button>
  144. <Button Style="{StaticResource FunctionButton}" Height="32" Margin="8" Command="{Binding OperationCommand}" CommandParameter="Fims">FIMS</Button>
  145. <Button Style="{StaticResource FunctionButton}" Height="32" Margin="8" Command="{Binding OperationCommand}" CommandParameter="Boat">Boat</Button>
  146. </UniformGrid>
  147. </Grid>
  148. </Border>
  149. </Border>
  150. </Popup>
  151. <Popup x:Name="ModifyPop" IsOpen="{Binding ElementName=Modify, Path=IsChecked}" StaysOpen="False" AllowsTransparency="True" PlacementTarget="{Binding ElementName=Modify}" PopupAnimation="Slide" VerticalOffset="-6" Placement="Top">
  152. <Border Margin="8" Background="White" CornerRadius="4">
  153. <Border Width="{Binding ElementName=Modify, Path=ActualWidth}" Background="White" CornerRadius="4" BorderThickness="1" BorderBrush="{StaticResource DarkBorderColor}">
  154. <Border.Effect>
  155. <DropShadowEffect ShadowDepth="8" BlurRadius="5" Color="Gray"/>
  156. </Border.Effect>
  157. <Grid Margin="8">
  158. <Grid.RowDefinitions>
  159. <RowDefinition Height="auto"/>
  160. <RowDefinition Height="16"/>
  161. <RowDefinition/>
  162. </Grid.RowDefinitions>
  163. <TextBlock FontSize="14" FontWeight="Bold">Modify</TextBlock>
  164. <UniformGrid Columns="1" Grid.Row="2" Margin="-8">
  165. <Button Style="{StaticResource FunctionButton}" Height="32" Margin="8" Command="{Binding ModifyCommand}" CommandParameter="CarrierRobot">Carrier Robot</Button>
  166. <Button Style="{StaticResource FunctionButton}" Height="32" Margin="8" Command="{Binding ModifyCommand}" CommandParameter="WaferRobot">Wafer Robot Wafers</Button>
  167. <Button Style="{StaticResource FunctionButton}" Height="32" Margin="8" Command="{Binding ModifyCommand}" CommandParameter="Fims1">FIMS 1</Button>
  168. <Button Style="{StaticResource FunctionButton}" Height="32" Margin="8" Command="{Binding ModifyCommand}" CommandParameter="Fims2">FIMS 2</Button>
  169. <Button Style="{StaticResource FunctionButton}" Height="32" Margin="8" Command="{Binding ModifyCommand}" CommandParameter="BoatWaferModify">Boat Wafers</Button>
  170. <Button Style="{StaticResource FunctionButton}" Height="32" Margin="8" Command="{Binding ModifyCommand}" CommandParameter="Slot">Stock Wafers</Button>
  171. </UniformGrid>
  172. </Grid>
  173. </Border>
  174. </Border>
  175. </Popup>
  176. </Grid>
  177. </Border>
  178. </UserControl>