SwapDword (FUN) ¶ FUNCTION SwapDword : BOOL InOut: Scope Name Type Return SwapDword BOOL Inout dw DWORD
SwapLword (FUN) ¶ FUNCTION SwapLword : BOOL InOut: Scope Name Type Return SwapLword BOOL Inout lw LWORD
SwapWord (FUN) ¶ FUNCTION SwapWord : BOOL InOut: Scope Name Type Return SwapWord BOOL Inout wd WORD
TrendStorageCache ¶ TrendStorageCacheItemData (FunctionBlock)
TrendStorageCacheItemData (FB) ¶ FUNCTION_BLOCK TrendStorageCacheItemData EXTENDS fbf.InstanceData InOut: Scope Name Type Inherited from Input hInst CAA.HANDLE InstanceData bActive BOOL stAppName STRING
TrendStorageConvertFromTimestamp (FUN) ¶ FUNCTION TrendStorageConvertFromTimestamp Converts a timestamp into a SYSTIMEDATE (UTC value) and extracts also the microseconds- InOut: Scope Name Type Comment Input liTimestamp LINT Output timeDate SYSTIMEDATE Returns a SYSTIMEDATE struct containing the date and time uiMicroseconds UINT Returns the microseconds of the timestamp
TrendStorageConvertToTimestamp (FUN) ¶ FUNCTION TrendStorageConvertToTimestamp : LINT This function provides the inverse functionality of function TrendStorageConvertFromTimestamp. Converts SYSTIMEDATE (UTC value) and a microsecond into a timestamp. InOut: Scope Name Type Comment Return TrendStorageConvertToTimestamp LINT The timestamp in the trend storage format. Input timeDate SYSTIMEDATE A SYSTIMEDATE struct containing the date and time (UTC) uiMicroseconds UINT the microseconds of the timestamp
TrendFbDatabaseAccessErrorHandler.IsDatabaseAccessEnabled (METH) ¶ METHOD IsDatabaseAccessEnabled : BOOL This method should be evaluated by all the function block instances, that perform an access to the underlying SQLite database. In case of a permanent error (e.g. disk full) this method returns FALSE and a database access should be not performed. InOut: Scope Name Type Return IsDatabaseAccessEnabled BOOL
TrendFbDatabaseAccessErrorHandler.SQLiteErrorHandling (METH) ¶ METHOD SQLiteErrorHandling This method is used to do the error processing of errors coming from the database layer. InOut: Scope Name Type Comment Input iFunction INT An int describing the method or function, where the error occurred eError STO.ERROR The error code coming from sqlite iAction INT An int describing the action, that failed.
private ¶ prvGetActionName (Method) prvGetErrorDescription (Method) prvGetFunctionName (Method)