pascalSCADA OPM: HMILabel: Class THMILabel

Pascal SCADA OPM

Class THMILabel

Unit

HMILabel

Declaration

type THMILabel = class(TLabel, IHMIInterface)

Description

THMILabel

Hierarchy

  • TLabel
  • THMILabel

Overview

Methods

Protected procedure WriteFaultCallBack(Sender:TObject); virtual;
Protected procedure RemoveTagCallBack(Sender:TObject); virtual;
Protected procedure TagChangeCallBack(Sender:TObject); virtual;
Public procedure RefreshLabel(Data: PtrInt);

Properties

Published property Caption: TCaption read GetCaption stored false;
Published property NumberFormat: AnsiString read FNumberFormat write SetFormat;
Published property PLCTag: TPLCTag read FTag write SetHMITag;
Published property Prefix: TCaption read FPrefix write SetPrefix;
Published property Sufix: TCaption read FSufix write SetSufix;
Published property SecurityCode: UTF8String read FSecurityCode write SetSecurityCode;
Published property FormatDateTimeOptions: TFormatDateTimeOptions read FFormatDateTimeOptions write SetFormatDateTimeOptions;

Description

Methods

Protected procedure WriteFaultCallBack(Sender:TObject); virtual;
 
Protected procedure RemoveTagCallBack(Sender:TObject); virtual;
 
Protected procedure TagChangeCallBack(Sender:TObject); virtual;
 
Public procedure RefreshLabel(Data: PtrInt);
 

Properties

Published property Caption: TCaption read GetCaption stored false;

: Caption is the current text that is being showed by the control. Includes the prefix and the suffix.

Published property NumberFormat: AnsiString read FNumberFormat write SetFormat;

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

To get more information, see the documentation of the funcion FormatFloat of your development environment.

Published property PLCTag: TPLCTag read FTag write SetHMITag;

: The tag that the control will show the values.

See also
TPLCTag
Base class of a communication tag.
TPLCTagNumber
Single numeric tag with communication.
TPLCBlockElement
TPLCStructItem
TPLCString
Published property Prefix: TCaption read FPrefix write SetPrefix;

: Prefix is the text that will be show at the left (before) of the tag value.

Published property Sufix: TCaption read FSufix write SetSufix;

: Sufix is the text that will be show at the right (after) of the tag value. Useful to show the engineering unit of the tag.

Published property SecurityCode: UTF8String read FSecurityCode write SetSecurityCode;

: Security code that allows access to control.

Published property FormatDateTimeOptions: TFormatDateTimeOptions read FFormatDateTimeOptions write SetFormatDateTimeOptions;

: Date/time format options.


Generated by PasDoc 0.14.0.