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

118 lines
3.2 KiB

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