Responder Developer Guide
Evaluate Method (CallbackPowerOutPossibleSubmitRuleCondition)


The submit rule data row to be examined.
Determines if a possible power out event has occurred
Syntax
'Declaration
 
Public Overrides Function Evaluate( _
   ByVal row As DataRow _
) As Boolean
'Usage
 
Dim instance As CallbackPowerOutPossibleSubmitRuleCondition
Dim row As DataRow
Dim value As Boolean
 
value = instance.Evaluate(row)
public override bool Evaluate( 
   DataRow row
)

Parameters

row
The submit rule data row to be examined.

Return Value

True if it the power is possibly out, else false.
Remarks
The power out event does not occur when an incident is created. Instead, the generation of callback records for power being out is defined by the incident device(s) which compose an incident. Incident devices can be added, updated, or deleted from an incident at any time. Therefore, the first part of this condition is to check if the current data row being tested is from the RX_INCIDENT_DEVICES table and contains a DataRowState of Added, Modified, or Deleted. The existence of a change to an incident device record does not, by itself, indicate that a power outage has actually occurred. Therefore, the next step is to determine if it is possible that power has been lost on any of the phases which normally supply power. This is determined by the private method PowerOutPossible. To determine if power is actually out, the loadpoint records in the submit cycle 'pending' dataset must be examined. Since rule conditions can only be applied to the "completed" dataset, this rule can only detect that it is possible that power has been lost. The remaining portion of the event has to be detected by the PerformAction method.
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

CallbackPowerOutPossibleSubmitRuleCondition Class
CallbackPowerOutPossibleSubmitRuleCondition Members

 

 


Send Comment