ustcyc
2025-01-07 de5d55508afd27fb2b47e6d4d6fd9984525c222c
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
package com.zhitan.meter.domain;
 
import com.zhitan.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
 
/**
 * @ClassName: MeterConfiguration
 * @Author: Yarry
 * @CreateTime: 2024-09-23 13-44-42
 * @Description: TODO
 * @Version: 1.0
 * @Since: JDK1.8
 */
 
@ApiModel(value = "点位配置信息")
public class MeterConfig extends BaseEntity {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private String id;
 
    /**
     * 表名
     */
    @ApiModelProperty(value = "表名")
    private String tableName;
 
    /**
     * 点位code
     */
    @ApiModelProperty(value = "点位code")
    private String code;
 
    /**
     * 采集类型【0:采集类,1计算类】
     */
    @ApiModelProperty(value = "采集类型")
    private String indexType;
 
 
    /**
     * 表头值
     */
    @ApiModelProperty(value = "表头值")
    private String tableValue;
 
    /**
     * 步长最小值
     */
    @ApiModelProperty(value = "步长最小值")
    private String stepMin;
 
    /**
     * 步长最大值
     */
    @ApiModelProperty(value = "步长最大值")
    private String stepMax;
 
 
    /**
     * 最小值
     */
    @ApiModelProperty(value = "最小值")
    private String minValue;
 
    /**
     * 最大值
     */
    @ApiModelProperty(value = "最大值")
    private String maxValue;
 
    public MeterConfig() {
    }
 
    public MeterConfig(String id, String tableName, String code, String indexType, String tableValue, String stepMin, String stepMax, String minValue, String maxValue) {
        this.id = id;
        this.tableName = tableName;
        this.code = code;
        this.indexType = indexType;
        this.tableValue = tableValue;
        this.stepMin = stepMin;
        this.stepMax = stepMax;
        this.minValue = minValue;
        this.maxValue = maxValue;
    }
 
    public MeterConfig(String code) {
        super();
    }
 
    public String getId() {
        return id;
    }
 
    public void setId(String id) {
        this.id = id;
    }
 
    public String getTableName() {
        return tableName;
    }
 
    public void setTableName(String tableName) {
        this.tableName = tableName;
    }
 
    public String getCode() {
        return code;
    }
 
    public void setCode(String code) {
        this.code = code;
    }
 
    public String getIndexType() {
        return indexType;
    }
 
    public void setIndexType(String indexType) {
        this.indexType = indexType;
    }
 
    public String getTableValue() {
        return tableValue;
    }
 
    public void setTableValue(String tableValue) {
        this.tableValue = tableValue;
    }
 
    public String getStepMin() {
        return stepMin;
    }
 
    public void setStepMin(String stepMin) {
        this.stepMin = stepMin;
    }
 
    public String getStepMax() {
        return stepMax;
    }
 
    public void setStepMax(String stepMax) {
        this.stepMax = stepMax;
    }
 
    public String getMinValue() {
        return minValue;
    }
 
    public void setMinValue(String minValue) {
        this.minValue = minValue;
    }
 
    public String getMaxValue() {
        return maxValue;
    }
 
    public void setMaxValue(String maxValue) {
        this.maxValue = maxValue;
    }
 
    @Override
    public String toString() {
        return "MeterConfig{" +
                "id='" + id + '\'' +
                ", tableName='" + tableName + '\'' +
                ", code='" + code + '\'' +
                ", indexType='" + indexType + '\'' +
                ", tableValue='" + tableValue + '\'' +
                ", stepMin='" + stepMin + '\'' +
                ", stepMax='" + stepMax + '\'' +
                ", minValue='" + minValue + '\'' +
                ", maxValue='" + maxValue + '\'' +
                '}';
    }
}