MaterialStreamSetPropertyValue Method

Sets a stream property by identifier, converting the value from the specified unit system.

Definition

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

Parameters

prop  String
Property identifier string.
propval  Object
New property value.
su  IUnitsOfMeasure  (Optional)
Unit system for the supplied value; defaults to SI if Nothing.

Return Value

Boolean
True if the property was set successfully.

See Also