Class ReportProperty
Represents a report property.
public sealed record ReportProperty : TaggedProperty, IEquatable<TaggedProperty>, IEquatable<ReportProperty>
- Inheritance
-
ReportProperty
- Implements
- Inherited Members
Constructors
ReportProperty(TagTypeKey, object?, string?, string, float)
Represents a report property.
public ReportProperty(TagTypeKey Type, object? RawValue, string? Key, string Value, float Severity)
Parameters
TypeTagTypeKey- The type.
RawValueobject- The raw value.
Keystring- The name.
Valuestring- The value.
Severityfloat- The severity
ReportProperty(TagTypeKey, string?, string, ISeverityScheme, object?)
Creates an instance of the ReportProperty class.
public ReportProperty(TagTypeKey Type, string? Key, string Value, ISeverityScheme severityScheme, object? rawValue)
Parameters
TypeTagTypeKey- The type.
Keystring- The name.
Valuestring- The value.
severitySchemeISeverityScheme- The severity scheme.
rawValueobject- The raw value.
ReportProperty(TagTypeKey, string?, string, float)
Creates an instance of the ReportProperty class.
public ReportProperty(TagTypeKey Type, string? Key, string Value, float Severity)
Parameters
TypeTagTypeKey- The type.
Keystring- The name.
Valuestring- The value.
Severityfloat- The severity
Properties
AccuracyOrder
The accuracy of the value.
public int AccuracyOrder { get; init; }
Property Value
Remarks
This value conforms to the following definitions.
| 0~19 (10 by default) | Strict (observed or derived from observed data strictly based on the definition), reviewed |
| 20~39 (30 by default) | Strict (observed or derived from observed data strictly based on the definition), automatic |
| 40~59 (50 by default) | Estimated (estimated from observed data of the same type) |
| 60~79 (70 by default) | Forecast (estimated from observed data of different types) |
| 80~99 (90 by default) | Unofficial |
| 100 | Unknown |
The default value is 10.
Severity
The severity
public float Severity { get; init; }
Property Value
Methods
GetTagForColorHint()
Gets a tag as a hint to color mapping for the property.
public override KeyValuePair<TagTypeKey, object?>? GetTagForColorHint()
Returns
- KeyValuePair<TagTypeKey, object>?
- A tag as a hint to color mapping for the property.