pascalSCADA OPM: PLCStruct: Class TPLCStruct

Pascal SCADA OPM

Class TPLCStruct

Unit

PLCStruct

Declaration

type TPLCStruct = class(TPLCBlock)

Description

TPLCStruct

Hierarchy

Overview

Methods

Protected function IsMyCallBack(Cback: TTagCommandCallBack): Boolean; override;
Protected procedure TagCommandCallBack(Values:TArrayOfDouble; ValuesTimeStamp:TDateTime; TagCommand:TTagCommand; LastResult:TProtocolIOResult; Offset:LongInt); override;
Protected procedure SetTagType(newType:TTagType); override;
Protected procedure SetSwapDWords(v:Boolean); override;
Protected procedure SetSwapWords(v:Boolean); override;
Protected procedure SetSwapBytes(v:Boolean); override;
Public constructor Create(AOwner:TComponent); override;
Public procedure MapElements(InsertHook: TAddTagInEditorHook; CreateProc: TCreateTagProc); override;
Public class procedure addByte (aArray: TArrayOfDouble; offset: Integer; aByte: Byte);
Public class procedure AddDWord(aArray: TArrayOfDouble; offset: Integer; aDWord: LongInt; aSwapBytes, aSwapWords: Boolean);
Public class procedure AddDWord(aArray: TArrayOfDouble; offset: Integer; aDWord: DWord; aSwapBytes, aSwapWords: Boolean);
Public class procedure AddDWord(aArray: TArrayOfDouble; offset: Integer; aDWord: Single; aSwapBytes, aSwapWords: Boolean);
Public class procedure AddQWord(aArray: TArrayOfDouble; offset: Integer; aQWord: QWord; aSwapBytes, aSwapWords, aSwapDWords: Boolean);
Public class procedure AddQWord(aArray: TArrayOfDouble; offset: Integer; aQWord: Int64; aSwapBytes, aSwapWords, aSwapDWords: Boolean);
Public class procedure AddQWord(aArray: TArrayOfDouble; offset: Integer; aQWord: Double; aSwapBytes, aSwapWords, aSwapDWords: Boolean);
Public class procedure AddWord (aArray: TArrayOfDouble; offset: Integer; aWord: Word; aSwapBytes: Boolean);
Public class procedure AddWord (aArray: TArrayOfDouble; offset: Integer; aWord: SmallInt; aSwapBytes: Boolean);
Public class procedure AddCString (aArray: TArrayOfDouble; offset: Integer; aString: AnsiString);
Public class procedure AddSiemensString(aArray: TArrayOfDouble; offset: Integer; aString: AnsiString; MaxSize: Byte);
Public function GetByte(Offset:Integer):Byte;
Public function GetWord(Offset:Integer; aSwapBytes:Boolean):Word;
Public function GetSmallInt(Offset:Integer; aSwapBytes:Boolean):SmallInt;
Public function GetLongWord(Offset:Integer; aSwapBytes, aSwapWords:Boolean):LongWord;
Public function GetLongInt(Offset:Integer; aSwapBytes, aSwapWords:Boolean):LongInt;
Public function GetSingle(Offset:Integer; aSwapBytes, aSwapWords:Boolean):Single;
Public function GetQWord (Offset:Integer; aSwapBytes, aSwapWords, aSwapDWords:Boolean):QWord;
Public function GetInt64 (Offset:Integer; aSwapBytes, aSwapWords, aSwapDWords:Boolean):Int64;
Public function GetDouble(Offset:Integer; aSwapBytes, aSwapWords, aSwapDWords:Boolean):Double;
Public function GetSiemensString(Offset:Integer; MaxStringSize:Integer = 255):String;

Description

Methods

Protected function IsMyCallBack(Cback: TTagCommandCallBack): Boolean; override;

:

See also
TPLCTag.IsMyCallBack
Protected procedure TagCommandCallBack(Values:TArrayOfDouble; ValuesTimeStamp:TDateTime; TagCommand:TTagCommand; LastResult:TProtocolIOResult; Offset:LongInt); override;

:

See also
TPLCTag.TagCommandCallBack
Protected procedure SetTagType(newType:TTagType); override;

:

See also
TPLCTag.SetTagType
Protected procedure SetSwapDWords(v:Boolean); override;

:

See also
TPLCTag.SwapDWords
Protected procedure SetSwapWords(v:Boolean); override;

:

See also
TPLCTag.SetSwapWords
Protected procedure SetSwapBytes(v:Boolean); override;

:

See also
TPLCTag.SetSwapBytes
Public constructor Create(AOwner:TComponent); override;

: @xclude

Public procedure MapElements(InsertHook: TAddTagInEditorHook; CreateProc: TCreateTagProc); override;

:

See also
TPLCBlock.MapElements
Public class procedure addByte (aArray: TArrayOfDouble; offset: Integer; aByte: Byte);
 
Public class procedure AddDWord(aArray: TArrayOfDouble; offset: Integer; aDWord: LongInt; aSwapBytes, aSwapWords: Boolean);
 
Public class procedure AddDWord(aArray: TArrayOfDouble; offset: Integer; aDWord: DWord; aSwapBytes, aSwapWords: Boolean);
 
Public class procedure AddDWord(aArray: TArrayOfDouble; offset: Integer; aDWord: Single; aSwapBytes, aSwapWords: Boolean);
 
Public class procedure AddQWord(aArray: TArrayOfDouble; offset: Integer; aQWord: QWord; aSwapBytes, aSwapWords, aSwapDWords: Boolean);
 
Public class procedure AddQWord(aArray: TArrayOfDouble; offset: Integer; aQWord: Int64; aSwapBytes, aSwapWords, aSwapDWords: Boolean);
 
Public class procedure AddQWord(aArray: TArrayOfDouble; offset: Integer; aQWord: Double; aSwapBytes, aSwapWords, aSwapDWords: Boolean);
 
Public class procedure AddWord (aArray: TArrayOfDouble; offset: Integer; aWord: Word; aSwapBytes: Boolean);
 
Public class procedure AddWord (aArray: TArrayOfDouble; offset: Integer; aWord: SmallInt; aSwapBytes: Boolean);
 
Public class procedure AddCString (aArray: TArrayOfDouble; offset: Integer; aString: AnsiString);
 
Public class procedure AddSiemensString(aArray: TArrayOfDouble; offset: Integer; aString: AnsiString; MaxSize: Byte);
 
Public function GetByte(Offset:Integer):Byte;
 
Public function GetWord(Offset:Integer; aSwapBytes:Boolean):Word;
 
Public function GetSmallInt(Offset:Integer; aSwapBytes:Boolean):SmallInt;
 
Public function GetLongWord(Offset:Integer; aSwapBytes, aSwapWords:Boolean):LongWord;
 
Public function GetLongInt(Offset:Integer; aSwapBytes, aSwapWords:Boolean):LongInt;
 
Public function GetSingle(Offset:Integer; aSwapBytes, aSwapWords:Boolean):Single;
 
Public function GetQWord (Offset:Integer; aSwapBytes, aSwapWords, aSwapDWords:Boolean):QWord;
 
Public function GetInt64 (Offset:Integer; aSwapBytes, aSwapWords, aSwapDWords:Boolean):Int64;
 
Public function GetDouble(Offset:Integer; aSwapBytes, aSwapWords, aSwapDWords:Boolean):Double;
 
Public function GetSiemensString(Offset:Integer; MaxStringSize:Integer = 255):String;
 

Generated by PasDoc 0.14.0.