Get parameters
Command Description
Obtain the value of the specified parameter from the "Data Assets - parameter" module of the Commander
Command Prototype
sRet = Asset.GetAsset(assertName)
Command parameter
parameter | mandatory | type | default value | Instructions |
---|---|---|---|---|
assertName | True | dynamicEnum | "" | Select from the parameter names created by the user in the "Data Assets - parameter" module of the Commander (Laiye Automation Platform Commander) |
Return result
SRet, Assign the result of running the command to this variable.
Run instance
/**************************Get Parameter**************************
Command prototype:
sRet = Asset.GetAsset(assertName)
Input parameters:
assertName -- The parameter name in commander
Output parameters:
sRet -- The parameter value corresponding to the parameter name in commander
Notes:
None
******************************************************************/
sRet = Asset.GetAsset("test")