参数配置-全部参数的启用

This commit is contained in:
2025-04-10 20:29:44 +08:00
parent 8bb1931184
commit 4a07d45b25
3 changed files with 1461 additions and 1377 deletions

View File

@@ -54,29 +54,89 @@ namespace CapMachine.Model
[Column(Name = "SpeedCycle")]
public int SpeedCycle { get; set; }
/// <summary>
/// ///////////////////////////////////////////导航属性///////////////////////////////////////////////////////
/// </summary>
public List<MeterSpeed>? MeterSpeeds { get; set; }=new List<MeterSpeed>();
public List<MeterCond1Temp>? MeterCond1Temps { get; set; }=new List<MeterCond1Temp>();
public List<MeterCond2Temp>? MeterCond2Temps { get; set; }= new List<MeterCond2Temp>();
/// <summary>
/// 转速
/// </summary>
public List<MeterSpeed>? MeterSpeeds { get; set; } = new List<MeterSpeed>();
/// <summary>
/// COND1温度/冷凝器出口水温
/// </summary>
public List<MeterCond1Temp>? MeterCond1Temps { get; set; } = new List<MeterCond1Temp>();
/// <summary>
/// COND2温度
/// </summary>
public List<MeterCond2Temp>? MeterCond2Temps { get; set; } = new List<MeterCond2Temp>();
/// <summary>
/// COND2压力
/// </summary>
public List<MeterCond2Press>? MeterCond2Presss { get; set; } = new List<MeterCond2Press>();
public List<MeterEVAPExpTemp>? MeterEVAPExpTemps { get; set; }=new List<MeterEVAPExpTemp>();
public List<MeterExPress>? MeterExPresss { get; set; }=new List<MeterExPress>();
/// <summary>
/// EVAP出口温度
/// </summary>
public List<MeterEVAPExpTemp>? MeterEVAPExpTemps { get; set; } = new List<MeterEVAPExpTemp>();
/// <summary>
/// 排气压力
/// </summary>
public List<MeterExPress>? MeterExPresss { get; set; } = new List<MeterExPress>();
/// <summary>
/// HV电压
/// </summary>
public List<MeterHVVol>? MeterHVVols { get; set; } = new List<MeterHVVol>();
/// <summary>
/// 吸气压力
/// </summary>
public List<MeterInhPress>? MeterInhPresss { get; set; } = new List<MeterInhPress>();
/// <summary>
/// 吸气温度
/// </summary>
public List<MeterInhTemp>? MeterInhTemps { get; set; } = new List<MeterInhTemp>();
/// <summary>
/// 润滑油压力
/// </summary>
public List<MeterLubePress>? MeterLubePresss { get; set; } = new List<MeterLubePress>();
/// <summary>
/// LV电压
/// </summary>
public List<MeterLVVol>? MeterLVVols { get; set; } = new List<MeterLVVol>();
public List<MeterOCR>? MeterOCRs { get; set; }=new List<MeterOCR>();
public List<MeterOS1Temp>? MeterOS1Temps { get; set; }=new List<MeterOS1Temp>();
public List<MeterOS2Temp>? MeterOS2Temps { get; set; }=new List<MeterOS2Temp>();
public List<MeterPTCEntTemp>? MeterPTCEntTemps { get; set; }=new List<MeterPTCEntTemp>();
public List<MeterPTCFlow>? MeterPTCFlows { get; set; }=new List<MeterPTCFlow>();
/// <summary>
/// OCR
/// </summary>
public List<MeterOCR>? MeterOCRs { get; set; } = new List<MeterOCR>();
/// <summary>
/// OS1温度
/// </summary>
public List<MeterOS1Temp>? MeterOS1Temps { get; set; } = new List<MeterOS1Temp>();
/// <summary>
/// OS2温度/吸气混合器温度
/// </summary>
public List<MeterOS2Temp>? MeterOS2Temps { get; set; } = new List<MeterOS2Temp>();
/// <summary>
/// PTC入口水温
/// </summary>
public List<MeterPTCEntTemp>? MeterPTCEntTemps { get; set; } = new List<MeterPTCEntTemp>();
/// <summary>
/// PTC流量
/// </summary>
public List<MeterPTCFlow>? MeterPTCFlows { get; set; } = new List<MeterPTCFlow>();
/// <summary>
/// PTC功率
/// </summary>
public List<MeterPTCPw>? MeterPTCPws { get; set; } = new List<MeterPTCPw>();
public List<MeterEnvRH>? MeterEnvRHs { get; set; }=new List<MeterEnvRH>();
public List<MeterEnvTemp>? MeterEnvTemps { get; set; }=new List<MeterEnvTemp>();
/// <summary>
/// 试验箱湿度
/// </summary>
public List<MeterEnvRH>? MeterEnvRHs { get; set; } = new List<MeterEnvRH>();
/// <summary>
/// 试验箱温度
/// </summary>
public List<MeterEnvTemp>? MeterEnvTemps { get; set; } = new List<MeterEnvTemp>();
/// <summary>
/// ///////////////////////////////////////////导航属性///////////////////////////////////////////////////////

File diff suppressed because it is too large Load Diff

View File

@@ -584,6 +584,7 @@
</DataGridTextColumn.Header>
</DataGridTextColumn>
<!-- 压缩机转速 -->
<DataGridTemplateColumn CanUserSort="False">
<DataGridTemplateColumn.Header>
<TextBlock FontWeight="Bold" Text="压缩机转速&#x0A;信息" />
@@ -620,6 +621,7 @@
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<!-- 排气压力 -->
<DataGridTemplateColumn>
<DataGridTemplateColumn.Header>
<TextBlock FontWeight="Bold" Text="排气压力&#x0A;(BarA)" />
@@ -631,6 +633,7 @@
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<!-- 吸气压力 -->
<DataGridTemplateColumn>
<DataGridTemplateColumn.Header>
<TextBlock FontWeight="Bold" Text="吸气压力&#x0A;(BarA)" />
@@ -642,6 +645,7 @@
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<!-- 吸气温度 -->
<DataGridTemplateColumn>
<DataGridTemplateColumn.Header>
<TextBlock FontWeight="Bold" Text="吸气温度&#x0A;(℃)" />
@@ -653,9 +657,10 @@
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<!-- COND1温度/冷凝器出口水温 -->
<DataGridTemplateColumn>
<DataGridTemplateColumn.Header>
<TextBlock FontWeight="Bold" Text="冷凝器出口水温&#x0A;(℃)" />
<TextBlock FontWeight="Bold" Text="COND1温度&#x0A;(℃)" />
</DataGridTemplateColumn.Header>
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
@@ -664,18 +669,8 @@
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<!-- 润滑油压力 -->
<DataGridTemplateColumn>
<DataGridTemplateColumn.Header>
<TextBlock FontWeight="Bold" Text="吸气混合器温度&#x0A;(℃)" />
</DataGridTemplateColumn.Header>
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBlock Text="{Binding MeterOS2TempInfo}" TextWrapping="Wrap" />
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<!--<DataGridTemplateColumn>
<DataGridTemplateColumn.Header>
<TextBlock FontWeight="Bold" Text="润滑油压力&#x0A;(BarA)" />
</DataGridTemplateColumn.Header>
@@ -686,6 +681,7 @@
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<!-- COND2压力 -->
<DataGridTemplateColumn>
<DataGridTemplateColumn.Header>
<TextBlock FontWeight="Bold" Text="COND2压力&#x0A;(BarA)" />
@@ -697,6 +693,7 @@
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<!-- OCR -->
<DataGridTemplateColumn>
<DataGridTemplateColumn.Header>
<TextBlock FontWeight="Bold" Text="OCR&#x0A;(%)" />
@@ -706,8 +703,9 @@
<TextBlock Text="{Binding MeterOCRInfo}" TextWrapping="Wrap" />
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>-->
</DataGridTemplateColumn>
<!-- HV电压 -->
<DataGridTemplateColumn>
<DataGridTemplateColumn.Header>
<TextBlock FontWeight="Bold" Text="HV电压&#x0A;(V)" />
@@ -719,6 +717,7 @@
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<!-- LV电压 -->
<DataGridTemplateColumn>
<DataGridTemplateColumn.Header>
<TextBlock FontWeight="Bold" Text="LV电压&#x0A;(V)" />
@@ -730,6 +729,7 @@
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<!-- 压缩机环境温度 -->
<DataGridTemplateColumn>
<DataGridTemplateColumn.Header>
<TextBlock FontWeight="Bold" Text="压缩机环境温度&#x0A;(℃)" />
@@ -741,7 +741,7 @@
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<!-- 压缩机环境湿度 -->
<DataGridTemplateColumn>
<DataGridTemplateColumn.Header>
<TextBlock FontWeight="Bold" Text="压缩机环境湿度&#x0A;(%)" />
@@ -753,7 +753,44 @@
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<!--<DataGridTemplateColumn>
<!-- OS1温度 -->
<DataGridTemplateColumn>
<DataGridTemplateColumn.Header>
<TextBlock FontWeight="Bold" Text="OS1温度&#x0A;(℃)" />
</DataGridTemplateColumn.Header>
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBlock Text="{Binding MeterOS1TempInfo}" TextWrapping="Wrap" />
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<!-- OS2温度/吸气混合器温度 -->
<DataGridTemplateColumn>
<DataGridTemplateColumn.Header>
<TextBlock FontWeight="Bold" Text="OS2温度&#x0A;(℃)" />
</DataGridTemplateColumn.Header>
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBlock Text="{Binding MeterOS2TempInfo}" TextWrapping="Wrap" />
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<!-- COND2温度 -->
<DataGridTemplateColumn>
<DataGridTemplateColumn.Header>
<TextBlock FontWeight="Bold" Text="COND2温度&#x0A;(℃)" />
</DataGridTemplateColumn.Header>
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBlock Text="{Binding MeterCond2TempInfo}" TextWrapping="Wrap" />
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<!-- EVAP出口温度 -->
<DataGridTemplateColumn>
<DataGridTemplateColumn.Header>
<TextBlock FontWeight="Bold" Text="EVAP出口温度(℃)&#x0A;(℃)" />
</DataGridTemplateColumn.Header>
@@ -764,39 +801,7 @@
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<DataGridTemplateColumn>
<DataGridTemplateColumn.Header>
<TextBlock FontWeight="Bold" Text="OS1温度&#x0A;(℃)" />
</DataGridTemplateColumn.Header>
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBlock Text="{Binding MeterOS1TempInfo}" TextWrapping="Wrap" />
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>-->
<!--<DataGridTemplateColumn>
<DataGridTemplateColumn.Header>
<TextBlock FontWeight="Bold" Text="PTC入口温度 &#x0A;(℃)" />
</DataGridTemplateColumn.Header>
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBlock Text="{Binding MeterPTCEntTempInfo}" TextWrapping="Wrap" />
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<DataGridTemplateColumn>
<DataGridTemplateColumn.Header>
<TextBlock FontWeight="Bold" Text="PTC流量&#x0A;(L/min)" />
</DataGridTemplateColumn.Header>
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBlock Text="{Binding MeterPTCFlowInfo}" TextWrapping="Wrap" />
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<!-- PTC功率 -->
<DataGridTemplateColumn>
<DataGridTemplateColumn.Header>
<TextBlock FontWeight="Bold" Text="PTC功率&#x0A;(W)" />
@@ -808,25 +813,30 @@
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<!-- PTC流量 -->
<DataGridTemplateColumn>
<DataGridTemplateColumn.Header>
<TextBlock FontWeight="Bold" Text="COND2温度&#x0A;()" />
<TextBlock FontWeight="Bold" Text="PTC流量&#x0A;(L/min)" />
</DataGridTemplateColumn.Header>
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBlock Text="{Binding MeterCond2TempInfo}" TextWrapping="Wrap" />
<TextBlock Text="{Binding MeterPTCFlowInfo}" TextWrapping="Wrap" />
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>-->
</DataGridTemplateColumn>
<!--<DataGridTemplateColumn Width="200" Header="压缩机转速&#x0A;信息">
<!-- PTC入口水温 -->
<DataGridTemplateColumn>
<DataGridTemplateColumn.Header>
<TextBlock FontWeight="Bold" Text="PTC入口水温 &#x0A;(℃)" />
</DataGridTemplateColumn.Header>
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBlock Text="{Binding SpeedInfo}" TextWrapping="Wrap" />
<TextBlock Text="{Binding MeterPTCEntTempInfo}" TextWrapping="Wrap" />
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>-->
</DataGridTemplateColumn>
</DataGrid.Columns>
<i:Interaction.Triggers>
@@ -1381,6 +1391,7 @@
</TabControl.Resources>
<!-- 排气压力 -->
<TabItem IsSelected="True">
<TabItem.Header>
<StackPanel
@@ -1415,6 +1426,7 @@
TotalSlopTime="{Binding MeterExPressExDto.SlopTime}" />
</TabItem>
<!-- 吸气压力 -->
<TabItem>
<TabItem.Header>
<StackPanel
@@ -1449,6 +1461,7 @@
TotalSlopTime="{Binding MeterInhPressExDto.SlopTime}" />
</TabItem>
<!-- 吸气温度 -->
<TabItem>
<TabItem.Header>
<StackPanel
@@ -1483,7 +1496,7 @@
TotalSlopTime="{Binding MeterInhTempExDto.SlopTime}" />
</TabItem>
<!-- COND1温度/冷凝器出口水温 -->
<TabItem>
<TabItem.Header>
<StackPanel
@@ -1518,7 +1531,8 @@
TotalSlopTime="{Binding MeterCond1TempExDto.SlopTime}" />
</TabItem>
<!--<TabItem>
<!-- 润滑油压力 -->
<TabItem>
<TabItem.Header>
<StackPanel
Width="90"
@@ -1552,40 +1566,7 @@
TotalSlopTime="{Binding MeterLubePressExDto.SlopTime}" />
</TabItem>
<TabItem>
<TabItem.Header>
<StackPanel
Width="90"
Margin="-20"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontSize="12"
FontWeight="Bold"
Text="COND2温度&#10;(℃)" />
</StackPanel>
</TabItem.Header>
<Controls:MeterConfig
Margin="5,5,0,5"
AddCommand="{Binding ProStepCond2TempAddCmd}"
ConstSlopSelectedIndex="{Binding ProStepCond2TempSwitchConstSlopIndex, Mode=TwoWay}"
ConstantSaveCommand="{Binding ProStepCond2TempConstantSaveCmd}"
ConstantValue="{Binding SelectedConstCond2TempValue, Mode=TwoWay}"
Cycle="{Binding MeterCond2TempExDto.SlopCycle}"
DeleteCommand="{Binding ProStepCond2TempDeleteCmd}"
EditCommand="{Binding ProStepCond2TempEditCmd}"
IsTimeOk="{Binding MeterCond2TempExDto.IsTimeOk}"
ListMeter="{Binding ListSlopMeterCond2TempItems}"
MeterName="COND2温度"
MeterSelectedChangedCmd="{Binding MeterCond2TempSlopSelectedChangedCmd}"
ParConfigCommand="{Binding MeterCond2TempParConfigCmd}"
SelectedMeter="{Binding SelectedSlopCond2Temp, Mode=TwoWay}"
SwitchConstSlopCommand="{Binding MeterCond2TempSwitchConstSlopCmd}"
TotalSlopTime="{Binding MeterCond2TempExDto.SlopTime}" />
</TabItem>
<!-- COND2压力 -->
<TabItem>
<TabItem.Header>
<StackPanel
@@ -1620,6 +1601,7 @@
TotalSlopTime="{Binding MeterCond2PressExDto.SlopTime}" />
</TabItem>
<!-- OCR -->
<TabItem>
<TabItem.Header>
<StackPanel
@@ -1632,30 +1614,29 @@
VerticalAlignment="Center"
FontSize="12"
FontWeight="Bold"
Text="EVAP出口温度&#10;()" />
Text="OCR&#10;(%)" />
</StackPanel>
</TabItem.Header>
<Controls:MeterConfig
Margin="5,5,0,5"
AddCommand="{Binding ProStepEVAPExpTempAddCmd}"
ConstSlopSelectedIndex="{Binding ProStepEVAPExpTempSwitchConstSlopIndex, Mode=TwoWay}"
ConstantSaveCommand="{Binding ProStepEVAPExpTempConstantSaveCmd}"
ConstantValue="{Binding SelectedConstEVAPExpTempValue, Mode=TwoWay}"
Cycle="{Binding MeterEVAPExpTempExDto.SlopCycle}"
DeleteCommand="{Binding ProStepEVAPExpTempDeleteCmd}"
EditCommand="{Binding ProStepEVAPExpTempEditCmd}"
IsTimeOk="{Binding MeterEVAPExpTempExDto.IsTimeOk}"
ListMeter="{Binding ListSlopMeterEVAPExpTempItems}"
MeterName="EVAP出口温度"
MeterSelectedChangedCmd="{Binding MeterEVAPExpTempSlopSelectedChangedCmd}"
ParConfigCommand="{Binding MeterEVAPExpTempParConfigCmd}"
SelectedMeter="{Binding SelectedSlopEVAPExpTemp, Mode=TwoWay}"
SwitchConstSlopCommand="{Binding MeterEVAPExpTempSwitchConstSlopCmd}"
TotalSlopTime="{Binding MeterEVAPExpTempExDto.SlopTime}" />
</TabItem>-->
AddCommand="{Binding ProStepOCRAddCmd}"
ConstSlopSelectedIndex="{Binding ProStepOCRSwitchConstSlopIndex, Mode=TwoWay}"
ConstantSaveCommand="{Binding ProStepOCRConstantSaveCmd}"
ConstantValue="{Binding SelectedConstOCRValue, Mode=TwoWay}"
Cycle="{Binding MeterOCRExDto.SlopCycle}"
DeleteCommand="{Binding ProStepOCRDeleteCmd}"
EditCommand="{Binding ProStepOCREditCmd}"
IsTimeOk="{Binding MeterOCRExDto.IsTimeOk}"
ListMeter="{Binding ListSlopMeterOCRItems}"
MeterName="OCR"
MeterSelectedChangedCmd="{Binding MeterOCRSlopSelectedChangedCmd}"
ParConfigCommand="{Binding MeterOCRParConfigCmd}"
SelectedMeter="{Binding SelectedSlopOCR, Mode=TwoWay}"
SwitchConstSlopCommand="{Binding MeterOCRSwitchConstSlopCmd}"
TotalSlopTime="{Binding MeterOCRExDto.SlopTime}" />
</TabItem>
<!-- HV电压 -->
<TabItem>
<TabItem.Header>
<StackPanel
@@ -1690,7 +1671,7 @@
TotalSlopTime="{Binding MeterHVVolExDto.SlopTime}" />
</TabItem>
<!-- LV电压 -->
<TabItem>
<TabItem.Header>
<StackPanel
@@ -1725,40 +1706,7 @@
TotalSlopTime="{Binding MeterLVVolExDto.SlopTime}" />
</TabItem>
<!--<TabItem>
<TabItem.Header>
<StackPanel
Width="90"
Margin="-20"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontSize="12"
FontWeight="Bold"
Text="OCR&#10;(%)" />
</StackPanel>
</TabItem.Header>
<Controls:MeterConfig
Margin="5,5,0,5"
AddCommand="{Binding ProStepOCRAddCmd}"
ConstSlopSelectedIndex="{Binding ProStepOCRSwitchConstSlopIndex, Mode=TwoWay}"
ConstantSaveCommand="{Binding ProStepOCRConstantSaveCmd}"
ConstantValue="{Binding SelectedConstOCRValue, Mode=TwoWay}"
Cycle="{Binding MeterOCRExDto.SlopCycle}"
DeleteCommand="{Binding ProStepOCRDeleteCmd}"
EditCommand="{Binding ProStepOCREditCmd}"
IsTimeOk="{Binding MeterOCRExDto.IsTimeOk}"
ListMeter="{Binding ListSlopMeterOCRItems}"
MeterName="OCR"
MeterSelectedChangedCmd="{Binding MeterOCRSlopSelectedChangedCmd}"
ParConfigCommand="{Binding MeterOCRParConfigCmd}"
SelectedMeter="{Binding SelectedSlopOCR, Mode=TwoWay}"
SwitchConstSlopCommand="{Binding MeterOCRSwitchConstSlopCmd}"
TotalSlopTime="{Binding MeterOCRExDto.SlopTime}" />
</TabItem>
<!-- 压缩机环境温度 -->
<TabItem>
<TabItem.Header>
<StackPanel
@@ -1771,163 +1719,29 @@
VerticalAlignment="Center"
FontSize="12"
FontWeight="Bold"
Text="OS1温度&#10;(℃)" />
Text="压缩机环境温度&#10;(℃)" />
</StackPanel>
</TabItem.Header>
<Controls:MeterConfig
Margin="5,5,0,5"
AddCommand="{Binding ProStepOS1TempAddCmd}"
ConstSlopSelectedIndex="{Binding ProStepOS1TempSwitchConstSlopIndex, Mode=TwoWay}"
ConstantSaveCommand="{Binding ProStepOS1TempConstantSaveCmd}"
ConstantValue="{Binding SelectedConstOS1TempValue, Mode=TwoWay}"
Cycle="{Binding MeterOS1TempExDto.SlopCycle}"
DeleteCommand="{Binding ProStepOS1TempDeleteCmd}"
EditCommand="{Binding ProStepOS1TempEditCmd}"
IsTimeOk="{Binding MeterOS1TempExDto.IsTimeOk}"
ListMeter="{Binding ListSlopMeterOS1TempItems}"
MeterName="OS1温度"
MeterSelectedChangedCmd="{Binding MeterOS1TempSlopSelectedChangedCmd}"
ParConfigCommand="{Binding MeterOS1TempParConfigCmd}"
SelectedMeter="{Binding SelectedSlopOS1Temp, Mode=TwoWay}"
SwitchConstSlopCommand="{Binding MeterOS1TempSwitchConstSlopCmd}"
TotalSlopTime="{Binding MeterOS1TempExDto.SlopTime}" />
</TabItem>-->
<TabItem>
<TabItem.Header>
<StackPanel
Width="90"
Margin="-20"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontSize="12"
FontWeight="Bold"
Text="OS2温度&#10;(℃)" />
</StackPanel>
</TabItem.Header>
<Controls:MeterConfig
Margin="5,5,0,5"
AddCommand="{Binding ProStepOS2TempAddCmd}"
ConstSlopSelectedIndex="{Binding ProStepOS2TempSwitchConstSlopIndex, Mode=TwoWay}"
ConstantSaveCommand="{Binding ProStepOS2TempConstantSaveCmd}"
ConstantValue="{Binding SelectedConstOS2TempValue, Mode=TwoWay}"
Cycle="{Binding MeterOS2TempExDto.SlopCycle}"
DeleteCommand="{Binding ProStepOS2TempDeleteCmd}"
EditCommand="{Binding ProStepOS2TempEditCmd}"
IsTimeOk="{Binding MeterOS2TempExDto.IsTimeOk}"
ListMeter="{Binding ListSlopMeterOS2TempItems}"
MeterName="OS2温度"
MeterSelectedChangedCmd="{Binding MeterOS2TempSlopSelectedChangedCmd}"
ParConfigCommand="{Binding MeterOS2TempParConfigCmd}"
SelectedMeter="{Binding SelectedSlopOS2Temp, Mode=TwoWay}"
SwitchConstSlopCommand="{Binding MeterOS2TempSwitchConstSlopCmd}"
TotalSlopTime="{Binding MeterOS2TempExDto.SlopTime}" />
AddCommand="{Binding ProStepEnvTempAddCmd}"
ConstSlopSelectedIndex="{Binding ProStepEnvTempSwitchConstSlopIndex, Mode=TwoWay}"
ConstantSaveCommand="{Binding ProStepEnvTempConstantSaveCmd}"
ConstantValue="{Binding SelectedConstEnvTempValue, Mode=TwoWay}"
Cycle="{Binding MeterEnvTempExDto.SlopCycle}"
DeleteCommand="{Binding ProStepEnvTempDeleteCmd}"
EditCommand="{Binding ProStepEnvTempEditCmd}"
IsTimeOk="{Binding MeterEnvTempExDto.IsTimeOk}"
ListMeter="{Binding ListSlopMeterEnvTempItems}"
MeterName="压缩机环境温度"
MeterSelectedChangedCmd="{Binding MeterEnvTempSlopSelectedChangedCmd}"
ParConfigCommand="{Binding MeterEnvTempParConfigCmd}"
SelectedMeter="{Binding SelectedSlopEnvTemp, Mode=TwoWay}"
SwitchConstSlopCommand="{Binding MeterEnvTempSwitchConstSlopCmd}"
TotalSlopTime="{Binding MeterEnvTempExDto.SlopTime}" />
</TabItem>
<!--<TabItem>
<TabItem.Header>
<StackPanel
Width="90"
Margin="-20"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontSize="12"
FontWeight="Bold"
Text="PTC入口温度&#10;(℃)" />
</StackPanel>
</TabItem.Header>
<Controls:MeterConfig
Margin="5,5,0,5"
AddCommand="{Binding ProStepPTCEntTempAddCmd}"
ConstSlopSelectedIndex="{Binding ProStepPTCEntTempSwitchConstSlopIndex, Mode=TwoWay}"
ConstantSaveCommand="{Binding ProStepPTCEntTempConstantSaveCmd}"
ConstantValue="{Binding SelectedConstPTCEntTempValue, Mode=TwoWay}"
Cycle="{Binding MeterPTCEntTempExDto.SlopCycle}"
DeleteCommand="{Binding ProStepPTCEntTempDeleteCmd}"
EditCommand="{Binding ProStepPTCEntTempEditCmd}"
IsTimeOk="{Binding MeterPTCEntTempExDto.IsTimeOk}"
ListMeter="{Binding ListSlopMeterPTCEntTempItems}"
MeterName="PTC入口温度"
MeterSelectedChangedCmd="{Binding MeterPTCEntTempSlopSelectedChangedCmd}"
ParConfigCommand="{Binding MeterPTCEntTempParConfigCmd}"
SelectedMeter="{Binding SelectedSlopPTCEntTemp, Mode=TwoWay}"
SwitchConstSlopCommand="{Binding MeterPTCEntTempSwitchConstSlopCmd}"
TotalSlopTime="{Binding MeterPTCEntTempExDto.SlopTime}" />
</TabItem>
<TabItem>
<TabItem.Header>
<StackPanel
Width="90"
Margin="-20"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontSize="12"
FontWeight="Bold"
Text="PTC流量&#10;(L/min)" />
</StackPanel>
</TabItem.Header>
<Controls:MeterConfig
Margin="5,5,0,5"
AddCommand="{Binding ProStepPTCFlowAddCmd}"
ConstSlopSelectedIndex="{Binding ProStepPTCFlowSwitchConstSlopIndex, Mode=TwoWay}"
ConstantSaveCommand="{Binding ProStepPTCFlowConstantSaveCmd}"
ConstantValue="{Binding SelectedConstPTCFlowValue, Mode=TwoWay}"
Cycle="{Binding MeterPTCFlowExDto.SlopCycle}"
DeleteCommand="{Binding ProStepPTCFlowDeleteCmd}"
EditCommand="{Binding ProStepPTCFlowEditCmd}"
IsTimeOk="{Binding MeterPTCFlowExDto.IsTimeOk}"
ListMeter="{Binding ListSlopMeterPTCFlowItems}"
MeterName="PTC流量"
MeterSelectedChangedCmd="{Binding MeterPTCFlowSlopSelectedChangedCmd}"
ParConfigCommand="{Binding MeterPTCFlowParConfigCmd}"
SelectedMeter="{Binding SelectedSlopPTCFlow, Mode=TwoWay}"
SwitchConstSlopCommand="{Binding MeterPTCFlowSwitchConstSlopCmd}"
TotalSlopTime="{Binding MeterPTCFlowExDto.SlopTime}" />
</TabItem>
<TabItem>
<TabItem.Header>
<StackPanel
Width="90"
Margin="-20"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontSize="12"
FontWeight="Bold"
Text="PTC功率&#10;(W)" />
</StackPanel>
</TabItem.Header>
<Controls:MeterConfig
Margin="5,5,0,5"
AddCommand="{Binding ProStepPTCPwAddCmd}"
ConstSlopSelectedIndex="{Binding ProStepPTCPwSwitchConstSlopIndex, Mode=TwoWay}"
ConstantSaveCommand="{Binding ProStepPTCPwConstantSaveCmd}"
ConstantValue="{Binding SelectedConstPTCPwValue, Mode=TwoWay}"
Cycle="{Binding MeterPTCPwExDto.SlopCycle}"
DeleteCommand="{Binding ProStepPTCPwDeleteCmd}"
EditCommand="{Binding ProStepPTCPwEditCmd}"
IsTimeOk="{Binding MeterPTCPwExDto.IsTimeOk}"
ListMeter="{Binding ListSlopMeterPTCPwItems}"
MeterName="PTC功率"
MeterSelectedChangedCmd="{Binding MeterPTCPwSlopSelectedChangedCmd}"
ParConfigCommand="{Binding MeterPTCPwParConfigCmd}"
SelectedMeter="{Binding SelectedSlopPTCPw, Mode=TwoWay}"
SwitchConstSlopCommand="{Binding MeterPTCPwSwitchConstSlopCmd}"
TotalSlopTime="{Binding MeterPTCPwExDto.SlopTime}" />
</TabItem>-->
<!-- 压缩机环境湿度 -->
<TabItem>
<TabItem.Header>
<StackPanel
@@ -1962,6 +1776,7 @@
TotalSlopTime="{Binding MeterEnvRHExDto.SlopTime}" />
</TabItem>
<!-- OS1温度 -->
<TabItem>
<TabItem.Header>
<StackPanel
@@ -1974,26 +1789,236 @@
VerticalAlignment="Center"
FontSize="12"
FontWeight="Bold"
Text="压缩机环境温度&#10;(℃)" />
Text="OS1温度&#10;(℃)" />
</StackPanel>
</TabItem.Header>
<Controls:MeterConfig
Margin="5,5,0,5"
AddCommand="{Binding ProStepEnvTempAddCmd}"
ConstSlopSelectedIndex="{Binding ProStepEnvTempSwitchConstSlopIndex, Mode=TwoWay}"
ConstantSaveCommand="{Binding ProStepEnvTempConstantSaveCmd}"
ConstantValue="{Binding SelectedConstEnvTempValue, Mode=TwoWay}"
Cycle="{Binding MeterEnvTempExDto.SlopCycle}"
DeleteCommand="{Binding ProStepEnvTempDeleteCmd}"
EditCommand="{Binding ProStepEnvTempEditCmd}"
IsTimeOk="{Binding MeterEnvTempExDto.IsTimeOk}"
ListMeter="{Binding ListSlopMeterEnvTempItems}"
MeterName="压缩机环境温度"
MeterSelectedChangedCmd="{Binding MeterEnvTempSlopSelectedChangedCmd}"
ParConfigCommand="{Binding MeterEnvTempParConfigCmd}"
SelectedMeter="{Binding SelectedSlopEnvTemp, Mode=TwoWay}"
SwitchConstSlopCommand="{Binding MeterEnvTempSwitchConstSlopCmd}"
TotalSlopTime="{Binding MeterEnvTempExDto.SlopTime}" />
AddCommand="{Binding ProStepOS1TempAddCmd}"
ConstSlopSelectedIndex="{Binding ProStepOS1TempSwitchConstSlopIndex, Mode=TwoWay}"
ConstantSaveCommand="{Binding ProStepOS1TempConstantSaveCmd}"
ConstantValue="{Binding SelectedConstOS1TempValue, Mode=TwoWay}"
Cycle="{Binding MeterOS1TempExDto.SlopCycle}"
DeleteCommand="{Binding ProStepOS1TempDeleteCmd}"
EditCommand="{Binding ProStepOS1TempEditCmd}"
IsTimeOk="{Binding MeterOS1TempExDto.IsTimeOk}"
ListMeter="{Binding ListSlopMeterOS1TempItems}"
MeterName="OS1温度"
MeterSelectedChangedCmd="{Binding MeterOS1TempSlopSelectedChangedCmd}"
ParConfigCommand="{Binding MeterOS1TempParConfigCmd}"
SelectedMeter="{Binding SelectedSlopOS1Temp, Mode=TwoWay}"
SwitchConstSlopCommand="{Binding MeterOS1TempSwitchConstSlopCmd}"
TotalSlopTime="{Binding MeterOS1TempExDto.SlopTime}" />
</TabItem>
<!-- OS2温度/吸气混合器温度 -->
<TabItem>
<TabItem.Header>
<StackPanel
Width="90"
Margin="-20"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontSize="12"
FontWeight="Bold"
Text="OS2温度&#10;(℃)" />
</StackPanel>
</TabItem.Header>
<Controls:MeterConfig
Margin="5,5,0,5"
AddCommand="{Binding ProStepOS2TempAddCmd}"
ConstSlopSelectedIndex="{Binding ProStepOS2TempSwitchConstSlopIndex, Mode=TwoWay}"
ConstantSaveCommand="{Binding ProStepOS2TempConstantSaveCmd}"
ConstantValue="{Binding SelectedConstOS2TempValue, Mode=TwoWay}"
Cycle="{Binding MeterOS2TempExDto.SlopCycle}"
DeleteCommand="{Binding ProStepOS2TempDeleteCmd}"
EditCommand="{Binding ProStepOS2TempEditCmd}"
IsTimeOk="{Binding MeterOS2TempExDto.IsTimeOk}"
ListMeter="{Binding ListSlopMeterOS2TempItems}"
MeterName="OS2温度"
MeterSelectedChangedCmd="{Binding MeterOS2TempSlopSelectedChangedCmd}"
ParConfigCommand="{Binding MeterOS2TempParConfigCmd}"
SelectedMeter="{Binding SelectedSlopOS2Temp, Mode=TwoWay}"
SwitchConstSlopCommand="{Binding MeterOS2TempSwitchConstSlopCmd}"
TotalSlopTime="{Binding MeterOS2TempExDto.SlopTime}" />
</TabItem>
<!-- COND2温度 -->
<TabItem>
<TabItem.Header>
<StackPanel
Width="90"
Margin="-20"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontSize="12"
FontWeight="Bold"
Text="COND2温度&#10;(℃)" />
</StackPanel>
</TabItem.Header>
<Controls:MeterConfig
Margin="5,5,0,5"
AddCommand="{Binding ProStepCond2TempAddCmd}"
ConstSlopSelectedIndex="{Binding ProStepCond2TempSwitchConstSlopIndex, Mode=TwoWay}"
ConstantSaveCommand="{Binding ProStepCond2TempConstantSaveCmd}"
ConstantValue="{Binding SelectedConstCond2TempValue, Mode=TwoWay}"
Cycle="{Binding MeterCond2TempExDto.SlopCycle}"
DeleteCommand="{Binding ProStepCond2TempDeleteCmd}"
EditCommand="{Binding ProStepCond2TempEditCmd}"
IsTimeOk="{Binding MeterCond2TempExDto.IsTimeOk}"
ListMeter="{Binding ListSlopMeterCond2TempItems}"
MeterName="COND2温度"
MeterSelectedChangedCmd="{Binding MeterCond2TempSlopSelectedChangedCmd}"
ParConfigCommand="{Binding MeterCond2TempParConfigCmd}"
SelectedMeter="{Binding SelectedSlopCond2Temp, Mode=TwoWay}"
SwitchConstSlopCommand="{Binding MeterCond2TempSwitchConstSlopCmd}"
TotalSlopTime="{Binding MeterCond2TempExDto.SlopTime}" />
</TabItem>
<!-- EVAP出口温度 -->
<TabItem>
<TabItem.Header>
<StackPanel
Width="90"
Margin="-20"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontSize="12"
FontWeight="Bold"
Text="EVAP出口温度&#10;(℃)" />
</StackPanel>
</TabItem.Header>
<Controls:MeterConfig
Margin="5,5,0,5"
AddCommand="{Binding ProStepEVAPExpTempAddCmd}"
ConstSlopSelectedIndex="{Binding ProStepEVAPExpTempSwitchConstSlopIndex, Mode=TwoWay}"
ConstantSaveCommand="{Binding ProStepEVAPExpTempConstantSaveCmd}"
ConstantValue="{Binding SelectedConstEVAPExpTempValue, Mode=TwoWay}"
Cycle="{Binding MeterEVAPExpTempExDto.SlopCycle}"
DeleteCommand="{Binding ProStepEVAPExpTempDeleteCmd}"
EditCommand="{Binding ProStepEVAPExpTempEditCmd}"
IsTimeOk="{Binding MeterEVAPExpTempExDto.IsTimeOk}"
ListMeter="{Binding ListSlopMeterEVAPExpTempItems}"
MeterName="EVAP出口温度"
MeterSelectedChangedCmd="{Binding MeterEVAPExpTempSlopSelectedChangedCmd}"
ParConfigCommand="{Binding MeterEVAPExpTempParConfigCmd}"
SelectedMeter="{Binding SelectedSlopEVAPExpTemp, Mode=TwoWay}"
SwitchConstSlopCommand="{Binding MeterEVAPExpTempSwitchConstSlopCmd}"
TotalSlopTime="{Binding MeterEVAPExpTempExDto.SlopTime}" />
</TabItem>
<!-- PTC功率 -->
<TabItem>
<TabItem.Header>
<StackPanel
Width="90"
Margin="-20"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontSize="12"
FontWeight="Bold"
Text="PTC功率&#10;(W)" />
</StackPanel>
</TabItem.Header>
<Controls:MeterConfig
Margin="5,5,0,5"
AddCommand="{Binding ProStepPTCPwAddCmd}"
ConstSlopSelectedIndex="{Binding ProStepPTCPwSwitchConstSlopIndex, Mode=TwoWay}"
ConstantSaveCommand="{Binding ProStepPTCPwConstantSaveCmd}"
ConstantValue="{Binding SelectedConstPTCPwValue, Mode=TwoWay}"
Cycle="{Binding MeterPTCPwExDto.SlopCycle}"
DeleteCommand="{Binding ProStepPTCPwDeleteCmd}"
EditCommand="{Binding ProStepPTCPwEditCmd}"
IsTimeOk="{Binding MeterPTCPwExDto.IsTimeOk}"
ListMeter="{Binding ListSlopMeterPTCPwItems}"
MeterName="PTC功率"
MeterSelectedChangedCmd="{Binding MeterPTCPwSlopSelectedChangedCmd}"
ParConfigCommand="{Binding MeterPTCPwParConfigCmd}"
SelectedMeter="{Binding SelectedSlopPTCPw, Mode=TwoWay}"
SwitchConstSlopCommand="{Binding MeterPTCPwSwitchConstSlopCmd}"
TotalSlopTime="{Binding MeterPTCPwExDto.SlopTime}" />
</TabItem>
<!-- PTC流量 -->
<TabItem>
<TabItem.Header>
<StackPanel
Width="90"
Margin="-20"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontSize="12"
FontWeight="Bold"
Text="PTC流量&#10;(L/min)" />
</StackPanel>
</TabItem.Header>
<Controls:MeterConfig
Margin="5,5,0,5"
AddCommand="{Binding ProStepPTCFlowAddCmd}"
ConstSlopSelectedIndex="{Binding ProStepPTCFlowSwitchConstSlopIndex, Mode=TwoWay}"
ConstantSaveCommand="{Binding ProStepPTCFlowConstantSaveCmd}"
ConstantValue="{Binding SelectedConstPTCFlowValue, Mode=TwoWay}"
Cycle="{Binding MeterPTCFlowExDto.SlopCycle}"
DeleteCommand="{Binding ProStepPTCFlowDeleteCmd}"
EditCommand="{Binding ProStepPTCFlowEditCmd}"
IsTimeOk="{Binding MeterPTCFlowExDto.IsTimeOk}"
ListMeter="{Binding ListSlopMeterPTCFlowItems}"
MeterName="PTC流量"
MeterSelectedChangedCmd="{Binding MeterPTCFlowSlopSelectedChangedCmd}"
ParConfigCommand="{Binding MeterPTCFlowParConfigCmd}"
SelectedMeter="{Binding SelectedSlopPTCFlow, Mode=TwoWay}"
SwitchConstSlopCommand="{Binding MeterPTCFlowSwitchConstSlopCmd}"
TotalSlopTime="{Binding MeterPTCFlowExDto.SlopTime}" />
</TabItem>
<!-- PTC入口水温 -->
<TabItem>
<TabItem.Header>
<StackPanel
Width="90"
Margin="-20"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontSize="12"
FontWeight="Bold"
Text="PTC入口水温&#10;(℃)" />
</StackPanel>
</TabItem.Header>
<Controls:MeterConfig
Margin="5,5,0,5"
AddCommand="{Binding ProStepPTCEntTempAddCmd}"
ConstSlopSelectedIndex="{Binding ProStepPTCEntTempSwitchConstSlopIndex, Mode=TwoWay}"
ConstantSaveCommand="{Binding ProStepPTCEntTempConstantSaveCmd}"
ConstantValue="{Binding SelectedConstPTCEntTempValue, Mode=TwoWay}"
Cycle="{Binding MeterPTCEntTempExDto.SlopCycle}"
DeleteCommand="{Binding ProStepPTCEntTempDeleteCmd}"
EditCommand="{Binding ProStepPTCEntTempEditCmd}"
IsTimeOk="{Binding MeterPTCEntTempExDto.IsTimeOk}"
ListMeter="{Binding ListSlopMeterPTCEntTempItems}"
MeterName="PTC入口温度"
MeterSelectedChangedCmd="{Binding MeterPTCEntTempSlopSelectedChangedCmd}"
ParConfigCommand="{Binding MeterPTCEntTempParConfigCmd}"
SelectedMeter="{Binding SelectedSlopPTCEntTemp, Mode=TwoWay}"
SwitchConstSlopCommand="{Binding MeterPTCEntTempSwitchConstSlopCmd}"
TotalSlopTime="{Binding MeterPTCEntTempExDto.SlopTime}" />
</TabItem>
</TabControl>