ValveSetPropertyValue Method

Sets the value of the specified property, converting from the supplied 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
Property identifier string (e.g., "PROP_VA_1").
propval  Object
The new value to assign.
su  IUnitsOfMeasure  (Optional)
Unit system of the supplied value; defaults to SI when Nothing.

Return Value

Boolean
True if the property was set successfully.

See Also