ModelStateWriterWriteRelativeTimes Method

Write time buffers for an item relative to the StateTime s.t. it can be applied to a simulation using an arbitrary start time.

Definition

Namespace: DHI.Mike1D.ModelState
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public void WriteRelativeTimes(
	string parameterName,
	IEnumerable<DateTime> values,
	bool optional = false
)

Parameters

parameterName  String
Name of parameter
values  IEnumerableDateTime
Array of DateTime values
optional  Boolean  (Optional)
Flag indicating if the parameter is optional

See Also