DirectiveService.java 2.35 KB
//package com.bsth.service.directive;
//
//
//import java.util.List;
//import java.util.Map;
//
//import org.springframework.data.domain.Page;
//import org.springframework.data.domain.PageRequest;
//
//import com.bsth.entity.directive.D60;
//import com.bsth.entity.directive.D80;
//import com.bsth.entity.realcontrol.ScheduleRealInfo;
//import com.bsth.service.BaseService;
//
//public interface DirectiveService extends BaseService<D60, Integer>{
//	
//	/**
//	 * 
//	 * @Title: send60Phrase 
//	 * @Description: TODO(60短语下发) 
//	 * @param @param nbbm 车辆内部编码
//	 * @param @param text 短语
//	 * @return int    返回类型 
//	 * @throws
//	 */
//	int send60Phrase(String nbbm, String text, String sender);
//	
//	/**
//	 * 
//	 * @Title: send60Dispatch 
//	 * @Description: TODO(调度指令下发) 
//	 * @param @param sch  要下发的班次
//	 * @param @param finish  已完成的班次数
//	 * @throws
//	 */
//	int send60Dispatch(ScheduleRealInfo sch, int finish, String sender);
//	
//	/**
//	 * 
//	 * @Title: send60Dispatch 
//	 * @Description: TODO(调度指令下发) 
//	 * @param @param id 班次ID
//	 * @throws
//	 */
//	int send60Dispatch(Long id, String sender);
//	
//	//60营运指令
//	int send60Operation(String nbbm, int state, int upDown, ScheduleRealInfo sch, String sender);
//	
//	/**
//	 * 
//	 * @Title: lineChange 
//	 * @Description: TODO(线路切换) 
//	 * @param @param nbbm 车辆内部编码
//	 * @param @param lineId 新线路编码
//	 * @throws
//	 */
//	int lineChange(String nbbm, Integer lineId, String sender);
//	
//	/**
//	 * 
//	 * @Title: upDownChange 
//	 * @Description: TODO(切换上下行) 
//	 * @param @param nbbm 车辆内部编码
//	 * @param @param upDonw 上下行 0 上行  1 下行
//	 * @throws
//	 */
//	int upDownChange(String nbbm, Integer upDown, String sender);
//	
//	/**
//	 * 
//	 * @Title: sendDirectiveState 
//	 * @Description: TODO(向页面推送班次指令状态) 
//	 * @throws
//	 */
//	void sendDirectiveToPage(ScheduleRealInfo sch);
//
//	Map<String, List<D80>> findNoCofm80(String lineCodes);
//
//	Map<String, Object> reply80(int id, int reply);
//
//	Map<String, Object> findDirective(String nbbm, int dType, int page, int size);
//
//	Page<D80> findAll80(Map<String, Object> map, PageRequest pageRequest);
//}