pascalSCADA OPM: HMICheckBox: Class THMICheckBox
From Pascal SCADA OPM
Class THMICheckBox
Unit
Declaration
type THMICheckBox = class(TCheckBox, IHMIInterface)
Description
THMICheckBox
Hierarchy
- TCheckBox
- THMICheckBox
Overview
Methods
procedure SetHMITag(t:TPLCTag); |
|
function GetHMITag:TPLCTag; |
|
function GetControlSecurityCode:UTF8String; |
|
procedure CanBeAccessed(a:Boolean); |
|
procedure MakeUnsecure; |
|
procedure Click; override; |
|
procedure RefreshCheckBox(Data: PtrInt); |
|
procedure UpdateStatus; |
Properties
property AllowGrayed: Boolean read GetAllowGrayed stored false; |
|
property Checked stored false; |
|
property PLCTag: TPLCTag read GetHMITag write SetHMITag; |
|
property Caption write SetCaption stored false; |
|
property CaptionFalse: TCaption read FCaptionFalse write SetCaptionFalse stored true nodefault; |
|
property CaptionTrue: TCaption read FCaptionTrue write SetCaptionTrue stored true nodefault; |
|
property CaptionGrayed: TCaption read FCaptionGrayed write SetCaptionGrayed stored true nodefault; |
|
property Color read IntGetColor write IntSetColor stored false; |
|
property ColorFalse: TColor read FColorFalse write SetColorFalse stored true default clBtnFace; |
|
property ColorTrue: TColor read FColorTrue write SetColorTrue stored true default clBtnFace; |
|
property ColorGrayed: TColor read FColorGrayed write SetColorGrayed stored true default clBtnFace; |
|
property Font write SetFont stored false; |
|
property FontFalse: TFont read FFontFalse write SetFontFalse stored true; |
|
property FontTrue: TFont read FFontTrue write SetFontTrue stored true; |
|
property FontGrayed: TFont read FFontGrayed write SetFontGrayed stored true; |
|
property OtherValuesIS: TOtherValues read FOtherValues write SetOtherValues stored true default IsGrayed; |
|
property ValueFalse: Double read FValueFalse write SetValueFalse stored true; |
|
property ValueTrue: Double read FValueTrue write SetValueTrue stored true; |
|
property WriteTrueValue: Boolean read FWriteTrue write SetWriteTrue stored true default true; |
|
property WriteFalseValue: Boolean read FWriteFalse write SetWriteFalse stored true default true; |
|
property State: TCheckBoxState read GetState stored false nodefault; |
|
property SecurityCode: UTF8String read FSecurityCode write SetSecurityCode; |
|
property BeforeSendAValueToTag: TBeforeSendNumericValueToTagEvent read FBeforeSendValueToTag write FBeforeSendValueToTag; |
|
property AfterSendValueToTag: TAfterSendNumericValueToTagEvent read FAfterSendValueToTag write FAfterSendValueToTag; |
Description
Methods
procedure SetHMITag(t:TPLCTag); |
|
|
: See also | |
function GetHMITag:TPLCTag; |
|
|
seta um tag : See also | |
function GetControlSecurityCode:UTF8String; |
|
|
: See also | |
procedure CanBeAccessed(a:Boolean); |
|
|
: See also | |
procedure MakeUnsecure; |
|
|
: See also | |
procedure Click; override; |
|
procedure RefreshCheckBox(Data: PtrInt); |
|
procedure UpdateStatus; |
|
Properties
property PLCTag: TPLCTag read GetHMITag write SetHMITag; |
|
|
: Numeric tag link. The value changes of the tag will update the control appearance and the changes made on control can update the tag value. See also
| |
property CaptionFalse: TCaption read FCaptionFalse write SetCaptionFalse stored true nodefault; |
|
|
: See also | |
property CaptionTrue: TCaption read FCaptionTrue write SetCaptionTrue stored true nodefault; |
|
|
: See also | |
property CaptionGrayed: TCaption read FCaptionGrayed write SetCaptionGrayed stored true nodefault; |
|
|
: See also | |
property ColorFalse: TColor read FColorFalse write SetColorFalse stored true default clBtnFace; |
|
|
: See also | |
property ColorTrue: TColor read FColorTrue write SetColorTrue stored true default clBtnFace; |
|
|
: See also | |
property ColorGrayed: TColor read FColorGrayed write SetColorGrayed stored true default clBtnFace; |
|
|
: See also | |
property FontFalse: TFont read FFontFalse write SetFontFalse stored true; |
|
|
: See also | |
property FontTrue: TFont read FFontTrue write SetFontTrue stored true; |
|
|
: See also | |
property FontGrayed: TFont read FFontGrayed write SetFontGrayed stored true; |
|
|
: See also | |
property OtherValuesIS: TOtherValues read FOtherValues write SetOtherValues stored true default IsGrayed; |
|
|
: The value of this property tells how the checkbox will handle tag values that are others than ValueFalse and ValueTrue.
See also | |
property ValueFalse: Double read FValueFalse write SetValueFalse stored true; |
|
|
: If the value of Tag is equal to | |
property ValueTrue: Double read FValueTrue write SetValueTrue stored true; |
|
|
: If the value of the Tag is equal to | |
property State: TCheckBoxState read GetState stored false nodefault; |
|
|
: Tells the actual state of the control (checked, unchecked or grayed). | |
property SecurityCode: UTF8String read FSecurityCode write SetSecurityCode; |
|
|
: Security code that allows access to control. | |
property BeforeSendAValueToTag: TBeforeSendNumericValueToTagEvent read FBeforeSendValueToTag write FBeforeSendValueToTag; |
|
|
: Event triggered before HMIEdit send a value to linked tag. | |
property AfterSendValueToTag: TAfterSendNumericValueToTagEvent read FAfterSendValueToTag write FAfterSendValueToTag; |
|
|
: Event triggered when the HMIEdit sent a value to linked tag. | |
Generated by PasDoc 0.14.0.