Board2VM.cs
1.26 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
namespace DataAcquisition.ViewModels.Board
{
/// <summary>
/// 展会看板接口
/// </summary>
public class Board2VM
{
public RobotDto Robot1 { get; set; } = null!;
public RobotDto Robot2 { get; set; } = null!;
public RobotDto Robot3 { get; set; } = null!;
public RobotDto Robot4 { get; set; } = null!;
public RobotDto Robot5 { get; set; } = null!;
public RobotDto Robot6 { get; set; } = null!;
}
public class RobotDto
{
/// <summary>
/// 设备编号
/// </summary>
public string RobotCode { get; set; } = null!;
/// <summary>
/// 设备名称
/// </summary>
public string RobotName { get; set; } = null!;
/// <summary>
/// 本月完成件
/// </summary>
public int CompleteCount { get; set; }
/// <summary>
/// 本月工作时间
/// </summary>
public double WorkTime { get; set; }
/// <summary>
/// 本月焊丝消耗
/// </summary>
public double MonthWeld { get; set; }
/// <summary>
/// 燃弧率图表
/// </summary>
public List<BoardChart> Charts { get; set; } = new List<BoardChart>();
}
}