You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.1 KiB
33 lines
1.1 KiB
2 years ago
|
namespace JiLinApp.Biz.TransmitAlarm;
|
||
2 years ago
|
|
||
|
public class AlarmMessage
|
||
|
{
|
||
|
/** (必填)传感器设备编码*/
|
||
|
public string labelCode;
|
||
|
/** (必填)报警类型((1-视频报警,2-雷达报警;3-微振动警报,4-电子围网警报,9-其他报警))*/
|
||
|
public int warnType;
|
||
|
/** (必填)报警级别(1-5)*/
|
||
|
public int warnLevel;
|
||
|
/** (必填)报警内容*/
|
||
|
public string warnContent;
|
||
|
/** 处置方式*/
|
||
|
public int dealWay;
|
||
|
/** (必填)处置状态(1-未处理,2-已处理)*/
|
||
|
public int dealStatus;
|
||
|
/** (必填)发生地点*/
|
||
|
public string cameraLoc;
|
||
|
/** (必填)发生时间*/
|
||
|
public DateTime createTime;
|
||
|
/** 负责人*/
|
||
|
public string director;
|
||
|
/** (必填)类型(1-预警,2-报警,3-故障,)*/
|
||
|
public int kind;
|
||
|
/** 现场照片*/
|
||
|
public string imgUrl;
|
||
|
|
||
|
public override string ToString()
|
||
|
{
|
||
|
return string.Format("{{ labelCode:{0}, warnType:{1}, warnLevel:{2}, warnContent:{3}, createTime:{4} }}",
|
||
|
labelCode, warnType, warnLevel, warnContent, createTime);
|
||
|
}
|
||
|
}
|