Package org.openhab.binding.omnilink.internal.model

Examples of org.openhab.binding.omnilink.internal.model.AudioZone


            case AUDIOZONE_TEXT_FIELD1:
            case AUDIOZONE_TEXT_FIELD2:
            case AUDIOZONE_TEXT_FIELD3:
            case AUDIOZONE_VOLUME: {
              AudioZoneProperties p = readAudioZoneProperties(config.getNumber());
              AudioZone audioZone = audioZoneMap.get(number);
              if (audioZone == null) {
                audioZone = new AudioZone(p);
                audioZone.setAudioSource(audioSourceMap);
                audioZoneMap.put(number, audioZone);
              }
              config.setDevice(audioZone);
              audioZone.setProperties(p);
              audioZone.updateItem(provider.getItem(itemName),
                  config, eventPublisher);
            }
              break;
            case AUDIOSOURCE_TEXT:
            case AUDIOSOURCE_TEXT_FIELD1:
View Full Code Here


          switch (config.getObjectType()) {
          case AUDIOZONE_TEXT:
          case AUDIOZONE_TEXT_FIELD1:
          case AUDIOZONE_TEXT_FIELD2:
          case AUDIOZONE_TEXT_FIELD3: {
            AudioZone az = (AudioZone) config.getDevice();
            az.setAudioSource(audioSourceMap);
            if (az.getProperties().getSource() == as
                .getProperties().getNumber()) {
              az.updateItem(provider.getItem(itemName), config,
                  eventPublisher);
            }
          }
            break;
          default:
View Full Code Here

      thermo.getProperties().updateThermostat((ThermostatStatus) status);
      updateItemsForDevice(thermo);
    } else if (status instanceof AudioZoneStatus
        && audioZoneMap.containsKey(number)) {
      logger.debug("Updating audioZone " + number);
      AudioZone az = audioZoneMap.get(number);
      az.getProperties().updateAudioZone((AudioZoneStatus) status);
      updateItemsForDevice(az);
    } else if (status instanceof AreaStatus && areaMap.containsKey(number)) {
      logger.debug("Updating area " + number);
      Area area = areaMap.get(number);
      area.getProperties().updateArea((AreaStatus) status);
View Full Code Here

TOP

Related Classes of org.openhab.binding.omnilink.internal.model.AudioZone

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.