IDevOpsPlanService.cs 1.5 KB

123456789101112131415161718192021222324252627282930313233
  1. using Ropin.Inspection.Model;
  2. using Ropin.Inspection.Model.ViewModel;
  3. using Ropin.Inspection.Model.ViewModel.LGS;
  4. using Ropin.Inspection.Model.ViewModel.MTN;
  5. using Ropin.Inspection.Service.Interface;
  6. using System;
  7. using System.Collections.Generic;
  8. using System.Linq;
  9. using System.Text;
  10. using System.Threading.Tasks;
  11. namespace Ropin.Inspection.Service.MTN.Interface
  12. {
  13. public interface IDevOpsPlanService : IBaseService<DevOpsPlanModel>, IBaseServiceById<DevOpsPlanModel, string>
  14. {
  15. Task<List<DevOpsPlanModel>> PageAsync(DevOpsPlanInput input);
  16. Task<List<DevOpsPlanDeviceModel>> DeviceListAsync(string id );
  17. Task DeleteDeviceAsync(string id);
  18. Task DeleteDeviceSpotAsync(string planId, string spotId);
  19. Task AddDeviceAsync(DevOpsPlanDeviceModel devOpsPlanDeviceModel);
  20. Task AddDeviceContentAsync(DevOpsPlanContentModel devOpsPlanContentModel);
  21. Task<List<string>> DeviceContentListAsync(string deviceId, string id);
  22. Task AddPlanPersonAsync(DevOpsPlanPersonModel devOpsPlanContentModel);
  23. Task<List<string>> PlanPersonListAsync(string id);
  24. Task<bool> CancelPlan(string id);
  25. Task<bool> ConfirmPlan(string id);
  26. Task<bool> GenerateWorkOrder(string id);
  27. Task<List<TmtnDevOpsDetailViewModel>> GetDevOps(string id,BaseSearchModel searchModel);
  28. Task<bool> SetOpsTime(SetOpsModel model);
  29. Task<TispSpotViewModel> GetSpotContent(GetOpsSpotContentModel model);
  30. Task SetWorkOrderStatus(GetOpsSpotContentModel model);
  31. }
  32. }