增加PTC功能

This commit is contained in:
2025-08-06 14:28:03 +08:00
parent 035a16fe60
commit c4be5e0929
9 changed files with 450 additions and 147 deletions

View File

@@ -1407,6 +1407,7 @@
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition />
@@ -1453,7 +1454,46 @@
Style="{StaticResource MaterialDesignSwitchToggleButton}"
ToolTip="压缩机使能" />
</StackPanel>
<StackPanel
Grid.Row="1"
Grid.Column="0"
HorizontalAlignment="Center">
<TextBlock FontSize="12" Text="PTC使能(0/1)" />
<ToggleButton
Height="20"
Margin="5,2"
IsChecked="{Binding SelectedSlopMeterSpeed.PTCEnable}"
Style="{StaticResource MaterialDesignSwitchToggleButton}"
ToolTip="PTC使能" />
</StackPanel>
<StackPanel
Grid.Row="1"
Grid.Column="1"
HorizontalAlignment="Center">
<TextBlock FontSize="12" Text="PTC功率1(W)" />
<TextBox Style="{StaticResource txtboxStyle}" Text="{Binding SelectedSlopMeterSpeed.PTCPw1}" />
</StackPanel>
<StackPanel
Grid.Row="1"
Grid.Column="2"
HorizontalAlignment="Center">
<TextBlock FontSize="12" Text="PTC功率2(W)" />
<TextBox Style="{StaticResource txtboxStyle}" Text="{Binding SelectedSlopMeterSpeed.PTCPw2}" />
</StackPanel>
<StackPanel
Grid.Row="1"
Grid.Column="3"
HorizontalAlignment="Center">
<TextBlock FontSize="12" Text="PTC水流量" />
<TextBox Style="{StaticResource txtboxStyle}" Text="{Binding SelectedSlopMeterSpeed.PTCWaterFlow}" />
</StackPanel>
<StackPanel
Grid.Row="1"
Grid.Column="4"
HorizontalAlignment="Center">
<TextBlock FontSize="12" Text="PTC水温(℃)" />
<TextBox Style="{StaticResource txtboxStyle}" Text="{Binding SelectedSlopMeterSpeed.PTCWaterTemp}" />
</StackPanel>
<!--<StackPanel
Grid.Row="1"
Grid.Column="0"