using Newtonsoft.Json;

namespace BPA.MES.Base.Application
{
    public class MsgPackage
    {
        /// <summary>
        /// 消息内容
        /// </summary>
        [JsonProperty(TypeNameHandling = TypeNameHandling.Auto)]
        public IMessage Message { get; set; }
        /// <summary>
        /// 消息长度
        /// </summary>
        public int MessageLen { get; set; }
      
    }
}
