终端一体化运控平台
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 

109 Zeilen
3.3 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace BPASmartClient.Model
  7. {
  8. public class JakaModel
  9. {
  10. public const string SENCE_初始位 = "1000";
  11. public const string SENCE_初始位_取杯位 = "1010";
  12. public const string SENCE_取杯位_取杯放杯检测位 = "1011";
  13. public const string SENCE_取杯放杯检测位_取杯位 = "1012";
  14. public const string SENCE_取杯位_接咖啡位 = "1020";
  15. public const string SENCE_取杯位_接奶茶位 = "1021";
  16. public const string SENCE_等奶茶_接奶茶位 = "1022";
  17. public const string SENCE_接咖啡位_放咖啡位 = "1030";
  18. public const string SENCE_接奶茶位_放奶茶位 = "1031";
  19. public const string SENCE_落杯 = "1100";
  20. public const string SENCE_初始位_取杯位检测 = "1200";
  21. public const string SENCE_取杯位检测_取杯位 = "1300";
  22. public const string SENCE_取杯位_接咖啡 = "1400";
  23. public const string SENCE_取杯位_接奶茶 = "1500";
  24. public const string SENCE_初始位_放杯位检测 = "1600";
  25. public const string SENCE_放杯位检测_接咖啡 = "1610";
  26. public const string SENCE_放杯位检测_接奶茶 = "1620";
  27. public const string SENCE_接咖啡_放杯位 = "1700";
  28. public const string SENCE_接奶茶_放杯位 = "1800";
  29. public const string SENCE_异常回初始位 = "1900";
  30. public const string SENCE_接咖啡_初始位 = "1910";
  31. public const string SENCE_接奶茶_初始位 = "1920";
  32. public const string SENCE_放杯位_初始位 = "2000";
  33. public const string SENCE_初始位_落杯位 = "100";
  34. public const string SENCE_落杯位_接咖啡位 = "110";
  35. public const string SENCE_接咖啡位_初始位 = "120";
  36. public const string SENCE_落杯位_接奶茶等待位 = "150";
  37. public const string SENCE_接奶茶等待位_初始位 = "160";
  38. public const string SENCE_接咖啡_放咖啡杯 = "";
  39. public const string SENCE_接水 = "";
  40. public const string SENCE_放茶水杯 = "";
  41. public const string SENCE_接茶_接水 = "";
  42. public const string SENCE_接果汁1 = "";
  43. public const string SENCE_接果汁2 = "";
  44. public const string SENCE_接果汁3 = "";
  45. public const string SENCE_接果汁4 = "";
  46. public const string SENCE_放果汁杯1 = "";
  47. public const string SENCE_放果汁杯2 = "";
  48. public const string SENCE_放果汁杯3 = "";
  49. public const string SENCE_放果汁杯4 = "";
  50. public const string SENCE_取杯检测 = "";
  51. public const string SENCE_放杯 = "";
  52. public const string SENCE_放杯检测 = "";
  53. public const string SENCE_接茶 = "";
  54. }
  55. public class WriteJaka : BaseEvent
  56. {
  57. public string Address { get; set; }
  58. public object Value { get; set; }
  59. public int DO_Index { get; set; }
  60. }
  61. public class ReadJaka : BaseEvent
  62. {
  63. public string Address { get; set; }
  64. public ushort Length { get; set; }
  65. public object ReadPar { get; set; }
  66. }
  67. public enum Kind:int
  68. {
  69. 咖啡 = 1,
  70. 奶茶 = 2
  71. }
  72. }