| |
- add(poiID, x, y, color, poiType='', layer=0)
- getColor(poiID)
- getColor(string) -> (integer, integer, integer, integer)
.
- getContextSubscriptionResults(poiID=None)
- getIDList()
- getIDList() -> list(string)
Returns a list of all pois in the network.
- getPosition(poiID)
- getPosition(string) -> (double, double)
.
- getSubscriptionResults(poiID=None)
- getSubscriptionResults(string) -> dict(integer: <value_type>)
Returns the subscription results for the last time step and the given poi.
If no poi id is given, all subscription results are returned in a dict.
If the poi id is unknown or the subscription did for any reason return no data,
'None' is returned.
It is not possible to retrieve older subscription results than the ones
from the last time step.
- getType(poiID)
- getType(string) -> string
.
- remove(poiID, layer=0)
- setColor(poiID, color)
- setPosition(poiID, x, y)
- setType(poiID, poiType)
- subscribe(poiID, varIDs=(66,), begin=0, end=2147483647L)
- subscribe(string, list(integer), double, double) -> None
Subscribe to one or more poi values for the given interval.
A call to this method clears all previous subscription results.
- subscribeContext(poiID, domain, dist, varIDs=(66,), begin=0, end=2147483647L)
|