Examples of Area


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

            case AREA_STATUS_ALARM:
            case AREA_STATUS_ENTRY_DELAY:
            case AREA_STATUS_EXIT_DELAY:
            case AREA_STATUS_MODE: {
              AreaProperties p = readAreaProperties(config.getNumber());
              Area area = areaMap.get(number);
              if (area == null) {
                area = new Area(p, omni);
                areaMap.put(number, area);
              }
              config.setDevice(area);
              area.setProperties(p);
              area.updateItem(provider.getItem(itemName), config,
                  eventPublisher);
            }
              break;
            case AUX_CURRENT:
            case AUX_HIGH:
View Full Code Here

Examples of powercrystals.core.position.Area

   
    if(_lastTree == null || _lastTree.x != x || _lastTree.y != y || _lastTree.z != z)
    {
      int yTreeAreaLowerBound = (treeFlipped ? y - MFRConfig.treeSearchMaxVertical.getInt() : y);
      int yTreeAreaUpperBound = (treeFlipped ? y : y + MFRConfig.treeSearchMaxVertical.getInt());
      Area a = new Area(x - MFRConfig.treeSearchMaxHorizontal.getInt(), x + MFRConfig.treeSearchMaxHorizontal.getInt(),
          yTreeAreaLowerBound, yTreeAreaUpperBound,
          z - MFRConfig.treeSearchMaxHorizontal.getInt(), z + MFRConfig.treeSearchMaxHorizontal.getInt());
     
      _treeManager = new TreeHarvestManager(a, treeFlipped ? TreeHarvestMode.HarvestInverted : TreeHarvestMode.Harvest);
      _lastTree = new BlockPosition(x, y, z);
View Full Code Here

Examples of simpleserver.config.xml.Area

      ((Config) stack.firstElement()).dimensions.add(dimension);
    }

    DimensionAreaStorage.setInstance(((Config) stack.firstElement()).dimensions.get(dimension).areas);

    Area area = new Area(attributes.getValue("name"), start, end);
    if (attributes.getIndex("owner") >= 0) {
      area.owner = attributes.getValue("owner").toLowerCase();
    }
    area.init();
    area.finish();

    if (container instanceof Config) {
      ((Config) container).dimensions.get(dimension).add(area);
    } else {
      ((Area) container).areas.add(area);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.