| | |
| | | import com.zy.asrs.service.BasShuttleService; |
| | | import com.zy.common.utils.NavigatePositionConvert; |
| | | import com.zy.core.News; |
| | | import com.zy.core.enums.ShuttleErrorCodeType; |
| | | import com.zy.core.enums.ShuttleProtocolStatusType; |
| | | import com.zy.core.enums.ShuttleStatusType; |
| | | import com.zy.core.model.command.ShuttleAssignCommand; |
| | |
| | | * 目标库位 |
| | | */ |
| | | private String locNo; |
| | | |
| | | /** |
| | | * 小车当前库位号 |
| | | */ |
| | | private String currentLocNo; |
| | | |
| | | /** |
| | | * 作业标记 |
| | |
| | | return JSON.toJSONString(this.getCoord()); |
| | | } |
| | | |
| | | public void setPoint(NyShuttlePointClass point) { |
| | | String locNo = NavigatePositionConvert.xyzToLocNo(point.getX(), point.getY(), point.getZ()); |
| | | this.point = point; |
| | | this.currentLocNo = locNo; |
| | | } |
| | | |
| | | // 是否处于空闲待命状态 |
| | | public Boolean isIdle() { |
| | | boolean res = this.free == ShuttleStatusType.IDLE.id |