Echelon OpenLNS User Manual
Page 1006
OpenLNS Programmer's Reference
969
follow these steps:
1. Create an object that implements the ILcaProgressListener
interface.
2. Define the behavior of the object when the ProgressUpdate
method is called.
3. Call the Validate method of the Network with the object
created in step 1 as the progressCallback argument. The
object created in step 1 will now call this method whenever
a database validation update event is received, and will be
updated with the information delivered through the update
event.
Availability
Local clients.
Syntax
(totalPercentage as Long,
thisPhasePercentage as Long, thisPhaseNumber as Long,
totalPhases as Long, thisPhaseName as String, thisStepName
as String)
Element
Description
totalPercentage
The percentage of the database
validation that has been completed.
This element has a range between
0–100.
thisPhasePercentage
The percentage of the current phase
of the database validation that has
been completed.
You can use the thisPhaseName
element to determine which phase
of the database validation is
currently being performed.
This element has a range between
0–100.
thisPhaseNumber
The number of the current phase.
This element has a range between
0–4,292,967,296.
totalPhases
The total number of phases to be
performed during the database
validation.
This element has a range between
0–4,292,967,296.
thisPhaseName
The name of the phase that is
currently being performed.
The phase name will be returned as
a string of up to 128 characters.
thisStepName
The step that is currently being
performed.