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 + "]";
|
}
|
}
|