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