|
|
namespace Entity.Api.Resp;
|
|
|
|
|
|
public partial class FireResp
|
|
|
{
|
|
|
public Subzone2Resp Subzone2Resp { get; set; } = new Subzone2Resp();
|
|
|
public Subzone5Resp Subzone5Resp { get; set; }= new Subzone5Resp();
|
|
|
public Subzone7Resp Subzone7Resp { get; set; } = new Subzone7Resp();
|
|
|
}
|
|
|
|
|
|
public class Subzone2Resp
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 启动喷洒 1:延时结束后,发出启动喷洒 信号0:默认状态
|
|
|
/// </summary>
|
|
|
public bool PrimingSpray { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 喷洒 1:存在喷洒状态, 即收到启动 反馈信号,表示灭火器启动成功 0:默认状态
|
|
|
/// </summary>
|
|
|
public bool Spray { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 声光报警状态 1:声光报警状态0:默认状态
|
|
|
/// </summary>
|
|
|
public bool AudibleVisualAlarmStatus { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 放气勿入状态 1:放气勿入状态0:默认状态
|
|
|
/// </summary>
|
|
|
public bool DeflatedDoNotEnter { get; set; }
|
|
|
}
|
|
|
|
|
|
public class Subzone5Resp
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 防护区
|
|
|
/// 防护区编号:
|
|
|
/// 1:表示电池仓
|
|
|
/// 2:表示充电室
|
|
|
/// 3:表示主控室
|
|
|
/// 4:表示换电通道
|
|
|
/// 5:表示电池仓 2
|
|
|
/// 6:表示充电室 2
|
|
|
/// 7:预留
|
|
|
/// 8:预留
|
|
|
/// </summary>
|
|
|
public ushort ProtectionZone001 { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 类型
|
|
|
/// </summary>
|
|
|
public ushort Type001 { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 探测器 ID 与探测器编号对应
|
|
|
/// </summary>
|
|
|
public ushort DetectorID001 { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 报警等级 0x0000:正常0x0001:一级预警 0x0002:二级报警 0x0003:三级报警 0x0004:四级报警预留
|
|
|
/// </summary>
|
|
|
public ushort AlarmLevel001 { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 温度 实际值=寄存器值 -40
|
|
|
/// </summary>
|
|
|
public ushort Temperature001 { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 一氧化碳浓度 实际值=寄存器值 / 1000
|
|
|
/// </summary>
|
|
|
public ushort CoConcentration001 { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// VOC
|
|
|
/// </summary>
|
|
|
public ushort VOC001 { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 烟雾 0xFF00 烟雾报警 0x0000 烟雾正常
|
|
|
/// </summary>
|
|
|
public ushort Smoke001 { get; set; }
|
|
|
|
|
|
public ushort ProtectionZone002 { get; set; }
|
|
|
public ushort Type002 { get; set; }
|
|
|
public ushort DetectorID002 { get; set; }
|
|
|
public ushort AlarmLevel002 { get; set; }
|
|
|
public ushort Temperature002 { get; set; }
|
|
|
public ushort CoConcentration002 { get; set; }
|
|
|
public ushort VOC002 { get; set; }
|
|
|
public ushort Smoke002 { get; set; }
|
|
|
public ushort ProtectionZone003 { get; set; }
|
|
|
public ushort Type003 { get; set; }
|
|
|
public ushort DetectorID003 { get; set; }
|
|
|
public ushort AlarmLevel003 { get; set; }
|
|
|
public ushort Temperature003 { get; set; }
|
|
|
public ushort CoConcentration003 { get; set; }
|
|
|
public ushort VOC003 { get; set; }
|
|
|
public ushort Smoke003 { get; set; }
|
|
|
public ushort ProtectionZone004 { get; set; }
|
|
|
public ushort Type004 { get; set; }
|
|
|
public ushort DetectorID004 { get; set; }
|
|
|
public ushort AlarmLevel004 { get; set; }
|
|
|
public ushort Temperature004 { get; set; }
|
|
|
public ushort CoConcentration004 { get; set; }
|
|
|
public ushort VOC004 { get; set; }
|
|
|
public ushort Smoke004 { get; set; }
|
|
|
public ushort ProtectionZone005 { get; set; }
|
|
|
public ushort Type005 { get; set; }
|
|
|
public ushort DetectorID005 { get; set; }
|
|
|
public ushort AlarmLevel005 { get; set; }
|
|
|
public ushort Temperature005 { get; set; }
|
|
|
public ushort CoConcentration005 { get; set; }
|
|
|
public ushort VOC005 { get; set; }
|
|
|
public ushort Smoke005 { get; set; }
|
|
|
public ushort ProtectionZone006 { get; set; }
|
|
|
public ushort Type006 { get; set; }
|
|
|
public ushort DetectorID006 { get; set; }
|
|
|
public ushort AlarmLevel006 { get; set; }
|
|
|
public ushort Temperature006 { get; set; }
|
|
|
public ushort CoConcentration006 { get; set; }
|
|
|
public ushort VOC006 { get; set; }
|
|
|
public ushort Smoke006 { get; set; }
|
|
|
}
|
|
|
|
|
|
public class Subzone7Resp
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 1#灭火器状态
|
|
|
/// 0x0000:未启用,表示灭火器不存在
|
|
|
/// 0x0001:正常
|
|
|
/// 0x0002:喷洒,表示灭火 器正在启动中
|
|
|
/// 0x0003:失效,表示灭火 器已喷洒完毕
|
|
|
/// </summary>
|
|
|
public ushort FireExtinguisherStatus01 { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 1#灭火器防护区
|
|
|
/// 1:表示电池仓
|
|
|
/// 2:表示充电室
|
|
|
/// 3:表示主控室
|
|
|
/// 4:表示换电通道
|
|
|
/// 5:表示电池仓 2
|
|
|
/// 6:表示充电室 2
|
|
|
/// 7:预留
|
|
|
/// 8:预留
|
|
|
/// </summary>
|
|
|
public ushort FireExtinguisherProtectionArea01 { get; set; }
|
|
|
|
|
|
public ushort FireExtinguisherStatus02 { get; set; }
|
|
|
public ushort FireExtinguisherProtectionArea02 { get; set; }
|
|
|
public ushort FireExtinguisherStatus03 { get; set; }
|
|
|
public ushort FireExtinguisherProtectionArea03 { get; set; }
|
|
|
public ushort FireExtinguisherStatus04 { get; set; }
|
|
|
public ushort FireExtinguisherProtectionArea04 { get; set; }
|
|
|
} |