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