type
Parametertyp
read only
number
value
Parameterwert
read only
JS-Variable, je nach Inhalt
rawValue
Parameterwert als String, so wie es per BINRPC übertragen wird
read only
string
Code
rc.apps.outputParams.set("op1","a"); const outputParam = rc.apps.outputParams.get("op1"); rc.console.log("value : " + outputParam.value); rc.console.log("type : " + outputParam.type); rc.console.log("rawValue : " + outputParam.rawValue); |
|
VARIANT getBinaryValue(BinaryTargetType TargetType)
gibt den Wert von BASE64 Parameter in binärer Form zurück
Parameter
TargetType : Welche binäre Form soll erstellt werden?
Code
enum BinaryTargetType { bttIStream = 0, bttUint8Array = 1 } |
Rückgabewert: IStream oder Uint32Array
Siehe auch rc.lib