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);
|
|
|
|
|
}
|
|
|
}
|