Some Zigbee bugfixes
This commit is contained in:
parent
bcc4133a31
commit
3cd96cfc82
2 changed files with 4 additions and 2 deletions
|
|
@ -130,7 +130,7 @@ public class ZigBeeHalDataStore implements ZigBeeNetworkDataStore {
|
||||||
* A private data storage object connected to the DB schema.
|
* A private data storage object connected to the DB schema.
|
||||||
*/
|
*/
|
||||||
@DBBean.DBTable(ZIGBEE_NODE_TABLE)
|
@DBBean.DBTable(ZIGBEE_NODE_TABLE)
|
||||||
private static class ZigbeeNodeDSO extends DBBean {
|
public static class ZigbeeNodeDSO extends DBBean {
|
||||||
protected String address;
|
protected String address;
|
||||||
protected String config;
|
protected String config;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,9 @@ public abstract class ZigbeeHalDeviceConfig implements HalDeviceConfig {
|
||||||
if (!(o instanceof ZigbeeHalDeviceConfig)) return false;
|
if (!(o instanceof ZigbeeHalDeviceConfig)) return false;
|
||||||
|
|
||||||
ZigbeeHalDeviceConfig that = (ZigbeeHalDeviceConfig) o;
|
ZigbeeHalDeviceConfig that = (ZigbeeHalDeviceConfig) o;
|
||||||
return Objects.equals(zigbeeNodeAddressStr, that.zigbeeNodeAddressStr);
|
return this.getClass() == that.getClass() &&
|
||||||
|
Objects.equals(zigbeeNodeAddressStr, that.zigbeeNodeAddressStr) &&
|
||||||
|
this.getZigbeeClusterId() == that.getZigbeeClusterId();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue