Class AlertUse
- Namespace
- EncDotNet.S100.Portrayals
- Assembly
- EncDotNet.S100.Portrayals.dll
How an alert is raised in route planning or route monitoring.
public sealed record AlertUse : IEquatable<AlertUse>
- Inheritance
-
AlertUse
- Implements
- Inherited Members
Constructors
AlertUse(string?, string?, IReadOnlyList<AlertPriority>, AlertPriority)
How an alert is raised in route planning or route monitoring.
public AlertUse(string? MessageId, string? HighlightId, IReadOnlyList<AlertPriority> Priorities, AlertPriority DefaultPriority)
Parameters
MessageIdstringThe id of the message shown, or null.
HighlightIdstringThe id of the highlight drawn, or null.
PrioritiesIReadOnlyList<AlertPriority>The priorities the mariner can choose from; one when there's no choice.
DefaultPriorityAlertPriorityThe priority used unless the mariner chooses another.
Properties
DefaultPriority
The priority used unless the mariner chooses another.
public AlertPriority DefaultPriority { get; init; }
Property Value
HighlightId
The id of the highlight drawn, or null.
public string? HighlightId { get; init; }
Property Value
MessageId
The id of the message shown, or null.
public string? MessageId { get; init; }
Property Value
Priorities
The priorities the mariner can choose from; one when there's no choice.
public IReadOnlyList<AlertPriority> Priorities { get; init; }