WeldMonitorDto.cs
1.27 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
namespace HHECS.RobotTool.Dto.WeldMonitor
{
/// <summary>
/// 焊接监控参数
/// </summary>
/// <remarks>Web组件参数</remarks>
public class WeldMonitorDto
{
/// <summary>
/// 唯一标识
/// </summary>
public Guid Key { get; set; }
/// <summary>
/// 总高度
/// </summary>
public double Height { get; set; }
/// <summary>
/// 数据
/// </summary>
public List<LayerItem> Data { get; set; } = new List<LayerItem>();
}
public class LayerItem
{
/// <summary>
/// 当前层
/// </summary>
public int Layer { get; set; }
/// <summary>
/// 层高
/// </summary>
public double Height { get; set; }
/// <summary>
/// 焊接道数集合
/// </summary>
public List<DoneItem> Done { get; set; } = new List<DoneItem>();
}
public class DoneItem
{
/// <summary>
/// 状态
/// </summary>
/// <remarks>0:未焊接,1:焊接中,2:已完成</remarks>
public int State { get; set; }
/// <summary>
/// 坐标
/// </summary>
public string Position { get; set; } = null!;
}
}