Show / Hide Table of Contents

Class Level

Represents a transit station level.

Inheritance
System.Object
GTFSEntity
Level
Inherited Members
GTFSEntity.Tag
GTFSEntity.EntityChanged
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class Level : GTFSEntity

Properties

Id

Id of the level that can be referenced from stops.txt.

Declaration
public string Id { get; set; }
Property Value
System.String

Index

Numeric index of the level that indicates relative position of this level in relation to other levels (levels with higher indices are assumed to be located above levels with lower indices). Ground level should have index 0, with levels above ground indicated by positive indices and levels below ground by negative indices.

Declaration
public double Index { get; set; }
Property Value
System.Double

Name

Optional name of the level(that matches level lettering/numbering used inside the building or the station). Is useful for elevator routing(e.g. “take the elevator to level “Mezzanine” or “Platforms” or “-1”).

Declaration
public string Name { get; set; }
Property Value
System.String

Methods

Equals(Object)

Returns true if the given object contains the same data.

Declaration
public override bool Equals(object obj)
Parameters
System.Object obj

Returns
System.Boolean

Overrides
System.Object.Equals(System.Object)

GetHashCode()

Serves as a hash function.

Declaration
public override int GetHashCode()
Returns
System.Int32

Overrides
System.Object.GetHashCode()

ToString()

Returns a description of this agency.

Declaration
public override string ToString()
Returns
System.String

Overrides
System.Object.ToString()
Back to top Built by Itinero, MIT licensed.