DeviceCheckDto.cs
1.3 KB
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DeviceLib.WebApi.Schemas
{
public class DeviceCheckDto
{
/// <summary>
/// 设备标识
/// </summary>
public string device_code { get; set; }
/// <summary>
/// 操作
/// </summary>
public string operate { get; set; }
/// <summary>
/// 任务类型
/// </summary>
public string task_type { get; set; }
/// <summary>
/// 上料请求
/// </summary>
public const string LOAD_REQ = "LOAD_REQ";
/// <summary>
/// 上料完成
/// </summary>
public const string LOAD_DONE = "LOAD_DONE";
/// <summary>
/// 下料请求
/// </summary>
public const string UNLOAD_REQ = "UNLOAD_REQ";
/// <summary>
/// 下料完成
/// </summary>
public const string UNLOAD_DONE = "UNLOAD_DONE";
/// <summary>
/// 开门请求
/// </summary>
public const string OPEN_DOOR = "OPEN_DOOR";
/// <summary>
/// 关门请求
/// </summary>
public const string CLOSE_DOOR = "CLOSE_DOOR";
}
}