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

93 lines
2.8 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.JXJFoodBigStation.Model
  7. {
  8. public class DeviceAddress
  9. {
  10. #region 源地址
  11. ///// <summary>
  12. ///// 设备名称起始地址
  13. ///// </summary>
  14. //public static string DeviceName { get; set; } = "LW0";
  15. ///// <summary>
  16. ///// 料仓重量反馈起始地址
  17. ///// </summary>
  18. //public static string WeightFeedback { get; set; } = "LW52";//LW204
  19. ///// <summary>
  20. ///// 重量设置地址
  21. ///// </summary>
  22. //public static string WeightSet { get; set; } = "LW21";//LW200
  23. ///// <summary>
  24. ///// 启动信号地址
  25. ///// </summary>
  26. //public static string Start { get; set; } = "LW20";//LW210
  27. ///// <summary>
  28. ///// 下料重量反馈地址
  29. ///// </summary>
  30. //public static string CutWeightFeedback { get; set; } = "LW54";//LW202
  31. ///// <summary>
  32. ///// 设备运行状态地址
  33. ///// </summary>
  34. //public static string RunStatus { get; set; } = "LW55";//LW206
  35. ///// <summary>
  36. ///// 料仓的位置
  37. ///// </summary>
  38. //public static string Location { get; set; } = "LW53";
  39. #endregion
  40. #region 上位机下发
  41. /// <summary>
  42. /// 原料出料重量
  43. /// </summary>
  44. public static string WeightSet { get; set; } = "LW11";
  45. /// <summary>
  46. /// 启动开始配料
  47. /// </summary>
  48. public static string Start { get; set; } = "LW12";
  49. #endregion
  50. #region 上位机读取
  51. /// <summary>
  52. /// 设备运行状态地址
  53. /// </summary>
  54. public static string RunStatus { get; set; } = "LW50";
  55. /// <summary>
  56. /// 报警字
  57. /// </summary>
  58. public static string AlarmInfo { get; set; } = "LW51";
  59. /// <summary>
  60. /// 原料名称
  61. /// </summary>
  62. public static string DeviceName { get; set; } = "LW52";
  63. /// <summary>
  64. /// 料仓的位置
  65. /// </summary>
  66. public static string Location { get; set; } = "LW53";
  67. /// <summary>
  68. /// 原料类型
  69. /// </summary>
  70. public static string RawMaterialType { get; set; } = "LW54";
  71. /// <summary>
  72. /// 出料完成信号
  73. /// </summary>
  74. public static string OutRawMaterialFinish { get; set; } = "LW55";
  75. /// <summary>
  76. /// 料仓重量反馈起始地址
  77. /// </summary>
  78. public static string WeightFeedback { get; set; } = "LW56";
  79. /// <summary>
  80. /// 下料重量反馈地址
  81. /// </summary>
  82. public static string CutWeightFeedback { get; set; } = "LW57";
  83. #endregion
  84. }
  85. }