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.
|
|
|
|
using HybirdFrameworkDriver.ModbusTcpMaster;
|
|
|
|
|
|
|
|
|
|
namespace Service.Humiture;
|
|
|
|
|
|
|
|
|
|
public class HumitureMsg
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 湿度
|
|
|
|
|
/// </summary>
|
|
|
|
|
//public ModbusProperty<float> Humidness { get; set; } = new(0000, scale: 0.01,round:2);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 温度
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<float> Temperature { get; set; } = new(0000, scale:0.01,round:2);
|
|
|
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 设备型号
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public ModbusProperty<short> EquipmentType { get; set; } = new(0x0064);
|
|
|
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 测点总数
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public ModbusProperty<short> Reserve1 { get; set; } = new(0x0065);
|
|
|
|
|
//public ModbusProperty<short> Reserve2 { get; set; } = new(0x0066);
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 波特率
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public ModbusProperty<short> Reserve3 { get; set; } = new(0x0067);
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 通讯模式
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public ModbusProperty<short> Reserve4 { get; set; } = new(0x0068);
|
|
|
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 协议类型
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public ModbusProperty<short> VersionNumber { get; set; } = new(0x0069);
|
|
|
|
|
|
|
|
|
|
}
|