ExportMeasurementsToCsvNodeConfiguration
Namespace: Meshmakers.Octo.Communication.EdaAdapter.Nodes
Configuration for the ExportToCsv node that converts metering point data with measurements into CSV format.
public record ExportMeasurementsToCsvNodeConfiguration : TargetPathNodeConfiguration, INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IEquatable<ExportMeasurementsToCsvNodeConfiguration>
Inheritance Object → NodeConfiguration → TargetPathNodeConfiguration → ExportMeasurementsToCsvNodeConfiguration
Implements INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IEquatable<ExportMeasurementsToCsvNodeConfiguration>
Properties
MeteringPointsPath
JSONPath to the metering points array (e.g. "$.MeteringPoints[*]")
public string MeteringPointsPath { get; set; }
Property Value
MeasurementsPath
JSONPath to the measurements array within each metering point (e.g. "$.Measurements[*]")
public string MeasurementsPath { get; set; }
Property Value
HeaderMappings
Header row definitions. Each entry produces one header row in the CSV. The label becomes the first column, and for each metering point / time series combination the value at the given JSONPath within the metering point is used.
public List<CsvHeaderMapping> HeaderMappings { get; set; }
Property Value
ObisCodePath
JSONPath within a measurement to extract the OBIS code (e.g. "$.Values[1]"). Used to group measurements into time series and to produce the OBIS Code header row.
public string ObisCodePath { get; set; }
Property Value
TimestampPath
JSONPath within a measurement to extract the timestamp (e.g. "$.Values[3]" for the "to" timestamp)
public string TimestampPath { get; set; }
Property Value
ValuePath
JSONPath within a measurement to extract the value for a CSV cell (e.g. "$.Values[4]")
public string ValuePath { get; set; }
Property Value
Separator
CSV column separator
public string Separator { get; set; }
Property Value
DateTimeFormat
DateTime format for the timestamp column
public string DateTimeFormat { get; set; }
Property Value
TimeZoneId
IANA time zone ID for timestamp conversion. Uses TimeZoneInfo.FindSystemTimeZoneById which supports IANA IDs on .NET 6+.
public string TimeZoneId { get; set; }
Property Value
CultureName
Culture name for number formatting (e.g. "de-DE" for comma as decimal separator)
public string CultureName { get; set; }
Property Value
EmptyRowsBetweenHeaderAndData
Number of empty separator rows between header block and data block
public int EmptyRowsBetweenHeaderAndData { get; set; }
Property Value
DateTimeColumnLabel
Label for the first column of the data rows header
public string DateTimeColumnLabel { get; set; }
Property Value
ValueColumnLabel
Label for each value column in the data rows header
public string ValueColumnLabel { get; set; }
Property Value
ObisCodeLabel
Label for the OBIS code header row
public string ObisCodeLabel { get; set; }
Property Value
TargetPath
public string TargetPath { get; set; }
Property Value
TargetValueWriteMode
public TargetValueWriteModes TargetValueWriteMode { get; set; }
Property Value
TargetValueWriteModes
TargetValueKind
public ValueKinds TargetValueKind { get; set; }
Property Value
ValueKinds
DocumentMode
public DocumentModes DocumentMode { get; set; }
Property Value
DocumentModes
Description
public string Description { get; set; }
Property Value
Constructors
ExportMeasurementsToCsvNodeConfiguration()
Caution
Constructors of types with required members are not supported in this version of your compiler.
public ExportMeasurementsToCsvNodeConfiguration()