yanjinhui
2025-04-08 d0243cfc13545b2ee6145b4858c18701f4561508
ÏîÄ¿´úÂë/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/MaintenanceController.cs
@@ -3,6 +3,7 @@
using Microsoft.AspNetCore.Mvc;
using WIDESEAWCS_Core;
using WIDESEAWCS_Core.BaseController;
using WIDESEAWCS_DTO.Telescopic;
using WIDESEAWCS_ITelescopicService;
using WIDESEAWCS_IWMSPart;
using WIDESEAWCS_Model.Models;
@@ -22,10 +23,10 @@
        /// æŸ¥çœ‹æ£€ä¿®ç®¡ç†
        /// </summary>
        /// <returns></returns>
        [HttpGet,Route("ShowMaintence"),AllowAnonymous]
        public WebResponseContent ShowMaintence()
        [HttpPost,Route("ShowMaintence"),AllowAnonymous]
        public WebResponseContent ShowMaintence([FromBody] PaginationDTO pagination)
        {
            return Service.ShowMaintence();
            return Service.ShowMaintence(pagination);
        }
        /// <summary>
@@ -33,9 +34,9 @@
        /// </summary>
        /// <returns></returns>
        [HttpPost, Route("PersonnelMonitoring"), AllowAnonymous]
        public WebResponseContent PersonnelMonitoring(bool ispossible)
        public WebResponseContent PersonnelMonitoring([FromBody] PaginationDTO pagination)
        {
            return Service.PersonnelMonitoring(ispossible);
            return Service.PersonnelMonitoring(pagination);
        }
@@ -45,9 +46,9 @@
        /// <param name="id"></param>
        /// <returns></returns>
        [HttpPost,Route("RunOperation"), AllowAnonymous]
        public WebResponseContent RunOperation(int id)
        public WebResponseContent RunOperation(int id, string ispossible)
        {
            return Service.RunOperation(id);
            return Service.RunOperation(id,ispossible);
        }
        /// <summary>
@@ -60,5 +61,16 @@
        {
            return Service.ChangeTasState(id);
        }
        /// <summary>
        /// æ£€ä¿®æ“ä½œè®°å½•
        /// </summary>
        /// <returns></returns>
        [HttpPost, Route("MaintenanceOperationRecord"), AllowAnonymous]
        public WebResponseContent MaintenanceOperationRecord([FromBody] PaginationDTO pagination)
        {
            return Service.MaintenanceOperationRecord(pagination);
        }
    }
}