whyclj
2020-08-11 5163e499c41b6e8567fcfd690e7a9140c8f8277f
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
package com.electrical.FourKW;
 
public class Electric_inf {
    public int electric_id;
    public String electric_name;
    public int electric_type;
    public String electric_ip;
    public String note;
    
    public Electric_Rt rt;
    public Electric_State state;
    public Electric_Control_Single control;
    public Electric_Control_Single control_joint;        //Áª¶¯¿ØÖÆ
    
    public Electric_inf(int electric_id) {
        this.electric_id = electric_id;
        this.rt = new Electric_Rt(electric_id);
        this.state = new Electric_State(electric_id);
        this.control = new Electric_Control_Single(electric_id);
        this.control_joint = new Electric_Control_Single(electric_id);
    }
    
    public int getElectric_id() {
        return electric_id;
    }
    public String getElectric_name() {
        return electric_name;
    }
    public int getElectric_type() {
        return electric_type;
    }
    public String getElectric_ip() {
        return electric_ip;
    }
    public String getNote() {
        return note;
    }
    public void setElectric_id(int electric_id) {
        this.electric_id = electric_id;
    }
    public void setElectric_name(String electric_name) {
        this.electric_name = electric_name;
    }
    public void setElectric_type(int electric_type) {
        this.electric_type = electric_type;
    }
    public void setElectric_ip(String electric_ip) {
        this.electric_ip = electric_ip;
    }
    public void setNote(String note) {
        this.note = note;
    }
}