Package org.openhab.binding.dscalarm.internal.model

Examples of org.openhab.binding.dscalarm.internal.model.Keypad


          else {
            zone.refreshItem(item, config, eventPublisher);
          }
          break;
        case KEYPAD:
          Keypad keypad = null;
         
          //There is only one Keypad object per panel;
          if(keypadMap.isEmpty()) {
            keypad = new Keypad(keypadId);
            keypadMap.put(keypadId, keypad);
          }
          else {
            keypad = keypadMap.get(1);
          }
         
          if(event != null) {
            keypad.handleEvent(item, config, eventPublisher, event);
          }
          else {
            keypad.refreshItem(item, config, eventPublisher);
          }
          break;
        default:
          logger.debug("updateDeviceItem(): Item not updated.");
          break;
View Full Code Here


          Zone zone = zoneMap.get(zoneId);
          if(zone != null)
            zone.updateProperties(item, config, state, description);
          break;
        case KEYPAD:
          Keypad keypad = keypadMap.get(keypadId);
          if(keypad != null)
            keypad.updateProperties(item, config, state, description);
          break;
        default:
          logger.debug("updateDeviceProperties(): Item properties not updated.");
          break;
      }
View Full Code Here

TOP

Related Classes of org.openhab.binding.dscalarm.internal.model.Keypad

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.