Package com.digitaldan.jomnilinkII.MessageTypes.properties

Examples of com.digitaldan.jomnilinkII.MessageTypes.properties.AreaProperties


            case AREA_EXIT_TIMER:
            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);
              }
View Full Code Here


    int objnum = 0;
    Message m;

    while ((m = c.reqObjectProperties(Message.OBJ_TYPE_AREA, objnum, 1, ObjectProperties.FILTER_1_NAMED,
        ObjectProperties.FILTER_2_NONE, ObjectProperties.FILTER_3_NONE)).getMessageType() == Message.MESG_TYPE_OBJ_PROP) {
      AreaProperties o = ((AreaProperties) m);
      objnum = o.getNumber();

      String group = addUniqueGroup(groupName + "_" + cleanString(o.getName()));

      groups.append(String.format(groupString,group,o.getName(),groupName));
      //String name = group + "_" + cleanString(o.getName());

      areas.add(new SiteItem(group, o.getName(), o.getName()));

      items.append(String.format(itemString,"Number", group + "_ExitDelay", "Exit Delay: [%d]",group,"area_status_exit_delay",objnum));
      items.append(String.format(itemString,"Number", group + "_EntryDelay", "Entry Delay: [%d]",group,"area_status_entry_delay",objnum));
      items.append(String.format(itemString,"Number", group + "_ExitTimer", "Exit Timer: [%d]",group,"area_status_exit_timer",objnum));
      items.append(String.format(itemString,"Number", group + "_EntryTimer", "Entry Timer: [%d]",group,"area_status_entry_timer",objnum));
View Full Code Here

TOP

Related Classes of com.digitaldan.jomnilinkII.MessageTypes.properties.AreaProperties

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.