Table of Contents

Interface ITimeController

Namespace
EncDotNet.S100.Maps
Assembly
EncDotNet.S100.Core.dll

The map clock over time-aware products (S-104 / S-111 / S-411). Backs the set_time_step tool.

public interface ITimeController

Remarks

Time is expressed as UTC instants drawn from AvailableSteps — the distinct sample times registered across the loaded time-aware datasets. The tool resolves a requested step index or instant against that list before calling SetTimeAsync(DateTime, CancellationToken), which applies time gating and re-renders. A host with nothing time-aware loaded reports an empty AvailableSteps and a null Current.

Properties

AvailableSteps

The distinct, ascending time steps available across the loaded time-aware datasets. Empty when nothing time-aware is loaded.

IReadOnlyList<DateTime> AvailableSteps { get; }

Property Value

IReadOnlyList<DateTime>

Current

The current map clock, or null when unset.

DateTime? Current { get; }

Property Value

DateTime?

Methods

SetTimeAsync(DateTime, CancellationToken)

Sets the map clock to time, applies time gating using the current presentation, and re-renders.

Task SetTimeAsync(DateTime time, CancellationToken cancellationToken = default)

Parameters

time DateTime

The UTC instant to set. Callers normally pass a value drawn from AvailableSteps.

cancellationToken CancellationToken

Cancels the change.

Returns

Task