![background image](http://html1.mh-extra.com/html/xantech/crm-wic/crm-wic_reference-manual_3156372083.webp)
83
Syntax
HRESULT SetActionOption(
[in] long ActionId,
[in] long OptionType,
[in] long OptionVal
[out, retval] VARIANT_BOOL* Success
);
Parameters
ActionId
[in] ID for specified action.
OptionType
[in] Type of option to modify.
OptionVal
[in] Updated value for the option.
Success
[out, retval] TRUE if the specified action option was updated, FALSE if updating the option failed.
Remarks
Two options are supported for Actions:
OptionType
Description
OptionVal
1
Expression
0: output is a simple string
1: output is an expression
2
Disable
0: Action is enabled
1: Action is disabled
AddActionByEvId ( EventId, Name, Type, Delay, DutyCycle, StopAfter, Port,
Output )
Creates an action for an event, specified by the event ID.
Syntax
HRESULT AddActionByEvId(
[in] long EventId,
[in] BSTR Name,
[in] long Type,
[in] double Delay,
[in] double DutyCycle,
[in] long StopAfter,
[in] BSTR Port,
[in] BSTR Output,
[out, retval] VARIANT_BOOL* Success
);
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...