Class WVP
- Namespace
- BlueM.Wave.Fileformats
- Assembly
- Wave.dll
Class for importing a wave project file https://wiki.bluemodel.org/index.php/Wave_project_file
public class WVP
- Inheritance
-
WVP
- Inherited Members
Constructors
WVP(string)
public WVP(string file)
Parameters
filestring
Methods
Process()
Reads all timeseries from all files as specified in the project file
public List<TimeSeries> Process()
Returns
- List<TimeSeries>
the list of time series
Write_File(ref List<TimeSeries>, string, bool, bool, bool, bool, bool, bool, bool, bool)
Write a Wave project file
public static void Write_File(ref List<TimeSeries> tsList, string file, bool saveRelativePaths = false, bool saveTitle = false, bool saveUnit = false, bool saveInterpretation = false, bool saveColor = false, bool saveLineStyle = false, bool saveLineWidth = false, bool savePointsVisibility = false)
Parameters
tsListList<TimeSeries>List of Timeseries to save
filestringPath to the wvp file to write
saveRelativePathsboolWhether to save relative paths
saveTitleboolWhether to save titles
saveUnitboolWhether to save units
saveInterpretationboolWhether to save interpretations
saveColorboolWhether to save line colors
saveLineStyleboolWhether to save line styles
saveLineWidthboolWhether to save line widths
savePointsVisibilityboolWhether to save points visibility
Remarks
Only Timeseries with .DataSource.Origin = TimeSeriesDataSource.OriginEnum.FileImport will be saved