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
Properties
Day
public byte Day { get; init; }
Property Value
Hour
public byte Hour { get; init; }
Property Value
Minute
public byte Minute { get; init; }
Property Value
Rate
public byte Rate { get; init; }
Property Value
Second
public byte Second { get; init; }