huangxiaoqiang
2025-07-30 4110b7475eccf48283ff22c0e4545850849d445d
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
#region << 版 本 注 释 >>
/*----------------------------------------------------------------
 * 命名空间:WIDESEAWCS_QuartzJob
 * 创建者:胡童庆
 * 创建时间:2024/8/2 16:13:36
 * 版本:V1.0.0
 * 描述:设备信息业务接口层
 *
 * ----------------------------------------------------------------
 * 修改人:
 * 修改时间:
 * 版本:V1.0.1
 * 修改说明:
 * 
 *----------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
 
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.StackerHandTask;
using WIDESEAWCS_QuartzJob.DTO;
using WIDESEAWCS_QuartzJob.Models;
 
namespace WIDESEAWCS_QuartzJob.Service
{
    public interface IDeviceInfoService : IService<Dt_DeviceInfo>
    {
        /// <summary>
        /// 查询设备以及对应的协议信息。
        /// </summary>
        /// <returns>返回设备信息以及对应协议信息的集合。</returns>
        Task<List<DeviceInfoDTO>> QueryDeviceProInfos();
 
        /// <summary>
        /// 堆垛机手动任务
        /// </summary>
        /// <param name="stackerhand"></param>
        /// <returns></returns>
        WebResponseContent StackerHandTask(HandTask stackerhand);
 
        /// <summary>
        /// 堆垛机急停
        /// </summary>
        /// <param name="DeviceCode"></param>
        /// <returns></returns>
        WebResponseContent StackerEmergencyStop(string DeviceCode);
 
        /// <summary>
        /// 堆垛机复位
        /// </summary>
        /// <param name="DeviceCode"></param>
        /// <returns></returns>
        WebResponseContent StackerReset(string DeviceCode);
 
        /// <summary>
        /// 获取输送线信息
        /// </summary>
        /// <param name="DeviceChildCode"></param>
        /// <returns></returns>
        WebResponseContent GetConveyorLineInfo(string DeviceChildCode);
 
        /// <summary>
        /// 输送线手动任务
        /// </summary>
        /// <param name="stackerhand"></param>
        /// <returns></returns>
        WebResponseContent ConveyorLineHandTask(HandTask stackerhand);
 
        /// <summary>
        /// 输送线复位
        /// </summary>
        /// <param name="DeviceChildCode"></param>
        /// <returns></returns>
        WebResponseContent ConveyorLineReset(string DeviceChildCode);
 
        /// <summary>
        /// 输送线急停
        /// </summary>
        /// <param name="DeviceChildCode"></param>
        /// <returns></returns>
        WebResponseContent ConveyorLineEmergencyStop(string DeviceChildCode);
 
        /// <summary>
        /// 输送线退回
        /// </summary>
        /// <param name="DeviceChildCode"></param>
        /// <returns></returns>
        WebResponseContent ConveyorLineReturn(string DeviceChildCode);
 
        /// <summary>
        /// 输送线取消任务
        /// </summary>
        /// <param name="DeviceChildCode"></param>
        /// <returns></returns>
        WebResponseContent ConveyorLineCancel(string DeviceChildCode);
 
        /// <summary>
        /// 输送线初始化
        /// </summary>
        /// <param name="DeviceChildCode"></param>
        /// <returns></returns>
        WebResponseContent ConveyorLineInitialize(string DeviceChildCode);
    }
}