Click or drag to resize

OneDayTsProfileCreateMidpointValues Method (IListDateTime, IListDouble, String, IDiagnostics)

Creating a OneDayTsProfile assuming that each value[i] is defined in the middle of the interval times[i] to times[i+1], assuming that the value is valid until time 60*60*24 (secondsInOneDay).

Namespace:  DHI.Mike1D.BoundaryModule.PeriodicItem
Assembly:  DHI.Mike1D.BoundaryModule (in DHI.Mike1D.BoundaryModule.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public static OneDayTsProfile CreateMidpointValues(
	IList<DateTime> time,
	IList<double> values,
	string oneDayProfileId,
	IDiagnostics diagnostics
)

Parameters

time
Type: System.Collections.GenericIListDateTime
values
Type: System.Collections.GenericIListDouble
oneDayProfileId
Type: SystemString
diagnostics
Type: DHI.Mike1D.GenericIDiagnostics

Return Value

Type: OneDayTsProfile
See Also