PumpGet Property Value Method
Returns the value of the specified property, converted to the given unit system.
Definition
Namespace: DWSIM.UnitOperations.UnitOperations
Assembly: DWSIM.UnitOperations (in DWSIM.UnitOperations.dll) Version: 10.0.0.0
The converted property value as an Object.
Assembly: DWSIM.UnitOperations (in DWSIM.UnitOperations.dll) Version: 10.0.0.0
C#
public override Object GetPropertyValue(
string prop,
IUnitsOfMeasure su = null
)VB
Public Overrides Function GetPropertyValue (
prop As String,
Optional su As IUnitsOfMeasure = Nothing
) As ObjectParameters
- prop String
- The property identifier string (e.g. "PROP_PU_0").
- su IUnitsOfMeasure (Optional)
- The unit system to convert the value into. Defaults to SI if Nothing.
Return Value
ObjectThe converted property value as an Object.