using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace Utils { //[JsonProperty("AlarmInfoPlate")] public class Response_AlarmInfoPlate { [JsonProperty("AlarmInfoPlate")] /// /// OK 开闸 /// public string info { get; set; } [JsonProperty("AlarmInfoPlate")] /// /// 端口号 /// public int channelNum { get; set; } [JsonProperty("AlarmInfoPlate")] /// /// 串口数据 /// public List serialData { get; set; } } /// /// 串口数据 /// public class SerialData { [JsonProperty("AlarmInfoPlate")] public string serialChannel { get; set; } [JsonProperty("AlarmInfoPlate")] public string data { get; set; } [JsonProperty("AlarmInfoPlate")] public int dataLen { get; set; } } }