using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SensorHub.Servers.JsonFormat { public class Json { public string mType { get; set; } //消息类型 public string devType { get; set; } //设备类型 public string devCode { get; set; } //设备编号 public JsonBody mBody { get; set; } //业务消息体 public long ts { get; set; } //时间戳 public Json(string mType, string devType, string devCode, JsonBody mBody, long ts) { this.mType = mType; this.devType = devType; this.devCode = devCode; this.mBody = mBody; this.ts = ts; } public Json() { } } }