Class

AircraftClock

USI.Core

A named aircraft clock. Time-of-day values reuse USI's normalized simulator clock; presentation state remains an aircraft-avionics fact.

public sealed class AircraftClock : AircraftComponentNode

Methods

TryGetDisplayModeAsync

public Task<USIResult<AircraftClockDisplayMode>> TryGetDisplayModeAsync()

Gets the presentation currently selected on the clock.

TryGetLocalTimeOfDayAsync

public Task<USIResult<TimeSpan>> TryGetLocalTimeOfDayAsync()

Gets the current local time within the day.

TryGetZuluTimeOfDayAsync

public Task<USIResult<TimeSpan>> TryGetZuluTimeOfDayAsync()

Gets the current Zulu time within the day.

TrySetDisplayModeAsync

public Task<USIResult> TrySetDisplayModeAsync(AircraftClockDisplayMode mode)

Selects the presentation shown on the clock.