Click or drag to resize

ControlDataGetOrCreateSensorT Method

Namespace:  DHI.Mike1D.ControlModule
Assembly:  DHI.Mike1D.ControlModule (in DHI.Mike1D.ControlModule.dll) Version: 18.0.0.0 (11.1.1.1111)
Syntax
C#
public ISensor<T> GetOrCreateSensor<T>(
	string sensorId,
	SensorLocationType locationType = SensorLocationType.None,
	IQuantity quantity = null
)

Parameters

sensorId
Type: SystemString
locationType (Optional)
Type: DHI.Mike1D.ControlModuleSensorLocationType
quantity (Optional)
Type: DHI.Mike1D.GenericIQuantity

Type Parameters

T

Return Value

Type: ISensorT
See Also