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.

34 lines
1.3 KiB

namespace JiLinApp.Biz.TransmitAlarm;
public class AlarmMessage
{
/** (必填)传感器设备编码*/
public string LabelCode { get; set; }
public string ChannelId { get; set; }
/** (必填)报警类型((1-视频报警,2-雷达报警;3-微振动警报,4-电子围网警报,9-其他报警))*/
public int WarnType { get; set; }
/** (必填)报警级别(1-5)*/
public int WarnLevel { get; set; }
/** (必填)报警内容*/
public string WarnContent { get; set; }
/** 处置方式*/
public int DealWay { get; set; }
/** (必填)处置状态(1-未处理,2-已处理)*/
public int DealStatus { get; set; }
/** (必填)发生地点*/
public string CameraLoc { get; set; }
/** (必填)发生时间*/
public DateTime CreateTime { get; set; }
/** 负责人*/
public string Director { get; set; }
/** (必填)类型(1-预警,2-报警,3-故障,)*/
public int Kind { get; set; }
/** 现场照片*/
public string ImgUrl { get; set; }
public override string ToString()
{
return string.Format("{{ labelCode:{0}, channelId:{1}, warnType:{2}, warnLevel:{3}, warnContent:{4}, createTime:{5} }}",
LabelCode, ChannelId, WarnType, WarnLevel, WarnContent, CreateTime);
}
}