leutu
2024-06-03 3ef35e6cd16bbfa206b26bb3271eac40ad020bcb
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
package com.fastbee.iot.model.ThingsModelItem;
 
import java.math.BigDecimal;
import java.util.List;
 
public class Datatype
{
    /** 数据类型 */
    private String type;
 
    private String falseText;
 
    private String trueText;
 
    private BigDecimal min;
 
    private BigDecimal max;
 
    private BigDecimal step;
 
    private String unit;
 
    private String arrayType;
 
    private Integer arrayCount;
 
    private String showWay;
 
    private int maxLength;
 
    private List<EnumItem> enumList;
 
    private List<ThingsModel> params;
 
    private List<ThingsModel>[] arrayParams;
 
    public Datatype(){
        falseText="";
        trueText="";
        min= BigDecimal.valueOf(0);
        max= BigDecimal.valueOf(100);
        step= BigDecimal.valueOf(1);
        unit="";
        arrayType="";
        arrayCount=0;
        maxLength=1024;
    }
 
    public List<ThingsModel>[] getArrayParams() {
        return arrayParams;
    }
 
    public void setArrayParams(List<ThingsModel>[] arrayParams) {
        this.arrayParams = arrayParams;
    }
 
    public List<ThingsModel> getParams() {
        return params;
    }
 
    public void setParams(List<ThingsModel> params) {
        this.params = params;
    }
 
    public String getType() {
        return type;
    }
 
    public void setType(String type) {
        this.type = type;
    }
 
    public String getFalseText() {
        return falseText;
    }
 
    public void setFalseText(String falseText) {
        this.falseText = falseText;
    }
 
    public String getTrueText() {
        return trueText;
    }
 
    public void setTrueText(String trueText) {
        this.trueText = trueText;
    }
 
    public BigDecimal getMin() {
        return min;
    }
 
    public void setMin(BigDecimal min) {
        this.min = min;
    }
 
    public BigDecimal getMax() {
        return max;
    }
 
    public void setMax(BigDecimal max) {
        this.max = max;
    }
 
    public BigDecimal getStep() {
        return step;
    }
 
    public void setStep(BigDecimal step) {
        this.step = step;
    }
 
    public String getUnit() {
        return unit;
    }
 
    public void setUnit(String unit) {
        this.unit = unit;
    }
 
    public String getArrayType() {
        return arrayType;
    }
 
    public void setArrayType(String arrayType) {
        this.arrayType = arrayType;
    }
 
    public String getShowWay() {
        return showWay;
    }
 
    public void setShowWay(String showWay) {
        this.showWay = showWay;
    }
 
    public Integer getArrayCount() {
        return arrayCount;
    }
 
    public void setArrayCount(Integer arrayCount) {
        this.arrayCount = arrayCount;
    }
 
    public int getMaxLength() {
        return maxLength;
    }
 
    public void setMaxLength(int maxLength) {
        this.maxLength = maxLength;
    }
 
    public List<EnumItem> getEnumList() {
        return enumList;
    }
 
    public void setEnumList(List<EnumItem> enumList) {
        this.enumList = enumList;
    }
 
}