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
file
string
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
tsList
List<TimeSeries>List of Timeseries to save
file
stringPath to the wvp file to write
saveRelativePaths
boolWhether to save relative paths
saveTitle
boolWhether to save titles
saveUnit
boolWhether to save units
saveInterpretation
boolWhether to save interpretations
saveColor
boolWhether to save line colors
saveLineStyle
boolWhether to save line styles
saveLineWidth
boolWhether to save line widths
savePointsVisibility
boolWhether to save points visibility
Remarks
Only Timeseries with .DataSource.Origin = TimeSeriesDataSource.OriginEnum.FileImport
will be saved