| | |
| | | package com.zy.asrs.entity.param; |
| | | |
| | | import com.zy.asrs.entity.LocMast; |
| | | import com.zy.core.model.CrnSlave; |
| | | import io.swagger.models.auth.In; |
| | | import lombok.Data; |
| | | |
| | |
| | | this.targetPointSta = crnSta; |
| | | }; |
| | | |
| | | public TaskCreateParam(CrnSlave crnSlave, LocMast locMast){ |
| | | this.taskNo = locMast.getLocNo() + "-" + crnSlave.getId(); |
| | | this.ioType = 4; |
| | | this.barcode = locMast.getBarcode(); |
| | | this.taskPriority = 1; |
| | | this.startPoint = locMast.getLocNo(); |
| | | this.startPointSta = crnSlave.getCrnOutStn().get(0).getStaNo(); |
| | | this.targetPoint = locMast.getLocNo(); |
| | | this.targetPointSta = crnSlave.getCrnInStn().get(0).getStaNo(); |
| | | this.emptyContainer = "N"; |
| | | this.crn = locMast.getCrnNo(); |
| | | this.memo = "演示任务"; |
| | | }; |
| | | |
| | | |
| | | public static Integer convertParamIoType(String paramIoType){ |
| | | switch (paramIoType){ |