Table of Contents

Class ModelTime

Namespace
CommandStation.Model
Assembly
CommandStation.Abstractions.dll

Accelerated model railway clock time. Day is 0 (Monday) to 6 (Sunday), Rate is the acceleration factor (0–63; 1 = real time).

public record ModelTime : IEquatable<ModelTime>
Inheritance
ModelTime
Implements
Inherited Members

Constructors

ModelTime(byte, byte, byte, byte, byte)

Accelerated model railway clock time. Day is 0 (Monday) to 6 (Sunday), Rate is the acceleration factor (0–63; 1 = real time).

public ModelTime(byte Day, byte Hour, byte Minute, byte Second, byte Rate)

Parameters

Day byte
Hour byte
Minute byte
Second byte
Rate byte

Properties

Day

public byte Day { get; init; }

Property Value

byte

Hour

public byte Hour { get; init; }

Property Value

byte

Minute

public byte Minute { get; init; }

Property Value

byte

Rate

public byte Rate { get; init; }

Property Value

byte

Second

public byte Second { get; init; }

Property Value

byte