Table of Contents

Class Facility

Namespace
DotBahn.Facilities.Models
Assembly
DotBahn.Facilities.dll

A station facility such as an elevator or escalator with operational status information.

public class Facility
Inheritance
Facility
Inherited Members

Constructors

Facility()

public Facility()

Properties

Coordinates

Geographic coordinates of the facility within the station.

public required Coordinates Coordinates { get; init; }

Property Value

Coordinates

Description

Human-readable description of the facility location and purpose.

public string? Description { get; init; }

Property Value

string

EquipmentNumber

Unique equipment number assigned by Deutsche Bahn.

public required long EquipmentNumber { get; init; }

Property Value

long

OperatorName

Name of the operator responsible for maintaining this facility.

public string? OperatorName { get; init; }

Property Value

string

State

Current operational state of the facility.

public required FacilityState State { get; init; }

Property Value

FacilityState

StateExplanation

Explanation for the current state, typically provided when the facility is inactive.

public string? StateExplanation { get; init; }

Property Value

string

StationNumber

Station number this facility belongs to.

public required int StationNumber { get; init; }

Property Value

int

Type

Type of facility (elevator or escalator).

public required FacilityType Type { get; init; }

Property Value

FacilityType