package com.dev.base.data; public class Dynamicload_control { public int dev_id; public int FZ_b1; //FZ°´Å¥1 public int FZ_b2; //FZ°´Å¥2 public int FZ_b3; //FZ°´Å¥3 public int FZ_b4; //FZ°´Å¥4 public int FZ_b5; //FZ°´Å¥5 public int FZ_b6; //FZ°´Å¥6 public int FZ_b7; //FZ°´Å¥7 public int FZ_b8; //FZ°´Å¥8 public int FZ_b9; //FZ°´Å¥9 public int FZ_b10; //FZ°´Å¥10 public int FZ_b11; //FZ°´Å¥11 public int start_auto; //Æô¶¯×Ô¶¯¼ÓÔØ public int stop_auto; //Í£Ö¹×Ô¶¯¼ÓÔØ public int sudden_crease; //Í»¼Óͻж public int all_open; //È«²¿·ÖÕ¢ public int FZ_autostate1; //FZ×Ô¶¯×´Ì¬1 public int FZ_autostate2; //FZ×Ô¶¯×´Ì¬2 public int FZ_autostate3; //FZ×Ô¶¯×´Ì¬3 public int FZ_autostate4; //FZ×Ô¶¯×´Ì¬4 public int FZ_autostate5; //FZ×Ô¶¯×´Ì¬5 public int local_control; //¾ÍµØ¿ØÖÆ public int back_control; //ºǫ́¿ØÖÆ public int central_control; //ÖÐ¼ä¿ØÖÆ public int inter_volume_M200; //ÖмäÁ¿M200 public int fan_button; //·ç»ú°´Å¥ //public int fan_output; //·ç»úÊä³ö public float set_power; //É趨¹¦ÂÊ public int interval_time; //¼ä¸ôʱ¼ä public String note; public int button_num; public boolean control_en = false; public void clear() { this.FZ_b1=0; this.FZ_b2=0; this.FZ_b3=0; this.FZ_b4=0; this.FZ_b5=0; this.FZ_b6=0; this.FZ_b7=0; this.FZ_b8=0; this.FZ_b9=0; this.FZ_b10=0; this.FZ_b11=0; this.start_auto=0; this.stop_auto=0; this.sudden_crease=0; this.all_open=0; this.FZ_autostate1=0; this.FZ_autostate2=0; this.FZ_autostate3=0; this.FZ_autostate4=0; this.FZ_autostate5=0; this.local_control=0; this.back_control=0; this.central_control=0; this.inter_volume_M200=0; this.fan_button=0; this.set_power=0; this.interval_time=0; this.control_en = false; } public boolean isControl_en() { return control_en; } public Dynamicload_control(int dev_id,int button_num) { this.dev_id = dev_id; this.button_num=button_num; } public int getDev_id() { return dev_id; } public int getFZ_b1() { return FZ_b1; } public int getFZ_b2() { return FZ_b2; } public int getFZ_b3() { return FZ_b3; } public int getFZ_b4() { return FZ_b4; } public int getFZ_b5() { return FZ_b5; } public int getFZ_b6() { return FZ_b6; } public int getFZ_b7() { return FZ_b7; } public int getFZ_b8() { return FZ_b8; } public int getFZ_b9() { return FZ_b9; } public int getFZ_b10() { return FZ_b10; } public int getFZ_b11() { return FZ_b11; } public int getStart_auto() { return start_auto; } public int getStop_auto() { return stop_auto; } public int getSudden_crease() { return sudden_crease; } public int getAll_open() { return all_open; } public int getFZ_autostate1() { return FZ_autostate1; } public int getFZ_autostate2() { return FZ_autostate2; } public int getFZ_autostate3() { return FZ_autostate3; } public int getFZ_autostate4() { return FZ_autostate4; } public int getFZ_autostate5() { return FZ_autostate5; } public int getLocal_control() { return local_control; } public int getBack_control() { return back_control; } public int getCentral_control() { return central_control; } public int getInter_volume_M200() { return inter_volume_M200; } public int getFan_button() { return fan_button; } public String getNote() { return note; } public void setDev_id(int dev_id) { this.dev_id = dev_id; } public void setFZ_b1(int fZ_b1) { if(fZ_b1 > 0) { control_en = true; } FZ_b1 = fZ_b1; } public void setFZ_b2(int fZ_b2) { if(fZ_b2 > 0) { control_en = true; } FZ_b2 = fZ_b2; } public void setFZ_b3(int fZ_b3) { if(fZ_b3 > 0) { control_en = true; } FZ_b3 = fZ_b3; } public void setFZ_b4(int fZ_b4) { if(fZ_b4 > 0) { control_en = true; } FZ_b4 = fZ_b4; } public void setFZ_b5(int fZ_b5) { if(fZ_b5 > 0) { control_en = true; } FZ_b5 = fZ_b5; } public void setFZ_b6(int fZ_b6) { if(fZ_b6 > 0) { control_en = true; } FZ_b6 = fZ_b6; } public void setFZ_b7(int fZ_b7) { if(fZ_b7 > 0) { control_en = true; } FZ_b7 = fZ_b7; } public void setFZ_b8(int fZ_b8) { if(fZ_b8 > 0) { control_en = true; } FZ_b8 = fZ_b8; } public void setFZ_b9(int fZ_b9) { if(fZ_b9 > 0) { control_en = true; } FZ_b9 = fZ_b9; } public void setFZ_b10(int fZ_b10) { if(fZ_b10 > 0) { control_en = true; } FZ_b10 = fZ_b10; } public void setFZ_b11(int fZ_b11) { if(fZ_b11 > 0) { control_en = true; } FZ_b11 = fZ_b11; } public void setStart_auto(int start_auto) { if(start_auto > 0) { control_en = true; } this.start_auto = start_auto; } public void setStop_auto(int stop_auto) { if(stop_auto > 0) { control_en = true; } this.stop_auto = stop_auto; } public void setSudden_crease(int sudden_crease) { if(sudden_crease > 0) { control_en = true; } this.sudden_crease = sudden_crease; } public void setAll_open(int all_open) { if(all_open > 0) { control_en = true; } this.all_open = all_open; } public void setFZ_autostate1(int fZ_autostate1) { if(fZ_autostate1 > 0) { control_en = true; } FZ_autostate1 = fZ_autostate1; } public void setFZ_autostate2(int fZ_autostate2) { if(fZ_autostate2 > 0) { control_en = true; } FZ_autostate2 = fZ_autostate2; } public void setFZ_autostate3(int fZ_autostate3) { if(fZ_autostate3 > 0) { control_en = true; } FZ_autostate3 = fZ_autostate3; } public void setFZ_autostate4(int fZ_autostate4) { if(fZ_autostate4 > 0) { control_en = true; } FZ_autostate4 = fZ_autostate4; } public void setFZ_autostate5(int fZ_autostate5) { if(fZ_autostate5 > 0) { control_en = true; } FZ_autostate5 = fZ_autostate5; } public void setLocal_control(int local_control) { if(back_control > 0) { control_en = true; } this.local_control = local_control; } public void setBack_control(int back_control) { if(back_control > 0) { control_en = true; } this.back_control = back_control; } public void setCentral_control(int central_control) { if(central_control > 0) { control_en = true; } this.central_control = central_control; } public void setInter_volume_M200(int inter_volume_M200) { if(inter_volume_M200 > 0) { control_en = true; } this.inter_volume_M200 = inter_volume_M200; } public void setFan_button(int fan_button) { if(fan_button > 0) { control_en = true; } this.fan_button = fan_button; } public void setNote(String note) { this.note = note; } public float getSet_power() { return set_power; } public void setSet_power(float set_power) { if(set_power > 0) { control_en = true; } this.set_power = set_power; } public int getInterval_time() { return interval_time; } public void setInterval_time(int interval_time) { if(interval_time > 0) { control_en = true; } this.interval_time = interval_time; } public int getButton_num() { return button_num; } public void setButton_num(int button_num) { this.button_num = button_num; } @Override public String toString() { return "Dynamicload_control [dev_id=" + dev_id + ", FZ_b1=" + FZ_b1 + ", FZ_b2=" + FZ_b2 + ", FZ_b3=" + FZ_b3 + ", FZ_b4=" + FZ_b4 + ", FZ_b5=" + FZ_b5 + ", FZ_b6=" + FZ_b6 + ", FZ_b7=" + FZ_b7 + ", FZ_b8=" + FZ_b8 + ", FZ_b9=" + FZ_b9 + ", FZ_b10=" + FZ_b10 + ", FZ_b11=" + FZ_b11 + ", start_auto=" + start_auto + ", stop_auto=" + stop_auto + ", sudden_crease=" + sudden_crease + ", all_open=" + all_open + ", FZ_autostate1=" + FZ_autostate1 + ", FZ_autostate2=" + FZ_autostate2 + ", FZ_autostate3=" + FZ_autostate3 + ", FZ_autostate4=" + FZ_autostate4 + ", FZ_autostate5=" + FZ_autostate5 + ", local_control=" + local_control + ", back_control=" + back_control + ", central_control=" + central_control + ", inter_volume_M200=" + inter_volume_M200 + ", fan_button=" + fan_button + ", note=" + note + "]"; } }