终端一体化运控平台
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 

90 linhas
2.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.DosingSystem.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 CutWeightFeedback { get; set; } = "LW54";
  30. /// <summary>
  31. /// 设备编号
  32. /// </summary>
  33. public static string DeviceNum { get; set; } = "LW57";
  34. /// <summary>
  35. /// 设备运行状态地址
  36. /// </summary>
  37. public static string RunStatus { get; set; } = "LW60";
  38. /// <summary>
  39. /// 慢加重量
  40. /// </summary>
  41. public static string SlowlyAddWeight { get; set; } = "LW23";
  42. /// <summary>
  43. /// 提前关阀重量
  44. /// </summary>
  45. public static string PreCloseValveWeight { get; set; } = "LW25";
  46. /// <summary>
  47. /// 快加速度
  48. /// </summary>
  49. public static string RapidAcceleration { get; set; } = "LW27";
  50. /// <summary>
  51. /// 慢加速度
  52. /// </summary>
  53. public static string SlowAcceleration { get; set; } = "LW29";
  54. /// <summary>
  55. /// 伺服手动速度
  56. /// </summary>
  57. public static string ServoManualSpeed { get; set; } = "LW31";
  58. /// <summary>
  59. /// 料仓上限重量
  60. /// </summary>
  61. public static string SiloUpperLimitWeight { get; set; } = "LW33";
  62. /// <summary>
  63. /// 料仓下限重量
  64. /// </summary>
  65. public static string LowerLimitWeightOfSilo { get; set; } = "LW35";
  66. /// <summary>
  67. /// 搅拌速度
  68. /// </summary>
  69. public static string StirringSpeed { get; set; } = "LW37";
  70. }
  71. }