pascalSCADA OPM: HMIEdit: Class THMIEdit

Pascal SCADA OPM

Class THMIEdit

Unit

HMIEdit

Declaration

type THMIEdit = class(TEdit, IHMIInterface)

Description

THMIEdit

Hierarchy

  • TEdit
  • THMIEdit

Overview

Methods

Protected procedure SetHMITag(t:TPLCTag);
Protected function GetHMITag:TPLCTag;
Protected function GetControlSecurityCode:UTF8String;
Protected procedure CanBeAccessed(a:Boolean);
Protected procedure MakeUnsecure;

Properties

Published property SendValueWhen: TSendChange read FSend write SetSend stored true default [scLostFocus, scPressEnter];
Published property NumberFormat: AnsiString read FNumberFormat write SetFormat;
Published property PLCTag: TPLCTag read GetHMITag write SetHMITag;
Published property Text: TCaption read GetText stored false;
Published property Color: TColor read GetColor Write SetColor;
Published property ShowFocused: Boolean read FShowFocused write SetShowFocused default true;
Published property Prefix: TCaption read FPrefix write SetPrefix;
Published property Sufix: TCaption read FSufix write SetSufix;
Published property FreezeValueOnFocus: Boolean read FFreezeValue write FFreezeValue default true;
Published property EnableMinValue: Boolean read FEnableMin write FEnableMin stored true;
Published property EnableMaxValue: Boolean read FEnableMax write FEnableMax stored true;
Published property MinValue: Double read FMinLimit write SetMinLimit;
Published property MaxValue: Double read FMaxLimit write SetMaxLimit;
Published property SecurityCode: UTF8String read FSecurityCode write SetSecurityCode;
Published property ScreenKeyboardBehavior: TOnScreenKeyboardBehavior read FOnScreenKeyboardBehavior write FOnScreenKeyboardBehavior default oskbDisabled;
Published property ScreenNumericKBShowMinus: Boolean read FNumericKBShowMinus write FNumericKBShowMinus default false;
Published property ScreenNumericKBShowDecimal: Boolean read FNumericKBShowDecimal write FNumericKBShowDecimal default false;
Published property BeforeSendAValueToTag: TBeforeSendStringValueToTagEvent read FBeforeSendValueToTag write FBeforeSendValueToTag;
Published property AfterSendValueToTag: TAfterSendStringValueToTagEvent read FAfterSendValueToTag write FAfterSendValueToTag;

Description

Methods

Protected procedure SetHMITag(t:TPLCTag);

:

See also
IHMIInterface.SetHMITag
Protected function GetHMITag:TPLCTag;

seta um tag :

See also
IHMIInterface.GetHMITag
Protected function GetControlSecurityCode:UTF8String;

:

See also
IHMIInterface.GetControlSecurityCode
Protected procedure CanBeAccessed(a:Boolean);

:

See also
IHMIInterface.CanBeAccessed
Protected procedure MakeUnsecure;

:

See also
IHMIInterface.MakeUnsecure

Properties

Published property SendValueWhen: TSendChange read FSend write SetSend stored true default [scLostFocus, scPressEnter];

: SendValueWhen tell when the Edit will send the modified value to tag.

See also
TSendChange
Published property NumberFormat: AnsiString read FNumberFormat write SetFormat;

: If the linked tag is a numeric tag, specifies the format of the number.

More information, see the documentation of the function FormatFloat of your development environment.

Published property PLCTag: TPLCTag read GetHMITag write SetHMITag;

: Tag that will be linked with Edit control.

See also
TPLCTag
Base class of a communication tag.
TPLCTagNumber
Single numeric tag with communication.
TPLCBlockElement
TPLCStructItem
TPLCString
Published property Text: TCaption read GetText stored false;

: Text returns the text showed on control. Includes the suffix, prefix and the number format.

Published property Color: TColor read GetColor Write SetColor;

: Color is the actual background color of the control.

Published property ShowFocused: Boolean read FShowFocused write SetShowFocused default true;

: If ShowFocused is True, swaps the colors of the foreground and background when control has the focus.

Keep the value of this property to False when you are using GTK1 widgetset.

Published property Prefix: TCaption read FPrefix write SetPrefix;

: Prefix is the text that will be show on the left (before) of the value of the tag when the control doesn't has the focus.

Published property Sufix: TCaption read FSufix write SetSufix;

: Sufix is the text that will be show on the right (after) of the value of the tag when the control doesn't has the focus. Useful to show the engineering unit of the tag.

Published property FreezeValueOnFocus: Boolean read FFreezeValue write FFreezeValue default true;

: If the value of FreezeValueOnFocus is True, stops the updates of the value of the tag when the control has de focus.

Published property EnableMinValue: Boolean read FEnableMin write FEnableMin stored true;

: Enables/disables the minimum limit.

Published property EnableMaxValue: Boolean read FEnableMax write FEnableMax stored true;

: Enables/disables the maximum limit.

Published property MinValue: Double read FMinLimit write SetMinLimit;

: Minimum value acceptable if the minimum limit is enabled.

Published property MaxValue: Double read FMaxLimit write SetMaxLimit;

: Maximum value acceptable if the maximum limit is enabled.

Published property SecurityCode: UTF8String read FSecurityCode write SetSecurityCode;

: Security code that allows access to control.

Published property ScreenKeyboardBehavior: TOnScreenKeyboardBehavior read FOnScreenKeyboardBehavior write FOnScreenKeyboardBehavior default oskbDisabled;

: On screen keyboard control behavior. The keyboard type will be made automacally based on tag type, limits and on NumberFormat property.

Published property ScreenNumericKBShowMinus: Boolean read FNumericKBShowMinus write FNumericKBShowMinus default false;
 
Published property ScreenNumericKBShowDecimal: Boolean read FNumericKBShowDecimal write FNumericKBShowDecimal default false;
 
Published property BeforeSendAValueToTag: TBeforeSendStringValueToTagEvent read FBeforeSendValueToTag write FBeforeSendValueToTag;

: Event triggered before HMIEdit send a value to linked tag.

Published property AfterSendValueToTag: TAfterSendStringValueToTagEvent read FAfterSendValueToTag write FAfterSendValueToTag;

: Event triggered when the HMIEdit sent a value to linked tag.


Generated by PasDoc 0.14.0.