namespace Service.Ups.Client; public class UpsAlarm { #region 1警告项目 /// /// 0:FALSE/1:TRUE /// public bool Battery { get; set; } // = new(0x0000,start:15,length:1); /// /// 电池电量过量 /// public bool BatteryOverCharge { get; set; } // = new(0x0000,start:9,length:1); /// /// Battery低(电量低) /// public bool BatteryLow { get; set; } // = new(0x0000,start:8,length:1); /// /// 过载警告 /// public bool OverloadWarning { get; set; } // = new(0x0000,start:7,length:1); /// /// EPO活跃 /// public bool EPOActive { get; set; } // = new(0x0000,start:5,length:1); /// /// 充电器故障 /// public bool ChargerFail { get; set; } // = new(0x0000,start:2,length:1); /// /// 过温 /// public bool OverTemperature { get; set; } // = new(0x0000,start:3,length:1); /// /// 警告Battery放回 /// public bool WarningForBatteryReplace { get; set; } // = new(0x0003,start:8,length:1); /// /// EEPROM操作Eeror /// public bool EepromOperationEeror { get; set; } // = new(0x0003,start:2,length:1); /// /// 更换电池 /// public bool ReplaceBattery { get; set; } // = new(0x0004,start:15,length:1); /// /// 电池电量不足 /// public bool LowBattery { get; set; } // = new(0x0004,start:14,length:1); /// /// 过载输出 /// public bool OverloadOutput { get; set; } // = new(0x0004,start:13,length:1); /// /// 电池模式 /// public bool OnBatteryMode { get; set; } // = new(0x0004,start:12,length:1); /// /// 在线模式 /// public bool OnlineMode { get; set; } // = new(0x0004,start:11,length:1); /// /// UPS准备在用户命令下加载电源或 返回正常线路电压 /// public bool UpsReady1 { get; set; } // = new(0x0004,start:7,length:1); /// /// UPS准备在用户命令下加载电源 /// public bool UpsReady2 { get; set; } // = new(0x0004,start:6,length:1); /// /// UPS正在从旁路模式返回 /// public bool UPSReady { get; set; } // = new(0x0004,start:4,length:1); /// /// UPS因UPS-Link而处于旁路模式或钥匙指挥权 /// public bool UPSBypass { get; set; } // = new(0x0004,start:3,length:1); /// /// 由于内部故障,UPS处于旁路模式 /// /// public bool UPSBypassModeDueInternaFault { get; set; } // = new(0x0004,start:1,length:1); /// /// 输出电压差 /// public bool BadOutputVoltage { get; set; } // = new(0x0005,start:15,length:1); /// /// UPS故障-直流不平衡;UPS处于旁路 /// public bool UPSFaultDCImbalance { get; set; } // = new(0x0005,start:12,length:1); /// /// Bit7 = 内部温度已超过标称温度限制 /// public bool InternalTemperatureHasExceededNominalLimits { get; set; } // = new(0x0005,start:7,length:1); /// /// Battery充电器故障 /// public bool BatteryChargerFailure { get; set; } // = new(0x0005,start:5,length:1); /// /// UPS通过“S”命令处于关机模式 /// public bool UPSShutDownModeViaCommand { get; set; } // = new(0x0005,start:4,length:1); /// /// Bit3 = UPS在“睡眠”模式下通过“@Ddd”命令 /// public bool UPSSleepModeViaCommand { get; set; } // = new(0x0005,start:3,length:1); /// /// Bit0 = UPS的输出因电池电量不足而无法供电关闭 /// public bool UPSOutputUnpoweredDueToLowBatteryshutDown { get; set; } // = new(0x0005,start:0,length:1); #endregion } //