yanjinhui
2025-05-08 dce06906b2757824ad6ecfd02c1ff04ee8e9ad20
ÏîÄ¿´úÂë/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITelescopicService/IMaintenanceService.cs
@@ -3,9 +3,11 @@
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
@@ -15,26 +17,51 @@
        IRepository<Dt_Maintenance> Repository { get; }
       /// <summary>
       /// è®¾ç½®æ£€ä¿®æƒé™
       /// å±•示设置检修权限
       /// </summary>
       /// <returns></returns>
        WebResponseContent ShowMaintence();
        WebResponseContent ShowMaintence(PaginationDTO pagination);
        /// <summary>
        /// åœ¨æ£€ä¿®äººå‘˜ç›‘控
        /// å±•示在检修人员监控
        /// </summary>
        /// <returns></returns>
        WebResponseContent PersonnelMonitoring(bool ispossible);
        WebResponseContent PersonnelMonitoring(PaginationDTO pagination);
        /// <summary>
        /// æ›´æ”¹çŠ¶æ€ï¼Œè¿è¡Œè¿›å…¥æ£€ä¿®
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        WebResponseContent RunOperation(int id);
        WebResponseContent RunOperation(int id,string  ispossible);
        WebResponseContent ChangeTasState(int id);
        /// <summary>
        /// æ£€ä¿®æ“ä½œè®°å½•
        /// </summary>
        /// <returns></returns>
        WebResponseContent MaintenanceOperationRecord(PaginationDTO pagination);
        //开始检修和结束检修(展示当前登入用户的检修任务)
        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);
    }