VPWCellView.xaml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <UserControl x:Class="PunkHPX8_MainPages.Views.VPWCellView"
  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:UserControls="clr-namespace:PunkHPX8_Themes.UserControls;assembly=PunkHPX8_Themes"
  7. xmlns:converters="clr-namespace:PunkHPX8_Themes.Converters;assembly=PunkHPX8_Themes"
  8. xmlns:prism="http://prismlibrary.com/"
  9. prism:ViewModelLocator.AutoWireViewModel="True"
  10. xmlns:local="clr-namespace:PunkHPX8_MainPages.Views"
  11. mc:Ignorable="d" x:Name="self"
  12. d:DesignHeight="850" d:DesignWidth="1850">
  13. <UserControl.Resources>
  14. <converters:BoolToColor x:Key="boolToColor"/>
  15. <converters:RecipeIconConverter x:Key="recipeIconConverter"/>
  16. </UserControl.Resources>
  17. <Grid>
  18. <Grid.RowDefinitions>
  19. <RowDefinition Height="5"/>
  20. <RowDefinition Height="190"/>
  21. <RowDefinition Height="200"/>
  22. <RowDefinition Height="175"/>
  23. <RowDefinition Height="230"/>
  24. <RowDefinition/>
  25. </Grid.RowDefinitions>
  26. <Grid.ColumnDefinitions>
  27. <ColumnDefinition Width="610"></ColumnDefinition>
  28. <ColumnDefinition Width="400"></ColumnDefinition>
  29. <ColumnDefinition Width="610"></ColumnDefinition>
  30. <ColumnDefinition Width="250"></ColumnDefinition>
  31. <ColumnDefinition/>
  32. </Grid.ColumnDefinitions>
  33. <Grid Grid.Row="1" Grid.Column="0">
  34. <UserControls:SrdOverviewInformationPanel HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Center"
  35. ModuleTitle="{Binding Module}" IsEnabled="{Binding IsEnabled}"
  36. RecipeContentValue="{Binding CurrentRecipe}"
  37. TimeRemainingValue="{Binding TimeRemaining}"
  38. TotalTimeValue="{Binding TotalTime}"
  39. StateValue="{Binding State}"
  40. OperatingModeValue="{Binding VpwCellPersistent.OperatingMode}"
  41. RecipeModeValue="{Binding VpwCellPersistent.RecipeOperatingMode}" />
  42. </Grid>
  43. <Grid Grid.Row="1" Grid.Column="1">
  44. <UserControls:WaferOverviewPanel HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Center"
  45. IsEnabled="{Binding IsEnabled}"
  46. />
  47. </Grid>
  48. <Grid Grid.Row="2" Grid.Column="0" Grid.RowSpan="2">
  49. <UserControls:VPWCellStatusControl HorizontalAlignment="Left" Margin="10,-50,0,0" VerticalAlignment="Center"
  50. IsEnabled="True"
  51. WaterPressure="{Binding VpwMainCommonData.DiwPressure}"
  52. ChamberClose="{Binding VpwMainCommonData.ChamberClosed}"
  53. ChamberOpen="{Binding VpwMainCommonData.ChamberOpened}"
  54. MachineState="{Binding StateMachine}"
  55. />
  56. </Grid>
  57. <Grid Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" Grid.RowSpan="3" HorizontalAlignment="Center" Margin="-120,100,0,0">
  58. <UserControls:VPWCellUIControl ModuleName="{Binding Module}"
  59. DripValve="{Binding VpwCellCommonData.FlowDrip}"
  60. SmallValve="{Binding VpwCellCommonData.FlowSmall}"
  61. LargeValve="{Binding VpwCellCommonData.FlowLarge}"
  62. VentValve="{Binding VpwCellCommonData.VentValve}"
  63. DrainValve="{Binding VpwCellCommonData.DrainValve}"
  64. VacuumValve="{Binding VpwCellCommonData.VacuumValve}"
  65. DIWFlow ="{Binding VpwCellCommonData.DiwFlow}"
  66. DIWLoopDo="{Binding DiwLoopDo}"
  67. CellVacuum="{Binding VpwCellCommonData.VacuumPressure}"
  68. WaferInfo="{Binding WaferInfo}"
  69. ></UserControls:VPWCellUIControl>
  70. </Grid>
  71. <Grid Grid.Row="1" Grid.Column="2" Grid.RowSpan="2">
  72. <UserControls:RecipeControl HorizontalAlignment="Center" Margin="10,0,0,0" VerticalAlignment="Center"
  73. ModuleName="{Binding Module}" IsEnabled="{Binding IsEnabled}"
  74. ModuleTitle="{Binding RecipeModuleName}"
  75. RecipeType="{Binding RecipeType}"
  76. SelectedRecipeNode="{Binding SelectedRecipeNode,Mode=TwoWay}"
  77. AchievedCycleTimes="{Binding AchievedRunRecipeCycle}"
  78. CurrentOperationMode="{Binding VpwCellPersistent.OperatingMode}"
  79. NumberOfSelectedRecipeScans="{Binding NumberOfRecipeScans,Mode=TwoWay}"
  80. RecipeModeValue ="{Binding VpwCellPersistent.RecipeOperatingMode}"/>
  81. </Grid>
  82. <Grid Grid.Row="2" Grid.Column="3" Grid.RowSpan="2" Margin="25,0,0,80" VerticalAlignment="Center">
  83. <UserControls:RecipeModeControl Margin="5,40,35,10"
  84. ModuleName="{Binding Module}"
  85. RecipeModeValue="{Binding VpwCellPersistent.RecipeOperatingMode}"
  86. ></UserControls:RecipeModeControl>
  87. </Grid>
  88. <Grid Grid.Row="1" Grid.Column="3">
  89. <Grid.RowDefinitions>
  90. <RowDefinition Height="50"></RowDefinition>
  91. <RowDefinition Height="60"></RowDefinition>
  92. <RowDefinition Height="60"></RowDefinition>
  93. </Grid.RowDefinitions>
  94. <Grid Grid.Row="0">
  95. <Label Content="{Binding Module}" FontSize="30" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Center"></Label>
  96. </Grid>
  97. <Grid Grid.Row="1">
  98. <Button IsEnabled="True" Style="{StaticResource SysBtnStyle}" Height="30" Width="120" HorizontalAlignment="Center" Content="Initialize" Command="{Binding InitializeCommand}" />
  99. </Grid>
  100. </Grid>
  101. <Grid Grid.Row="1" Grid.Column="3" Grid.RowSpan="2" Margin="0,110,0,0">
  102. <Label Content="Operating Mode" FontSize="15" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Top" HorizontalAlignment="Center"></Label>
  103. <UserControls:OperatingModeControl HorizontalAlignment="Center" Margin="10,0,30,80" VerticalAlignment="Center"
  104. ModuleName="{Binding Module}"
  105. OperationModeValue="{Binding VpwCellPersistent.OperatingMode}"
  106. IsManual="{Binding IsManualOperationMode,Mode=TwoWay}"/>
  107. </Grid>
  108. <Grid Grid.Row="3" Grid.Column="3" >
  109. <Button Margin="0,20,0,0" IsEnabled="True" VerticalAlignment="Top" Style="{StaticResource SysBtnStyle}" Height="30" Width="120" HorizontalAlignment="Center" Content="Home" Command="{Binding HomeCommand}" />
  110. </Grid>
  111. <Label Grid.Row="2" Grid.Column="3" Margin="0,0,0,0" Content="Recipe Mode" FontSize="15" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center"></Label>
  112. </Grid>
  113. </UserControl>