code: @Override
      public void setDeviceProperties(final String deviceName, final Map<String, String[]> properties) throws DevFailed {
          final List<String> args = getArray(properties, deviceName);
          final DeviceData argin = new DeviceData();
          argin.insert(args.toArray(new String[args.size()]));
          database.command_inout("DbPutDeviceProperty", argin);
      }
docs: Set values of device properties. (execute DbPutDeviceProperty on DB
  device)
  
  @param deviceName
  The device name
  @param properties
  The properties names and their values
  @throws DevFailed