| | |
| | | import com.core.common.SpringUtils; |
| | | import com.zy.asrs.entity.BasShuttle; |
| | | import com.zy.asrs.service.BasShuttleService; |
| | | import com.zy.asrs.utils.Utils; |
| | | import com.zy.common.utils.NavigatePositionConvert; |
| | | import com.zy.core.News; |
| | | import com.zy.core.enums.ShuttleErrorCodeType; |
| | |
| | | * 实际坐标xyz单位mm |
| | | */ |
| | | private NyShuttlePointClass coord; |
| | | |
| | | /** |
| | | * WCS库位xyz |
| | | */ |
| | | private NyShuttlePointClass wcsPoint; |
| | | |
| | | /** |
| | | * 任务目的库位xyztaskId(正在动作的任务ID)lastTaskId(最后一个完成的任务ID)recentTaskId(收到的最后一个任务ID) |
| | |
| | | String locNo = NavigatePositionConvert.nyXyzToLocNo(point.getX(), point.getY(), point.getZ()); |
| | | this.point = point; |
| | | this.currentLocNo = locNo; |
| | | NyShuttlePointClass wcsPoint = new NyShuttlePointClass(); |
| | | wcsPoint.setX(Utils.getRow(locNo)); |
| | | wcsPoint.setY(Utils.getBay(locNo)); |
| | | wcsPoint.setZ(Utils.getLev(locNo)); |
| | | this.wcsPoint = wcsPoint; |
| | | } |
| | | |
| | | // 是否处于空闲待命状态 |