|
|
using HybirdFrameworkDriver.ModbusTcpMaster;
|
|
|
|
|
|
namespace Service.FireControl.Msg;
|
|
|
|
|
|
/// <summary>
|
|
|
/// 2.2数据列表 消防0x01
|
|
|
/// </summary>
|
|
|
public class Subzone2
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 报警 1:有火灾报警信号(一级预警不上报)0:默认状态
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> GiveAnAlarm { get; set; } = new(0x0000,length :1);
|
|
|
/// <summary>
|
|
|
/// 故障数量 0:无故障1:有故障
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> NumberOfFailures { get; set; } = new(0x0001,length :1);
|
|
|
/// <summary>
|
|
|
/// 消音 1:处于消音状态0:默认状态
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> SoundSuppression { get; set; } = new(0x0002,length :1);
|
|
|
/// <summary>
|
|
|
/// 自检 1:处于自检状态0:默认状态
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> SelfInspection { get; set; } = new(0x0003,length :1);
|
|
|
/// <summary>
|
|
|
/// 主电 1:使用主电0:默认状态
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> MainPower { get; set; } = new(0x0004,length :1);
|
|
|
/// <summary>
|
|
|
/// 备电 1:使用备电0:默认状态
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> PowerSupplyBackup { get; set; } = new(0x0005,length :1);
|
|
|
/// <summary>
|
|
|
/// 备电欠压 1:使用备电0:默认状态
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> BackupPowerUnderpowered { get; set; } = new(0x0006,length :1);
|
|
|
/// <summary>
|
|
|
/// 自动模式 1:系统处于自动模式0:默认状态
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> AutomaticMode { get; set; } = new(0x0007,length :1);
|
|
|
/// <summary>
|
|
|
/// 手动模式 1:系统处于手动模式0:默认状态
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> ManualMode { get; set; } = new(0x0008,length :1);
|
|
|
/// <summary>
|
|
|
/// 手动启动 1:有手动启动信号0:默认状态
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> ManualStart { get; set; } = new(0x0009,length :1);
|
|
|
/// <summary>
|
|
|
/// 手动急停 1:有手动急停信号0:默认状态
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> ManualScram { get; set; } = new(0x000A,length :1);
|
|
|
/// <summary>
|
|
|
/// 启动控制 1:系统存在启动控制信号0:默认状态
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> StartUpControl { get; set; } = new(0x000B,length :1);
|
|
|
/// <summary>
|
|
|
/// 延时 1:有分区处于延时状态0:无默认状态
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> Delay { get; set; } = new(0x000C,length :1);
|
|
|
/// <summary>
|
|
|
/// 启动喷洒 1:延时结束后,发出启动喷洒 信号0:默认状态
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> PrimingSpray { get; set; } = new(0x000D,length :1);
|
|
|
/// <summary>
|
|
|
/// 喷洒 1:存在喷洒状态, 即收到启动 反馈信号,表示灭火器启动成功 0:默认状态
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> Spray { get; set; } = new(0x000E,length :1);
|
|
|
/// <summary>
|
|
|
/// 声光报警状态 1:声光报警状态0:默认状态
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> AudibleVisualAlarmStatus { get; set; } = new(0x000F,length :1);
|
|
|
/// <summary>
|
|
|
/// 放气勿入状态 1:放气勿入状态0:默认状态
|
|
|
/// </summary>
|
|
|
public ModbusProperty<bool> DeflatedDoNotEnter { get; set; } = new(0x0010,length :1);
|
|
|
|
|
|
} |