ControlMacros book



Yüklə 7,32 Mb.
Pdf görüntüsü
səhifə26/33
tarix28.06.2018
ölçüsü7,32 Mb.
#52153
1   ...   22   23   24   25   26   27   28   29   ...   33

Clear-Com
Eclipse Logic Maestro Instruction Manual
A - 5 6
CURRENT MACROS
GetSource() [PortObject]
Returns the source port for a crosspoint e.g.
PortObject 
.GetSource;

GetType() [Type]
Returns the type of an object previously created by a 
control macro.  e.g.
Type  = .GetType();
Resets(ControlLatch) [void]
Resets a control latch object e.g.
.Resets(ControlLatch);
Sets(ControlLatch) [void]
Sets a control latch object e.g.
.Sets(ControlLatch);
Toggles(ControlLatch) [void]
Toggles a control latch object e.g.
.Toggles(ControlLatch);
ToString() [string]
Returns the string value of an object previously created 
by a control macro. e.g.
string = .ToString();
Triggers(ControlMacro) [void]
Triggers a control macro from a latch e.g.
.Triggers(ControlMacro)
Triggers(Action] [void]
Triggers an action from a latch e.g.
.Triggers(Action);
On [bool]
Sets a crosspoint On/Off state to that specified by the 
boolean e.g.
crosspointControl.On = 
Priority [uint]
Sets a crosspoint priority level to the value specified e.g.
crosspointControl.Priority =
;

Macro
Description
Macro
Description
Equals(Object) [bool]
Tests the equivalence of two objects and returns True or 
False. e.g.
bool = .equals<(object2)>;
GetHashCode() [int]
Returns the hash code of an object previously created 
by a control as an integer.  e.g.
int  = .GetHashCode();
GetType() [Type]
Returns the type of an object previously created by a 
control macro.  e.g.
Type  = .GetType();


Clear-Com
Eclipse Logic Maestro Instruction Manual
A - 5 7
IPAddress() [string)
Returns the IP address as a string e.g.
string = Current.IPAddress();
SystemNumber() [int]
Returns the system number as an integer e.g.
int  = Current.systemNumber();
ToString() [string]
Returns the string value of an object previously created 
by a control macro. e.g.
string = .ToString();
Macro
Description


Clear-Com
Eclipse Logic Maestro Instruction Manual
A - 5 8
LOGGING MACROS
These macros are accessed by expanding the ‘Shared’ > ‘Logging’ > 
‘Logger’ entry in the Available Modules menu.  Logging macros allow 
informatory, warning, error and fatal error messages to be output to a 
logging device.
Macro
Description
Debug (Exception, IFormatPro-
vider, string, Object[]) [void]
Creates a debug object to be sent to a logger e.g.
.Debug(,
mat>,Object[]);
Debug (Exception, Object) [void]
Creates a debug object to be sent to the logger e.g.
.Debug(,);
Debug (Exception, string, 
Object[]) [void]
Creates a debug object to be sent to a logger e.g.
.Debug(,
mat>,Object[]);
Debug (IformatProvider, string, 
Object[]) [void]
Creates a debug object to be sent to a logger e.g.
.Debug(
mat>,Object[]);
Debug (Object) [void]
Creates a debug object to be sent to a logger e.g.
.Debug(]);
Debug (string, Object[]) [void]
Creates a debug object to be sent to a logger e.g.
.Debug(,Object[]);
DebugLow (Exception, IFormat-
Provider, string, Object[]) [void]
Creates a debug object to be sent to a logger e.g.
.Debug(,
mat>,Object[]);
DebugLow (Exception, Object) 
[void]
Creates a debug object to be sent to a logger e.g.
.DebugLow(,Object[]);
DebugLow (Exception, string, 
Object[]) [void]
Creates a debug object to be sent to a logger e.g.
.DebugLow(,
mat>,Object[]);
DebugLow (IFormatProvider, 
string, Object[]) [void]
Creates a debug object to be sent to a logger e.g.
.DebugLow(
mat>,Object[]);
DebugLow (Object) [void]
Creates a debug object to be sent to a logger e.g.
.DebugLow(]);
DebugLow (string, Object[]) 
[void]
Creates a debug object to be sent to a logger e.g.
.DebugLow(
mat>,Object[]);


Clear-Com
Eclipse Logic Maestro Instruction Manual
A - 5 9
Equals (Object) [bool]
Tests the equivalence of two objects and returns True or 
False. e.g:
bool = .equals<(object2)>;
Error (Exception, IFormatPro-
vider, string, Object[]) [void]
Creates a error object to be sent to a logger e.g.
.Error(,
mat>,Object[]);
Error (Exception, Object) [void]
Creates a error object to be sent to a logger e.g.
.Error(,Object[]);
Error (Exception, string, 
Object[]) [void]
Creates a error object to be sent to a logger e.g.
.Error(,
mat>,Object[]);
Error (IFormatProvider, string, 
Object[]) [void]
Creates a error object to be sent to a logger e.g.
.Error(
mat>,Object[]);
Error (Object) [void]
Creates a error object to be sent to a logger e.g.
.Error(Object[]);
Error (string, Object[]) [void]
Creates a error object to be sent to a logger e.g.
.Error(,Object[]);
Fatal (Exception, IFormatPro-
vider, string, Object[]) [void]
Creates a fatal error object to be sent to a logger e.g.
.Fatal(,
mat>,Object[]);
Fatal (Exception, Object) [void]
Creates a fatal error object to be sent to a logger e.g.
.Fatal(,Object[]);
Fatal (Exception, string, 
Object[]) [void]
Creates a fatal error object to be sent to a logger e.g.
.Fatal(,
mat>,Object[]);
Fatal (IFormatProvider, string, 
Object[]) [void]
Creates a fatal error object to be sent to a logger e.g.
.Fatal(
mat>,Object[]);
Fatal (Object) [void]
Creates a fatal error object to be sent to a logger e.g.
.Fatal(Object[]);
Fatal (string Object[]) [void]
Creates a fatal error object to be sent to a logger e.g.
.Fatal(,Object[]);
GetHashCode () [int]
Returns the hash code of an object previously created 
by a control as an integer.  e.g:
int  = .GetHashCode();
Macro
Description


Yüklə 7,32 Mb.

Dostları ilə paylaş:
1   ...   22   23   24   25   26   27   28   29   ...   33




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©www.genderi.org 2024
rəhbərliyinə müraciət

    Ana səhifə