VPWCellView.xaml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. />
  37. </Grid>
  38. <Grid Grid.Row="1" Grid.Column="1">
  39. <UserControls:WaferOverviewPanel HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Center"
  40. IsEnabled="{Binding IsEnabled}"
  41. />
  42. </Grid>
  43. <Grid Grid.Row="2" Grid.Column="0" Grid.RowSpan="2">
  44. <UserControls:VPWCellStatusControl HorizontalAlignment="Left" Margin="10,-50,0,0" VerticalAlignment="Center"
  45. IsEnabled="{Binding IsEnabled}"
  46. />
  47. </Grid>
  48. <Grid Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="2" Grid.RowSpan="3" HorizontalAlignment="Left">
  49. <UserControls:VPWCellUIControl ModuleName="{Binding Module}"
  50. ></UserControls:VPWCellUIControl>
  51. </Grid>
  52. <Grid Grid.Row="1" Grid.Column="2" Grid.RowSpan="2">
  53. <UserControls:RecipeControl HorizontalAlignment="Center" Margin="10,0,0,0" VerticalAlignment="Center"
  54. ModuleName="{Binding Module}" IsEnabled="{Binding IsEnabled}"
  55. ModuleTitle="{Binding RecipeModuleName}"
  56. RecipeType="{Binding RecipeType}"
  57. SelectedRecipeNode="{Binding SelectedRecipeNode,Mode=TwoWay}"
  58. AchievedCycleTimes="{Binding AchievedRunRecipeCycle}"
  59. CurrentOperationMode="{Binding PrewetPersistent.OperatingMode}"
  60. NumberOfSelectedRecipeScans="{Binding NumberOfRecipeScans,Mode=TwoWay}"
  61. RecipeModeValue ="{Binding PrewetPersistent.RecipeOperatingMode}"/>
  62. </Grid>
  63. <Grid Grid.Row="2" Grid.Column="3" Grid.RowSpan="2" Margin="25,0,0,80" VerticalAlignment="Center">
  64. <UserControls:RecipeModeControl Margin="5,40,35,10"
  65. ModuleName="{Binding Module}"
  66. RecipeModeValue="{Binding VpwMainPersistent.RecipeOperatingMode}"
  67. ></UserControls:RecipeModeControl>
  68. </Grid>
  69. <Grid Grid.Row="1" Grid.Column="3">
  70. <Grid.RowDefinitions>
  71. <RowDefinition Height="50"></RowDefinition>
  72. <RowDefinition Height="60"></RowDefinition>
  73. <RowDefinition Height="60"></RowDefinition>
  74. </Grid.RowDefinitions>
  75. <Grid Grid.Row="0">
  76. <Label Content="{Binding Module}" FontSize="30" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Center"></Label>
  77. </Grid>
  78. <Grid Grid.Row="1">
  79. <Button IsEnabled="{Binding IsAutoEnabled}" Style="{StaticResource SysBtnStyle}" Height="30" Width="120" HorizontalAlignment="Center" Content="Initialize" Command="{Binding InitializeCommand}" />
  80. </Grid>
  81. </Grid>
  82. <Grid Grid.Row="1" Grid.Column="3" Grid.RowSpan="2" Margin="0,110,0,0">
  83. <Label Content="Operating Mode" FontSize="15" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Top" HorizontalAlignment="Center"></Label>
  84. <UserControls:OperatingModeControl HorizontalAlignment="Center" Margin="10,0,30,80" VerticalAlignment="Center"
  85. ModuleName="{Binding Module}"
  86. OperationModeValue="{Binding PrewetPersistent.OperatingMode}"
  87. IsManual="{Binding IsManualOperationMode,Mode=TwoWay}"/>
  88. </Grid>
  89. <Grid Grid.Row="3" Grid.Column="3" >
  90. <Button Margin="0,20,0,0" IsEnabled="True" VerticalAlignment="Top" Style="{StaticResource SysBtnStyle}" Height="30" Width="120" HorizontalAlignment="Center" Content="Home" Command="{Binding HomeCommand}" />
  91. </Grid>
  92. <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>
  93. </Grid>
  94. </UserControl>