PumpSetPropertyValue Method

Sets the value of the specified property, converting from the given unit system to SI.

Definition

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

Parameters

prop  String
The property identifier string (e.g. "PROP_PU_0").
propval  Object
The new value to assign, expressed in the units of su.
su  IUnitsOfMeasure  (Optional)
The unit system of the supplied value. Defaults to SI if Nothing.

Return Value

Boolean
True if the property was set successfully.

See Also