Description: |
This function takes a temperature (entered in Kelvin) and unit to which this input temperature is to be converted as input. Based on the unit passed, it converts the input temperature to that unit and returns the converted value. This function returns -1 if the entered unit is not a valid temperature unit. This function is called from m_pck_pid_spec_utl.validateservicelimits. |
Type: |
Function |
Usage: |
This function is used by the P&ID interface to convert the input temperature entered by the P&ID into the temperature unit present in Smart Reference Data. |
Event: |
This function is called when a temperature needs to be converted to another temperature based on the temperature unit passed. This function is called when the validate service limits, get commodity options, or get commodity code buttons are clicked on the P&ID interface. |
Default: |
0 |