吴羡
26 分钟以前 3d416372d21acb1a554e4e3eb96e2f9dead6d5a4
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
package cn.iocoder.yudao.module.mes.controller.admin.dc.statistics.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
@Schema(description = "管理后台 - MES 采集设备实时概览 VO")
@Data
public class MesDcDeviceOverviewRespVO {
 
    @Schema(description = "采集设备ID", example = "1024")
    private Long deviceId;
 
    @Schema(description = "设备编号", example = "DC001")
    private String code;
 
    @Schema(description = "设备名称", example = "一车间鸡爪计数器")
    private String name;
 
    @Schema(description = "设备是否启用", example = "true")
    private Boolean enabled;
 
    @Schema(description = "是否在线(5 分钟内有心跳)", example = "true")
    private Boolean online;
 
    @Schema(description = "当前绑定生产工单ID", example = "2048")
    private Long workOrderId;
 
    @Schema(description = "当前绑定生产工单编号", example = "WO202611100001")
    private String workOrderCode;
 
    @Schema(description = "今日采集数量(不含已作废记录)", example = "1234")
    private Long todayQuantity;
 
    @Schema(description = "今日重量(g,不含已作废记录)", example = "123456.70")
    private BigDecimal todayWeight;
 
    @Schema(description = "最后数据上报时间")
    private LocalDateTime lastIngestTime;
 
    @Schema(description = "最后心跳时间")
    private LocalDateTime lastHeartbeatTime;
 
}