Table of Contents

Class ZRXP

Namespace
BlueM.Wave.Fileformats
Assembly
Wave.dll

Class for the ZRXP file format Format description: https://www.kisters.de/fileadmin/user_upload/Wasser/Downloads/ZRXP3.0_DE.pdf

public class ZRXP : TimeSeriesFile
Inheritance
ZRXP
Inherited Members

Constructors

ZRXP(string, bool)

Instantiates a new ZRXP object

public ZRXP(string file, bool ReadAllNow = false)

Parameters

file string

path to the file

ReadAllNow bool

Properties

MetadataKeys

Returns a list of ZRXP-specific metadata keys

public static List<string> MetadataKeys { get; }

Property Value

List<string>

UseImportDialog

Specifies whether to use the file import dialog

public override bool UseImportDialog { get; }

Property Value

bool

Methods

Write_File(ref TimeSeries, string)

Exports a time series to a file in the ZRXP format

public static void Write_File(ref TimeSeries ts, string file)

Parameters

ts TimeSeries

the time series to export

file string

path to the file

readFile()

reads the file

public override void readFile()

readSeriesInfo()

Reads the metadata from the file

public override void readSeriesInfo()

setDefaultMetadata(TimeSeries)

Sets default metadata values for a time series corresponding to the ZRXP file format

public static void setDefaultMetadata(TimeSeries ts)

Parameters

ts TimeSeries

verifyFormat(string)

Checks whether a file conforms with the ZRXP-format

public static bool verifyFormat(string file)

Parameters

file string

path to file

Returns

bool

Boolean

Remarks

Checks whether the first or second line starts with the string "#ZRXP"