Click or drag to resize

OneDayTsProfileCreateMidpointValues Method

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: 19.0.0.0 (11.1.1.1111)
Syntax
public static OneDayTsProfile CreateMidpointValues(
	IList<DateTime> time,
	IList<double> values,
	string oneDayProfileId,
	IDiagnostics diagnostics
)

Parameters

time
Type: System.Collections.GenericIListDateTime

[Missing <param name="time"/> documentation for "M:DHI.Mike1D.BoundaryModule.PeriodicItem.OneDayTsProfile.CreateMidpointValues(System.Collections.Generic.IList{System.DateTime},System.Collections.Generic.IList{System.Double},System.String,DHI.Mike1D.Generic.IDiagnostics)"]

values
Type: System.Collections.GenericIListDouble

[Missing <param name="values"/> documentation for "M:DHI.Mike1D.BoundaryModule.PeriodicItem.OneDayTsProfile.CreateMidpointValues(System.Collections.Generic.IList{System.DateTime},System.Collections.Generic.IList{System.Double},System.String,DHI.Mike1D.Generic.IDiagnostics)"]

oneDayProfileId
Type: SystemString

[Missing <param name="oneDayProfileId"/> documentation for "M:DHI.Mike1D.BoundaryModule.PeriodicItem.OneDayTsProfile.CreateMidpointValues(System.Collections.Generic.IList{System.DateTime},System.Collections.Generic.IList{System.Double},System.String,DHI.Mike1D.Generic.IDiagnostics)"]

diagnostics
Type: DHI.Mike1D.GenericIDiagnostics

[Missing <param name="diagnostics"/> documentation for "M:DHI.Mike1D.BoundaryModule.PeriodicItem.OneDayTsProfile.CreateMidpointValues(System.Collections.Generic.IList{System.DateTime},System.Collections.Generic.IList{System.Double},System.String,DHI.Mike1D.Generic.IDiagnostics)"]

Return Value

Type: OneDayTsProfile

[Missing <returns> documentation for "M:DHI.Mike1D.BoundaryModule.PeriodicItem.OneDayTsProfile.CreateMidpointValues(System.Collections.Generic.IList{System.DateTime},System.Collections.Generic.IList{System.Double},System.String,DHI.Mike1D.Generic.IDiagnostics)"]

See Also