161
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
WACI NX+ and WACI NX Jr.
2
Send serial data
WACI NX+ and WACI NX Jr.
3
Change a digital output (high/low) WACI NX+ only
4
Change a relay voltage level
WACI NX+ only
5
Trigger another Event
WACI NX+ and WACI NX Jr.
6
Send an Infrared command
WACI NX+ only
7
HTTP post command
WACI NX+ and WACI NX Jr.
8
Email message
WACI NX+ and WACI NX Jr.
9
Log to file
WACI NX+ and WACI NX Jr.
10
Telnet command
WACI NX+ and WACI NX Jr.
MoveActionByIdx ( EventId, Idx, Where )
MoveActionByIdx ( EventId, Idx, Where )
MoveActionByIdx ( EventId, Idx, Where )
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.