ClientMsg.cs
2.14 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
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace XingYe_ACS.BaseStruct
{
public class ClientMsg
{
/// <summary>
/// 功能码
/// </summary>
public int intFuncCode;
/// <summary>
/// 数据长度
/// </summary>
public int intDataLength;
/// <summary>
/// 设备名称
/// </summary>
public string strAddress;
/// <summary>
/// 小车模型
/// </summary>
public Agv msgAgv;
/// <summary>
/// 机台集合
/// </summary>
//public List<Station> msgStationList;
/// <summary>
/// 码值
/// </summary>
public string strBarcode;
/// <summary>
/// 电量
/// </summary>
public int intVoltage;
/// <summary>
/// 自身状态
/// </summary>
public int intState;
/// <summary>
/// 顶升状态
/// </summary>
public int intHeightState;
/// <summary>
/// 行驶距离
/// </summary>
public int intRunDistance;
/// <summary>
/// 转盘方向
/// </summary>
public EnumMsg.OriType dialDirection { get; set; }
/// <summary>
/// 车头方向
/// </summary>
public EnumMsg.OriType agvDirection { get; set; }
/// <summary>
/// 错误代码
/// </summary>
public int[] ErrorList { get; set; }
/// <summary>
/// 任务号
/// </summary>
public int intTaskNo;
/// <summary>
/// 动作状态
/// </summary>
public EnumMsg.ActState actState;
/// <summary>
/// 客户端数据异常信息
/// </summary>
public EnumMsg.ErrMsg clientErr;
/// <summary>
/// 数据校验码
/// </summary>
public int intCheckCode;
/// <summary>
/// agv自动关机标识
/// </summary>
public int isCarry;
public DateTime agvTime;
}
}