OpenSCADAWiki: Home Page En/Doc/API/part5 ...

Home | Index | Changes | Comments | Users | Registration | Login  Password:  
 
This is an old revision of HomePageEn/Doc/API/part5 from 2016-05-23 15:51:30..

5. Subsystem "Archives" (TArchiveS)

Subsystem "Archives" is represented by an object TArchiveS, which contains at the subsystem level the modular objects of the archivers types TTypeArchivator. Each object of the archiver type contains objects of the messages' archivers TMArchivator and values' archivers TVArchivator. In addition, the subsystem object contains the methods of the messages archive and objects of the values' archives TVArchive. The object of the values' archive TVArchive contains the buffer of values through the inheritance of the buffer object TValBuf. To connect the archive of values with the archivers the object of the value element TVArchEl is provided. This object is contained in the archiver and it is referenced by the archive. Structure of the subsystem "Archives" is presented in Fig. 5.


The hierarchical structure of subsystem \'Archives\'.\n (24 Kb)
Fig. 5. The hierarchical structure of subsystem "Archives".

Subsystem "Archives" contains the mechanisms for archiving of messages and values. It directly contains the messages' archive together with its buffer. Contains methods for accessing the archives of the values and for the archivers of values and messages. Besides it performs the actively data acquisition from sources of values for the archives of values, as well as archiving the archive of messages by the archivers.


Archive of values (TVArchive) contains the buffer (TValBuf) for intermediate values' accumulation before archiving. It is connected with the source of values in the person of OpenSCADA system parameters in active or passive mode, as well as with other sources in the passive mode. To archive to the physical storage it is connected with the values' archivers of various types.


Object of the buffer TValBuf contains an array of values of the main types of OpenSCADA system: string, integer, real and boolean. It is supported the storage of values in the modes of hard, soft grid and in the free access mode. It is also provided the mode of high-resolution time (microseconds). It is used for direct storage of large arrays of values, and for the exchange of large arrays by the frame-accurate method of access.


Root object of the module of subsystem "Archives" (TTypeArchivator) contains information about the specific type of module. Within the individual modules it can implement their own module-wide functions. In general, for modules of this type it contains methods to access the repositories of values and messages.


Object of the messages' archiver (TMArchivator) contains the specific implementation of the message storage. In general, for messages' archivers the interface of access to the implementation of an archiving mechanism in modules is provided.


Object of the values' archiver (TVArchivator) contains the specific implementation of the repository of values. In general, for the values' archivers the access interface to implementation of the archiving mechanism and the appointment of archives of values for service by archiver are provided.


Object of the archive element TVArchEl links the archive objects with the archivers. It is used to access the archiver from the archive, as well as to archives from the archiver, ie for cross-calls.

5.1. The object of the subsystem "Archives" (TArchiveS)

Inherits:SubSYS.

Public methods:


Public methods:

5.2. The object of the values' archive (TVArchive)

Inherits:TCntrNode, TValBuf, TConfig

Data:
The data acquisition mode/source (struct — TVArchive::SrcMode):


Public methods:

5.3. Object of the values' buffer (TValBuf)

Inherited:TVArchive

Public methods:


Protected methods:

5.4. The modular object of the archiver's type (TTypeArchivator)

Inherits:TModule.
Inherited:By the root objects of the modules of subsystem "Archives".

Public methods:


Protected methods:

5.5. The object of the messages' archiver (TMArchivator)

Inherits:TCntrNode, TConfig
Inherited:By the objects of the archivers of messages of modules of the subsystem "Archives".

Public methods:


Protected attributes:


Protected methods:

5.6. The object of the values' archiver (TVArchivator)

Inherits:TCntrNode, TConfig
Inherited:By the objects of the archivers of values of modules of the subsystem "Archives".

Public methods:


Protected methods:


Protected attributes:

5.7. The object of the archive's element in the archiver (TVArchEl)

Inherited:By the objects of the archivers of values of modules of the subsystem "Archives".

Public methods:


Public methods:


Protected methods:


 
There are no files on this page.[Display files/form]
There is no comment on this page. [Display comments/form]