added new parameters to Floorplan-APs and -Beacons
This commit is contained in:
@@ -233,6 +233,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;
|
||||
}
|
||||
|
||||
@@ -251,6 +254,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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user