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>
|
/// <returns>返回班组、总步骤、套筒数量</returns>
|
/// <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="setpDTO">当前班组的任务当前步骤</param>
|
/// <param name="flag">是否强制执行;是true,否false</param>
|
/// <returns>返回1、当前步骤;2、最大步骤;3、已完成的工艺</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);
|
|
}
|
}
|