VPWCellView.xaml 7.2 KB

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