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.

170 lines
4.9 KiB

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