whyclxw
2020-08-19 a03996ab0db45ec2bcbb1c35f23245a0556eddca
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
183
184
185
186
187
188
189
190
191
192
193
194
package com.electrical.FourKW;
 
public class Electric_control_conn {
      public int num ;//'Ö÷¼ü',
      public int electric_id  ;// '×éºÏ½çÃæÖ÷Òªid',
      public String conn_name   ;// '×éºÏÃû³Æ',
      public int convolcontrol   ;// 'ºãѹ¿ØÖÆ',
      public int concurrcontrol   ;// 'ºãÁ÷¿ØÖÆ',
      public int conn_flag   ;// '²¢ÁªÄ£Ê½',
      public int divide_flag   ;// '´®ÁªÄ£Ê½',
      public int volset   ;// 'µçѹ¸ø¶¨',
      public int currset   ;// 'µçÁ÷¸ø¶¨',
      public float givevol ;// '¸ø¶¨µçѹ',
      public float givecurr ;// '¸ø¶¨µçÁ÷',
      public int switchon1   ;// 'Êä³öºÏÕ¢1',
      public int switchon2   ;// 'Êä³öºÏÕ¢2',
      public int switchoff1 ;// 'Êä³ö·ÖÕ¢1 ',
      public int switchoff2 ;// 'Êä³ö·ÖÕ¢2',
      public int conn_start   ;// '²¢ÁªÔËÐÐÆô¶¯',
      public int conn_stop   ;// '²¢ÁªÔËÐÐÍ£Ö¹',
      
      
      public boolean control_en = false;
      
      
      public Electric_control_conn(int electric_id) {
        super();
        this.electric_id=electric_id;
    }
    public void clear() {
            this.control_en = false;    
            this.convolcontrol = 0;
            this.concurrcontrol = 0;    
            this.conn_flag = 0;    
            this.divide_flag=0;
            this.volset = 0;    
            this.currset = 0;    
            this.givevol = 0;    
            this.givecurr = 0;
            this.switchon1 = 0;    
            this.switchon2 = 0;    
            this.switchoff1 = 0;
            this.switchoff2=0;
            this.conn_start=0;
            this.conn_stop=0;
        }
    public int getNum() {
        return num;
    }
    public void setNum(int num) {
        this.num = num;
    }
    public int getElectric_id() {
        return electric_id;
    }
    public void setElectric_id(int electric_id) {
        this.electric_id = electric_id;
    }
    public String getConn_name() {
        return conn_name;
    }
    public void setConn_name(String conn_name) {
        this.conn_name = conn_name;
    }
    public int getConvolcontrol() {
        return convolcontrol;
    }
    public void setConvolcontrol(int convolcontrol) {
        if(convolcontrol > 0) {
            control_en = true;
        }
        this.convolcontrol = convolcontrol;
    }
    public int getConcurrcontrol() {
        return concurrcontrol;
    }
    public void setConcurrcontrol(int concurrcontrol) {
        if(concurrcontrol > 0) {
            control_en = true;
        }
        this.concurrcontrol = concurrcontrol;
    }
    
    public int getDivide_flag() {
        return divide_flag;
    }
    public void setDivide_flag(int divide_flag) {
        if(divide_flag > 0) {
            control_en = true;
        }
        this.divide_flag = divide_flag;
    }
    public int getConn_flag() {
        return conn_flag;
    }
    public void setConn_flag(int conn_flag) {
        if(conn_flag > 0) {
            control_en = true;
        }
        this.conn_flag = conn_flag;
    }
    public int getVolset() {
        return volset;
    }
    public void setVolset(int volset) {
        if(volset > 0) {
            control_en = true;
        }
        this.volset = volset;
    }
    public int getCurrset() {
        return currset;
    }
    public void setCurrset(int currset) {
        if(currset > 0) {
            control_en = true;
        }
        this.currset = currset;
    }
    public float getGivevol() {
        return givevol;
    }
    public void setGivevol(float givevol) {
        this.givevol = givevol;
    }
    public float getGivecurr() {
        return givecurr;
    }
    public void setGivecurr(float givecurr) {
        this.givecurr = givecurr;
    }
    public int getSwitchon1() {
        return switchon1;
    }
    public void setSwitchon1(int switchon1) {
        if(switchon1 > 0) {
            control_en = true;
        }
        this.switchon1 = switchon1;
    }
    public int getSwitchon2() {
        return switchon2;
    }
    public void setSwitchon2(int switchon2) {
        if(switchon2 > 0) {
            control_en = true;
        }
        this.switchon2 = switchon2;
    }
    public int getSwitchoff1() {
        return switchoff1;
    }
    public void setSwitchoff1(int switchoff1) {
        if(switchoff1 > 0) {
            control_en = true;
        }
        this.switchoff1 = switchoff1;
    }
    public int getSwitchoff2() {
        return switchoff2;
    }
    public void setSwitchoff2(int switchoff2) {
        if(switchoff2 > 0) {
            control_en = true;
        }
        this.switchoff2 = switchoff2;
    }
    public int getConn_start() {
        return conn_start;
    }
    public void setConn_start(int conn_start) {
        if(conn_start > 0) {
            control_en = true;
        }
        this.conn_start = conn_start;
    }
    public int getConn_stop() {
        return conn_stop;
    }
    public void setConn_stop(int conn_stop) {
        if(conn_stop > 0) {
            control_en = true;
        }
        this.conn_stop = conn_stop;
    }
    public boolean isControl_en() {
        return control_en;
    }
 
    public void setControl_en(boolean control_en) {
        this.control_en = control_en;
    }
      
}