Syntax
HRESULT GetActionType(
[in] long ActionId,
[out, retval] long* Type
);
Parameters
ActionId
[in] ID for specified Action.
Type
[out, retval] Type of the specified Action.
Remarks
Action types that the WACI supports, depends on the device’s hardware capabilities.
Type
values are:
Value Action Type
Supported on
1
Set a Variable’s value
NX-22
2
Send serial data
NX-22.
3
Change a digital output (high/low) NX-22
4
Change a relay voltage level
NX-22
5
Trigger another Event
NX-22
6
Send an Infrared command
NX-22
7
HTTP post command
NX-22
8
Email message
NX-22
9
Log to file
NX-22
10
Telnet command
NX-22
MoveActionByIdx ( EventId, Idx, Where )
Changes the order of execution for the Actions under the specified Event.
Syntax
HRESULT MoveActionByIdx(
[in] long EventId,
[in] long Idx,
[in] long Where,
[out, retval] VARIANT_BOOL* Success
);
Parameters
EventId
[in] ID of specified Event.
Idx
[in] Index number for the Action of interest.
Where
[in] Direction to move the Action in the execution order. To move the Action up (execute
earlier) pass 0. To move it down, pass 1.
Success
[out, retval] TRUE if the Events are successfully sorted, FALSE if sorting the Events failed.
15