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; }
|
|
|
|
|
|
|
|
|
|
|
|
// 硬度
|
|
|
|
|
|
public ushort HardnessValue { get; set; }
|
|
|
|
|
|
public ushort HardnessStartCoil { get; set; }
|
2026-05-15 15:48:43 +08:00
|
|
|
|
public ushort HardnessStartCoil2 { get; set; }
|
|
|
|
|
|
public ushort HardnessStartCoil3 { get; set; }
|
2026-05-05 15:31:24 +08:00
|
|
|
|
public ushort HardnessCompleteCoil { get; set; }
|
2026-05-16 10:55:07 +08:00
|
|
|
|
public ushort HardnessStartReset { get; set; }
|
|
|
|
|
|
public ushort HardnessStartStop { 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
|
|
|
|
}
|