using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Module.UpsEqm.ModBusTcp { public class MUpsParamsVal { #region 读取参数属性 /// /// Ups名称-寄存器地址从【00】寄存器总长度为15 /// public string F_UpsName { get; set; } /// /// UPS ID-寄存器地址从【15】寄存器总长度为1 /// public UInt16 F_UpsID { get; set; } /// /// Protocol number 协议号-寄存器地址从【16】寄存器总长度为1 /// public UInt16 F_ProtocolNumber { get; set; } /// /// Ups版本-寄存器地址从【17】寄存器总长度为1 /// public UInt16 F_UpsVersion { get; set; } /// /// Ups状态-寄存器地址从【48】寄存器总长度为2 Bit0 /// public byte F_UpsStateBit0 { get; set; } /// /// Ups状态-寄存器地址从【48】寄存器总长度为2 Bit1 /// public byte F_UpsStateBit1 { get; set; } /// /// Ups状态-寄存器地址从【48】寄存器总长度为2 Bit2 /// public byte F_UpsStateBit2 { get; set; } /// /// Ups状态-寄存器地址从【48】寄存器总长度为2 Bit3 /// public byte F_UpsStateBit3 { get; set; } /// /// Ups状态-寄存器地址从【48】寄存器总长度为2 Bit4 /// public byte F_UpsStateBit4 { get; set; } /// /// Ups状态-寄存器地址从【48】寄存器总长度为2 Bit5 /// public byte F_UpsStateBit5 { get; set; } /// /// Ups状态-寄存器地址从【48】寄存器总长度为2 Bit6 /// public byte F_UpsStateBit6 { get; set; } /// /// Ups状态-寄存器地址从【48】寄存器总长度为2 Bit7 /// public byte F_UpsStateBit7 { get; set; } /// /// 电池测试状态-寄存器地址从【48】寄存器总长度为2 /// public byte F_BatteryState { get; set; } /// /// Ups系统模式-寄存器地址从【48】寄存器总长度为2 /// public byte F_UpsSystemModal { get; set; } /// /// 额定电源电压-寄存器地址从【160】寄存器总长度为16 /// public UInt16 F_MainVoltage { get; set; } /// /// 额定主频率-寄存器地址从【160】寄存器总长度为16 /// public UInt16 F_MainFreQuency { get; set; } /// /// 额定电池电压-寄存器地址从【160】寄存器总长度为16 /// public UInt16 F_CellVoltage { get; set; } /// /// 最大主电压-寄存器地址从【160】寄存器总长度为16 /// public UInt16 F_MaxMainVoltage { get; set; } /// /// 最小主电压-寄存器地址从【160】寄存器总长度为16 /// public UInt16 F_MinMainVoltage { get; set; } /// /// 最大主频率-寄存器地址从【160】寄存器总长度为16 /// public UInt16 F_MaxMainFreQuency { get; set; } /// /// 最小主频率-寄存器地址从【160】寄存器总长度为16 /// public UInt16 F_MinMainFreQuency { get; set; } /// /// 最高电源环境温度-寄存器地址从【160】寄存器总长度为16 /// public UInt16 F_MaxATemperature { get; set; } /// /// 最低电源环境温度-寄存器地址从【160】寄存器总长度为16 /// public UInt16 F_MinATemperature { get; set; } /// /// 电池单元编号-寄存器地址从【160】寄存器总长度为16 /// public UInt16 F_BatCellNumber { get; set; } /// /// 串联的电池单元的数量-寄存器地址从【160】寄存器总长度为16 /// public UInt16 F_BatCellSeries { get; set; } /// /// 故障信息-寄存器地址从【64】寄存器总长度为9 /// public List F_FaultInfo { get; set; } /// /// 警告信息-寄存器地址从【80】寄存器总长度为6 /// public List F_WarningInfo { get; set; } #endregion } }