From dce06906b2757824ad6ecfd02c1ff04ee8e9ad20 Mon Sep 17 00:00:00 2001 From: yanjinhui <3306209981@qq.com> Date: 星期四, 08 五月 2025 14:19:19 +0800 Subject: [PATCH] 1111 --- 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITelescopicService/IMaintenanceService.cs | 37 +++++++++++++++++++++++-------------- 1 files changed, 23 insertions(+), 14 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITelescopicService/IMaintenanceService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITelescopicService/IMaintenanceService.cs" index 5a817d2..2a4db2d 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITelescopicService/IMaintenanceService.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITelescopicService/IMaintenanceService.cs" @@ -3,6 +3,7 @@ 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; @@ -16,43 +17,51 @@ IRepository<Dt_Maintenance> Repository { get; } /// <summary> - /// 璁剧疆妫�淇潈闄� + /// 灞曠ず璁剧疆妫�淇潈闄� /// </summary> /// <returns></returns> -<<<<<<< Updated upstream - WebResponseContent ShowMaintence(); -======= WebResponseContent ShowMaintence(PaginationDTO pagination); ->>>>>>> Stashed changes /// <summary> - /// 鍦ㄦ淇汉鍛樼洃鎺� + /// 灞曠ず鍦ㄦ淇汉鍛樼洃鎺� /// </summary> /// <returns></returns> -<<<<<<< Updated upstream - WebResponseContent PersonnelMonitoring(bool ispossible); -======= WebResponseContent PersonnelMonitoring(PaginationDTO pagination); ->>>>>>> Stashed changes /// <summary> /// 鏇存敼鐘舵�侊紝杩愯杩涘叆妫�淇� /// </summary> /// <param name="id"></param> /// <returns></returns> - WebResponseContent RunOperation(int id); + WebResponseContent RunOperation(int id,string ispossible); WebResponseContent ChangeTasState(int id); -<<<<<<< Updated upstream -======= /// <summary> /// 妫�淇搷浣滆褰� /// </summary> /// <returns></returns> WebResponseContent MaintenanceOperationRecord(PaginationDTO pagination); ->>>>>>> Stashed changes + + //寮�濮嬫淇拰缁撴潫妫�淇紙灞曠ず褰撳墠鐧诲叆鐢ㄦ埛鐨勬淇换鍔★級 + WebResponseContent MaintenanceTasksOfTheDay(string account); + + /// <summary> + /// 寮�濮嬫淇� + /// </summary> + /// <param name="id">鐢ㄦ埛id</param> + /// <returns></returns> + WebResponseContent StartMaintenceTask(string account); + + /// <summary> + /// 缁撴潫妫�淇� + /// </summary> + /// <param name="id">鐢ㄦ埛id</param> + /// <returns></returns> + WebResponseContent StopMaintenanceTask(string account); + + } -- Gitblit v1.9.3