Interface IPreselection
- Namespace
- XENBIT.ResQueServe.Abstractions.Interfaces
- Assembly
- RQS.Abstractions.dll
Represents a preselection of a resource for a potential dispatch operation, including route time and distance to the target.
public interface IPreselection
- Extension Methods
Properties
DepartureTime
Gets the estimated departure time (Rüstzeit/Ausrückezeit) before the unit can begin driving to the target. Zero for units already en route (status 1); derived from dispatch center response time settings for units on duty at their station (status 2).
TimeSpan? DepartureTime { get; init; }
Property Value
DutyEndsOn
Gets when the unit's duty ends (session time), only when it ends soon (Core DispatchDefaults.DutyEndWarningMinutes);
otherwise null.
DateTimeOffset? DutyEndsOn { get; init; }
Property Value
MetersToTarget
Gets or sets the estimated distance in meters for the resource to reach the target.
double? MetersToTarget { get; init; }
Property Value
OperationId
Guid OperationId { get; init; }
Property Value
Resource
IUnitResource Resource { get; init; }
Property Value
RouteTimeToTarget
Gets or sets the estimated time required for the resource to reach the target.
TimeSpan? RouteTimeToTarget { get; init; }
Property Value
TotalTimeToTarget
Gets the total estimated time to reach the target, combining DepartureTime and
RouteTimeToTarget. Returns null when RouteTimeToTarget is unknown.
TimeSpan? TotalTimeToTarget { get; }