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));