Campbell-scientific LoggerNet-SDK Software Development Kit Manuel d'utilisateur Page 52

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 178
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 51
Section 10. CsiDataSource Control
10.3 CsiDataSource Interfaces
The following interfaces are used in the CsiDataSource control:
DSource – the controlling interface
Advisor - created through the DSource interface to monitor certain data
columns on a specified station and table.
Record - received in the event onAdviseRecord. A record is a collection
of values that contain data.
Value - contains the name and value of a single column.
10.3.1 Dsource Interface
See the Reference Section for descriptions of these properties, methods, and
events.
10.3.1.1 Properties
logonName As String
logonPassword As String
serverName As String
serverPort As Long
state As data_source_state
sendRecordBlocks as Boolean
10.3.1.2 Methods
connect()
createAdvisor() As Object
disconnect()
10.3.1.3 Events
onAdviseReady(Object myAdvisor)
onAdviseRecord(Object myAdvisor, Object myRecord)
onAdvisorFailure(csiAdvisorFailureCode failure, Object myAdvisor)
onControlFailure(csidsFailureCode failureCode)
onControlReady()
onVariableSetComplete(Long tran_id, Object myAdvisor, Boolean
successful, variable_outcome_type response_code)
onAdviseRecords(Object myAdvisor, object record_collection)
10.3.2 Advisor Interface
See the Reference Section for descriptions of these properties, methods, and
events.
10-2
Vue de la page 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 177 178

Commentaires sur ces manuels

Pas de commentaire