gatelogue_types.RailLineNS
- class gatelogue_types.RailLineNS(*, i: ID = None, source: set[str] = <factory>, code: str, name: str | None = None, colour: str | None = None, mode: RailMode | None = None, company: ID = None, ref_station: ID | None = None)
-
- __init__()
Methods
NS
()__init__
()Attributes
Unique code identifying the Rail line
Colour of the line (on a map)
ID of the
RailCompany
that operates the lineThe ID of the node
Type of rail or rail technology used on the line
Name of the line
ID of one
RailStation
on the line, typically a terminusAll sources that prove the node's existence
- classmethod NS()
- company: ID
ID of the
RailCompany
that operates the line
- i: ID
The ID of the node
- ref_station: ID | None
ID of one
RailStation
on the line, typically a terminus