终端一体化运控平台
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 

144 рядки
4.3 KiB

  1. using System.Windows.Input;
  2. namespace BPASmartClient.DosingSystem
  3. {
  4. public class DeviceAddress
  5. {
  6. /// <summary>
  7. /// 设备名称起始地址
  8. /// </summary>
  9. public static string DeviceName { get; set; } = "LW0";
  10. public static string Finish_Point { get; set; } = "LW49";
  11. public static string WorkModel { get; set; } = "LW50";
  12. public static string RealtimeWeight { get; set; } = "LW54";
  13. /// <summary>
  14. /// 料仓重量反馈起始地址
  15. /// </summary>
  16. public static string WeightFeedback { get; set; } = "LW52";
  17. /// <summary>
  18. /// 重量设置地址
  19. /// </summary>
  20. public static string WeightSet { get; set; } = "LW21";
  21. /// <summary>
  22. /// 启动信号地址
  23. /// </summary>
  24. public static string Start { get; set; } = "LW20";
  25. /// <summary>
  26. /// 下料重量反馈地址
  27. /// </summary>
  28. public static string CutWeightFeedback { get; set; } = "LW58";
  29. /// <summary>
  30. /// 设备编号
  31. /// </summary>
  32. public static string DeviceNum { get; set; } = "LW57";
  33. /// <summary>
  34. /// 设备故障编码
  35. /// </summary>
  36. public static string DeviceAlarmCode { get; set; } = "LW51";
  37. /// <summary>
  38. /// 原料设备类型
  39. /// 1:膏体,2:液体,3:粉体
  40. /// </summary>
  41. public static string MaterialDeviceType { get; set; } = "LW56";
  42. /// <summary>
  43. /// 设备运行状态地址
  44. /// </summary>
  45. public static string RunStatus { get; set; } = "LW60";
  46. /// <summary>
  47. /// 出料完成,置位该信号,plc复位运行状态
  48. /// </summary>
  49. public static string FinfishStatus { get; set; } = "LW40";
  50. /// <summary>
  51. /// 慢加重量
  52. /// </summary>
  53. public static string SlowlyAddWeight { get; set; } = "LW23";
  54. /// <summary>
  55. /// 提前关阀重量
  56. /// </summary>
  57. public static string PreCloseValveWeight { get; set; } = "LW25";
  58. /// <summary>
  59. /// 快加速度
  60. /// </summary>
  61. public static string RapidAcceleration { get; set; } = "LW27";
  62. /// <summary>
  63. /// 慢加速度
  64. /// </summary>
  65. public static string SlowAcceleration { get; set; } = "LW29";
  66. /// <summary>
  67. /// 伺服手动速度
  68. /// </summary>
  69. public static string ServoManualSpeed { get; set; } = "LW31";
  70. /// <summary>
  71. /// 料仓上限重量
  72. /// </summary>
  73. public static string SiloUpperLimitWeight { get; set; } = "LW33";
  74. /// <summary>
  75. /// 料仓下限重量
  76. /// </summary>
  77. public static string LowerLimitWeightOfSilo { get; set; } = "LW35";
  78. /// <summary>
  79. /// 搅拌速度
  80. /// </summary>
  81. public static string StirringSpeed { get; set; } = "LW37";
  82. /// <summary>
  83. /// 清零设备的已执行配方数。
  84. /// </summary>
  85. public static string ZeroRecipeCount { get; set; } = "LW39";
  86. /// <summary>
  87. /// 配方最大桶数 设备设置参数
  88. /// </summary>
  89. public static string MaxPail { get; set; } = "LW43";
  90. /// <summary>
  91. /// 配方最大桶数 设备返回参数
  92. /// </summary>
  93. public static string GetMaxPail { get; set; } = "LW63";
  94. /// <summary>
  95. /// 清除已通过桶数 1.清除 0.不清除
  96. /// </summary>
  97. public static string DeletePassPail { get; set; } = "LW44";
  98. /// <summary>
  99. /// 输送速度
  100. /// </summary>
  101. public static string TranspportSp { get; set; } = "LW42";
  102. /// <summary>
  103. /// 输送启停 0.停止 1.启动
  104. /// </summary>
  105. public static string TranspportSwitch { get; set; } = "LW41";
  106. /// <summary>
  107. /// 已通过桶数
  108. /// </summary>
  109. public static string PassPail { get; set; } = "LW62";
  110. /// <summary>
  111. /// 桶到位检测
  112. /// </summary>
  113. public static string PailArrive { get; set; } = "LW61";
  114. /// <summary>
  115. /// 设备执行配方计数
  116. /// </summary>
  117. public static string DoRecipeCount { get; set; } = "LW64";
  118. }
  119. }