whyclj
2020-12-04 8efa8283867be10ad127b8ec9680e00a10e79dda
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
package com.data;
 
import java.util.Date;
 
public class Central_RT_Data {
    
    private int dev_id;             // 'É豸id',
    private Date record_time;    //'¸üÐÂʱ¼ä',
    private int switch_close;    // '¿ª¹ØºÏբ״̬',
    private int switch_open;     // '¿ª¹Ø·Öբ״̬',
    private int switch_fault;    // '¿ª¹Ø¹ÊÕÏ״̬',
    private float panel_vol ;    // '½øÏ߯Áµçѹ',
    private float panel_curr ;   // '½øÏ߯ÁµçÁ÷',
    private String note;         //'±¸ÓÃ',
    
    public Central_RT_Data() {
        
    }
    
    public Central_RT_Data(int dev_id) {
        this.dev_id = dev_id;
    }
    
    public int getDev_id() {
        return dev_id;
    }
    public void setDev_id(int dev_id) {
        this.dev_id = dev_id;
    }
    public Date getRecord_time() {
        return record_time;
    }
    public void setRecord_time(Date record_time) {
        this.record_time = record_time;
    }
    public int getSwitch_close() {
        return switch_close;
    }
    public void setSwitch_close(int switch_close) {
        this.switch_close = switch_close;
    }
    public int getSwitch_open() {
        return switch_open;
    }
    public void setSwitch_open(int switch_open) {
        this.switch_open = switch_open;
    }
    public int getSwitch_fault() {
        return switch_fault;
    }
    public void setSwitch_fault(int switch_fault) {
        this.switch_fault = switch_fault;
    }
    public float getPanel_vol() {
        return panel_vol;
    }
    public void setPanel_vol(float panel_vol) {
        this.panel_vol = panel_vol;
    }
    public float getPanel_curr() {
        return panel_curr;
    }
    public void setPanel_curr(float panel_curr) {
        this.panel_curr = panel_curr;
    }
    public String getNote() {
        return note;
    }
    public void setNote(String note) {
        this.note = note;
    }
    @Override
    public String toString() {
        return "Central_RT_Data [dev_id=" + dev_id + ", record_time=" + record_time + ", switch_close=" + switch_close
                + ", switch_open=" + switch_open + ", switch_fault=" + switch_fault + ", panel_vol=" + panel_vol
                + ", panel_curr=" + panel_curr + ", note=" + note + "]";
    }
}