API 文件集
>
Parameters and relations
>
Object ProParameter
> Function ProParameterUnitsGet
Function ProParameterUnitsGet
Description
Gets the units assigned to a parameter.
Replacement in Object TOOLKIT:
pfcParameter::Units
Synopsis
#include <
ProParameter.h
>
ProError
ProParameterUnitsGet
(
ProParameter
* param
/* (In)
The parameter.
*/
ProUnititem
* units
/* (Out)
The units.
*/
)
Returns
PRO_TK_NO_ERROR
The function succeeded.
PRO_TK_BAD_INPUTS
One or more arguments was invalid.
PRO_TK_E_NOT_FOUND
The parameter is unitless.
Sample Code References
pt_udf_examples ( PTUDFExParamInfo.c )
這是否有幫助?
此網站在啟用 JavaScript 的情況下運作成效最佳