123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- <UserControl xmlns:Control="clr-namespace:MECF.Framework.UI.Core.Control;assembly=MECF.Framework.UI.Core"
- xmlns:UserControls="clr-namespace:CyberX8_Themes.UserControls;assembly=CyberX8_Themes"
- x:Class="CyberX8_MainPages.Views.PwtRecipeView"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:CyberX8_MainPages.Views"
- xmlns:prism="http://prismlibrary.com/"
- xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
- xmlns:converters="clr-namespace:CyberX8_MainPages.Converters"
- prism:ViewModelLocator.AutoWireViewModel="True"
- mc:Ignorable="d"
- d:DesignHeight="800" d:DesignWidth="1800" Loaded="UserControl_Loaded">
- <UserControl.Resources>
- <converters:BoolReverseConverter x:Key="boolReverseConverter"/>
- </UserControl.Resources>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="100"></RowDefinition>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="50"></ColumnDefinition>
- <ColumnDefinition Width="400"></ColumnDefinition>
- <ColumnDefinition Width="700"></ColumnDefinition>
- <ColumnDefinition Width="500"></ColumnDefinition>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <UserControls:RecipeFileLoadControl Grid.Row="1" Grid.Column="1" Title="Pwt Recipe" RecipeNodes="{Binding RecipeNodes}" OperationCommand="{Binding OperationCommand}"
- RecipeLocation="{Binding CurrentNode.RecipeLocation}" EditEnable="{Binding EditEnable}" CreateEnable="{Binding CreateEnable}" RecipeFileName="{Binding CurrentNode.FileName}"
- CreateCommand="{Binding CreateCommand}" EditCommand="{Binding EditCommand}"/>
- <Grid Grid.Row="1" Grid.Column="2">
- <Grid.RowDefinitions>
- <RowDefinition Height="70"></RowDefinition>
- <RowDefinition Height="70"></RowDefinition>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <GroupBox Header="PPID" Grid.Row="0">
- <TextBlock Text="{Binding Recipe.Ppid}" FontSize="20" VerticalAlignment="Center" TextAlignment="Center">
- </TextBlock>
- </GroupBox>
- <GroupBox Header="Description" Grid.Row="1">
- <TextBlock Text="{Binding Recipe.Description}" FontSize="18" VerticalAlignment="Center" TextAlignment="Center">
- </TextBlock>
- </GroupBox>
- <Grid Grid.Row="2">
- <GroupBox Header="DI Water Rinse">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition></RowDefinition>
- <RowDefinition Height="70"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid Grid.Row="0">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="300"></ColumnDefinition>
- <ColumnDefinition Width="100"></ColumnDefinition>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <GroupBox Header="Scanning" Grid.Column="0" Height="370">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="88"/>
- <RowDefinition Height="88"/>
- <RowDefinition Height="88"/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <UserControls:GroupTextBoxControl Grid.Row="0" Title="Number of Scans" Unit="" MinValue="1" MaxValue="99" IntValue="{Binding Recipe.NumberOfScans,Mode=TwoWay}" ValidResult="{Binding PropertyValidResultDic[NumberOfScans],Mode=TwoWay}" Width="290"/>
- <GroupBox Grid.Row="1" Header="Keepwet Enable" IsEnabled="{Binding Enable}">
- <Grid>
- <RadioButton Content="False" Height="35" Width="100" VerticalContentAlignment="Center" HorizontalAlignment="Right"
- IsChecked="{Binding Recipe.KeepWet,Converter={StaticResource boolReverseConverter}}" Margin="0,15,0,16"></RadioButton>
- <RadioButton Content="True" Height="35" Width="100" VerticalContentAlignment="Center" HorizontalAlignment="Left"
- IsChecked="{Binding Recipe.KeepWet}" Margin="40,15,0,16" ></RadioButton>
- </Grid>
- </GroupBox>
- </Grid>
- </GroupBox>
-
- </Grid>
- </Grid>
- </GroupBox>
- </Grid>
- </Grid>
- <Grid Grid.Row="1" Grid.Column="3">
- <Grid.RowDefinitions>
- <RowDefinition Height="70"></RowDefinition>
- <RowDefinition Height="70"></RowDefinition>
- <RowDefinition/>
- <RowDefinition Height="70"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid Grid.Row="0" IsEnabled="{Binding Enable}">
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Button Grid.Column="0" Style="{StaticResource SysBtnStyle}" Content="Save" Height="35" Width="100" Command="{Binding SaveRecipeCommand}"></Button>
- <Button Grid.Column="1" Style="{StaticResource SysBtnStyle}" Content="SaveAs" Height="35" Width="100" Command="{Binding SaveAsRecipeCommand}"></Button>
- </Grid>
- </Grid>
- </Grid>
- </UserControl>
|