BoundarySourceComponentUnitConverter Constructor (IBoundarySource, Int32, eumUnit, Boolean) |
Constructor, creating scale factor and offset from eum units.
If the units are not equivalent and unitsMustBeEquivalent is set,
default values are used (scale is 1 and offset is 0).
Namespace:
DHI.Mike1D.BoundaryModule
Assembly:
DHI.Mike1D.BoundaryModule (in DHI.Mike1D.BoundaryModule.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax public BoundarySourceComponentUnitConverter(
IBoundarySource source,
int boundaryComponentIndex,
eumUnit targetUnit,
bool unitsMustBeEquivalent
)
Parameters
- source
- Type: DHI.Mike1D.BoundaryModuleIBoundarySource
Source - boundaryComponentIndex
- Type: SystemInt32
Index of component - targetUnit
- Type: eumUnit
Target unit - unitsMustBeEquivalent
- Type: SystemBoolean
Flag specifying whether to calculate scale and offset even though units are not equivalent
See Also