Class AlertCatalogue
- Namespace
- EncDotNet.S100.Portrayals
- Assembly
- EncDotNet.S100.Portrayals.dll
A portrayal catalogue's alert catalogue (S-100 Part 9 ยง9-17): the alerts
drawing instructions refer to with AlertReference, with their
messages and highlights. S-101 defines SafetyContour,
ProhAre and NavHazard.
public sealed class AlertCatalogue
- Inheritance
-
AlertCatalogue
- Inherited Members
Properties
Alerts
The alerts, in document order.
public required IReadOnlyList<AlertDefinition> Alerts { get; init; }
Property Value
Highlights
The highlights, in document order.
public required IReadOnlyList<AlertHighlight> Highlights { get; init; }
Property Value
Messages
The messages, by id.
public required IReadOnlyDictionary<string, AlertMessage> Messages { get; init; }
Property Value
Version
The catalogue's version, from the root @version; empty when absent.
public required string Version { get; init; }
Property Value
Methods
FindAlert(string)
The alert with an id, or null when there's none.
public AlertDefinition? FindAlert(string id)
Parameters
idstringThe alert's id, as an
AlertReferencenames it.
Returns
- AlertDefinition
The alert, or null.
FindHighlight(string)
The highlight with an id, or null when there's none.
public AlertHighlight? FindHighlight(string id)
Parameters
idstringThe highlight's id.
Returns
- AlertHighlight
The highlight, or null.