StationService.java 2.63 KB
package com.bsth.service;

import java.util.Map;

import com.bsth.entity.Station;

/**
 * 
 * @Interface: StationService(站点service业务层实现接口)
 * 
 * @extends : BaseService
 * 
 * @Description: TODO(站点service业务层实现接口)
 * 
 * @Author bsth@lq
 * 
 * @Date 2016年05月03日 上午9:21:17
 *
 * @Version 公交调度系统BS版 0.1
 * 
 */
public interface StationService extends BaseService<Station, Integer> {
	
	/**
	 * @Description :TODO(系统规划保存数据)
	 * 
	 * @param map <stationJSON:站点信息; sectionJSON:路段信息;dbType:坐标类型; destroy:是否撤销; directions:方向;lineId:线路ID;
	 * 
	 * 			   radius:圆半径;shapesType:图形类型;speedLimit:限速>
	 * 
	 * @return Map<String, Object> <SUCCESS ; ERROR>
	 */
	Map<String, Object> systemSaveStations(Map<String, Object> map);
	
	Map<String, Object> manualSave(Map<String, Object> map);
	
	
	/**
	 * @Description :TODO(新增站点保存)
	 * 
	 * @param map <bJwpoints:中心点百度坐标;bPolygonGrid:多边形图形百度坐标;dbType:原坐标类型;
	 * 
	 * 			  descriptions:说明;destroy:是否撤销;directions:方向;distances:到站距离;gJwpoints:中心点WGS坐标;
	 * 
	 * 			  gPolygonGrid:多边形图形WGS坐标;lineId:线路ID;radius:圆半径;roadCoding:道路编码;shapesType:图形类型;
	 * 
	 * 			  stationCod:站点编码;stationMark:站点类型;stationName:站点名称;stationRouteCode:站点序号;toTime:到站时间
	 * 			  
	 * 			  versions:版本号;x:城建坐标x;y:城建坐标y>
	 * 
	 * @return Map<String, Object> <SUCCESS ; ERROR>
	 */
	Map<String, Object> stationSaveMap(Map<String, Object> map);
	
	/**
	 * @Description :TODO(更新站点保存)
	 * 
	 * @param map <bJwpoints:中心点百度坐标;bPolygonGrid:多边形图形百度坐标;dbType:原坐标类型;
	 * 
	 * 			  descriptions:说明;destroy:是否撤销;directions:方向;distances:到站距离;gJwpoints:中心点WGS坐标;
	 * 
	 * 			  gPolygonGrid:多边形图形WGS坐标;lineId:线路ID;radius:圆半径;roadCoding:道路编码;shapesType:图形类型;
	 * 
	 * 			  stationCod:站点编码;stationMark:站点类型;stationName:站点名称;stationRouteCode:站点序号;toTime:到站时间
	 * 			  
	 * 			  versions:版本号;x:城建坐标x;y:城建坐标y>
	 * 
	 * @return Map<String, Object> <SUCCESS ; ERROR>
	 */
	Map<String, Object> stationUpdate(Map<String, Object> map);
	
}