using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEA_Core; using WIDESEA_Core.BaseServices; using WIDESEA_DTO.Basic; using WIDESEA_IBasicRepository; using WIDESEA_Model.Models; namespace WIDESEA_IBasicService { public interface ILocationInfoService : IService { ILocationInfoRepository Repository { get; } WebResponseContent InitializationLocation(InitializationLocationDTO initializationLocationDTO); Dt_LocationInfo AdjacentDepthLocation(string locationCode); Dt_LocationInfo? AssignLocation(string stationCode, int inboundType); Dt_LocationInfo? AssignLocation(string RoadwayNo); void UpdateLocationLock(Dt_LocationInfo locationInfo,int task, int changType,bool black); void UpdateLocationFree(Dt_LocationInfo locationInfo, int task, int changType, bool black); //(Dt_LocationInfo?,int) isDepth(Dt_LocationInfo locationInfo); void RelocationLock(Dt_LocationInfo locationInfo, Dt_LocationInfo locationInfos,int TaskNum); void RelocationFree(Dt_LocationInfo locations, int TaskNum); WebResponseContent LocationEnableStatus(int[] keys); WebResponseContent LocationDisableStatus(int[] keys); WebResponseContent LocationEnableStatus(int key); WebResponseContent LocationDisableStatus(int key); Dt_LocationInfo? GetLocation(string roadway,int Locationtype); Dt_LocationInfo? GetLocation2(string roadway, int Locationtype,int Startingcolumn, int Terminationcolumn); Dt_LocationInfo? GetLocationplatform(string LocationName); } }