335 lines
15 KiB
XML
335 lines
15 KiB
XML
<UserControl x:Class="SicUI.Models.PMs.PMMfcRorView"
|
|
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:forms="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
|
|
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
|
|
xmlns:cal="http://www.caliburn.org"
|
|
xmlns:local="clr-namespace:SicUI.Models.PMs"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="800" d:DesignWidth="1000">
|
|
<UserControl.Resources>
|
|
<Style TargetType="TextBlock" >
|
|
<Setter Property="FontSize"
|
|
Value="15" />
|
|
<Setter Property="TextAlignment"
|
|
Value="Center" />
|
|
<Setter Property="VerticalAlignment"
|
|
Value="Center" />
|
|
<Setter Property="TextWrapping"
|
|
Value="Wrap" />
|
|
<Setter Property="Margin"
|
|
Value="3"/>
|
|
<Setter Property="HorizontalAlignment"
|
|
Value="Left"/>
|
|
</Style>
|
|
|
|
|
|
<Style TargetType="Border" >
|
|
<Setter Property="Background"
|
|
Value="#FFD0DEEB" />
|
|
<Setter Property="BorderBrush"
|
|
Value="Gray"/>
|
|
<Setter Property="SnapsToDevicePixels"
|
|
Value="True"/>
|
|
<Setter Property="BorderThickness"
|
|
Value="1,0,1,1"/>
|
|
</Style>
|
|
|
|
<Style x:Key="InfBorder" TargetType="Border">
|
|
<Setter Property="Background"
|
|
Value="White" />
|
|
<Setter Property="BorderBrush"
|
|
Value="Gray"/>
|
|
<Setter Property="SnapsToDevicePixels"
|
|
Value="True"/>
|
|
<Setter Property="BorderThickness"
|
|
Value="0,0,1,1"/>
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="TextBox">
|
|
<Setter Property="BorderThickness"
|
|
Value="0"/>
|
|
<Setter Property="VerticalAlignment"
|
|
Value="Center"/>
|
|
<Setter Property="FontSize"
|
|
Value="15" />
|
|
<Setter Property="Margin"
|
|
Value="3"/>
|
|
</Style>
|
|
|
|
|
|
</UserControl.Resources>
|
|
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="400"/>
|
|
<ColumnDefinition />
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="430"/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
<StackPanel Orientation="Vertical" Margin="5" Width="320" HorizontalAlignment="Left">
|
|
<Border
|
|
CornerRadius="8,8,0,0"
|
|
BorderThickness="0"
|
|
Height="30"
|
|
Background="#FF243664" >
|
|
<TextBlock Text="ROR" FontSize="13" Foreground="White" HorizontalAlignment="Center" Padding="8,0,0,0"/>
|
|
</Border >
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
<StackPanel Width="200" HorizontalAlignment="Left" >
|
|
<Border >
|
|
<TextBlock Text="反应腔温度(K)" />
|
|
</Border>
|
|
<Border>
|
|
<TextBlock Text="压力记录时间间隔(s)" />
|
|
</Border>
|
|
<Border>
|
|
<TextBlock Text="腔体保压结果(mbar/ts)" />
|
|
</Border>
|
|
<Border>
|
|
<TextBlock Text="反应腔体积(ml)" />
|
|
</Border>
|
|
|
|
</StackPanel>
|
|
<StackPanel Width="120">
|
|
<Border Style="{StaticResource InfBorder}">
|
|
<TextBox Text="1" />
|
|
</Border>
|
|
<Border Style="{StaticResource InfBorder}">
|
|
<TextBox Text="2" />
|
|
</Border>
|
|
<Border Background="#FFD6D6D6" Style="{StaticResource InfBorder}">
|
|
<TextBlock Text="3" />
|
|
</Border>
|
|
<Border Background="#FFD6D6D6" Style="{StaticResource InfBorder}">
|
|
<TextBlock Text="4" />
|
|
</Border>
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
<StackPanel Height="20">
|
|
|
|
</StackPanel>
|
|
<Border
|
|
CornerRadius="8,8,0,0"
|
|
BorderThickness="0"
|
|
Height="30"
|
|
Background="#FF243664" >
|
|
<TextBlock Text="基准MFC" FontSize="13" Foreground="White" HorizontalAlignment="Center" Padding="8,0,0,0"/>
|
|
</Border >
|
|
<StackPanel Orientation="Horizontal">
|
|
<StackPanel Width="200" HorizontalAlignment="Left" >
|
|
<Border BorderThickness="1,0,1,1">
|
|
<TextBlock Text="基准MFC" />
|
|
</Border>
|
|
<Border >
|
|
<TextBlock Text="压力P1(mbar)" />
|
|
</Border>
|
|
<Border>
|
|
<TextBlock Text="压力P2(mbar)" />
|
|
</Border>
|
|
<Border>
|
|
<TextBlock Text="压力P3(mbar)" />
|
|
</Border>
|
|
<Border>
|
|
<TextBlock Text="压力P4(mbar)" />
|
|
</Border>
|
|
<Border>
|
|
<TextBlock Text="反应腔平均压差(mbar/ts)" />
|
|
</Border>
|
|
<Border>
|
|
<TextBlock Text="MFC实际流量(sccm)" />
|
|
</Border>
|
|
<Border>
|
|
<TextBlock Text="MFC设定流量(sccm)" />
|
|
</Border>
|
|
|
|
</StackPanel>
|
|
<StackPanel Width="120" HorizontalAlignment="Left">
|
|
<Border Background="#FFD6D6D6" BorderThickness="0,0,1,1">
|
|
<TextBlock Text="MFC27" />
|
|
</Border>
|
|
<Border Background="#FFD6D6D6" Style="{StaticResource InfBorder}">
|
|
<TextBlock Text="1" />
|
|
</Border>
|
|
<Border Background="#FFD6D6D6" Style="{StaticResource InfBorder}">
|
|
<TextBlock Text="2" />
|
|
</Border>
|
|
<Border Background="#FFD6D6D6" Style="{StaticResource InfBorder}">
|
|
<TextBlock Text="3" />
|
|
</Border>
|
|
<Border Background="#FFD6D6D6" Style="{StaticResource InfBorder}">
|
|
<TextBlock Text="4" />
|
|
</Border>
|
|
<Border Background="#FFD6D6D6" Style="{StaticResource InfBorder}">
|
|
<TextBlock Text="5" />
|
|
</Border>
|
|
<Border Background="#FFD6D6D6" Style="{StaticResource InfBorder}">
|
|
<TextBlock Text="6" />
|
|
</Border>
|
|
<Border Background="#FFD6D6D6" Style="{StaticResource InfBorder}">
|
|
<TextBlock Text="7" />
|
|
</Border>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
|
<StackPanel Grid.Row="1" Margin="5" Orientation="Vertical" >
|
|
<Border
|
|
CornerRadius="8,8,0,0"
|
|
BorderThickness="0"
|
|
Margin="0,0,0,10"
|
|
HorizontalAlignment="Left"
|
|
Width="320">
|
|
<StackPanel Orientation="Vertical" >
|
|
<Border
|
|
CornerRadius="8,8,0,0"
|
|
BorderThickness="0"
|
|
Background="#FF243664" >
|
|
<TextBlock Text="Set" FontSize="13" Foreground="White" HorizontalAlignment="Center" />
|
|
</Border >
|
|
<StackPanel Grid.Row="1" Orientation="Horizontal">
|
|
<ComboBox
|
|
Margin="5"
|
|
FontSize="15"
|
|
Height="30"
|
|
Width="120"
|
|
ItemsSource="{Binding MfcList}"
|
|
SelectedItem="{Binding MfcSelection}">
|
|
<i:Interaction.Triggers>
|
|
<i:EventTrigger EventName="SelectionChanged">
|
|
<cal:ActionMessage MethodName="MfcSelectionChanged"/>
|
|
</i:EventTrigger>
|
|
</i:Interaction.Triggers>
|
|
</ComboBox>
|
|
<TextBlock Text="设置流量" Margin="15,0,0,0"/>
|
|
<TextBox Text="{Binding RorData.Volume}" Width="100" Height="25"/>
|
|
|
|
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal">
|
|
<CheckBox VerticalContentAlignment="Center" Margin="5" IsChecked="{Binding IsSetStandardMFC}">设为标准MFC</CheckBox>
|
|
<Button
|
|
Width="65"
|
|
Height="30"
|
|
Margin="45,0,20,0"
|
|
Content="Save">
|
|
<i:Interaction.Triggers>
|
|
<i:EventTrigger EventName="Click">
|
|
<cal:ActionMessage MethodName="Save"/>
|
|
</i:EventTrigger>
|
|
</i:Interaction.Triggers>
|
|
</Button>
|
|
<Button
|
|
Width="65"
|
|
Height="30"
|
|
Margin="5"
|
|
Content="Start">
|
|
<i:Interaction.Triggers>
|
|
<i:EventTrigger EventName="Click">
|
|
<cal:ActionMessage MethodName="Start"/>
|
|
</i:EventTrigger>
|
|
</i:Interaction.Triggers>
|
|
</Button>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Border>
|
|
|
|
<Border CornerRadius="8,8,0,0"
|
|
Margin="0,10,0,0"
|
|
Width="320"
|
|
HorizontalAlignment="Left"
|
|
BorderThickness="1,0,1,1">
|
|
<StackPanel Orientation="Horizontal" Width="302">
|
|
<StackPanel Margin="0,15">
|
|
<StackPanel Orientation="Horizontal" Height="40">
|
|
<TextBlock
|
|
Text="Start Time" Width="75"/>
|
|
<WindowsFormsHost
|
|
Width="170"
|
|
Height="22"
|
|
Margin="20,0,0,0"
|
|
VerticalAlignment="Center"
|
|
FontFamily="Arial"
|
|
FontSize="14">
|
|
<forms:DateTimePicker
|
|
CustomFormat="yyyy/MM/dd HH:mm:ss"
|
|
Format="Custom"
|
|
Value="2023-1-1" />
|
|
</WindowsFormsHost>
|
|
</StackPanel>
|
|
<StackPanel Margin="0,5,0,0" Orientation="Horizontal" Height="40">
|
|
<TextBlock
|
|
Text="End Time" Width="75"/>
|
|
<WindowsFormsHost
|
|
Width="170"
|
|
Height="22"
|
|
Margin="20,0,0,0"
|
|
VerticalAlignment="Center"
|
|
FontFamily="Arial"
|
|
FontSize="14">
|
|
<forms:DateTimePicker
|
|
x:Name="wfTimeTo"
|
|
CustomFormat="yyyy/MM/dd HH:mm:ss"
|
|
Format="Custom"
|
|
Value="2023-1-1" />
|
|
</WindowsFormsHost>
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal" Margin="5">
|
|
<Button
|
|
Width="100"
|
|
Height="30"
|
|
Margin="5,0,5,0"
|
|
HorizontalAlignment="Right"
|
|
Content="Query">
|
|
<i:Interaction.Triggers>
|
|
<i:EventTrigger EventName="Click">
|
|
<cal:ActionMessage MethodName="Query">
|
|
<cal:ActionMessage.Parameters>
|
|
<cal:Parameter Value="123" />
|
|
</cal:ActionMessage.Parameters>
|
|
</cal:ActionMessage>
|
|
</i:EventTrigger>
|
|
</i:Interaction.Triggers>
|
|
</Button>
|
|
<Button
|
|
Width="100"
|
|
Height="30"
|
|
Margin="40,0,0,0"
|
|
HorizontalAlignment="Right"
|
|
Content="Append"
|
|
ToolTip="Append selected items to current chart">
|
|
<i:Interaction.Triggers>
|
|
<i:EventTrigger EventName="Click">
|
|
<cal:ActionMessage MethodName="Query">
|
|
<cal:ActionMessage.Parameters>
|
|
<cal:Parameter Value="123" />
|
|
</cal:ActionMessage.Parameters>
|
|
</cal:ActionMessage>
|
|
</i:EventTrigger>
|
|
</i:Interaction.Triggers>
|
|
</Button>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Border>
|
|
</StackPanel>
|
|
|
|
|
|
<Grid Grid.Column="1" Grid.RowSpan="2" Margin="10,5,0,0">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition/>
|
|
<RowDefinition Height="300"/>
|
|
</Grid.RowDefinitions>
|
|
</Grid>
|
|
</Grid>
|
|
</UserControl>
|