You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
2.8 KiB

namespace HybirdFrameworkDriver.ModbusTcpMaster;
public class WaterCoolData
{
public ModbusProperty<byte> Status { get; set; } = new(40001);
public ModbusProperty<byte> Bk1 { get; set; } = new(40002);
public ModbusProperty<bool> CompressorState1 { get; set; } = new(40003, 0, 1, ModbusDataType.Bit);
public ModbusProperty<bool> WaterPump { get; set; } = new(40003, 2, 1, ModbusDataType.Bit);
public ModbusProperty<bool> ElectricalHeating1 { get; set; } = new(40003, 3, type: ModbusDataType.Bit);
public ModbusProperty<bool> ElectricalHeating2 { get; set; } = new(40003, 4, type: ModbusDataType.Bit);
public ModbusProperty<bool> CompressorState2 { get; set; } = new(40003, 5, type: ModbusDataType.Bit);
public ModbusProperty<bool> DraughtFan1 { get; set; } = new(40003, 6, 1, ModbusDataType.Bit);
public ModbusProperty<bool> DraughtFan2 { get; set; } = new(40003, 7, type: ModbusDataType.Bit);
public ModbusProperty<bool> DraughtFan3 { get; set; } = new(40003, 8, type: ModbusDataType.Bit);
public ModbusProperty<bool> CompressorState3 { get; set; } = new(40003, 9, type: ModbusDataType.Bit);
public ModbusProperty<bool> CompressorState4 { get; set; } = new(40003, 10, type: ModbusDataType.Bit);
public ModbusProperty<bool> ChargePump { get; set; } = new(40003, 11, type: ModbusDataType.Bit);
public ModbusProperty<float> Temperature1 { get; set; } = new(40004, length: 2, scale: 0.1, round: 1);
public ModbusProperty<float> Temperature2 { get; set; } = new(40005, length: 2, scale: 0.1, round: 1);
public ModbusProperty<float> Temperature3 { get; set; } = new(40006, length: 2, scale: 0.1, round: 1);
public ModbusProperty<float> Temperature4 { get; set; } = new(40007, length: 2, scale: 0.1, round: 1);
public ModbusProperty<float> Temperature5 { get; set; } = new(40008, length: 2, scale: 0.1, round: 1);
public ModbusProperty<float> Temperature6 { get; set; } = new(40009, length: 2, scale: 0.1, round: 1);
public ModbusProperty<float> WaterDischarge { get; set; } = new(40010, length: 2, scale: 0.1, round: 1);
public ModbusProperty<float> CompressorTemperature1 { get; set; } = new(40011, length: 2, scale: 0.1, round: 1);
public ModbusProperty<float> CompressorTemperature2 { get; set; } = new(40012, length: 2, scale: 0.1, round: 1);
public ModbusProperty<float> CompressorTemperature3 { get; set; } = new(40013, length: 2, scale: 0.1, round: 1);
public ModbusProperty<float> CompressorTemperature4 { get; set; } = new(40014, length: 2, scale: 0.1, round: 1);
public ModbusProperty<ushort> ushortType { get; set; } = new(40015);
public ModbusProperty<byte> ElectromagneticStatus1 { get; set; } = new(40023, scale: 0.1, round: 1);
public ModbusProperty<byte> ElectromagneticStatus2 { get; set; } = new(40024, scale: 0.1, round: 1);
}