Table of Contents

Class CapInfo

Namespace
EncDotNet.S100.Datasets.Cap
Assembly
EncDotNet.S100.Datasets.Cap.dll

A CAP info block: the event, its timing and what to do, in one language.

public sealed record CapInfo : IEquatable<CapInfo>
Inheritance
CapInfo
Implements
Inherited Members

Properties

Areas

The areas.

public IReadOnlyList<CapArea> Areas { get; init; }

Property Value

IReadOnlyList<CapArea>

Categories

The categorys, e.g. Met.

public IReadOnlyList<string> Categories { get; init; }

Property Value

IReadOnlyList<string>

Certainty

The certainty as written, e.g. "Likely".

public string Certainty { get; init; }

Property Value

string

Description

The description, or null.

public string? Description { get; init; }

Property Value

string

Effective

The effective time, or null.

public DateTimeOffset? Effective { get; init; }

Property Value

DateTimeOffset?

Ends

When the hazard ends, as the NWS gives it apart from Expires (which is when the message should be replaced): the GeoJSON ends, or the CAP eventEndingTime parameter. null when not given.

public DateTimeOffset? Ends { get; init; }

Property Value

DateTimeOffset?

Event

The event, e.g. "Gale Warning".

public string Event { get; init; }

Property Value

string

EventCodes

The eventCodes.

public IReadOnlyList<CapValue> EventCodes { get; init; }

Property Value

IReadOnlyList<CapValue>

Expires

The expires time, or null.

public DateTimeOffset? Expires { get; init; }

Property Value

DateTimeOffset?

Headline

The headline, or null.

public string? Headline { get; init; }

Property Value

string

Instruction

The instruction, or null.

public string? Instruction { get; init; }

Property Value

string

Language

The language, e.g. "en-US", or null.

public string? Language { get; init; }

Property Value

string

Onset

The onset time, or null.

public DateTimeOffset? Onset { get; init; }

Property Value

DateTimeOffset?

Parameters

The parameters.

public IReadOnlyList<CapValue> Parameters { get; init; }

Property Value

IReadOnlyList<CapValue>

ResponseTypes

The responseTypes, e.g. Avoid.

public IReadOnlyList<string> ResponseTypes { get; init; }

Property Value

IReadOnlyList<string>

SenderName

The senderName, e.g. "NWS San Francisco CA", or null.

public string? SenderName { get; init; }

Property Value

string

Severity

The severity.

public CapSeverity Severity { get; init; }

Property Value

CapSeverity

Urgency

The urgency as written, e.g. "Expected".

public string Urgency { get; init; }

Property Value

string

Web

The web link, or null.

public string? Web { get; init; }

Property Value

string