Table of Contents

Interface ISeverityScheme

Namespace
Cryville.EEW.Report
Assembly
Cryville.EEW.dll
Represents a severity scheme, extracting severity values from different properties.
public interface ISeverityScheme

Remarks

Severity values are defined based on the human perception of a specific property. When a property is not directly linked to human perception, a relative value based on mean conditions is used.
0.00Not perceivable by human and only detected by instruments; very light
0.50Slightly perceived by human; light
0.75Perceived by human; moderate
1.00Strongly perceived by human; heavy
1.25Violently perceived by human; disastrous; extreme

Methods

From(TagTypeKey, object?)

Extracts a severity value from a property.
float From(TagTypeKey type, object? value)

Parameters

type TagTypeKey
The type of the property.
value object
The value of the property.

Returns

float
The severity value.

From(IEnumerable<KeyValuePair<TagTypeKey, object?>>)

Extracts a severity value from a set properties.
float From(IEnumerable<KeyValuePair<TagTypeKey, object?>> props)

Parameters

props IEnumerable<KeyValuePair<TagTypeKey, object>>
The properties.

Returns

float
The severity value.