VPWCellView.xaml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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. />
  55. </Grid>
  56. <Grid Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" Grid.RowSpan="3" HorizontalAlignment="Center" Margin="-120,100,0,0">
  57. <UserControls:VPWCellUIControl ModuleName="{Binding Module}"
  58. DripValve="{Binding VpwCellCommonData.FlowDrip}"
  59. SmallValve="{Binding VpwCellCommonData.FlowSmall}"
  60. LargeValve="{Binding VpwCellCommonData.FlowLarge}"
  61. VentValve="{Binding VpwCellCommonData.VentValve}"
  62. DrainValve="{Binding VpwCellCommonData.DrainValve}"
  63. VacuumValve="{Binding VpwCellCommonData.VacuumValve}"
  64. ></UserControls:VPWCellUIControl>
  65. </Grid>
  66. <Grid Grid.Row="1" Grid.Column="2" Grid.RowSpan="2">
  67. <UserControls:RecipeControl HorizontalAlignment="Center" Margin="10,0,0,0" VerticalAlignment="Center"
  68. ModuleName="{Binding Module}" IsEnabled="{Binding IsEnabled}"
  69. ModuleTitle="{Binding RecipeModuleName}"
  70. RecipeType="{Binding RecipeType}"
  71. SelectedRecipeNode="{Binding SelectedRecipeNode,Mode=TwoWay}"
  72. AchievedCycleTimes="{Binding AchievedRunRecipeCycle}"
  73. CurrentOperationMode="{Binding PrewetPersistent.OperatingMode}"
  74. NumberOfSelectedRecipeScans="{Binding NumberOfRecipeScans,Mode=TwoWay}"
  75. RecipeModeValue ="{Binding PrewetPersistent.RecipeOperatingMode}"/>
  76. </Grid>
  77. <Grid Grid.Row="2" Grid.Column="3" Grid.RowSpan="2" Margin="25,0,0,80" VerticalAlignment="Center">
  78. <UserControls:RecipeModeControl Margin="5,40,35,10"
  79. ModuleName="{Binding Module}"
  80. RecipeModeValue="{Binding VpwCellPersistent.RecipeOperatingMode}"
  81. ></UserControls:RecipeModeControl>
  82. </Grid>
  83. <Grid Grid.Row="1" Grid.Column="3">
  84. <Grid.RowDefinitions>
  85. <RowDefinition Height="50"></RowDefinition>
  86. <RowDefinition Height="60"></RowDefinition>
  87. <RowDefinition Height="60"></RowDefinition>
  88. </Grid.RowDefinitions>
  89. <Grid Grid.Row="0">
  90. <Label Content="{Binding Module}" FontSize="30" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Center"></Label>
  91. </Grid>
  92. <Grid Grid.Row="1">
  93. <Button IsEnabled="{Binding IsAutoEnabled}" Style="{StaticResource SysBtnStyle}" Height="30" Width="120" HorizontalAlignment="Center" Content="Initialize" Command="{Binding InitializeCommand}" />
  94. </Grid>
  95. </Grid>
  96. <Grid Grid.Row="1" Grid.Column="3" Grid.RowSpan="2" Margin="0,110,0,0">
  97. <Label Content="Operating Mode" FontSize="15" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Top" HorizontalAlignment="Center"></Label>
  98. <UserControls:OperatingModeControl HorizontalAlignment="Center" Margin="10,0,30,80" VerticalAlignment="Center"
  99. ModuleName="{Binding Module}"
  100. OperationModeValue="{Binding VpwCellPersistent.OperatingMode}"
  101. IsManual="{Binding IsManualOperationMode,Mode=TwoWay}"/>
  102. </Grid>
  103. <Grid Grid.Row="3" Grid.Column="3" >
  104. <Button Margin="0,20,0,0" IsEnabled="True" VerticalAlignment="Top" Style="{StaticResource SysBtnStyle}" Height="30" Width="120" HorizontalAlignment="Center" Content="Home" Command="{Binding HomeCommand}" />
  105. </Grid>
  106. <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>
  107. </Grid>
  108. </UserControl>