PrewetHomePageView.xaml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <UserControl x:Class="CyberX8_MainPages.Views.PrewetHomePageView"
  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:CyberX8_Themes.UserControls;assembly=CyberX8_Themes"
  7. xmlns:converters="clr-namespace:CyberX8_Themes.Converters;assembly=CyberX8_Themes"
  8. prism:ViewModelLocator.AutoWireViewModel="True"
  9. xmlns:prism="http://prismlibrary.com/"
  10. xmlns:local="clr-namespace:CyberX8_MainPages.Views"
  11. mc:Ignorable="d" x:Name="self"
  12. d:DesignHeight="800" 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="3">
  34. <Grid.RowDefinitions>
  35. <RowDefinition Height="50"></RowDefinition>
  36. <RowDefinition Height="60"></RowDefinition>
  37. <RowDefinition Height="60"></RowDefinition>
  38. </Grid.RowDefinitions>
  39. <Grid Grid.Row="0">
  40. <Label Content="Prewet1" FontSize="30" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Center"></Label>
  41. </Grid>
  42. <Grid Grid.Row="1">
  43. <Button IsEnabled="{Binding IsAutoEnabled}" Style="{StaticResource SysBtnStyle}" Height="30" Width="120" HorizontalAlignment="Center" Content="Initialize" Command="{Binding InitializeCommand}" />
  44. </Grid>
  45. </Grid>
  46. <Grid Grid.Row="1" Grid.Column="3" Grid.RowSpan="2" Margin="0,110,0,0">
  47. <Label Content="Operating Mode" FontSize="15" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Top" HorizontalAlignment="Center"></Label>
  48. <UserControls:OperatingModeControl HorizontalAlignment="Center" Margin="10,0,30,80" VerticalAlignment="Center"
  49. ModuleName="{Binding Module}"
  50. OperationModeValue="{Binding PrewetPersistent.OperatingMode}"
  51. IsManual="{Binding IsManualOperationMode,Mode=TwoWay}"/>
  52. </Grid>
  53. <Grid Grid.Row="3" Grid.Column="3">
  54. <Grid.RowDefinitions>
  55. <RowDefinition Height="30"></RowDefinition>
  56. <RowDefinition Height="140"></RowDefinition>
  57. </Grid.RowDefinitions>
  58. <Grid Grid.Row="0">
  59. </Grid>
  60. <Grid Grid.Row="1">
  61. </Grid>
  62. </Grid>
  63. <Grid Grid.Row="1" Grid.Column="0">
  64. <UserControls:SrdOverviewInformationPanel HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Center"
  65. ModuleTitle="{Binding Module}" IsEnabled="{Binding IsEnabled}"
  66. RecipeContentValue="{Binding CurrentRecipe}"
  67. TimeRemainingValue="{Binding TimeRemaining}"
  68. TotalTimeValue="{Binding TotalTime}"
  69. StateValue="{Binding State}"
  70. OperatingModeValue="{Binding PrewetPersistent.OperatingMode}"
  71. RecipeModeValue="{Binding PrewetPersistent.RecipeOperatingMode}" />
  72. </Grid>
  73. <Grid Grid.Row="1" Grid.Column="1">
  74. <UserControls:WaferHolderPanel HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Center"
  75. ModuleName="{Binding Module}" IsEnabled="{Binding IsEnabled}"
  76. SeqRecipeValue="{Binding SeqRecipe}"
  77. WaferHolderInfo="{Binding WaferHolderInfo}"
  78. />
  79. </Grid>
  80. <Grid Grid.Row="1" Grid.Column="2" Grid.RowSpan="2">
  81. <UserControls:RecipeControl HorizontalAlignment="Center" Margin="10,0,0,0" VerticalAlignment="Center"
  82. ModuleName="{Binding Module}" IsEnabled="{Binding IsEnabled}"
  83. ModuleTitle="{Binding RecipeModuleName}"
  84. RecipeType="{Binding RecipeType}"
  85. SelectedRecipeNode="{Binding SelectedRecipeNode,Mode=TwoWay}"
  86. AchievedCycleTimes="{Binding AchievedRunRecipeCycle}"
  87. CurrentOperationMode="{Binding PrewetPersistent.OperatingMode}"
  88. NumberOfSelectedRecipeScans="{Binding NumberOfRecipeScans,Mode=TwoWay}"
  89. RecipeModeValue ="{Binding PrewetPersistent.RecipeOperatingMode}"/>
  90. </Grid>
  91. <Grid Grid.Row="2" Grid.Column="0" Grid.RowSpan="3">
  92. <UserControls:PrewetLeftSideControl HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Center"
  93. ModuleName="{Binding Module}" IsEnabled="{Binding IsEnabled}"
  94. PumpData="{Binding PrewetPumpData}"
  95. IsManual="{Binding IsManualOperationMode}"
  96. LinmotPostion="{Binding LinmotCurrentPosition}"
  97. StatusValue="{Binding Status}"
  98. StateMachine="{Binding StateMachine}"
  99. State="{Binding State}"
  100. CurrentScanedCompleted="{Binding ScanComplete}"
  101. KeepWetLimit="{Binding KeepWetLimitTime}"
  102. />
  103. </Grid>
  104. <Grid Grid.Row="2" Grid.Column="1" Grid.RowSpan="3" Grid.ColumnSpan="2">
  105. <UserControls:PrewetUIControl HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="-70,0,0,20"
  106. PumpData="{Binding PrewetPumpData}" IsEnabled="{Binding IsEnabled}"
  107. YaxleData="{Binding UILinmotYPosition}" IsWaferHolder="{Binding IsWaferHolder}"
  108. ModuleName="{Binding Module}"
  109. IsError="{Binding IsErrorState}"
  110. />
  111. </Grid>
  112. <Grid Grid.Row="3" Grid.Column="2" Grid.RowSpan="2">
  113. <UserControls:PrewetMotionPanel HorizontalAlignment="Right" Margin="10,20,10,0" VerticalAlignment="Top"
  114. ModuleName="{Binding Module}" IsEnabled="{Binding IsEnabled}"
  115. StatusWord="{Binding StatusWord}"
  116. CurrentScanedTimes="{Binding ScanCount}"
  117. ScanSpeed="{Binding UpMaxSpeed}"
  118. LinmotName="{Binding LinmotName}"/>
  119. </Grid>
  120. </Grid>
  121. </UserControl>