Updated C/F setting. Started to implement UTF-8

This commit is contained in:
Admin
2016-03-16 17:13:03 -05:00
parent 73f0f766f7
commit ad820a68c9
6 changed files with 25 additions and 3 deletions

View File

@@ -19,6 +19,7 @@ public class BridgeSettingsDescriptor {
private boolean veraconfigured;
private boolean harmonyconfigured;
private boolean nestconfigured;
private boolean farenheit;
private String configfile;
private Integer numberoflogmessages;
@@ -29,6 +30,7 @@ public class BridgeSettingsDescriptor {
this.nestconfigured = false;
this.veraconfigured = false;
this.harmonyconfigured = false;
this.farenheit = true;
}
public String getUpnpConfigAddress() {
return upnpconfigaddress;
@@ -144,6 +146,12 @@ public class BridgeSettingsDescriptor {
public void setNumberoflogmessages(Integer numberoflogmessages) {
this.numberoflogmessages = numberoflogmessages;
}
public boolean isFarenheit() {
return farenheit;
}
public void setFarenheit(boolean farenheit) {
this.farenheit = farenheit;
}
public Boolean isValidVera() {
if(this.getVeraAddress() == null || this.getVeraAddress().getDevices().size() <= 0)
return false;