using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.JsonPatch.Operations; using WIDESEAWCS_Core; using WIDESEAWCS_Core.BaseRepository; using WIDESEAWCS_Core.BaseServices; using WIDESEAWCS_DTO.Telescopic; using WIDESEAWCS_Model.Models; namespace WIDESEAWCS_ITelescopicService { public interface IMaintenanceService:IService { IRepository Repository { get; } /// /// 展示设置检修权限 /// /// WebResponseContent ShowMaintence(PaginationDTO pagination); /// /// 展示在检修人员监控 /// /// WebResponseContent PersonnelMonitoring(PaginationDTO pagination); /// /// 更改状态,强制下线 /// /// /// WebResponseContent RunOperation(int id, string LocalIP); WebResponseContent ChangeTasState(int id); /// /// 检修操作记录 /// /// WebResponseContent MaintenanceOperationRecord(PaginationDTO pagination); //开始检修和结束检修(展示当前登入用户的检修任务) WebResponseContent MaintenanceTasksOfTheDay(string account); /// /// 开始检修 /// /// 用户id /// WebResponseContent StartMaintenceTask(string account, string LocalIP); /// /// 结束检修 /// /// 用户id /// WebResponseContent StopMaintenanceTask(string account); /// /// 展示开始检修人员 /// /// 检修状态 /// WebResponseContent YShowStartTake(); } }