ModelStateWriterWriteRelativeTime Method
Write time for an item relative to the StateTime s.t. it can be
applied to a simulation using an arbitrary start time.
Namespace: DHI.Mike1D.ModelStateAssembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
public void WriteRelativeTime(
string parameterName,
DateTime value,
bool optional = false
)
Parameters
- parameterName String
- Name of parameter
- value DateTime
- DateTime value
- optional Boolean (Optional)
- Flag indicating if the parameter is optional