private Brazo brazo;
private ZigbeeDriver zigbeeDriver;
public DeviceManager() {
zigbeeDriver = new ZigbeeDriver();
zigbeeDriver.registerListener(this);
for (int i=0;i<zigbeeDriver.getGateways().size();i++)
((ZigbeeGatewayATv3)zigbeeDriver.getGateways().get(i)).registerListener(this);
// this.remoteControl=new RemoteControl(zigbeeDriver);