67
Syntax
HRESULT SetEventByName(
[in] BSTR Name,
[in] long Type,
[in] long Concurrent,
[in] BSTR Source,
[in] BSTR Match,
[out, retval] VARIANT_BOOL* Success
);
Parameters
Name
[in] Name of the Event to set the information for.
Type
[in] Type of Event, e.g. Clock
Set
Type
to one of the following values:
Value Type
1 Scheduled
2 Timer
3 Variable
4 Serial
Input
Concurrent
[in] Set to 1 to execute Actions concurrently, and 0 otherwise
Source
[in] Port, variable, etc. to be used for the source of the Event’s trigger The value of
Source
depends on the type of
Event.
Event Type
Format String
Clock and Timer
“RTC”
Variable
Name of the Variable
Serial
“Port%d”, where %d
represents a number
Match
[in] Value to match to trigger the Event. If the Match value is an expression, then the expression will need to evaluate
to 1 to cause the Event to trigger.
Success
[out, retval] TRUE if specified event was successfully set, FALSE if setting the event failed.
Remarks
Call this function to set up an Event. After making this call, a call to SetEventSchedule is required for all events of type
Clock or Timer.
If Match is an expression, then a call to SetEventOption will also have to be made to set the expression flag for the Event.
SetEventOption ( EventId, OptionType, OptionVal )
Modify the option settings of a specified event.
Syntax
HRESULT SetEventOption(
[in] long EventId,
[in] long OptionType,
Содержание CRM-WIC
Страница 1: ...Reference Manual Programming Guide Room Monitor Web Intelligent Controller Model CRM WIC...
Страница 7: ...7 Box Contents Box Contents for the CRM WIC Web Intelligent Controller Model CRMWIC Power Adapter...
Страница 8: ...8 Hardware User Interface Hardware User Interface for the CRM WIC...
Страница 16: ...16 For full details see the RPC section at the end of this manual...
Страница 43: ...43 This expression resolves to this value 0 1 4 3 1 Hello Hello 0...
Страница 98: ...98 Index...