pascalSCADA OPM: HMIButton: Class THMIButton

Pascal SCADA OPM

Class THMIButton

Unit

HMIButton

Declaration

type THMIButton = class(TSpeedButton, IHMIInterface)

Description

: Must be implemented.

Hierarchy

  • TSpeedButton
  • THMIButton

Overview

Methods

Protected procedure CMButtonPressed(var Message: TMessage); message CM_BUTTONPRESSED;
Protected procedure SetHMITag(t:TPLCTag);
Protected function GetHMITag:TPLCTag;
Protected function GetControlSecurityCode:UTF8String;
Protected procedure CanBeAccessed(a:Boolean);
Protected procedure MakeUnsecure;
Protected procedure SetOtherValues(v:TOtherValues);
Protected procedure SetButtonType(v:TButtonType);
Protected function GetCaption:TCaption;
Protected procedure SetCaptionDown(v:TCaption);
Protected procedure SetCaptionUp(v:TCaption);
Protected procedure SetCaptionGrayed(v:TCaption);
Protected function GetColor:TColor;
Protected procedure SetColorDown(v:TColor);
Protected procedure SetColorUp(v:TColor);
Protected procedure SetColorGrayed(v:TColor);
Protected procedure SetValueDown(v:Double);
Protected procedure SetValueUp(v:Double);

Properties

Published property OtherValuesIs: TOtherValues read FOtherValues write SetOtherValues;
Published property ButtonType: TButtonType read FButtonType write SetButtonType;
Published property AfterGray: Boolean read FAfterGrayed write FAfterGrayed;
Published property Caption: TCaption read GetCaption;
Published property CaptionDown: TCaption read FCaptionDown write SetCaptionDown;
Published property CaptionUp: TCaption read FCaptionUp write SetCaptionUp;
Published property CaptionGrayed: TCaption read FCaptionGrayed write SetCaptionGrayed;
Published property Color: TColor read GetColor;
Published property ColorDown: TColor read FColorDown write SetColorDown;
Published property ColorUp: TColor read FColorUp write SetColorUp;
Published property ColorGrayed: TColor read FColorGrayed write SetColorGrayed;
Published property PLCTag: TPLCTag read GetHMITag write SetHMITag;
Published property ValueDown: Double read FValueDown write SetValueDown;
Published property ValueUp: Double read FValueUp write SetValueUp;
Published property Down: Boolean read GetDown;
Published property GroupIndex: LongInt read GetGroupIndex;
Published property AllowAllUp: Boolean read GetAllowAllUp;
Published property SecurityCode: UTF8String read FSecurityCode write SetSecurityCode;

Description

Methods

Protected procedure CMButtonPressed(var Message: TMessage); message CM_BUTTONPRESSED;

: Evita o processamento da mensagem no botão.

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
Protected procedure SetOtherValues(v:TOtherValues);

:

See also
OtherValuesIs
Protected procedure SetButtonType(v:TButtonType);
 
Protected function GetCaption:TCaption;

: Retorna o caption corrente do botão;

Protected procedure SetCaptionDown(v:TCaption);
 
Protected procedure SetCaptionUp(v:TCaption);
 
Protected procedure SetCaptionGrayed(v:TCaption);
 
Protected function GetColor:TColor;

: Retorna a cor corrente do botão;

Protected procedure SetColorDown(v:TColor);
 
Protected procedure SetColorUp(v:TColor);
 
Protected procedure SetColorGrayed(v:TColor);
 
Protected procedure SetValueDown(v:Double);
 
Protected procedure SetValueUp(v:Double);
 

Properties

Published property OtherValuesIs: TOtherValues read FOtherValues write SetOtherValues;

: Diz como o botão irá interpretar valores diferentes de ValueDown e de ValueUp. ;

See also
TOtherValues
Published property ButtonType: TButtonType read FButtonType write SetButtonType;

: Define qual será o comportamento do botão.

See also
TButtonType
Published property AfterGray: Boolean read FAfterGrayed write FAfterGrayed;

: Informa qual será o estado que o botão será passado quando ele estiver Grayed (nem Precionado e nem Livre).

True fará que o botão fique precionado e False fara com que o botão fique livre (solto).

Published property Caption: TCaption read GetCaption;

: Retorna o caption corrente do botão.

Published property CaptionDown: TCaption read FCaptionDown write SetCaptionDown;

: Caption do botão caso o valor do tag associado seja igual a ValueDown

See also
CaptionUp
CaptionGrayed
Caption
PLCTag
Published property CaptionUp: TCaption read FCaptionUp write SetCaptionUp;

: Caption do botão caso o valor do tag associado seja igual a ValueUp

See also
CaptionDown
CaptionGrayed
Caption
PLCTag
Published property CaptionGrayed: TCaption read FCaptionGrayed write SetCaptionGrayed;

: Caption do botão caso o valor do tag seja diferente de ValueDown e ValueUp.

See also
CaptionDown
CaptionUp
Caption
PLCTag
Published property Color: TColor read GetColor;

: Retorna o cor corrente do botão.

Published property ColorDown: TColor read FColorDown write SetColorDown;

: Cor do botão caso o valor do tag associado seja igual a ValueDown

See also
ColorUp
ColorGrayed
Color
PLCTag
Published property ColorUp: TColor read FColorUp write SetColorUp;

: Cor do botão caso o valor do tag associado seja igual a ValueUp

See also
ColorDown
ColorGrayed
Color
PLCTag
Published property ColorGrayed: TColor read FColorGrayed write SetColorGrayed;

: Cor do botão caso o valor do tag seja diferente de ValueDown e ValueUp.

See also
ColorDown
ColorUp
Color
PLCTag
Published property PLCTag: TPLCTag read GetHMITag write SetHMITag;

: Tag numérico usado pelo controle.

See also
TPLCTag
Base class of a communication tag.
TPLCBlockElement
TPLCTagNumber
Single numeric tag with communication.
Published property ValueDown: Double read FValueDown write SetValueDown;

: Valor do tag que será considerado como botão precionado.

Published property ValueUp: Double read FValueUp write SetValueUp;

: Valor do tag que será considerado como botão solto.

Published property Down: Boolean read GetDown;

: Retorna se o botão esta precionado ou não. Esconde a propriedade herdada.

Published property GroupIndex: LongInt read GetGroupIndex;

: GroupIndex do botão. Esconde a propriedade herdada.

Published property AllowAllUp: Boolean read GetAllowAllUp;

: Esconde a propriedade herdada.

Published property SecurityCode: UTF8String read FSecurityCode write SetSecurityCode;

: Security code that allows access to control.


Generated by PasDoc 0.14.0.