String tempAuthModel = null;
String tempTechModel = null;
try {
Database database = TangoDeviceHelper.getDatabase();
DbDatum dbDatum = database.get_device_property(getModel(), AUTH_DEVICE);
tempAuthModel = dbDatum.extractString();
dbDatum = database.get_device_property(getModel(), TECH_DEVICE);
tempTechModel = dbDatum.extractString();
if ((tempAuthModel != null) && (!tempAuthModel.trim().isEmpty())
&& (!ObjectUtils.sameObject(getAuthModel(), tempAuthModel))) {
authModel = tempAuthModel;