|
|
using HybirdFrameworkDriver.ModbusTcpMaster;
|
|
|
|
|
|
namespace Service.UpsAfrica.Msg;
|
|
|
|
|
|
public class UpsIndex30
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 0:蝙蝠沉默(仅适用于集中)
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> Batsilence { get; set; } = new(30030,start:0,length:1,type:ModbusDataType.Bit);
|
|
|
/// <summary>
|
|
|
/// 1:关机激活/关机模式1:过程中测试/BatTest模式
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> Shutdownactive { get; set; } = new(30030,start:1,length:1,type:ModbusDataType.Bit);
|
|
|
/// <summary>
|
|
|
/// 1:过程中测试/BatTest模式
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> TestInProcess { get; set; } = new(30030,start:2,length:1,type:ModbusDataType.Bit);
|
|
|
/// <summary>
|
|
|
/// 0:在线UPS 1:离线UPS
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> OnlineUPSOfflineUPS { get; set; } = new(30030,start:3,length:1,type:ModbusDataType.Bit);
|
|
|
/// <summary>
|
|
|
/// 1:UPS故障/故障模式
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> UPSFailed { get; set; } = new(30030,start:4,length:1,type:ModbusDataType.Bit);
|
|
|
/// <summary>
|
|
|
/// 1: 旁路/升压激活/旁路模式
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> Bypass { get; set; } = new(30030,start:5,length:1,type:ModbusDataType.Bit);
|
|
|
/// <summary>
|
|
|
/// 1: 电池电量低警告
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> BatteryLowWarning { get; set; } = new(30030,start:6,length:1,type:ModbusDataType.Bit);
|
|
|
/// <summary>
|
|
|
/// 1:实用程序故障(立即)/电池模
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> UtilityFail { get; set; } = new(30030,start:7,length:1,type:ModbusDataType.Bit);
|
|
|
/// <summary>
|
|
|
/// 1: 空闲
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> Idle { get; set; } = new(30030,start:8,length:1,type:ModbusDataType.Bit);
|
|
|
/// <summary>
|
|
|
/// 1:加工
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> Processing { get; set; } = new(30030,start:9,length:1,type:ModbusDataType.Bit);
|
|
|
/// <summary>
|
|
|
/// 1:结果:无故障
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> ResultNoFailure { get; set; } = new(30030,start:10,length:1,type:ModbusDataType.Bit);
|
|
|
/// <summary>
|
|
|
/// 1:结果:故障/警告
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> ResultFailure { get; set; } = new(30030,start:11,length:1,type:ModbusDataType.Bit);
|
|
|
/// <summary>
|
|
|
/// 1不可能或抑制
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> NotPossibleOrInhibit { get; set; } = new(30030,start:12,length:1,type:ModbusDataType.Bit);
|
|
|
/// <summary>
|
|
|
/// 1测试取消
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> TestCancel { get; set; } = new(30030,start:13,length:1,type:ModbusDataType.Bit);
|
|
|
/// <summary>
|
|
|
/// 保留
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> Reserved { get; set; } = new(30030,start:14,length:1,type:ModbusDataType.Bit);
|
|
|
/// <summary>
|
|
|
/// 1:其他值
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> OtherValues { get; set; } = new(30030,start:15,length:1,type:ModbusDataType.Bit);
|
|
|
/// <summary>
|
|
|
/// 待机模式
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> StandbyMode { get; set; } = new(30031,start:0,length:1,type:ModbusDataType.Bit);
|
|
|
/// <summary>
|
|
|
/// 线路模式
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> LineMode { get; set; } = new(30031,start:1,length:1,type:ModbusDataType.Bit);
|
|
|
/// <summary>
|
|
|
/// 转换器模式
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> ConverterMode { get; set; } = new(30031,start:2,length:1,type:ModbusDataType.Bit);
|
|
|
/// <summary>
|
|
|
/// ECO模式
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> ECOMode { get; set; } = new(30031,start:3,length:1,type:ModbusDataType.Bit);
|
|
|
} |