using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPASmartClient.JXJFoodBigStation.Model.MQTT.Message { public class MsgPackage { /// /// 消息ID /// public int MessageId { get; set; } /// /// 消息内容 /// [JsonProperty(TypeNameHandling = TypeNameHandling.Auto)] public IMessage Message { get; set; } /// /// 消息长度 /// public int MessageLen { get; set; } } }