DigitalTwinVM1.cs
3.19 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
namespace DataAcquisition.ViewModels.Board
{
/// <summary>
/// 数字孪生看板1
/// </summary>
public class DigitalTwinVM1
{
/// <summary>
/// 机器人1坐标数据
/// </summary>
public RobotMonitor RobotMonitor1 { get; set; } = null!;
/// <summary>
/// 机器人2坐标数据
/// </summary>
public RobotMonitor RobotMonitor2 { get; set; } = null!;
}
/// <summary>
/// 机器人实时数据
/// </summary>
public class RobotMonitor
{
/// <summary>
/// 设备编号
/// </summary>
public string EquipmentCode { get; set; } = null!;
/// <summary>
/// 设备名称
/// </summary>
public string EquipmentName { get; set; } = null!;
/// <summary>
/// 设备状态
/// </summary>
public string Status { get; set; } = null!;
/// <summary>
/// 焊接电压
/// </summary>
public double Weld_V { get; set; }
/// <summary>
/// 焊接电流
/// </summary>
public double Weld_I { get; set; }
/// <summary>
/// 送丝速度
/// </summary>
public double Weld_Speed { get; set; }
/// <summary>
/// 工作模式
/// </summary>
/// <remarks>1:T1模式,2:T2模式;3:自动模式;4:外部自动模式;</remarks>
public string Work_Mode { get; set; } = null!;
/// <summary>
/// A1轴
/// </summary>
public double A1 { get; set; }
public double A2 { get; set; }
public double A3 { get; set; }
public double A4 { get; set; }
public double A5 { get; set; }
public double A6 { get; set; }
/// <summary>
/// E1坐标
/// </summary>
public double E1 { get; set; }
public double E2 { get; set; }
public double E3 { get; set; }
public double E4 { get; set; }
/// <summary>
/// 开机标志
/// </summary>
public bool BootFlag { get; set; }
/// <summary>
/// 工作标志
/// </summary>
public bool WorkFlag { get; set; }
/// <summary>
/// 焊接标志
/// </summary>
public bool WeldFlag { get; set; }
/// <summary>
/// 焊接完成标志
/// </summary>
public bool WeldCompleteFlag { get; set; }
/// <summary>
/// 焊接送气状态
/// </summary>
public bool Weld_Gas { get; set; }
/// <summary>
/// 焊接清枪状态
/// </summary>
public bool Weld_CleanGun { get; set; }
/// <summary>
/// 报警
/// </summary>
public bool Alarm { get; set; }
//工作时长
//public bool Work_Time { get; set; }
/// <summary>
/// 红灯
/// </summary>
public bool RedLight { get; set; }
/// <summary>
/// 黄灯
/// </summary>
public bool YellowLight { get; set; }
/// <summary>
/// 绿灯
/// </summary>
public bool GreenLight { get; set; }
}
}