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;
|
}
|
|
}
|