OnDatabaseChanged

OnDatabaseChanged 1:

This method is called if the database has changed, e.g. if a ClearLoggedEvents() has been called.

Syntax

METHOD OnDatabaseChanged : HRESULT
VAR_INPUT
    ipContext            : I_TcListenerContext;
    eReason              : TcDatabaseChangeReason;
END_VAR

OnDatabaseChanged 2: Inputs

Name

Type

Description

ipContext

I_TcListenerContext

Context of the different EventLoggers

eReason

TcDatabaseChangeReason

One of the values of the ENUM:

Undefined,

CleardByCommand,

MaximumSizeReached,

Deleted