ExpanderSetPropertyValue 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_TU_0" or "AdiabaticHead").
propval  Object
The new value to assign to the property.
su  IUnitsOfMeasure  (Optional)
The unit system of the supplied value; defaults to SI if not provided.

Return Value

Boolean
True if the property was set successfully.

See Also