![background image](http://html1.mh-extra.com/html/xantech/crm-wic/crm-wic_reference-manual_3156372070.webp)
70
Remarks
This function is valid only for Clock and Timer Events.
If both SetEventSchedule and SetEventOption need to be called for an Event, then SetEventOption should be called before
SetEventSchedule.
CloneEventById ( EventId, CloneActions, NewName )
Clone (duplicate) an Event specified by its ID.
Syntax
HRESULT CloneEventById(
[in] long EventId,
[in] long CloneActions,
[in] BSTR NewName,
[out, retval] long* CloneID
);
Parameters
EventId
[in] ID of the event to modify.
CloneActions
[in] Duplicate all the Event’s Actions too.
NewName
[in] Name of the new duplicate Event.
CloneID
[out, retval] ID of the new duplicate Event.
Remarks
The name of the newly cloned Event will be set to “%s Copy”, where the %s is replaced by the name of the Event being
cloned. If a copy of the Event already exists, then an incrementing number is appended to the end, e.g. “MyEvent Copy3”.
AddEvent ( Name, Type, Concurrent, Source, Match )
Create a new event with the specified parameters.
Syntax
HRESULT AddEvent(
[in] BSTR Name,
[in] long Type,
[in] long Concurrent,
[in] BSTR Source,
[in] BSTR Match,
[out, retval] long* EventId
);
Parameters
Name
[in] Name of the new event.
Type
[in] Type of the Event, e.g. Serial. Pass one of the following values into
Type
:
Value Type of Event
1 Scheduled
2 Timer
3 Variable
4 Serial
data
Summary of Contents for CRM-WIC
Page 1: ...Reference Manual Programming Guide Room Monitor Web Intelligent Controller Model CRM WIC...
Page 8: ...8 Hardware User Interface Hardware User Interface for the CRM WIC...
Page 16: ...16 For full details see the RPC section at the end of this manual...
Page 43: ...43 This expression resolves to this value 0 1 4 3 1 Hello Hello 0...
Page 98: ...98 Index...