This commit is contained in:
@@ -28,22 +28,39 @@ namespace AciTester.Models
|
||||
[ObservableProperty]
|
||||
private int acStartupCountdown; // D50
|
||||
|
||||
|
||||
|
||||
|
||||
// 除霜温度设置 - 最大值 30
|
||||
private float _defrostTempSet;
|
||||
public float DefrostTempSet
|
||||
{
|
||||
get => _defrostTempSet;
|
||||
set => SetProperty(ref _defrostTempSet, value);
|
||||
set
|
||||
{
|
||||
if (value > 30) value = 30;
|
||||
if (value < 0) value = 0;
|
||||
SetProperty(ref _defrostTempSet, value);
|
||||
}
|
||||
}
|
||||
|
||||
// 除霜时间设置 - 最大值 180 (秒)
|
||||
private int _defrostTimeSet;
|
||||
public int DefrostTimeSet
|
||||
{
|
||||
get => _defrostTimeSet;
|
||||
set => SetProperty(ref _defrostTimeSet, value);
|
||||
set
|
||||
{
|
||||
if (value > 180) value = 180;
|
||||
if (value < 0) value = 0;
|
||||
SetProperty(ref _defrostTimeSet, value);
|
||||
}
|
||||
} // D302
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[ObservableProperty]
|
||||
private int defrostMinute; // D42
|
||||
|
||||
|
||||
@@ -185,10 +185,12 @@
|
||||
<StackPanel Orientation="Horizontal" Margin="0,8">
|
||||
<TextBlock Text="除霜温度设置(℃)" Width="130" FontSize="14" VerticalAlignment="Center"/>
|
||||
<TextBox Text="{Binding RealTime.DefrostTempSet, UpdateSourceTrigger=LostFocus, Mode=TwoWay}" Width="100"/>
|
||||
<TextBlock Text="(≤30)" FontSize="11" Foreground="Gray" Margin="5,0,0,0" VerticalAlignment="Center"/>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal" Margin="0,8">
|
||||
<TextBlock Text="除霜时间设置(秒)" Width="130" FontSize="14" VerticalAlignment="Center"/>
|
||||
<TextBox Text="{Binding RealTime.DefrostTimeSet, UpdateSourceTrigger=LostFocus, Mode=TwoWay}" Width="100"/>
|
||||
<TextBlock Text="(≤180)" FontSize="11" Foreground="Gray" Margin="5,0,0,0" VerticalAlignment="Center"/>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal" Margin="0,8">
|
||||
<TextBlock Text="除霜计时" Width="130" FontSize="14" VerticalAlignment="Center"/>
|
||||
|
||||
Reference in New Issue
Block a user