code: public DbDatum get_property(final DeviceProxy deviceProxy,
                                  final String propertyName)  throws DevFailed {
          if (deviceProxy.url.protocol == TANGO) {
              checkIfUseDb(deviceProxy, "get_property()");
  
              if (deviceProxy.getDb_dev() == null) {
              deviceProxy.setDb_dev(new DbDevice(deviceProxy.devname, deviceProxy.url.host,
                  deviceProxy.url.strPort));
              }
              return deviceProxy.getDb_dev().get_property(propertyName);
          } else {
              final String[] propnames = { propertyName };
              return deviceProxy.taco_device.get_property(propnames)[0];
          }
      }
docs: ==========================================================================