pascalSCADA OPM: ValueProcessor: Class TScaleQueueItem

Pascal SCADA OPM

Class TScaleQueueItem

Unit

ValueProcessor

Declaration

type TScaleQueueItem = class(TCollectionItem)

Description

: Implements a item of a scales processors collection.

Hierarchy

  • TCollectionItem
  • TScaleQueueItem

Overview

Methods

Public procedure RemoveScaleProcessor;
Public function SetInGetOut(Sender:TComponent; Input:Double):Double;
Public function SetOutGetIn(Sender:TComponent; Output:Double):Double;

Properties

Published property ScaleProcessor: TScaleProcessor read SProcessor write SetScaleProcessor;

Description

Methods

Public procedure RemoveScaleProcessor;

: Procedure called to remove a dependency with a scale processor object that is being destroyed.

Public function SetInGetOut(Sender:TComponent; Input:Double):Double;

: Calls the procedure SetInGetOut of the scale processor, if it's set.

Parameters
Sender
TComponent: Object that did the request.
Input
Double: Value to be processed.
Returns

The value processed by the scale processor. If there isn't an object associated, returns the value of Input.

See also
TScaleProcessor.SetInGetOut
Public function SetOutGetIn(Sender:TComponent; Output:Double):Double;

: Calls the procedure SetOutGetIn of the scale processor, if it's set.

Parameters
Sender
TComponent: Object that did the request.
Output
Double: Value to be processed.
Returns

The value processed by the scale processor. If there isn't an object associated, returns the value of Output parameter.

See also
TScaleProcessor.SetInGetOut

Properties

Published property ScaleProcessor: TScaleProcessor read SProcessor write SetScaleProcessor;

: Scale processor object that does the values transformations of this item.


Generated by PasDoc 0.14.0.