设备管理

This commit is contained in:
gcw_MV9p2JJN
2025-09-23 15:11:18 +08:00
parent 657d1b7ab6
commit 308ca6df79
66 changed files with 7276 additions and 17 deletions

View File

@@ -0,0 +1,55 @@
using System;
using ZR.Model;
using System.Collections.Generic;
using ZR.Model.MES.dev;
using ZR.Model.MES.dev.Dto;
using Microsoft.AspNetCore.Mvc;
namespace ZR.Service.MES.dev.IService
{
/// <summary>
/// 任务执行service接口
/// </summary>
public interface IDeviceTaskExecuteService : IBaseService<DeviceTaskExecute>
{
PagedInfo<DeviceTaskExecuteDto> GetList(DeviceTaskExecuteQueryDto parm);
DeviceTaskExecute GetInfo(string Id);
DeviceTaskExecute AddDeviceTaskExecute(DeviceTaskExecute parm);
int UpdateDeviceTaskExecute(DeviceTaskExecute parm);
int Update_task_status(DeviceTaskExecuteQueryDto2 parm);
bool TruncateDeviceTaskExecute();
(string, object, object) ImportDeviceTaskExecute(List<DeviceTaskExecute> list);
int ScanEveryTask();
int ExecutionTask_point(string id);
List<DeviceAccount> AchieveTaskbindDevice(string id);
List<DeviceInspect> AchieveDevicebindInspect(int fk_device_id, string fkPlanId, int planType);
List<DeviceFormConfig> AchieveInspectbindForm(int fk_device_inspect_id);
List<DeviceTaskExecuteResult1_result> AchieveFormResult2(DeviceTaskExecuteResult1QueryDto_TaskExecute query);
int UpdateFormResult(DeviceTaskExecuteResultDto result);
int AddDeviceTaskExecute(string Id,string name);
/// <summary>
/// 增加任务完成时间
/// </summary>
/// <param name="Id"></param>
/// <returns></returns>
int AddTaskFinallyTime(string Id);
}
}