| | |
| | | import com.zy.common.model.NavigateNode; |
| | | import com.zy.core.ThreadHandler; |
| | | import com.zy.core.model.TrafficControlDataModel; |
| | | import com.zy.core.model.param.OperateTrafficControlParam; |
| | | |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | |
| | | public interface TrafficControlThread extends ThreadHandler { |
| | | |
| | | // boolean getDetecting(); |
| | | // |
| | | // void updateDetect(); |
| | | // |
| | | // boolean addNodes(Integer shuttleNo, Integer taskNo, List<NavigateNode> nodeList); |
| | | // |
| | | // boolean removeNodes(Integer shuttleNo, Integer taskNo); |
| | | boolean processApply(TrafficControlDataModel applyData); |
| | | |
| | | boolean operateTrafficControl(OperateTrafficControlParam param); |
| | | |
| | | boolean applyTrafficControl(List<NavigateNode> totalNodeList, List<NavigateNode> nodeList, Integer shuttleNo, Integer taskNo); |
| | | |
| | | boolean trafficReport(List<NavigateNode> nodeList, Integer shuttleNo, Integer taskNo); |
| | | |
| | | boolean trafficReportError(Integer shuttleNo, Integer taskNo); |
| | | |
| | | boolean cancelTrafficControl(Integer shuttleNo, Integer taskNo); |
| | | |
| | | boolean forceCancelTrafficControl(Integer shuttleNo); |
| | | |
| | | TrafficControlDataModel queryTrafficControl(Integer shuttleNo, Integer taskNo); |
| | | |
| | | TrafficControlDataModel queryTrafficControl(Integer shuttleNo); |
| | | |
| | | List<TrafficControlDataModel> getAllTrafficControl(); |