Table of Contents

Class RtzSchedule

Namespace
EncDotNet.S100.Routes.Rtz
Assembly
EncDotNet.S100.Routes.Rtz.dll

A schedule element: a manual table, a calculated table, or both.

public sealed class RtzSchedule
Inheritance
RtzSchedule
Inherited Members

Properties

Calculated

The calculated table: times and speeds calculated from the manual one, or null. Where the two disagree, Annex S says the calculated value is the valid one.

public RtzScheduleTable? Calculated { get; init; }

Property Value

RtzScheduleTable

Extensions

The children of schedule/extensions.

public IReadOnlyList<XElement> Extensions { get; init; }

Property Value

IReadOnlyList<XElement>

ExtraAttributes

Attributes this model doesn't name, or couldn't parse, kept verbatim.

public IReadOnlyDictionary<XName, string> ExtraAttributes { get; init; }

Property Value

IReadOnlyDictionary<XName, string>

Id

id: the schedule's identifier.

public int Id { get; init; }

Property Value

int

Manual

The manual table: the planner's own times and speeds, or null.

public RtzScheduleTable? Manual { get; init; }

Property Value

RtzScheduleTable

Name

name.

public string? Name { get; init; }

Property Value

string

Methods

ElementFor(int)

The element for waypoint waypointId: the calculated table's, else the manual table's.

public RtzScheduleElement? ElementFor(int waypointId)

Parameters

waypointId int

An Id.

Returns

RtzScheduleElement

The element, or null.