终端一体化运控平台
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.
 
 
 

121 lines
3.2 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.JXJFoodSmallStation.Model
  7. {
  8. public class DeviceAddress
  9. {
  10. /// <summary>
  11. /// 设备名称起始地址
  12. /// </summary>
  13. public static string DeviceName { get; set; } = "LW0";
  14. /// <summary>
  15. /// 料仓重量反馈起始地址
  16. /// </summary>
  17. public static string WeightFeedback { get; set; } = "LW52";
  18. /// <summary>
  19. /// 重量设置地址
  20. /// </summary>
  21. public static string WeightSet { get; set; } = "LW21";
  22. /// <summary>
  23. /// 启动信号地址
  24. /// </summary>
  25. public static string Start { get; set; } = "LW20";
  26. /// <summary>
  27. /// 开盖地址
  28. /// </summary>
  29. public static string OpenLid { get; set; } = "";
  30. /// <summary>
  31. /// 关盖地址
  32. /// </summary>
  33. public static string CloseLid { get; set; } = "";
  34. /// <summary>
  35. /// 下料重量反馈地址
  36. /// </summary>
  37. public static string CutWeightFeedback { get; set; } = "LW54";
  38. /// <summary>
  39. /// 设备编号
  40. /// </summary>
  41. public static string DeviceNum { get; set; } = "LW57";
  42. /// <summary>
  43. /// 设备故障编码
  44. /// </summary>
  45. public static string DeviceAlarmCode { get; set; } = "LW51";
  46. /// <summary>
  47. /// 原料设备类型
  48. /// 1:膏体,2:液体,3:粉体
  49. /// </summary>
  50. public static string MaterialDeviceType { get; set; } = "LW56";
  51. /// <summary>
  52. /// 设备运行状态地址
  53. /// </summary>
  54. public static string RunStatus { get; set; } = "LW60";
  55. /// <summary>
  56. /// 出料完成,置位该信号,plc复位运行状态
  57. /// </summary>
  58. public static string FinfishStatus { get; set; } = "LW40";
  59. /// <summary>
  60. /// 慢加重量
  61. /// </summary>
  62. public static string SlowlyAddWeight { get; set; } = "LW23";
  63. /// <summary>
  64. /// 提前关阀重量
  65. /// </summary>
  66. public static string PreCloseValveWeight { get; set; } = "LW25";
  67. /// <summary>
  68. /// 快加速度
  69. /// </summary>
  70. public static string RapidAcceleration { get; set; } = "LW27";
  71. /// <summary>
  72. /// 慢加速度
  73. /// </summary>
  74. public static string SlowAcceleration { get; set; } = "LW29";
  75. /// <summary>
  76. /// 伺服手动速度
  77. /// </summary>
  78. public static string ServoManualSpeed { get; set; } = "LW31";
  79. /// <summary>
  80. /// 料仓上限重量
  81. /// </summary>
  82. public static string SiloUpperLimitWeight { get; set; } = "LW33";
  83. /// <summary>
  84. /// 料仓下限重量
  85. /// </summary>
  86. public static string LowerLimitWeightOfSilo { get; set; } = "LW35";
  87. /// <summary>
  88. /// 配料信号反馈
  89. /// </summary>
  90. public static string DosingStatusFeedback { get; set; } = "LW62";
  91. /// <summary>
  92. /// 搅拌速度
  93. /// </summary>
  94. public static string StirringSpeed { get; set; } = "LW37";
  95. }
  96. }