response_checkHeartBeat.cs 1011 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.IO;
  7. namespace HXX.Scanner.Biz.Socket
  8. {
  9. /// <summary>
  10. /// 返回 心跳
  11. /// </summary>
  12. public class response_checkHeartBeat : response_base
  13. {
  14. public response_checkHeartBeat()
  15. {
  16. action = "checkHeartBeat";
  17. msg = "请求成功!";
  18. }
  19. public response_status data { get; set; }
  20. }
  21. public class response_status
  22. {
  23. // status 状态定义
  24. // 200 扫描仪就绪
  25. // 201 正在扫描
  26. // 501 扫描仪未连接
  27. // 502 未检测到纸张
  28. // 509 其他未正常的状态
  29. public int status { get; set; }
  30. /// <summary>
  31. /// 本机唯一uuid
  32. /// </summary>
  33. public string uniqueClient { get; set; }
  34. /// <summary>
  35. /// 考试id
  36. /// </summary>
  37. public string examPaperId { get; set; }
  38. }
  39. }