String tempAuthModel = null;
String tempTechModel = null;
try {
Database database = TangoDeviceHelper.getDatabase();
DbDatum dbDatum = database.get_device_property(getModel(), AUTH_DEVICE);
tempAuthModel = dbDatum.extractString();
DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(getModel());
if (proxy != null) {
DeviceAttribute deviceAttribute = proxy.read_attribute(TECH_DEVICE);
tempTechModel = deviceAttribute.extractString();