| | |
| | | |
| | | @Override |
| | | public synchronized boolean setProtocolStatus(ShuttleProtocolStatusType status) { |
| | | if (status.equals(ShuttleProtocolStatusType.IDLE)) { |
| | | this.shuttleProtocol.setIdleTime(System.currentTimeMillis()); |
| | | } |
| | | this.shuttleProtocol.setProtocolStatus(status); |
| | | return true; |
| | | } |
| | |
| | | } |
| | | |
| | | @Override |
| | | public boolean setTrafficControl(boolean enable, List<NavigateNode> nodeList) { |
| | | shuttleProtocol.setTrafficControl(enable); |
| | | shuttleProtocol.setTrafficControlNodes(nodeList); |
| | | return true; |
| | | } |
| | | |
| | | @Override |
| | | public void updateDeviceDataLogTime(long time) { |
| | | shuttleProtocol.setDeviceDataLog(time); |
| | | } |