| | |
| | | import com.zy.core.cache.OutputQueue; |
| | | import com.zy.core.enums.SlaveType; |
| | | import com.zy.core.enums.SteStatusType; |
| | | import com.zy.core.enums.SteTaskModeType; |
| | | import com.zy.core.model.SteSlave; |
| | | import com.zy.core.model.Task; |
| | | import com.zy.core.model.command.SteCommand; |
| | |
| | | |
| | | import java.text.MessageFormat; |
| | | import java.util.Date; |
| | | import java.util.Random; |
| | | |
| | | /** |
| | | * shuttle 穿梭车线程 |
| | |
| | | if (result != null && result.IsSuccess) { |
| | | // 维护数据库排列层 |
| | | if (!steProtocol.getWaiting()) { |
| | | this.lastRow = command.getRow().intValue(); |
| | | this.lastBay = command.getBay().intValue(); |
| | | this.lastLev = command.getLev().intValue(); |
| | | this.modifyPos(command.getRow().intValue(), command.getBay().intValue(), command.getLev().intValue()); |
| | | } |
| | | |
| | | log.info("穿梭车命令下发[id:{}] >>>>> {}", slave.getId(), JSON.toJSON(command)); |