| | |
| | | if (this.getPoint() == null) { |
| | | return ""; |
| | | } |
| | | return NavigatePositionConvert.xyzToLocNo(this.getPoint().getX(), this.getPoint().getY(), this.getPoint().getZ()); |
| | | return NavigatePositionConvert.nyXyzToLocNo(this.getPoint().getX(), this.getPoint().getY(), this.getPoint().getZ()); |
| | | } |
| | | |
| | | public String getCoord$() { |
| | |
| | | } |
| | | |
| | | public void setPoint(NyShuttlePointClass point) { |
| | | String locNo = NavigatePositionConvert.xyzToLocNo(point.getX(), point.getY(), point.getZ()); |
| | | String locNo = NavigatePositionConvert.nyXyzToLocNo(point.getX(), point.getY(), point.getZ()); |
| | | this.point = point; |
| | | this.currentLocNo = locNo; |
| | | } |
| | |
| | | } |
| | | } |
| | | |
| | | // 是否处于空闲待命状态 |
| | | public Boolean isIdleNoCharge() { |
| | | boolean res = this.free == ShuttleStatusType.IDLE.id |
| | | && this.pakMk.equals(true) |
| | | && this.errState == 0 |
| | | && this.taskNo == 0 |
| | | && this.protocolStatus == ShuttleProtocolStatusType.IDLE.id |
| | | ; |
| | | return res; |
| | | } |
| | | } |