| | |
| | | } |
| | | |
| | | @Override |
| | | public boolean isFault() { |
| | | if (this.shuttleProtocol.getErrorCode() == null |
| | | || this.shuttleProtocol.getMode() == null |
| | | || this.shuttleProtocol.getExtend() == null |
| | | ) { |
| | | return false; |
| | | } |
| | | |
| | | InnerSuhttleExtend extend = (InnerSuhttleExtend) this.shuttleProtocol.getExtend(); |
| | | boolean res = this.shuttleProtocol.getMode() == 0 |
| | | && !this.shuttleProtocol.getErrorCode().equals("0") |
| | | && extend.getSuspendState() == 1 |
| | | ; |
| | | return res; |
| | | } |
| | | |
| | | @Override |
| | | public List<NavigateNode> getMoveAdvancePath() { |
| | | ObjectMapper objectMapper = SpringUtils.getBean(ObjectMapper.class); |
| | | NavigateMapData navigateMapData = SpringUtils.getBean(NavigateMapData.class); |