| | |
| | | |
| | | public TaskCreateParam(){}; |
| | | |
| | | public TaskCreateParam(String taskNo, Integer ioType, String barcode, String startPoint, Integer taskPriority, String targetPoint, String emptyContainer) { |
| | | this.taskNo = taskNo; |
| | | this.ioType = ioType; |
| | | this.barcode = barcode; |
| | | this.startPoint = startPoint; |
| | | this.taskPriority = taskPriority; |
| | | this.targetPoint = targetPoint; |
| | | this.emptyContainer = emptyContainer; |
| | | } |
| | | |
| | | public TaskCreateParam(String taskNo, Integer ioType, String startPoint, Integer taskPriority, String targetPoint, String emptyContainer, String barcode, String memo) { |
| | | this.taskNo = taskNo; |
| | | this.ioType = ioType; |
| | | this.startPoint = startPoint; |
| | | this.taskPriority = taskPriority; |
| | | this.targetPoint = targetPoint; |
| | | this.emptyContainer = emptyContainer; |
| | | this.barcode = barcode; |
| | | this.memo = memo; |
| | | } |
| | | |
| | | public TaskCreateParam(WMSAndAGVInterfaceParam param){ |
| | | this.taskNo = param.getTaskNo(); |
| | | this.ioType = convertParamIoType(param.getTaskType()); |
| | |
| | | } |
| | | } |
| | | |
| | | public void updateIoTyoe(Integer ioTypeOld){ |
| | | switch (ioTypeOld){ |
| | | case 1: |
| | | this.ioType = 2; |
| | | break; |
| | | case 2: |
| | | this.ioType = 3; |
| | | break; |
| | | case 3: |
| | | this.ioType = 1; |
| | | break; |
| | | default: |
| | | this.ioType = 3; |
| | | } |
| | | } |
| | | |
| | | } |