qiuyao
2025-03-24 da3fd4520a4656ee7ae889595f5361562ef909e3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
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);
 
    }
}