WeighPlcEnum.java 597 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. package com.warewms.hailiang.enums;
  2. import lombok.Data;
  3. /**
  4. * Created with IntelliJ IDEA.
  5. *
  6. * @author: liuzhifei
  7. * Date: 2023/8/7
  8. * Description:称重plc对接枚举
  9. **/
  10. public enum WeighPlcEnum {
  11. /**
  12. * 是否可以读取重量
  13. */
  14. IsRead(""),
  15. /**
  16. * 读取重量
  17. */
  18. ReadWeight(""),
  19. /**
  20. * 读取重量反馈
  21. */
  22. returnWeight("");
  23. private String db;
  24. WeighPlcEnum(String db) {
  25. this.db = db;
  26. }
  27. public String getDb() {
  28. return db;
  29. }
  30. public void setDb(String db) {
  31. this.db = db;
  32. }
  33. }