*
lsh
2025-04-28 e82ebf78cdc2b0c0579f8bc00f9956ce4f76bffc
src/main/java/com/zy/asrs/entity/param/TaskCreateParam.java
@@ -34,6 +34,27 @@
    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());
@@ -70,4 +91,20 @@
        }
    }
    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;
        }
    }
}