pascalSCADA OPM: ProtocolTypes: Interface ITagInterface

Pascal SCADA OPM

Interface ITagInterface

Unit

ProtocolTypes

Declaration

type ITagInterface = interface(IInterface)

Description

: Tag interface

Attributes
GUID['{188FEF6D-036D-4B01-A854-421973AA7D58}']

Hierarchy

  • IInterface
  • ITagInterface

Overview

Methods

Public function GetValueAsText(Prefix, Sufix, Format:UTF8String; FormatDateTimeOptions:TFormatDateTimeOptions=[]):UTF8String;
Public function GetVariantValue:Variant;
Public procedure SetVariantValue(V:Variant);
Public function IsValidValue(Value:Variant):Boolean;
Public function GetValueTimestamp:TDatetime;

Properties

Public property ValueVariant: Variant read GetVariantValue write SetVariantValue;
Public property ValueTimestamp: TDatetime read GetValueTimestamp;

Description

Methods

Public function GetValueAsText(Prefix, Sufix, Format:UTF8String; FormatDateTimeOptions:TFormatDateTimeOptions=[]):UTF8String;

: Returns the tag value as string, including the format (if applicable), prefix and suffix.

Public function GetVariantValue:Variant;

: Returns the tag value as variant.

Public procedure SetVariantValue(V:Variant);

: If possible, sets a variant as tag value.

Public function IsValidValue(Value:Variant):Boolean;

: Returns True if the variant value will be accept by tag.

Public function GetValueTimestamp:TDatetime;

: Returns the date/time of the last time wich the tag was updated.

Properties

Public property ValueVariant: Variant read GetVariantValue write SetVariantValue;

: Read/Set a variant value on tag.

Public property ValueTimestamp: TDatetime read GetValueTimestamp;

: Returns the date/time of the last time wich the tag was updated.


Generated by PasDoc 0.14.0.