Click or drag to resize

IDfsParametersModifyTimes Property

Defines whether the times should be modified.

If set to true, then modifications are made to the temporal axis definition and the times from the IDfsItemData such that the Time start from zero.

Default is false.

Namespace:  DHI.Generic.MikeZero.DFS
Assembly:  DHI.Generic.MIKEZero.DFS (in DHI.Generic.MIKEZero.DFS.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
bool ModifyTimes { get; set; }

Property Value

Type: Boolean
Remarks
If set to true, the following happens:

For the calendar type axes the StartDateTime/StartDateTime has the StartTimeOffset added, and the StartTimeOffset is returned as zero. Furthermore the Time starts from zero. If the first time step has a time containing fractions of a second, these fractions are lost.

For the IDfsNonEqTimeAxis the time of the first time step is stored in StartTimeOffset and the Time starts from zero.

If using directly the DfsDLLWrapper for accessing the dfs files, then use the dfsParamModifyTimes(IntPtr, Boolean) to control this parameter. In this case the default value (if not doing anything) is true.

See Also