ValveGetPropertyValue Method

Returns the value of the specified property, converted to the requested unit system.

Definition

Namespace: DWSIM.UnitOperations.UnitOperations
Assembly: DWSIM.UnitOperations (in DWSIM.UnitOperations.dll) Version: 10.0.0.0
public override Object GetPropertyValue(
	string prop,
	IUnitsOfMeasure su = null
)

Parameters

prop  String
Property identifier string (e.g., "PROP_VA_0").
su  IUnitsOfMeasure  (Optional)
Unit system to convert the value to; defaults to SI when Nothing.

Return Value

Object
The property value as an Object, or Nothing if the property is not found.

See Also