56 lines
1.6 KiB
C#
56 lines
1.6 KiB
C#
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);
|
|
|
|
}
|
|
}
|