Responder Developer Guide
CreateCallbacks(CallbackConfig,CallbackConfigScenarioCallbackEvent,DataSource,DataSession,DataRow,CallbackLoadpointList,CallbackQuery) Method


The basic configuration information - for default settings.
The CallbackEvent that was triggered.
The provider of database access operations.
The current database connection/session for operation.
The current incident data row causing this condition.
The list of loadpoints that define the customers to select.
How to query for callbacks
Processes the current callback event information and creates the callback records for that event.
Syntax
'Declaration
 
Public Overloads Shared Sub CreateCallbacks( _
   ByVal callbackConfig As CallbackConfig, _
   ByVal callbackEvent As CallbackConfigScenarioCallbackEvent, _
   ByVal source As DataSource, _
   ByVal session As DataSession, _
   ByVal incidentRow As DataRow, _
   ByVal deviceList As CallbackLoadpointList, _
   ByVal callbackQuery As CallbackQuery _
) 
'Usage
 
Dim callbackConfig As CallbackConfig
Dim callbackEvent As CallbackConfigScenarioCallbackEvent
Dim source As DataSource
Dim session As DataSession
Dim incidentRow As DataRow
Dim deviceList As CallbackLoadpointList
Dim callbackQuery As CallbackQuery
 
CallbackRule.CreateCallbacks(callbackConfig, callbackEvent, source, session, incidentRow, deviceList, callbackQuery)

Parameters

callbackConfig
The basic configuration information - for default settings.
callbackEvent
The CallbackEvent that was triggered.
source
The provider of database access operations.
session
The current database connection/session for operation.
incidentRow
The current incident data row causing this condition.
deviceList
The list of loadpoints that define the customers to select.
callbackQuery
How to query for callbacks
Remarks
This method uses the CallbackRecord class to build the SQL commands necessary for maintaining the callbacks table. A SQL INSERT command is used to insert new callback records, a SQL UPDATE command is used to update an existing callback record, and a SQL SELECT command is is used to determine which operation should be applied.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

CallbackRule Class
CallbackRule Members
Overload List

 

 


Send Comment