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.

63 lines
2.6 KiB

using HybirdFrameworkDriver.ModbusTcpMaster;
namespace Service.UpsAfrica.Msg;
public class UpsIndexA0
{
/// <summary>
/// 标称电源电压
/// </summary>
public ModbusProperty<short> NominalMainsVoltage =new(30160,start:0,length:4,type:ModbusDataType.Bit);
/// <summary>
/// 标称电源频率
/// </summary>
public ModbusProperty<short> NominalMainsFrequency =new(30160,start:1,length:4,type:ModbusDataType.Bit);
/// <summary>
/// 标称电池电压
/// </summary>
public ModbusProperty<short> NominalCellVoltage =new(30160,start:2,length:4,type:ModbusDataType.Bit);
/// <summary>
/// 最大电源电压
/// </summary>
public ModbusProperty<short> MaximumMainsVoltage=new(30160,start:3,length:4,type:ModbusDataType.Bit);
/// <summary>
/// 最低电源电压
/// </summary>
public ModbusProperty<short> MinimumMainsVoltage =new(30160,start:4,length:4,type:ModbusDataType.Bit);
/// <summary>
/// 最大电源频率
/// </summary>
public ModbusProperty<short> MaximumMainsFrequency =new(30160,start:5,length:4,type:ModbusDataType.Bit);
/// <summary>
/// 最低电源频率
/// </summary>
public ModbusProperty<short> MinimumMainsFrequency =new(30160,start:6,length:4,type:ModbusDataType.Bit);
/// <summary>
/// 最高电源环境温度
/// </summary>
public ModbusProperty<short> MaximumMainsAmbientTemperature =new(30160,start:7,length:4,type:ModbusDataType.Bit);
/// <summary>
/// 最低电源环境温度
/// </summary>
public ModbusProperty<short> MinimumMainsAmbientTemperature=new(30160,start:8,length:4,type:ModbusDataType.Bit);
/// <summary>
/// 电池单元编号
/// </summary>
public ModbusProperty<short> BatteryCellNumber =new(30160,start:9,length:4,type:ModbusDataType.Bit);
/// <summary>
/// 串联的电池单元数量
/// </summary>
public ModbusProperty<short> NumberBatteryCellsSeries =new(30160,start:10,length:4,type:ModbusDataType.Bit);
/// <summary>
/// Y型或Delta型输入变压器
/// </summary>
public ModbusProperty<short> InputTransformerTypeYDelta =new(30160,start:11,length:4,type:ModbusDataType.Bit);
/// <summary>
/// LCD显示器输出电压线或相
/// </summary>
public ModbusProperty<short> LCDDisplayOutputVoltageLinePhase =new(30160,start:12,length:4,type:ModbusDataType.Bit);
/// <summary>
/// 保留
/// </summary>
public ModbusProperty<short> Reserved=new(30160,start:13,length:4,type:ModbusDataType.Bit);
}