刘磊
2025-04-19 bd02cb3fa0fa75ffafb2cf17501929b1b1e0029b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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);
    }
}