yanjinhui
2025-06-02 4b4cc0dd66d0bfb8220709f6a5edd5fc3b8a65c2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
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<Dt_Maintenance>
    {
        IRepository<Dt_Maintenance> Repository { get; }
 
       /// <summary>
       /// 展示设置检修权限
       /// </summary>
       /// <returns></returns>
        WebResponseContent ShowMaintence(PaginationDTO pagination);
 
        /// <summary>
        /// 展示在检修人员监控
        /// </summary>
        /// <returns></returns>
        WebResponseContent PersonnelMonitoring(PaginationDTO pagination);
 
        /// <summary>
        /// 更改状态,运行进入检修
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        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, string LocalIP);
 
        /// <summary>
        /// 结束检修
        /// </summary>
        /// <param name="id">用户id</param>
        /// <returns></returns>
        WebResponseContent StopMaintenanceTask(string account);
 
        /// <summary>
        ///  展示开始检修人员
        /// </summary>
        /// <param name="status">检修状态</param>
        /// <returns></returns>
        WebResponseContent YShowStartTake();
 
    }
 
   
}