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
Properties
MetadataKeys
Returns a list of ZRXP-specific metadata keys
public static List<string> MetadataKeys { get; }
Property Value
UseImportDialog
Specifies whether to use the file import dialog
public override bool UseImportDialog { get; }
Property Value
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
TimeSeriesthe time series to export
file
stringpath 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
stringpath to file
Returns
- bool
Boolean
Remarks
Checks whether the first or second line starts with the string "#ZRXP"