Properties
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
Code Block | ||||
---|---|---|---|---|
| ||||
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); |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
language | ||||||||
Expand | ||||||||
| ||||||||
|
|
|
Methoden
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
Code Block | ||||
---|---|---|---|---|
| ||||
enum BinaryTargetType { bttIStream = 0, bttUint8Array = 1 } |
Rückgabewert: IStream oder Uint32Array
Siehe auch rc.lib