| using System; | 
| using System.Collections.Generic; | 
| using System.Linq; | 
| using System.Text; | 
| using System.Threading.Tasks; | 
| using WIDESEAWCS_Core; | 
| using WIDESEAWCS_Core.BaseServices; | 
| using WIDESEAWCS_DTO.BasicInfo; | 
| using WIDESEAWCS_QuartzJob.Models; | 
|   | 
| namespace WIDESEAWCS_QuartzJob.Service | 
| { | 
|     public interface IRouterService : IService<Dt_Router> | 
|     { | 
|         /// <summary> | 
|         /// 根据起点/当前位置、终点获取下一个子节点。 | 
|         /// </summary> | 
|         /// <param name="startPosi">起点/当前位置。</param> | 
|         /// <param name="endPosi">终点。</param> | 
|         /// <returns>返回路由实体集合。</returns> | 
|         List<Dt_Router> QueryNextRoutes(string startPosi, string endPosi); | 
|   | 
|         /// <summary> | 
|         /// 根据设备编号获取对应的路由点位编号(输送线站台编号)信息 | 
|         /// </summary> | 
|         /// <param name="deviceCode">设备编号</param> | 
|         /// <returns>返回路由点位编号(输送线站台编号)集合</returns> | 
|         List<string> QueryAllPositions(string deviceCode); | 
|   | 
|         /// <summary> | 
|         /// 获取路由表中所有完整的路由信息(前端展示) | 
|         /// </summary> | 
|         /// <returns>匿名对象集合</returns> | 
|         List<object> GetAllWholeRouters(); | 
|   | 
|         WebResponseContent AddRouters(List<RoutersAddDTO> routersAddDTOs, int routerType); | 
|   | 
|         /// <summary> | 
|         /// 根据设备编号获取对应的出站路由点位编号(输送线站台编号)信息 | 
|         /// </summary> | 
|         /// <param name="deviceCode">设备编号</param> | 
|         /// <returns>返回路由点位编号(输送线站台编号)集合</returns> | 
|         List<string> QueryOutDeviceCodes(string deviceCode); | 
|     } | 
| } |