VmsModule.java 845 B

123456789101112131415161718192021222324252627282930
  1. package com.its.vms.domain;
  2. import com.its.vms.domain.enums.eVmsReqBoardPower;
  3. import lombok.Data;
  4. import java.io.Serializable;
  5. /**
  6. * DTO Class
  7. */
  8. @Data
  9. public class VmsModule implements Serializable {
  10. private static final long serialVersionUID = 1L;
  11. private boolean isOnOff;
  12. private int reqOnOff;
  13. private int curOnOff;
  14. private String powerOnTime; /* ON TIME */
  15. private String powerOffTime; /* OFF TIME */
  16. private int retry;
  17. public VmsModule() {
  18. this.isOnOff = true;
  19. this.reqOnOff = eVmsReqBoardPower.vms_req_board_power_on.getValue(); // 0x00 : 꺼짐, 0x01 : 켜짐,
  20. this.curOnOff = eVmsReqBoardPower.vms_req_board_power_off.getValue(); // 0x00 : 꺼짐, 0x01 : 켜짐,
  21. this.powerOnTime = "";
  22. this.powerOffTime = "";
  23. this.retry = 1;
  24. }
  25. }