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
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
tsTimeSeries
verifyFormat(string)
Checks whether a file conforms with the ZRXP-format
public static bool verifyFormat(string file)
Parameters
filestringpath to file
Returns
- bool
Boolean
Remarks
Checks whether the first or second line starts with the string "#ZRXP"
writeFile(ref TimeSeries, string)
Exports a time series to a file in the ZRXP format
public static void writeFile(ref TimeSeries ts, string file)
Parameters
tsTimeSeriesthe time series to export
filestringpath to the file