added new parameters to Floorplan-APs and -Beacons

This commit is contained in:
2016-11-29 21:29:10 +01:00
committed by toni
parent 0bf8a9c25c
commit ae357ffd4b
3 changed files with 31 additions and 0 deletions

View File

@@ -241,6 +241,9 @@ namespace Floorplan {
ap->mac = n->Attribute("mac");
ap->name = n->Attribute("name");
ap->pos = parsePoint3(n);
ap->model.txp = n->FloatAttribute("mdl_txp");
ap->model.exp = n->FloatAttribute("mdl_exp");
ap->model.waf = n->FloatAttribute("mdl_waf");
return ap;
}
@@ -259,6 +262,12 @@ namespace Floorplan {
Beacon* b = new Beacon();
b->mac = n->Attribute("mac");
b->name = n->Attribute("name");
b->major = n->Attribute("major");
b->minor = n->Attribute("minor");
b->uuid = n->Attribute("uuid");
b->model.txp = n->FloatAttribute("mdl_txp");
b->model.exp = n->FloatAttribute("mdl_exp");
b->model.waf = n->FloatAttribute("mdl_waf");
b->pos = parsePoint3(n);
return b;
}