2026-05-05 15:31:24 +08:00
|
|
|
|
namespace TabletTester2025.Models
|
|
|
|
|
|
{
|
|
|
|
|
|
public class PlcConfiguration
|
|
|
|
|
|
{
|
|
|
|
|
|
public string IpAddress { get; set; }
|
|
|
|
|
|
public int Port { get; set; }
|
|
|
|
|
|
public byte SlaveId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
// 硬度
|
2026-05-18 11:11:53 +08:00
|
|
|
|
public ushort HardnessMax { get; set; }
|
2026-05-05 15:31:24 +08:00
|
|
|
|
public ushort HardnessStartCoil { get; set; }
|
2026-05-16 10:55:07 +08:00
|
|
|
|
public ushort HardnessStartReset { get; set; }
|
|
|
|
|
|
public ushort HardnessStartStop { get; set; }
|
2026-05-18 09:55:00 +08:00
|
|
|
|
|
|
|
|
|
|
public ushort HardnessSudu { get; set; }
|
|
|
|
|
|
public ushort HardnessWeiyi { get; set; }
|
2026-05-18 11:28:52 +08:00
|
|
|
|
|
2026-05-18 10:48:01 +08:00
|
|
|
|
public ushort HardnessForward { get; set; }
|
|
|
|
|
|
public ushort HardnessBack { get; set; }
|
2026-05-18 09:55:00 +08:00
|
|
|
|
|
2026-05-18 11:28:52 +08:00
|
|
|
|
public ushort HardnessShishilizhi { get; set; }
|
2026-05-18 14:23:00 +08:00
|
|
|
|
// 兼容旧代码:硬度完成线圈与溶出或硬度实时值寄存器地址
|
|
|
|
|
|
public ushort HardnessCompleteCoil { get; set; }
|
|
|
|
|
|
public ushort HardnessPoSun { get; set; }
|
2026-05-05 15:31:24 +08:00
|
|
|
|
// 脆碎度
|
|
|
|
|
|
public ushort FriabilityStartCoil { get; set; }
|
|
|
|
|
|
public ushort WeightBefore { get; set; } // 天平重量寄存器(可选)
|
|
|
|
|
|
public ushort WeightAfter { get; set; }
|
2026-05-16 10:55:07 +08:00
|
|
|
|
public ushort FriabilityStartCoil2 { get; set; }
|
|
|
|
|
|
public ushort FriabilityStartCoil3 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public ushort FriabilityStartCoilStop { get; set; }
|
|
|
|
|
|
public ushort FriabilityStartCoilReset { get; set; }
|
|
|
|
|
|
|
2026-05-05 15:31:24 +08:00
|
|
|
|
|
|
|
|
|
|
// 崩解
|
|
|
|
|
|
public ushort DisintegrationTemp { get; set; }
|
|
|
|
|
|
public ushort DisintegrationMovingUpCoil { get; set; }
|
|
|
|
|
|
public ushort DisintegrationStartCoil { get; set; }
|
2026-05-16 16:58:57 +08:00
|
|
|
|
public ushort DisintegrationStopCoil { get; set; }
|
2026-05-18 09:47:22 +08:00
|
|
|
|
public ushort DisintegrationResetCoil { get; set; }
|
2026-05-16 16:58:57 +08:00
|
|
|
|
public ushort DisintegrationSpeed { get; set; }
|
|
|
|
|
|
public ushort DisintegrationTime { get; set; }
|
2026-05-05 15:31:24 +08:00
|
|
|
|
public ushort[] DisintegrationCompleteCoils { get; set; } = new ushort[6];
|
|
|
|
|
|
|
|
|
|
|
|
// 溶出
|
|
|
|
|
|
public ushort DissolutionRpm { get; set; }
|
|
|
|
|
|
public ushort DissolutionPercent { get; set; }
|
2026-05-16 16:58:57 +08:00
|
|
|
|
public ushort Dissolution1Percent { get; set; }
|
|
|
|
|
|
public ushort Dissolution2Percent { get; set; }
|
2026-05-05 15:31:24 +08:00
|
|
|
|
public ushort DissolutionStartCoil { get; set; }
|
2026-05-16 16:58:57 +08:00
|
|
|
|
public ushort Dissolution1StartCoil { get; set; }
|
|
|
|
|
|
public ushort Dissolution1StopCoil { get; set; }
|
2026-05-18 09:47:22 +08:00
|
|
|
|
public ushort Dissolution1ResetCoil { get; set; }
|
2026-05-16 18:16:25 +08:00
|
|
|
|
public ushort Dissolution1SampleAckCoil { get; set; }
|
2026-05-16 16:58:57 +08:00
|
|
|
|
public ushort Dissolution2StartCoil { get; set; }
|
|
|
|
|
|
public ushort Dissolution2StopCoil { get; set; }
|
2026-05-18 09:47:22 +08:00
|
|
|
|
public ushort Dissolution2ResetCoil { get; set; }
|
2026-05-16 18:16:25 +08:00
|
|
|
|
public ushort Dissolution2SampleAckCoil { get; set; }
|
2026-05-16 16:58:57 +08:00
|
|
|
|
public ushort Dissolution1Time { get; set; }
|
|
|
|
|
|
public ushort Dissolution2Time { get; set; }
|
2026-05-18 09:47:22 +08:00
|
|
|
|
public ushort Dissolution1SampleInterval { get; set; }
|
|
|
|
|
|
public ushort Dissolution2SampleInterval { get; set; }
|
2026-05-05 15:31:24 +08:00
|
|
|
|
}
|
2026-05-16 16:58:57 +08:00
|
|
|
|
}
|