Class TScaleProcessor
Unit
ValueProcessor
Declaration
type TScaleProcessor = class(TComponent)
Description
Base class for all scale processors.
:
Hierarchy
- TComponent
- TScaleProcessor
Overview
Fields
Methods
 |
procedure AddQueueItem(QueueItem:TCollectionItem); |
 |
procedure DelQueueItem(QueueItem:TCollectionItem); |
 |
function SetInGetOut(Sender:TComponent; Input:Double):Double; virtual; |
 |
function SetOutGetIn(Sender:TComponent; Output:Double):Double; virtual; |
Properties
 |
property Propriedade[index:LongInt]: Double read GetProperty write SetProperty; |
 |
property Input: Double read FValueIn write SetInput Stored false; |
 |
property Output: Double read GetOutput write SetOutput Stored false; |
Description
Fields
 |
FProperts:array of Double; |
|
: Store the values of all properties.
|
Methods
 |
procedure AddQueueItem(QueueItem:TCollectionItem); |
|
: Adds a object to dependents list.
|
 |
procedure DelQueueItem(QueueItem:TCollectionItem); |
|
: Removes a object from the dependent object list.
|
 |
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. |
 |
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
 |
property Propriedade[index:LongInt]: Double read GetProperty write SetProperty; |
|
: Returns each property of the scale processor.
|
 |
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
|
 |
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.