Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 8 Next »

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
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);
Output
value : a
type : 2
rawValue : a

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
enum BinaryTargetType
{  
    bttIStream = 0,
    bttUint8Array = 1
}
  • Rückgabewert: IStream oder Uint32Array

Siehe auch rc.lib


  • No labels