PyMacroPTPlugin.PTSection¶
- class PTSection¶
The
PTSectionclassSynopsis¶
Methods¶
def
__init__()def
evaluatePTFare()def
getDestination()def
getDistance()def
getLinePT()def
getMacroId()def
getOrigin()def
getRoute()def
getSpeed()def
setOriginStop()
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__(iPTSection, id, ptLine, iModelConnection)¶
- Parameters:
iPTSection –
GKPTSectionDataid – int
ptLine –
PTLineiModelConnection –
GKModelConnection
- evaluatePTDelayTime(context, line)¶
- evaluatePTDelayTimeComponent(context, line, component)¶
- Parameters:
context –
GKFunctionCostContextline –
PTLinecomponent –
GKFunctionComponent
- Return type:
- evaluatePTFare(context, line)¶
- evaluatePTFareComponent(context, line, component)¶
- Parameters:
context –
GKFunctionCostContextline –
PTLinecomponent –
GKFunctionComponent
- Return type: