Interface ISeverityScheme
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.00 | Not perceivable by human and only detected by instruments; very light |
0.50 | Slightly perceived by human; light |
0.75 | Perceived by human; moderate |
1.00 | Strongly perceived by human; heavy |
1.25 | Violently perceived by human; disastrous; extreme |
Methods
From(TagTypeKey, object?)
Extracts a severity value from a property.
float From(TagTypeKey type, object? value)
Parameters
typeTagTypeKey- The type of the property.
valueobject- 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
propsIEnumerable<KeyValuePair<TagTypeKey, object>>- The properties.
Returns
- float
- The severity value.