From OpenSCADAWiki
Jump to: navigation, search

Enter a message name below to show all available translations.

Message

Found one translation.

NameCurrent message text
 h English (en)'''Public methods:'''
* ''TVArchive( const string &id, const string &db, TElem *cf_el );'' β€” Initializing constructor of the archive, where ''id'' β€” archive ID, ''db'' β€” DB for storage and ''cf_el'' β€” DB structure of the values' archives.
* ''string id( );'' β€” Archive's ID.
* ''string name( );'' β€” Archive's name.
* ''string dscr( );'' β€” Archive's description.
* ''SrcMode srcMode( );'' β€” Linkage mode with the data source.
* ''AutoHD<TVal> srcPAttr( bool force = false, const string &ipath = "" );'' β€” Connect to associated attribute of parameter of data source.
* ''string srcData( );'' β€” Parameters of the data source, in the case of access mode to the parameter this is the address of the parameter.
* ''bool toStart( );'' β€” Sign: "Start the archive when starting the system".
* ''bool startStat( );'' β€” Status: "Archive started".
* ''string DB( bool qTop = false ) const;'' β€” Storage address of the values' archive, ''qTop'' for the storage queue top.
* ''string tbl( );'' β€” DB table of the values' archive.
* ''string fullDB( bool qTop = false );'' β€” Full name of the storage table of the values' archive, ''qTop'' for the storage queue top.
* ''int64_t end( const string &arch = ARCH_BUF );'' β€” End of the archive time at whole (arch="") or the specified archiver, buffer (arch="<bufer>").
* ''int64_t begin( const string &arch = ARCH_BUF );'' β€” Start of the archive time at whole (arch="") or the specified archiver, buffer (arch="<bufer>").
* ''int64_t period( const string &arch = ARCH_BUF );'' β€” Periodicity of the archive buffer or the specified archiver (microseconds).
* ''TFld::Type valType( bool full = false );'' β€” Type of the archived value. ''full'' β€” request full type, else only generic.
* ''bool hardGrid( );'' β€” Using of the hard grid in the archive buffer.
* ''bool highResTm( );'' β€” Using of the high-resolution time in the archive buffer (microseconds).
* ''bool fillLast( );'' β€” Fill pass points to a last value. Mostly the pass values fill by EVAL but sometime the source's data periodicity greater to the archive's one and it is normal.
* ''int size( );'' β€” Archive buffer size (units).
* ''void setName( const string &inm );'' β€” Setting the name of the archive.
* ''void setDscr( const string &idscr );'' β€” Setting the description of the archive.
* ''void setSrcMode( SrcMode vl = SaveCur, const string &isrc = "<*>", bool noex = false );'' β€” Setting the linkage mode with the data source.
* ''void setToStart( bool vl );'' β€” Setting the sign: "Start the archive when starting the system".
* ''void setDB( const string &vl, bool qTop = false );'' β€” Setting the storage address of the values' archive, ''qTop'' for the storage queue top.
* ''void setValType( TFld::Type vl );'' β€” Setting the type of the archived value.
* ''void setHardGrid( bool vl );'' β€” Setting the using of the hard grid in the archive buffer.
* ''void setHighResTm( bool vl );'' β€” Setting of using of the high-resolution time in the archive buffer (microseconds).
* ''void setFillLast( bool vl );'' β€” Set to fill pass points to a last value.
* ''void setSize( int vl );'' β€” Setting of the archive buffer size (units).
* ''void setPeriod( int64_t vl );'' β€” Setting the periodicity of the archive buffer.
* ''void start( );'' β€” Start of the archive.
* ''void stop( bool full_del = false );'' β€” Stop of the archive with it's completely deleting ''full_del''.
* ''TVariant getVal( int64_t *tm = NULL, bool up_ord = false, const string &arch = "", bool onlyLocal = false );'' β€” Request of the single value for the time ''tm'' and with the sign of the moving to the top ''up_ord'' from the specified archiver ''arch'', buffer (arch = "<bufer>") or from all archivers in the course of falling quality (arch =""). To process the request only by the local station ''onlyLocal'' is set.
* ''void getVals( TValBuf &buf, int64_t beg = 0, int64_t end = 0, const string &arch = "", int limit = 100000, bool onlyLocal = false );'' β€” Request of the values' frame ''buf'' for the time from ''beg'' to ''end'' from the specified archiver ''arch'', buffer (arch = "<bufer>") or from the all archivers in the course of falling quality (arch =""), limiting the size of the request ''limit'' of the record. To request only the local archives, without compensation gaps in the archives from the backup stations, set ''onlyLocal''.
* ''void setVals( TValBuf &buf, int64_t beg, int64_t end, const string &arch );'' β€” Set of the values' frame ''buf'' for the time from ''beg'' to ''end'' to the specified archiver ''arch'', buffer (arch = "<bufer">) or to all archivers (arch ="").
* ''void getActiveData( const int64_t &tm = 0 );'' β€” To interrogate the data source with forcing time-stamp to ''tm'' (not zero). Is used for periodic data acquisition by the active archives in the subsystem.
* ''void archivatorList( vector<string> &ls );'' β€” List of archivers which serves the archive.
* ''bool archivatorPresent( const string &arch );'' β€” Check the archiver for it's servicing of the given archive.
* ''void archivatorAttach( const string &arch );'' β€” Connecting the archive to be served by the specified archiver.
* ''void archivatorDetach( const string &arch, bool full = false );'' β€” Disabling this archive from the servicing of the specified archiver.
* ''void archivatorSort( );'' β€” Sort of the serving archivers in the order of decreasing quality.
* ''string makeTrendImg( int64_t beg, int64_t end, const string &arch, int hsz = 650, int vsz = 230 );'' β€” Building of the (pdf) image of the trend for the specified amount of time ''beg, end'' and for this archiver ''arch''.
* ''TArchiveS &owner( ) const;'' β€” Subsystem "Archives" - the owner of the archive of values.