Enumeration WinccoaSysConEvent

Enumerates the event types that can be used with WinccoaSysConnect. For each event, there is a corresponding data type containing the details of the event.

For details of the events, see also CTRL function sysConnect().

NOTE

The following events available in CTRL are not available in TypeScript/JavaScript:

Event Alternative
"exitRequested" use process.prependListener('exit', ...) instead
"fswPathChanged" use fs.watch() or related methods instead
"reportRequested" not supported

NB: it is essential to use process.prependListener() (and not process.on() or process.addListener()) to ensure that the exit listener is executed before the connection to WinCC OA is closed.

Enumeration Members

Dist

Get notified when DIST status changed. Listener will be called with WinccoaSysConDist containing details.

DpAlias

Get notified when a data point alias changes. Listener will be called with WinccoaSysConDpChanged containing details.

DpCreated

Get notified when a data point has been created. Listener will be called with WinccoaSysConDpDetails containing details.

DpDeleted

Get notified when a data point has been deleted. Listener will be called with WinccoaSysConDpDetails containing details.

DpDescription

Get notified when a data point description changes. Listener will be called with WinccoaSysConDpDescription containing details.

DpFormatUnit

Get notified when a data point format and/or unit changes. Listener will be called with WinccoaSysConDpFormatUnit containing details.

DpRenamed

Get notified when a data point has been renamed. Listener will be called with WinccoaSysConDpChanged containing details.

DpTypeChanged

Get notified when a data point type has been changed. Listener will be called with WinccoaSysConDpTypeChanged containing details.

DpTypeCreated

Get notified when a data point type has been created. Listener will be called with WinccoaSysConDpTypeDetails containing details.

DpTypeDeleted

Get notified when a data point type has been deleted. Listener will be called with WinccoaSysConDpTypeDetails containing details.

Redu

Get notified when REDU status changed. Listener will be called with WinccoaSysConRedu containing details.