liurunyu
6 天以前 f4faf482bcfab63425c9aff0862ad828d71d85a4
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
package com.dy.pipIrrGlobal.voRm;
 
import com.alibaba.fastjson2.annotation.JSONField;
import com.alibaba.fastjson2.writer.ObjectWriterImplToString;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.util.Date;
 
/**
 * @Author: liurunyu
 * @Date: 2025/6/25 16:34
 * @Description
 */
@Data
public class VoManure  {
    public static final long serialVersionUID = 202506251634001L;
 
    /**
     * 记录ID
     */
    @JSONField(serializeUsing= ObjectWriterImplToString.class)
    public Long id;
 
    /**
     * 水肥机ID
     */
    @Schema(description = "水肥机ID", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    @JSONField(serializeUsing= ObjectWriterImplToString.class)
    public Long manureId;
 
    /**
     * 水肥机名称
     */
    @Schema(description = "水肥机名称", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    public Long manureName;
 
 
    /**
     * 数据上报时间(年月日时分秒)
     */
    @Schema(description = "数据接收日期时间", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public Date dt;
 
    /**
     * 搅拌1运行状态(1运行,0停止)
     */
    @Schema(description = "搅拌1运行状态(1运行,0停止)", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    public Byte stirRunning1;
 
    /**
     * 搅拌2运行状态(1运行,0停止)
     */
    @Schema(description = "搅拌2运行状态(1运行,0停止)", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    public Byte stirRunning2;
 
    /**
     * 搅拌3运行状态(1运行,0停止)
     */
    @Schema(description = "搅拌3运行状态(1运行,0停止)", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    public Byte stirRunning3;
 
    /**
     * 搅拌4运行状态(1运行,0停止)
     */
    @Schema(description = "搅拌4运行状态(1运行,0停止)", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    public Byte stirRunning4;
 
    /**
     * 注肥运行状态(1运行,0停止)
     */
    @Schema(description = "注肥运行状态(1运行,0停止)", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    public Byte injectRunning;
 
    /**
     * 灌溉运行状态(1运行,0停止)
     */
    @Schema(description = "灌溉运行状态(1运行,0停止)", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    public Byte irrRunning;
 
    /**
     * 报警(1:注肥泵有故障,0:注肥泵没有故障)
     */
    @Schema(description = "报警(1:注肥泵有故障,0:注肥泵没有故障)", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    public Byte alarm;
 
    /**
     * 肥料流量(升)
     */
    @Schema(description = "肥料流量(升)", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" )
    public Double manureFlow;
 
    /**
     * 注肥经过时间(秒)
     */
    @Schema(description = "注肥经过时间(秒)", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    public Integer manureTime;
 
    /**
     * 搅拌经过时间(秒)
     */
    @Schema(description = "搅拌经过时间(秒)", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    public Integer stirTime;
 
    /**
     * 搅拌设定时间(秒)
     */
    @Schema(description = "搅拌设定时间(秒)", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    public Integer stirDuration;
 
    /**
     * 注肥设定时间(秒)
     */
    @Schema(description = "注肥设定时间(秒)", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    public Integer injectDuration;
 
}