using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using WIDESEAWCS_Core;
|
using WIDESEAWCS_Core.BaseServices;
|
using WIDESEAWCS_DTO.SerialPort;
|
using WIDESEAWCS_Model.Models;
|
|
namespace WIDESEAWCS_ITaskInfoService
|
{
|
public interface IProcessServer : IService<Dt_Process>
|
{
|
|
|
/// <summary>
|
/// 根据组来分出有多少套筒数量以及步骤
|
/// </summary>
|
/// <param name="grops"></param>
|
/// <returns></returns>
|
WebResponseContent GetSleeveandStep();
|
|
/// <summary>
|
/// 根据组和id来添加数据
|
/// </summary>
|
/// <param name="addProcessDTO"></param>
|
/// <returns></returns>
|
WebResponseContent AddOrUpdateProcess(AddProcessDTO addProcessDTO);
|
|
|
/// <summary>
|
/// 根据组来,每次点击它都转到下一道工序
|
/// </summary>
|
/// <param name="grops"></param>
|
/// <param name="takeid"></param>
|
/// <returns></returns>
|
WebResponseContent Getcircuit(string grops,string takeid);
|
|
/// <summary>
|
/// 更具当前任务,判断是否可以点击下一步
|
/// </summary>
|
/// <param name="group"></param>
|
/// <param name="takeid"></param>
|
/// <param name="setnum"></param>
|
/// <returns></returns>
|
WebResponseContent Nextprocess(SetpDTO setpDTO, bool flag);
|
|
|
/// <summary>
|
/// 按当前步骤,跳转到下一部
|
/// </summary>
|
/// <param name="group"></param>
|
/// <param name="takeid"></param>
|
/// <param name="setnum"></param>
|
/// <returns></returns>
|
WebResponseContent PreviousProcess(SetpDTO setpDTO);
|
|
|
WebResponseContent GetValueandNumber(string grop,int setnum);
|
|
}
|
}
|