Current macros, Current macros -56 – Clear-Com Logic-Maestro User Manual

Page 122

Advertising
background image

Clear-Com Communication Systems

Eclipse Logic Maestro Instruction Manual

2 - 5 6

CURRENT MACROS

GetSource() [PortObject]

Returns the source port for a crosspoint e.g.
PortObject <source> = <port>.GetSource;

GetType() [Type]

Returns the type of an object previously created by a
control macro. e.g.
Type <result> = <object>.GetType();

Resets(ControlLatch) [void]

Resets a control latch object e.g.
<latch>.Resets(ControlLatch);

Sets(ControlLatch) [void]

Sets a control latch object e.g.
<latch>.Sets(ControlLatch);

Toggles(ControlLatch) [void]

Toggles a control latch object e.g.
<latch>.Toggles(ControlLatch);

ToString() [string]

Returns the string value of an object previously created
by a control macro. e.g.
string <result> = <object>.ToString();

Triggers(ControlMacro) [void]

Triggers a control macro from a latch e.g.
<latch>.Triggers(ControlMacro)

Triggers(Action] [void]

Triggers an action from a latch e.g.
<latch>.Triggers(Action);

On [bool]

Sets a crosspoint On/Off state to that specified by the
boolean e.g.
crosspointControl.On = <boolean>

Priority [uint]

Sets a crosspoint priority level to the value specified e.g.
crosspointControl.Priority = <priority>;

Macro

Description

Macro

Description

Equals(Object) [bool]

Tests the equivalence of two objects and returns True or
False. e.g.
bool <result> = <object1>.equals<(object2)>;

GetHashCode() [int]

Returns the hash code of an object previously created
by a control as an integer. e.g.
int <result> = <object>.GetHashCode();

GetType() [Type]

Returns the type of an object previously created by a
control macro. e.g.
Type <result> = <object>.GetType();

Advertising