Files
CSI-Z420-Tablet-Multi-Funct…/Models/PlcConfiguration.cs
2026-05-15 15:48:43 +08:00

32 lines
1.2 KiB
C#

namespace TabletTester2025.Models
{
public class PlcConfiguration
{
public string IpAddress { get; set; }
public int Port { get; set; }
public byte SlaveId { get; set; }
// 硬度
public ushort HardnessValue { get; set; }
public ushort HardnessStartCoil { get; set; }
public ushort HardnessStartCoil2 { get; set; }
public ushort HardnessStartCoil3 { get; set; }
public ushort HardnessCompleteCoil { get; set; }
// 脆碎度
public ushort FriabilityStartCoil { get; set; }
public ushort WeightBefore { get; set; } // 天平重量寄存器(可选)
public ushort WeightAfter { get; set; }
// 崩解
public ushort DisintegrationTemp { get; set; }
public ushort DisintegrationMovingUpCoil { get; set; }
public ushort DisintegrationStartCoil { get; set; }
public ushort[] DisintegrationCompleteCoils { get; set; } = new ushort[6];
// 溶出
public ushort DissolutionRpm { get; set; }
public ushort DissolutionPercent { get; set; }
public ushort DissolutionStartCoil { get; set; }
}
}