味魔方demo
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
551 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace CommcationLibray
  7. {
  8. /// <summary>
  9. /// 包装返回结果
  10. /// </summary>
  11. public class Result
  12. {
  13. /// <summary>
  14. /// 状态
  15. /// </summary>
  16. public bool State { set; get; }
  17. /// <summary>
  18. /// 错误信息
  19. /// </summary>
  20. public string Exception { get; set; }
  21. /// <summary>
  22. /// 转成对应的数据 ushort int float
  23. /// </summary>
  24. public object Datas { get; set; }
  25. }
  26. }