This commit is contained in:
xyy
2026-06-16 11:53:02 +08:00
parent 24763126ef
commit 2dadfe3861
11 changed files with 541 additions and 180 deletions

View File

@@ -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);
}
}