修改绑定添加页面布局
This commit is contained in:
parent
3f84fc0f9e
commit
b07aeae0dc
|
@ -31,6 +31,7 @@
|
|||
|
||||
<SolidColorBrush x:Key="ValueChangedCellBackground" Color="#c0f18d" />
|
||||
|
||||
|
||||
<DataTemplate x:Key="TemplateCellDisplay">
|
||||
<Border
|
||||
BorderBrush="{Binding IsHighlighted, Mode=OneWay, Converter={StaticResource IsHighlightedToBorderBrush}}"
|
||||
|
@ -2336,6 +2337,162 @@
|
|||
</exDg:XDataGrid>
|
||||
</Grid>
|
||||
</TabItem>
|
||||
<TabItem Header="123">
|
||||
<Grid>
|
||||
<Grid.Resources>
|
||||
<Style TargetType="TextBlock" >
|
||||
<Setter Property="FontSize" Value="12" />
|
||||
<Setter Property="TextAlignment" Value="Center" />
|
||||
<Setter Property="VerticalAlignment" Value="Center" />
|
||||
<Setter Property="TextWrapping" Value="Wrap" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Border">
|
||||
<Setter Property="Background" Value="{DynamicResource Table_BG_Title}" />
|
||||
<Setter Property="BorderBrush" Value="{DynamicResource Table_BD}"/>
|
||||
<Setter Property="SnapsToDevicePixels" Value="True"/>
|
||||
<Setter Property="Height" Value="30"/>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="InfBorder" TargetType="Border">
|
||||
<Setter Property="Background" Value="{DynamicResource Table_BG_Content}" />
|
||||
<Setter Property="BorderBrush" Value="{DynamicResource Table_BD}"/>
|
||||
<Setter Property="SnapsToDevicePixels" Value="True"/>
|
||||
<Setter Property="Height" Value="30"/>
|
||||
</Style>
|
||||
</Grid.Resources>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="300"/>
|
||||
<ColumnDefinition/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid Grid.Column="1">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="25"/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
<Border
|
||||
CornerRadius="8,8,0,0"
|
||||
Background="#FF243664" >
|
||||
<TextBlock
|
||||
Text="Process Monitor"
|
||||
FontSize="13"
|
||||
Foreground="White"
|
||||
HorizontalAlignment="Center"/>
|
||||
</Border >
|
||||
<StackPanel Grid.Row="1" Orientation="Horizontal">
|
||||
<StackPanel Width="120" HorizontalAlignment="Left" >
|
||||
<Border BorderThickness="1,1,1,1">
|
||||
<TextBlock Text="PM1 Recipe" />
|
||||
</Border>
|
||||
<Border BorderThickness="1,0,1,1">
|
||||
<TextBlock Text="PM1 Recipe" />
|
||||
</Border>
|
||||
<Border BorderThickness="1,0,1,1">
|
||||
<TextBlock Text="PM1 Recipe" />
|
||||
</Border>
|
||||
<Border BorderThickness="1,0,1,1">
|
||||
<TextBlock Text="PM1 Recipe" />
|
||||
</Border>
|
||||
<Border BorderThickness="1,0,1,1">
|
||||
<TextBlock Text="PM1 Recipe" />
|
||||
</Border>
|
||||
<Border BorderThickness="1,0,1,1">
|
||||
<TextBlock Text="PM1 Recipe" />
|
||||
</Border>
|
||||
</StackPanel>
|
||||
<StackPanel Width="120" HorizontalAlignment="Left">
|
||||
<Border BorderThickness="0,1,1,1" Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="" />
|
||||
</Border>
|
||||
<Border BorderThickness="0,0,1,1" Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="" />
|
||||
</Border>
|
||||
<Border BorderThickness="0,0,1,1" Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="" />
|
||||
</Border>
|
||||
<Border BorderThickness="0,0,1,1" Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="" />
|
||||
</Border>
|
||||
<Border BorderThickness="0,0,1,1" Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="" />
|
||||
</Border>
|
||||
<Border BorderThickness="0,0,1,1" Style="{StaticResource InfBorder}">
|
||||
<TextBlock Text="" />
|
||||
</Border>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
|
||||
|
||||
|
||||
|
||||
<!--<ListView Grid.Column="1">
|
||||
<ListView.View>
|
||||
<GridView>
|
||||
<GridViewColumn Width="100" Header="Ar">
|
||||
<GridViewColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding Index}" />
|
||||
</DataTemplate>
|
||||
</GridViewColumn.CellTemplate>
|
||||
</GridViewColumn>
|
||||
<GridViewColumn Width="100" Header="H2">
|
||||
<GridViewColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding Index}" />
|
||||
</DataTemplate>
|
||||
</GridViewColumn.CellTemplate>
|
||||
</GridViewColumn>
|
||||
<GridViewColumn Width="100" Header="C2H4">
|
||||
<GridViewColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding Index}" />
|
||||
</DataTemplate>
|
||||
</GridViewColumn.CellTemplate>
|
||||
</GridViewColumn>
|
||||
<GridViewColumn Width="100" Header="SiH4">
|
||||
<GridViewColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding Index}" />
|
||||
</DataTemplate>
|
||||
</GridViewColumn.CellTemplate>
|
||||
</GridViewColumn>
|
||||
<GridViewColumn Width="100" Header="HCL">
|
||||
<GridViewColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding Index}" />
|
||||
</DataTemplate>
|
||||
</GridViewColumn.CellTemplate>
|
||||
</GridViewColumn>
|
||||
<GridViewColumn Width="100" Header="N2">
|
||||
<GridViewColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding Index}" />
|
||||
</DataTemplate>
|
||||
</GridViewColumn.CellTemplate>
|
||||
</GridViewColumn>
|
||||
<GridViewColumn Width="100" Header="TCS">
|
||||
<GridViewColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding Index}" />
|
||||
</DataTemplate>
|
||||
</GridViewColumn.CellTemplate>
|
||||
</GridViewColumn>
|
||||
<GridViewColumn Width="100" Header="TMA">
|
||||
<GridViewColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding Index}" />
|
||||
</DataTemplate>
|
||||
</GridViewColumn.CellTemplate>
|
||||
</GridViewColumn>
|
||||
</GridView>
|
||||
</ListView.View>
|
||||
</ListView>-->
|
||||
</Grid>
|
||||
|
||||
</TabItem>
|
||||
|
||||
|
||||
</TabControl>
|
||||
</Canvas>
|
||||
</Grid>
|
||||
|
|
|
@ -1293,20 +1293,52 @@ namespace SicUI.Models.PMs
|
|||
public bool IsTMARunMode => V41.IsOpen && !V42.IsOpen;
|
||||
|
||||
[Subscription("ArFlow_Join.FeedBack")]
|
||||
public double ArFlow { get; set; }//=> CalArFlowSum();
|
||||
public double ArFlow_Join { get; set; }
|
||||
[Subscription("ArFlow_NotJoin.FeedBack")]
|
||||
public double ArFlow_NotJoin { get; set; }
|
||||
public double ArFlow => ArFlow_Join + ArFlow_NotJoin;//=> CalArFlowSum();
|
||||
|
||||
[Subscription("H2_Join.FeedBack")]
|
||||
public double H2Flow { get; set; }//=> CalH2FlowSum();
|
||||
public double H2_Join { get; set; }
|
||||
[Subscription("H2_NotJoin.FeedBack")]
|
||||
public double H2_NotJoin { get; set; }
|
||||
public double H2Flow => H2_Join + H2_NotJoin;//=> CalH2FlowSum();
|
||||
|
||||
[Subscription("PN2_Run.FeedBack")]
|
||||
public double PN2Flow { get; set; }//=> GetPN2MFCFlow(IsPN2RunMode) * _pn2FlowRatio;
|
||||
public double HCLFlow { get; set; }//=> GetHclMFCFlow(IsHCLRunMode) * _hclFlowRatio;
|
||||
public double PN2_Run { get; set; }
|
||||
[Subscription("PN2_Vent.FeedBack")]
|
||||
public double PN2_Vent { get; set; }
|
||||
public double PN2Flow => PN2_Run + PN2_Vent;//=> GetPN2MFCFlow(IsPN2RunMode) * _pn2FlowRatio;
|
||||
|
||||
[Subscription("HCL_Run.FeedBack")]
|
||||
public double HCL_Run { get; set; }
|
||||
[Subscription("HCL_Vent.FeedBack")]
|
||||
public double HCL_Vent { get; set; }
|
||||
public double HCLFlow => HCL_Run + HCL_Vent;//=> GetHclMFCFlow(IsHCLRunMode) * _hclFlowRatio;
|
||||
|
||||
[Subscription("SiH4_Run.FeedBack")]
|
||||
public double SiH4Flow { get; set; }//=> GetSiH4MFCFlow(IsSiH4RunMode) * _sih4FlowRatio;
|
||||
public double SiH4_Run { get; set; }
|
||||
[Subscription("SiH4_Vent.FeedBack")]
|
||||
public double SiH4_Vent { get; set; }
|
||||
public double SiH4Flow => SiH4_Run + SiH4_Vent;//=> GetSiH4MFCFlow(IsSiH4RunMode) * _sih4FlowRatio;
|
||||
|
||||
[Subscription("C2H4_Run.FeedBack")]
|
||||
public double C2H4Flow { get; set; }//=> GetC2H4MFCFlow(IsC2H4RunMode) * _C2H4FlowRatio;
|
||||
public double C2H4_Run { get; set; }
|
||||
[Subscription("C2H4_Vent.FeedBack")]
|
||||
public double C2H4_Vent { get; set; }
|
||||
public double C2H4Flow => C2H4_Run + C2H4_Vent;//=> GetC2H4MFCFlow(IsC2H4RunMode) * _C2H4FlowRatio;
|
||||
|
||||
[Subscription("TCS_Run.FeedBack")]
|
||||
public double TCSFlow { get; set; }//=> GetTCSMFCFlow(IsTCSRunMode) * _tcsFlowRatio;
|
||||
public double TCS_Run { get; set; }
|
||||
[Subscription("TCS4_Vent.FeedBack")]
|
||||
public double TCS_Vent { get; set; }
|
||||
public double TCSFlow => TCS_Run + TCS_Vent;//=> GetTCSMFCFlow(IsTCSRunMode) * _tcsFlowRatio;
|
||||
|
||||
[Subscription("TMA_Run.FeedBack")]
|
||||
public double TMAFlow { get; set; }//=> GetTMAMFCFlow(IsTMARunMode) * _tmaFlowRatio;
|
||||
public double TMA_Run { get; set; }
|
||||
[Subscription("TMA_Vent.FeedBack")]
|
||||
public double TMA_Vent { get; set; }
|
||||
public double TMAFlow => TMA_Run + TMA_Vent;//=> GetTMAMFCFlow(IsTMARunMode) * _tmaFlowRatio;
|
||||
|
||||
public bool ISPN2Flow => PN2Flow > 0 && IsPN2RunMode;
|
||||
public bool ISHCLFlow => HCLFlow > 0 && IsHCLRunMode;
|
||||
|
|
Loading…
Reference in New Issue