分支自 SuZhouGuanHong/TaiYuanTaiZhong

PCS
dengjunjie
2023-12-13 113d1d4262d8f9e78a9d92123713c41669ad6c87
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
/*
*所有关于VV_Dispatch类的业务代码接口应在此处编写
*/
using WIDESEA_Core.BaseProvider;
using WIDESEA_Entity.DomainModels;
using WIDESEA_Core.Utilities;
using System.Linq.Expressions;
namespace WIDESEA_WCS.IServices
{
    public partial interface IVV_DispatchService
    {
        /// <summary>
        /// 启动服务
        /// </summary>
        /// <returns></returns>
        public WebResponseContent StartServe();
 
        /// <summary>
        /// 关闭服务
        /// </summary>
        /// <returns></returns>
        public WebResponseContent CloseServe();
 
        /// <summary>
        /// 启动指定服务
        /// </summary>
        /// <param name="jobName"></param>
        /// <returns></returns>
        public WebResponseContent StartJob(string jobName);
 
        /// <summary>
        /// 关闭指定服务
        /// </summary>
        /// <param name="jobName"></param>
        /// <returns></returns>
        public WebResponseContent CloseJob(string jobName);
 
        /// <summary>
        /// 检查服务状态
        /// </summary>
        /// <returns></returns>
        public WebResponseContent CheckServeState();
 
    }
}