using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CommcationLibray { /// /// 包装返回结果 /// public class Result { /// /// 状态 /// public bool State { set; get; } /// /// 错误信息 /// public string Exception { get; set; } /// /// 转成对应的数据 ushort int float /// public object Datas { get; set; } } }