This commit is contained in:
@@ -21,5 +21,8 @@ namespace AciTester.Models
|
||||
|
||||
[ObservableProperty]
|
||||
private float flowHighLimit = 32.0f; // D1332 高限
|
||||
|
||||
[ObservableProperty]
|
||||
private float temperatureProtect = 40.0f; // D1084
|
||||
}
|
||||
}
|
||||
@@ -55,6 +55,20 @@ namespace AciTester.Models
|
||||
public ushort ImpactorPressureCalibCoil { get; set; } = 1303; // M1303
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public ushort AcLowPressureAlarmCoil { get; set; } = 1001; // M1001
|
||||
public ushort AcHighPressureAlarmCoil { get; set; } = 1002; // M1002
|
||||
public ushort AcStartupCountdownReg { get; set; } = 50; // D50 (双整数)
|
||||
public ushort DefrostTempSetReg { get; set; } = 302; // D302 (浮点)
|
||||
public ushort DefrostTimeSetReg { get; set; } = 310; // D310 (双整数)
|
||||
public ushort DefrostMinuteReg { get; set; } = 42; // D42 (双整数)
|
||||
public ushort DefrostSecondReg { get; set; } = 40; // D40 (双整数)
|
||||
public ushort TempProtectReg { get; set; } = 1084; // D1084 (浮点)
|
||||
public ushort ConstantTempStartCoil { get; set; } = 4; // M4
|
||||
public ushort DefrostStartCoil { get; set; } = 19; // M19
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -97,5 +111,8 @@ namespace AciTester.Models
|
||||
void Dispose();
|
||||
|
||||
bool IsConnected { get; } // 新增
|
||||
|
||||
Task<int> ReadInt32Async(ushort startAddress);
|
||||
Task WriteInt32Async(ushort startAddress, int value);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,5 +21,45 @@ namespace AciTester.Models
|
||||
|
||||
[ObservableProperty]
|
||||
private float differentialPressure; // 压差 = impactorPressure - pumpPressure
|
||||
|
||||
|
||||
|
||||
// 新增
|
||||
[ObservableProperty]
|
||||
private int acStartupCountdown; // D50
|
||||
|
||||
private float _defrostTempSet;
|
||||
public float DefrostTempSet
|
||||
{
|
||||
get => _defrostTempSet;
|
||||
set => SetProperty(ref _defrostTempSet, value);
|
||||
}
|
||||
|
||||
private int _defrostTimeSet;
|
||||
public int DefrostTimeSet
|
||||
{
|
||||
get => _defrostTimeSet;
|
||||
set => SetProperty(ref _defrostTimeSet, value);
|
||||
} // D302
|
||||
|
||||
|
||||
|
||||
[ObservableProperty]
|
||||
private int defrostMinute; // D42
|
||||
|
||||
[ObservableProperty]
|
||||
private int defrostSecond; // D40
|
||||
|
||||
[ObservableProperty]
|
||||
private bool constantTempStart; // M4
|
||||
|
||||
[ObservableProperty]
|
||||
private bool defrostStart; // M19
|
||||
|
||||
[ObservableProperty]
|
||||
private bool acLowPressureAlarm; // M1001
|
||||
|
||||
[ObservableProperty]
|
||||
private bool acHighPressureAlarm; // M1002
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user