Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

79 linhas
2.5 KiB

  1. using BPASmartClient.CustomResource.Pages.Model;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace HKControl
  8. {
  9. public class DataModel
  10. {
  11. public WindowDataModel LeftWindowData { get; set; } = new WindowDataModel();
  12. public WindowDataModel RightWindowData { get; set; } = new WindowDataModel();
  13. }
  14. public class WindowDataModel
  15. {
  16. /// <summary>
  17. /// 是否允许刷卡
  18. /// </summary>
  19. public bool IsSwipe { get; set; }
  20. /// <summary>
  21. /// 开始配餐
  22. /// </summary>
  23. public bool Start { get; set; }
  24. /// <summary>
  25. /// 配餐完成状态
  26. /// </summary>
  27. public bool Complete { get; set; }
  28. /// <summary>
  29. /// 刷卡机编号
  30. /// </summary>
  31. public string CarNum { get; set; }
  32. [Alarm("警告左侧机构餐盘无盘")]
  33. public bool L1 { get; set; }
  34. [Alarm("警告左侧升降气缸下降不到位")]
  35. public bool L2 { get; set; }
  36. [Alarm("警告左侧升降气缸中间不到位")]
  37. public bool L3 { get; set; }
  38. [Alarm("警告左侧升降气缸上升不到位")]
  39. public bool L4 { get; set; }
  40. [Alarm("警告左侧升降气缸上升不到位")]
  41. public bool L5 { get; set; }
  42. [Alarm("警告左侧机构推空餐盘不到位")]
  43. public bool L6 { get; set; }
  44. [Alarm("警告左侧出餐推不到位")]
  45. public bool L7 { get; set; }
  46. [Alarm("警告左侧出餐回退不到位")]
  47. public bool L8 { get; set; }
  48. [Alarm("警告左餐盘掉落位置有餐盘")]
  49. public bool L9 { get; set; }
  50. [Alarm("警告右侧机构餐盘无盘")]
  51. public bool R1 { get; set; }
  52. [Alarm("警告右侧升降气缸下降不到位")]
  53. public bool R2 { get; set; }
  54. [Alarm("警告右侧升降气缸中间不到位")]
  55. public bool R3 { get; set; }
  56. [Alarm("警告右侧升降气缸上升不到位")]
  57. public bool R4 { get; set; }
  58. [Alarm("警告右侧升降气缸上升不到位")]
  59. public bool R5 { get; set; }
  60. [Alarm("警告右侧机构推空餐盘不到位")]
  61. public bool R6 { get; set; }
  62. [Alarm("警告右侧出餐推不到位")]
  63. public bool R7 { get; set; }
  64. [Alarm("警告右侧出餐回退不到位")]
  65. public bool R8 { get; set; }
  66. [Alarm("警告右餐盘掉落位置有餐盘")]
  67. public bool R9 { get; set; }
  68. }
  69. }