pascalSCADA OPM: ValueProcessor: Class TScaleProcessor

Pascal SCADA OPM

Class TScaleProcessor

Unit

ValueProcessor

Declaration

type TScaleProcessor = class(TComponent)

Description

Base class for all scale processors.

:

Hierarchy

  • TComponent
  • TScaleProcessor

Overview

Fields

Protected FProperts:array of Double;

Methods

Public procedure AddQueueItem(QueueItem:TCollectionItem);
Public procedure DelQueueItem(QueueItem:TCollectionItem);
Public function SetInGetOut(Sender:TComponent; Input:Double):Double; virtual;
Public function SetOutGetIn(Sender:TComponent; Output:Double):Double; virtual;

Properties

Public property Propriedade[index:LongInt]: Double read GetProperty write SetProperty;
Published property Input: Double read FValueIn write SetInput Stored false;
Published property Output: Double read GetOutput write SetOutput Stored false;

Description

Fields

Protected FProperts:array of Double;

: Store the values of all properties.

Methods

Public procedure AddQueueItem(QueueItem:TCollectionItem);

: Adds a object to dependents list.

Public procedure DelQueueItem(QueueItem:TCollectionItem);

: Removes a object from the dependent object list.

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

: Returns a value in engineering scale based on a raw value and in the scales parameters, if there exists.

Usually, this value is comming from device and going to user.

Parameters
Sender
TComponent: Who is requesting this transformation.
Input
Double: Input value to be processed.
Returns

Double. The value tranformed to engineering scale.

Public function SetOutGetIn(Sender:TComponent; Output:Double):Double; virtual;

: Returns a raw value based on a value in engineering scale and in scales parameters, if there exists.

Usually, this value is comming from a user input going to device.

Parameters
Sender
TComponent: Who is requesting this value transformation.
Output
Double: Value in engineering scale to be processed to a raw value.
Returns

Double. The tranformed raw value.

Properties

Public property Propriedade[index:LongInt]: Double read GetProperty write SetProperty;

: Returns each property of the scale processor.

Published property Input: Double read FValueIn write SetInput Stored false;

: Property to test the scale processor.

If something is written in Input, the transformed value will be returned on OutPut property.

If something is written in OutPut, the transformed value will be returned on Input property.

See also
OutPut
Published property Output: Double read GetOutput write SetOutput Stored false;

: Property to test the scale processor.

If something is written in Output, the transformed value will be returned on Input property.

If something is written in Input, the transformed value will be returned on Output property.

See also
Input

Author


Generated by PasDoc 0.14.0.