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