This commit is contained in:
xyy
2026-04-09 21:43:30 +08:00
parent ae7b329792
commit e576af2b69
9 changed files with 251 additions and 23 deletions

View File

@@ -33,12 +33,45 @@ namespace MembranePoreTester.Communication
public ushort EnableCoil { get; set; } // 使能线圈M21只读状态
public ushort StopCoil { get; set; } // 停止线圈M7
public ushort UpAndDown1 { get; set; } // 高压/低压模式寄存器
public ushort UpAndDown2 { get; set; } // 高压/低压模式寄存器
public ushort UpAndDown3 { get; set; } // 高压/低压模式寄存器
public ushort StartCoil2 { get; set; } // 启动线圈M20
public ushort EnableCoil2 { get; set; } // 使能线圈M21只读状态
public ushort StopCoil2 { get; set; } // 停止线圈M7
public ushort StartCoil3 { get; set; } // 启动线圈M20
public ushort EnableCoil3 { get; set; } // 使能线圈M21只读状态
public ushort StopCoil3 { get; set; } // 停止线圈M7
// ========== 运维参数(用户可设置) ==========
public ushort PressureUpperLimit { get; set; } = 300; // 加压上限 D300
public ushort PressureUpperLimit2 { get; set; } = 302; // 加压上限 D300
public ushort PressureUpperLimit3 { get; set; } = 304; // 加压上限 D300
public ushort PressureRate { get; set; } = 280; // 加压速率 D280
public ushort PressureRate2 { get; set; } = 284; // 加压速率 D280
public ushort PressureRate3 { get; set; } = 286; // 加压速率 D280
public ushort HPCoeff11 { get; set; } = 74; // 1工位加压速率
public ushort HPCoeff12 { get; set; } = 92; // 1工位加压速率
public ushort HPCoeff13 { get; set; } = 96; // 1工位加压速率
// 高压/低压系数(每个工位独立)
public ushort HPCoeff1 { get; set; } = 3120; // 工位1 高压系数
@@ -92,6 +125,12 @@ namespace MembranePoreTester.Communication
public ushort LowPressAlarm { get; set; } // 低压超限 M195
public ushort Midnight1 { get; set; } // 高压超限 M180
public ushort Midnight2 { get; set; } // 低压超限 M195
public ushort Midnight3 { get; set; } // 高压超限 M180
}
/// <summary>