PyANGKernel.GKPTStation¶
- class GKPTStation¶
A group of transit stops.
Synopsis¶
Methods¶
def
__init__()def
contains()def
getLines()def
getSections()def
getStops()def
getWaitingTime()def
getWalkingTime()def
setStops()def
setWaitingTime()def
setWalkingTime()def
updatePoints()
Static functions¶
def
findStation()def
getLines()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
- __init__()¶
- clearWaitingTimes()¶
- getLines()¶
- Return type:
.list of GKPublicLine
- static getLines(stops)
- Parameters:
stops – .list of GKBusStop
- Return type:
.list of GKPublicLine
- getSections()¶
- Return type:
.QSetGKSection
- getWaitingTime(iFromLine, iToLine)¶
- Parameters:
iFromLine –
GKPublicLineiToLine –
GKPublicLine
- Return type:
- getWalkingTime()¶
- Return type:
- setStops(stops)¶
- Parameters:
stops – .list of GKBusStop
- setWaitingTime(iFromLine, iToLine, iWaitingTime)¶
- Parameters:
iFromLine –
GKPublicLineiToLine –
GKPublicLineiWaitingTime – float
- setWalkingTime(w)¶
- Parameters:
w –
GKWalkingTime
- updatePoints()¶
Update the points of the station to cover all the stops of the group.