Zum Hauptinhalt springen

ArchiveRowOrigin

Namespace: Meshmakers.Octo.Runtime.Contracts.StreamData

Whether an archive row was entered manually by a person or delivered automatically by a system (adapter, pipeline, import). Recorded on every row, for every archive, independent of the data model — so a domain quality code (for example the metering data quality L1–L3) only has to say how good a value is, not where it came from.

public enum ArchiveRowOrigin

Inheritance Object → ValueType → Enum → ArchiveRowOrigin
Implements IComparable, ISpanFormattable, IFormattable, IConvertible

Remarks:

The writer declares the origin; a write that declares nothing counts as ArchiveRowOrigin.Automated. Rows written before the origin was recorded carry none and read as automated.

An archive can rank competing writes by origin by naming ArchiveConflictKey.OriginKey in its ConflictPrecedence: a manual value then is permanent — an automated delivery never replaces it, whatever its other keys say — and only another manual write changes it.

Fields​

NameValueDescription
Automated0Delivered by a system: an adapter, a pipeline, an import. The default.
Manual1Entered or corrected by a person.