SplitterSetPropertyValue Method

Sets the value of a named splitter property, converting from the supplied unit system to SI units.

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_SP_1", "SR1", "SR2").
propval  Object
The new property value in the units of su.
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