Material StreamGet Prop Units Method
Returns the display unit string for a given CAPE-OPEN property and basis in the specified unit system.
Definition
Namespace: DWSIM.Thermodynamics.Streams
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
Unit string for the property.
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
C#
public static string GetPropUnits(
string prop,
string basis,
IUnitsOfMeasure su
)VB
Public Shared Function GetPropUnits (
prop As String,
basis As String,
su As IUnitsOfMeasure
) As StringParameters
- prop String
- Property identifier.
- basis String
- Basis (Mole or Mass).
- su IUnitsOfMeasure
- Unit system.
Return Value
StringUnit string for the property.