pascalSCADA OPM: protscanupdate: Class TScanUpdate

Pascal SCADA OPM

Class TScanUpdate

Unit

protscanupdate

Declaration

type TScanUpdate = class(TCrossThread)

Description

: Class of thread that updates the tag values. Used by TProtocolDriver.

See also
TProtocolDriver

Hierarchy

Overview

Methods

Public procedure Terminate;
Public procedure ScanRead(Tag:TTagRec);
Public procedure ScanWriteCallBack(SWPkg:PScanWriteRec);

Properties

Published property OnGetValue: TGetValues read PGetValues write PGetValues;
Published property OnScanTags: TGetMultipleValues read PScanTags write PScanTags;

Description

Methods

Public procedure Terminate;

: Requests the thread finalization.

Public procedure ScanRead(Tag:TTagRec);

: Updates the tag that requested a scan read.

Parameters
Tag
TTagRec. Structure with informations about the tag.
Exceptions raised
Exception
if the thread was not initialized.
Public procedure ScanWriteCallBack(SWPkg:PScanWriteRec);

: Updates the the tag that requested a scan write.

Parameters
SWPkg
PScanWriteRec. Points to a structure with informations about the scan write and Tag.
Exceptions raised
Exception
if the thread was not initialized.

Properties

Published property OnGetValue: TGetValues read PGetValues write PGetValues;

: Event called by thread to get values and update a tag.

Published property OnScanTags: TGetMultipleValues read PScanTags write PScanTags;

: Returns the lists of tags to be updated or the next time to check has tags to be updated.

Author


Generated by PasDoc 0.14.0.