using HybirdFrameworkDriver.ModbusTcpMaster;
namespace Service.Humiture;
public class HumitureMsg
{
///
/// 湿度
///
public ModbusProperty Humidness { get; set; } = new(0x0000);
///
/// 温度
///
public ModbusProperty Temperature { get; set; } = new(0x0001);
public ModbusProperty Reserve02 { get; set; } = new(0x0002);
public ModbusProperty Reserve03 { get; set; } = new(0x0003);
public ModbusProperty Reserve04 { get; set; } = new(0x0004);
public ModbusProperty Reserve05 { get; set; } = new(0x0005);
public ModbusProperty Reserve06 { get; set; } = new(0x0006);
public ModbusProperty Reserve07 { get; set; } = new(0x0007);
///
/// 设备型号
///
public ModbusProperty EquipmentType { get; set; } = new(0x0008);
///
/// 版本号(低 8 位)
///
public ModbusProperty VersionNumber { get; set; } = new(0x0009);
///
/// 设备 ID 高 16 位
///
public ModbusProperty DeviceIdHigh { get; set; } = new(0x000A);
///
/// 设备 ID 低 16 位
///
public ModbusProperty DeviceIdLower { get; set; } = new(0x000B);
///
/// 温度上限报警值
///
public ModbusProperty UpperTemperatureAlarm { get; set; } = new(0x000C);
///
/// 温度上限报警使能
///
public ModbusProperty UpperTemperatureAlarmEnabled { get; set; } = new(0x000D);
///
/// 温度下限报警值
///
public ModbusProperty LowerTemperatureAlarm { get; set; } = new(0x000E);
///
/// 温度下限报警使能
///
public ModbusProperty LowerTemperatureAlarmEnabled { get; set; } = new(0x000F);
///
/// 湿度上限报警值
///
public ModbusProperty HumidityUpperAlarm { get; set; } = new(0x0010);
///
/// 湿度上限报警使能
///
public ModbusProperty HumidityUpperAlarmEnabled { get; set; } = new(0x0011);
///
/// 湿度下限报警值
///
public ModbusProperty HumidityLowerLimitAlarm { get; set; } = new(0x0012);
///
/// 湿度下限报警使能
///
public ModbusProperty HumidityLowerLimitAlarmEnabled { get; set; } = new(0x0013);
public ModbusProperty Reserve14 { get; set; } = new(0x0014);
public ModbusProperty Reserve15 { get; set; } = new(0x0015);
public ModbusProperty Reserve16 { get; set; } = new(0x0016);
public ModbusProperty Reserve17 { get; set; } = new(0x0017);
public ModbusProperty Reserve18 { get; set; } = new(0x0018);
public ModbusProperty Reserve19 { get; set; } = new(0x0019);
public ModbusProperty Reserve20 { get; set; } = new(0x001A);
public ModbusProperty Reserve21 { get; set; } = new(0x001B);
public ModbusProperty Reserve22 { get; set; } = new(0x001C);
///
/// 温度校正值更新
///
public ModbusProperty TemperatureUpdated { get; set; } = new(0x001D);
///
/// 湿度校正值更新
///
public ModbusProperty HumidityValueUpdated { get; set; } = new(0x001E);
public ModbusProperty Reserve25 { get; set; } = new(0x001F);
}