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
package com.fastbee.common.core.iot.response;
 
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
 
/**
 * 物模型值的项
 *
 * @author kerwincui
 * @date 2021-12-16
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class IdentityAndName
{
 
    public IdentityAndName(String id,String value){
        this.id=id;
        this.value=value;
    }
 
    public IdentityAndName(String id,Integer isHistory){
        this.id=id;
        this.isHistory=isHistory;
    }
 
    public IdentityAndName(String id, Integer isHistory, String specs, String name, Integer type){
        this.id = id;
        this.isHistory = isHistory;
        this.dataType = specs;
        this.name = name;
        this.type = type;
    }
 
    /** 物模型唯一标识符 */
    private String id;
    /** 物模型值 */
    private Object value;
 
    private Integer isChart;
 
    /**是否监控*/
    private Integer isHistory;
    /**
     * 数据定义
     */
    private String dataType;
    /**物模型名称*/
    private String name;
    /**
     * 物模型类型
     */
    private Integer type;
    /**
     * 是否是参数
     */
    private Integer isParams;
 
    private String formula;
 
    private Integer slaveId;
 
    private Integer tempSlaveId;
 
    private Integer quantity;
 
    private String code;
}