|
|
|
|
using HybirdFrameworkDriver.ModbusTcpMaster;
|
|
|
|
|
|
|
|
|
|
namespace Service.UpsAfrica.Msg;
|
|
|
|
|
|
|
|
|
|
public class UpsIndex60
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// I/P电压R
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> IPVoltageR =new(30096,start:0,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// I/P电压S
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> IPVoltageS =new(30096,start:1,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// I/P电压T
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> IPVoltageT =new(30096,start:2,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// I/P故障电压(R或S或T)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> IPFaultVoltage=new(30096,start:3,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 旁路I/P电压R
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> BypassIPVoltageR =new(30096,start:4,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 旁路I/P电压S
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> BypassIPVoltageS =new(30096,start:5,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 旁路I/P电压T
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> BypassIPVoltageT =new(30096,start:6,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// I/P频率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> IPFrequency =new(30096,start:7,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 旁路I/P频率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> BypassIPFrequency =new(30096,start:8,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// O/P电压R
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> OPVoltageR =new(30096,start:9,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// O/P电压S
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> OPVoltageS =new(30096,start:10,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// O/P电压T
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> OPVoltageT =new(30096,start:11,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// O/P电流R
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> OPCurrentR =new(30096,start:12,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// O/P电流S
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> OPCurrentS =new(30096,start:13,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// O/P电流T
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> OPCurrentT =new(30096,start:14,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// O/P功率R
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> OPPowerR =new(30096,start:15,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// O/P功率S
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> OPPowerS =new(30097,start:0,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// O/P功率T
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> OPPowerT =new(30097,start:1,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 总功率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> TotalPower =new(30097,start:2,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// O/P复合功率R
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> OPComplexPowerR =new(30097,start:3,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// O/P复合功率S
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> OPComplexPowerS =new(30097,start:4,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// O/P复合功率T
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> OPComplexPowerT =new(30097,start:5,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 总综合功率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> TotalComplexPower =new(30097,start:6,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// O/P负载
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> OPLoad =new(30097,start:0,length:7,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 蓄电池单体电压
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> BatteryCellVoltage =new(30097,start:8,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 蓄电池电压/蓄电池正极电压
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> BatteryVoltage =new(30097,start:9,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 温度
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> Temperature =new(30097,start:10,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 充电状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> ChargeStatus =new(30097,start:11,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 电池容量百分比
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> BatteryCapacityPercentage =new(30097,start:12,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 充电时间达到95%
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> RechargeTimeTo95 =new(30097,start:13,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 预计运行时间/剩余电池备份时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> EstimatedRunTime =new(30097,start:14,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 100%负载下的保持时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> HoldTimeAt100Load =new(30097,start:15,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 50%负载下的保持时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> HoldTimeAt50Load =new(30098,start:0,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// O/P频率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> OPFrequency =new(30098,start:1,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 蓄电池负极电压
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> NegativeBatteryVoltage =new(30098,start:2,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 保留
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ModbusProperty<short> Reserved =new(30098,start:3,length:4,type:ModbusDataType.Bit);
|
|
|
|
|
|
|
|
|
|
}
|