Table of Contents

Interface IUnitResource

Namespace
XENBIT.ResQueServe.Abstractions.Interfaces
Assembly
RQS.Abstractions.dll
public interface IUnitResource

Properties

CurrentOperationId

Gets or sets the identifier of the current operation if the unit is dispatched.

Guid? CurrentOperationId { get; set; }

Property Value

Guid?

DispatchCounter

Gets or sets the count of times the unit has been dispatched, used for load balancing between units.

int DispatchCounter { get; set; }

Property Value

int

DynamicPosition

Gets or sets the dynamic GPS position of the unit, if available.

Coordinates? DynamicPosition { get; set; }

Property Value

Coordinates?

IsActive

Is true if the unit has a state which indicates activity (e.g. on-scene, driving ...)

bool IsActive { get; }

Property Value

bool

IsReserved

Is true if the unit is blocked in an operation (e.g. suggested / selected) - pre dispatch

bool IsReserved { get; }

Property Value

bool

PreviousOperationId

Gets or sets the identifier of the previous operation if the unit was dispatched.

Guid? PreviousOperationId { get; set; }

Property Value

Guid?

StaticPosition

Gets or sets the static position of the unit, representing its station location when on duty without dispatch.

Coordinates StaticPosition { get; set; }

Property Value

Coordinates

SuggestionOn

Gets or sets the timestamp indicating when the unit was put into preselection for an operation.

DateTimeOffset? SuggestionOn { get; set; }

Property Value

DateTimeOffset?

Unit

Gets or sets the unit information associated with the resource.

IUnitInfo Unit { get; init; }

Property Value

IUnitInfo

UnitStatus

Gets or sets the current status of the unit.

UnitStatus? UnitStatus { get; set; }

Property Value

UnitStatus?

UnitStatusNonPersistent

Gets or sets a non-persistent unit status for temporary tracking.

UnitStatusNonPersistent? UnitStatusNonPersistent { get; set; }

Property Value

UnitStatusNonPersistent?

UnitStatusNonPersistentSince

Gets or sets since a non-persistent unit status for temporary tracking was set.

DateTimeOffset? UnitStatusNonPersistentSince { get; set; }

Property Value

DateTimeOffset?

UnitStatusSince

Gets or sets since then the current status of the unit was set.

DateTimeOffset? UnitStatusSince { get; set; }

Property Value

DateTimeOffset?