61 #if CONOPSYS_TARGET == CONOPSYS_TARGET_VDC
63 #include <Classes.hpp>
64 #include <Controls.hpp>
65 #include <StdCtrls.hpp>
66 #include <ExtCtrls.hpp>
67 #include <IniFiles.hpp>
71 #include "Application_Resource_Configuration.h"
85 #if CONOPSYS_TARGET == CONOPSYS_TARGET_DEVICE
133 } TFunction_Block_Status;
355 #if CONOPSYS_TARGET == CONOPSYS_TARGET_VDC
373 virtual void __fastcall
SaveToProjectFile( TMemIniFile *ProjectFile, AnsiString ParentSection );
489 #if CONOPSYS_TARGET == CONOPSYS_TARGET_VDC
575 #if CONOPSYS_TARGET == CONOPSYS_TARGET_VDC
583 void __fastcall
Modified( TObject *object_Sender );
587 void __fastcall
OnClick( TObject *object_Sender );
595 void __fastcall
OnMouseDown( TObject *object_Sender, TMouseButton Button, TShiftState Shift,
int int_X,
int int_Y );
599 void __fastcall
OnMouseUp( TObject *object_Sender, TMouseButton Button, TShiftState Shift,
int int_X,
int int_Y );
603 void __fastcall
OnMouseMove( TObject *object_Sender, TShiftState Shift,
int int_X,
int int_Y );
Block output connecttor class header file.
ConOpSys deploy target definitions file.
#define CONOPSYS_TARGET_VDC
Visual device configurator tool.
Definition: ConOpSys_Target.h:50
#define CONOPSYS_TARGET
Deploy target selection.
Definition: ConOpSys_Target.h:63
int BOOL
Boolean datatype definition.
Definition: Defines.h:124
#define NULL
Definition: Defines.h:388
void VOID
Datatypesess datatype definition.
Definition: Defines.h:105
unsigned long U32
Binary 32-Bit unsigned integer datatype defenition.
Definition: Defines.h:203
Function block defines header file.
Communication protocol base class header file.
Function block output connector class.
Definition: Block_Output_Connector.h:59
Function block base class for device.
Definition: Function_Block_Base.h:96
__property AnsiString Label
Definition: Function_Block_Base.h:441
VOID __fastcall Load_Block_From_List(TStringList *object_File_Source_CPP, TStringList *object_File_Source_H)
Definition: Function_Block_Base.cpp:1402
AnsiString FLabel
Function block label of the core string.
Definition: Function_Block_Base.h:523
TFunction_Block_Status struct_Status
Function block status.
Definition: Function_Block_Base.h:562
U32 u32_Function_Block_ID
Function block function block identifier.
Definition: Function_Block_Base.h:559
__property BOOL Flipped
Definition: Function_Block_Base.h:447
TNotifyEvent FOnOutputConnectorSelected
Definition: Function_Block_Base.h:516
VOID Set_Initialisation_Error()
Set function block initialisation error.
Definition: Function_Block_Base.cpp:326
void __fastcall OnOutputConnectorClick(TObject *Sender)
void __fastcall CreateBlock()
TStringList * object_Source_CPP
Definition: Function_Block_Base.h:621
TParameters_Template * Parameters
Definition: Function_Block_Base.h:417
__property BOOL Border
Definition: Function_Block_Base.h:443
__fastcall ~TBlock_Template()
BOOL FBorder
Function block border status.
Definition: Function_Block_Base.h:526
virtual VOID Execute()=0
Function block execute method.
virtual VOID Trip()
Function block trip method.
Definition: Function_Block_Base.cpp:303
TObjectList * object_Output_Parameter_List
Definition: Function_Block_Base.h:629
virtual void __fastcall RepaintAllBlocks()
void __fastcall OnMouseUp(TObject *object_Sender, TMouseButton Button, TShiftState Shift, int int_X, int int_Y)
virtual ~TFunction_Block_Base()
Class destructor method.
Definition: Function_Block_Base.cpp:163
void __fastcall ResolveConnectorAddress(TObject *Sender, TConnectorAddress *Address)
BOOL DobbleClicked
Definition: Function_Block_Base.h:538
U32 u32_Locked_Position_X
Definition: Function_Block_Base.h:541
BOOL FSelected
Function block seleted status.
Definition: Function_Block_Base.h:529
TCore_Template * Core
Definition: Function_Block_Base.h:410
void __fastcall OnMouseDown(TObject *object_Sender, TMouseButton Button, TShiftState Shift, int int_X, int int_Y)
TNotifyEvent FModified
Definition: Function_Block_Base.h:507
TObjectList * object_Parameter_Connector_List
Definition: Function_Block_Base.h:627
TResolveConnectorAddressEvent FOnResolveConnectorAddress
Definition: Function_Block_Base.h:520
VOID Append_Connected_Status(BOOL *bool_Connected_Status)
Append interconnection status of the function block.
Definition: Function_Block_Base.cpp:386
TList * StorageOfBlocks
Definition: Function_Block_Base.h:392
void __fastcall OnDblClick(TObject *object_Sender)
virtual void __fastcall Paint()
virtual VOID Send_Information(TProtocol_Base *object_Protocol)
Send information about Function block over communication link protocol.
Definition: Function_Block_Base.cpp:458
__property TNotifyEvent OnNeedToUpdate
Definition: Function_Block_Base.h:437
void __fastcall Modified(TObject *object_Sender)
__property TNotifyEvent OnModified
Definition: Function_Block_Base.h:435
VOID Create_Event(U32 u32_Event_ID)
Create event method.
Definition: Function_Block_Base.cpp:473
VOID __fastcall Get_SQL_Queries(TStringList *object_SQL_Queries)
Definition: Function_Block_Base.cpp:1424
TFunction_Block_Base(U32 u32_Function_ID)
Class constructor method.
Definition: Function_Block_Base.cpp:103
VOID Update_Connected_Status(BOOL bool_New_Connected_Status)
Updates function block interconnection status.
Definition: Function_Block_Base.cpp:350
VOID Connect()
Function block connect method.
Definition: Function_Block_Base.cpp:257
BOOL Get_Input_Connector(U32 u32_Connector_Index, TBlock_Input_Connector **object_Input_Connector)
Get pointer to the input connector.
Definition: Function_Block_Base.cpp:419
void __fastcall OnInputConnectorClick(TObject *Sender)
TFunction_Block_Status Get_Status()
Get function block status method.
Definition: Function_Block_Base.cpp:443
__property TNotifyEvent OnOutputConnectorSelected
Definition: Function_Block_Base.h:431
VOID Init()
Function block initialisation method.
Definition: Function_Block_Base.cpp:269
void __fastcall SetFlippedFlag(bool Value)
BOOL FFlipped
Function block flipped status.
Definition: Function_Block_Base.h:532
virtual bool __fastcall PropertiesDialog()
BOOL Get_Output_Connector(U32 u32_Connector_Index, TBlock_Output_Connector **object_Output_Connector)
Get pointer to the output connector.
Definition: Function_Block_Base.cpp:431
TObjectList * object_Input_Connector_List
Definition: Function_Block_Base.h:628
BOOL LockedMode
Definition: Function_Block_Base.h:535
virtual VOID Update()
Update parameters at runtime method.
Definition: Function_Block_Base.cpp:292
__property TResolveConnectorAddressEvent OnResolveConnectorAddress
Definition: Function_Block_Base.h:439
__property TNotifyEvent OnCoreSelected
Definition: Function_Block_Base.h:433
__property BOOL Selected
Definition: Function_Block_Base.h:445
TNotifyEvent FOnInputConnectorSelected
Definition: Function_Block_Base.h:513
TList * StorageOfOutputConnectors
Definition: Function_Block_Base.h:407
BOOL Is_Initialised()
Returns status of the function block interconnection.
Definition: Function_Block_Base.cpp:374
bool AutoSize
Definition: Function_Block_Base.h:420
__fastcall TBlock_Template(TComponent *Owner, TList *Storage)
void __fastcall OnClick(TObject *object_Sender)
__property TNotifyEvent OnInputConnectorSelected
Definition: Function_Block_Base.h:429
void __fastcall NeedToUpdate(TObject *object_Sender)
void __fastcall SetSelectedFlag(bool Value)
int BlockID
Definition: Function_Block_Base.h:395
U32 Get_Function_Block_ID()
Get function block dentifier.
Definition: Function_Block_Base.cpp:314
U32 u32_Locked_Position_Y
Definition: Function_Block_Base.h:544
int InputConnectorsCount
Definition: Function_Block_Base.h:398
TFooter_Template * Footer
Definition: Function_Block_Base.h:413
int OutputConnectorsCount
Definition: Function_Block_Base.h:401
Graphics::TBitmap * Icon
Definition: Function_Block_Base.h:423
BOOL Is_Initialisation_Error()
Return function block initialisation error status.
Definition: Function_Block_Base.cpp:338
TStringList * object_Source_H
Definition: Function_Block_Base.h:622
TNotifyEvent FOnCoreSelected
Definition: Function_Block_Base.h:518
TUTF8String utf8_string_Description
Definition: Function_Block_Base.h:625
void __fastcall CorePaint(TObject *Sender)
void __fastcall OnMouseMove(TObject *object_Sender, TShiftState Shift, int int_X, int int_Y)
virtual void __fastcall SwapBlocks()
BOOL Is_Connected()
Returns status of the function block interconnection.
Definition: Function_Block_Base.cpp:362
TNotifyEvent FNeedToUpdate
Definition: Function_Block_Base.h:510
TUTF8String utf8_string_Name
Definition: Function_Block_Base.h:624
TList * StorageOfInputConnectors
Definition: Function_Block_Base.h:404
virtual void __fastcall SaveToProjectFile(TMemIniFile *ProjectFile, AnsiString ParentSection)
virtual void __fastcall LoadFromProjectFile(TMemIniFile *ProjectFile, AnsiString ParentSection)
virtual VOID Done()
Function block finalisation method.
Definition: Function_Block_Base.cpp:281
virtual void __fastcall SetNamesOfConnectors()
Definition: Protocol_Base.h:57
Function block ststus.
Definition: Function_Block_Base.h:110
U32 bit1_Initialisation_Error
Bit 2: Initialisation error flag.
Definition: Function_Block_Base.h:126
U32 u32_Status_Raw_Data
Function block status as raw data.
Definition: Function_Block_Base.h:113
U32 bit1_Initialised
Bit 0: Initialised flag.
Definition: Function_Block_Base.h:120
U32 bit1_Connected
Bit 1: Connected flag.
Definition: Function_Block_Base.h:123
U32 bit29_Reserved
Bits 3-31: Reserved.
Definition: Function_Block_Base.h:129