📄 iopcbrowserpanel.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'iOPCBrowserPanel.pas' rev: 6.00
#ifndef iOPCBrowserPanelHPP
#define iOPCBrowserPanelHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <iOPCItem.hpp> // Pascal unit
#include <iOPCDLLLoader.hpp> // Pascal unit
#include <iEditorBasicComponents.hpp> // Pascal unit
#include <iGPFunctions.hpp> // Pascal unit
#include <iTypes.hpp> // Pascal unit
#include <Registry.hpp> // Pascal unit
#include <ShlObj.hpp> // Pascal unit
#include <ShellAPI.hpp> // Pascal unit
#include <ExtCtrls.hpp> // Pascal unit
#include <StdCtrls.hpp> // Pascal unit
#include <ComCtrls.hpp> // Pascal unit
#include <Controls.hpp> // Pascal unit
#include <Variants.hpp> // Pascal unit
#include <Classes.hpp> // Pascal unit
#include <Messages.hpp> // Pascal unit
#include <Types.hpp> // Pascal unit
#include <Clipbrd.hpp> // Pascal unit
#include <Dialogs.hpp> // Pascal unit
#include <Forms.hpp> // Pascal unit
#include <Graphics.hpp> // Pascal unit
#include <TypInfo.hpp> // Pascal unit
#include <SysUtils.hpp> // Pascal unit
#include <Windows.hpp> // Pascal unit
#include <SysInit.hpp> // Pascal unit
#include <System.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Iopcbrowserpanel
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TiOPCBrowserPanel;
class PASCALIMPLEMENTATION TiOPCBrowserPanel : public Controls::TCustomControl
{
typedef Controls::TCustomControl inherited;
private:
Ieditorbasiccomponents::TiComponentEditorListBox* FOPCItemList;
Ieditorbasiccomponents::TiComponentEditorButton* FAddItemButton;
Ieditorbasiccomponents::TiComponentEditorButton* FRemoveItemButton;
Ieditorbasiccomponents::TiComponentEditorEdit* FPropertyNameEdit;
Ieditorbasiccomponents::TiComponentEditorEdit* FGroupNameEdit;
Ieditorbasiccomponents::TiComponentEditorEdit* FComputerNameEdit;
Ieditorbasiccomponents::TiComponentEditorEdit* FOPCServerNameEdit;
Ieditorbasiccomponents::TiComponentEditorEdit* FItemNameEdit;
Ieditorbasiccomponents::TiComponentEditorCheckBox* FAutoConnectCheckBox;
Ieditorbasiccomponents::TiComponentEditorCheckBox* FAutoErrorCheckBox;
Ieditorbasiccomponents::TiComponentEditorButton* FPropertyNameEditButton;
Ieditorbasiccomponents::TiComponentEditorButton* FGroupNameEditButton;
Ieditorbasiccomponents::TiComponentEditorButton* FComputerNameEditButton;
Ieditorbasiccomponents::TiComponentEditorButton* FOPCServerNameEditButton;
Ieditorbasiccomponents::TiComponentEditorButton* FItemNameEditButton;
Ieditorbasiccomponents::TiComponentEditorEdit* FUpdateRateEdit;
Stdctrls::TLabel* FPropertyLabel;
Stdctrls::TLabel* FGroupLabel;
Stdctrls::TLabel* FComputerLabel;
Stdctrls::TLabel* FOPCServerLabel;
Stdctrls::TLabel* FItemLabel;
Stdctrls::TLabel* FUpdateRateLabel;
Stdctrls::TLabel* FErrorLabel;
Stdctrls::TLabel* FEvaluationLabel;
Classes::TNotifyEvent FOnChange;
Classes::TPersistent* FPersistent;
int FSessionHandle;
bool FShowProperty;
bool FShowAutoError;
void __fastcall SetShowAutoError(const bool Value);
protected:
void __fastcall SetShowProperty(const bool Value);
void __fastcall AddButtonClick(System::TObject* Sender);
void __fastcall RemoveButtonClick(System::TObject* Sender);
void __fastcall PropertyNameChange(System::TObject* Sender);
void __fastcall GroupNameChange(System::TObject* Sender);
void __fastcall ComputerNameChange(System::TObject* Sender);
void __fastcall OPCSeverNameChange(System::TObject* Sender);
void __fastcall ItemNameChange(System::TObject* Sender);
void __fastcall UpdateRateChange(System::TObject* Sender);
void __fastcall AutoConnectChange(System::TObject* Sender);
void __fastcall AutoErrorChange(System::TObject* Sender);
void __fastcall ItemMoveEvent(System::TObject* Sender);
void __fastcall OPCItemListClick(System::TObject* Sender);
void __fastcall PropertyNameEditButtonClick(System::TObject* Sender);
void __fastcall GroupNameEditButtonClick(System::TObject* Sender);
void __fastcall ComputerNameEditButtonClick(System::TObject* Sender);
void __fastcall OPCSeverNameEditButtonClick(System::TObject* Sender);
void __fastcall ItemNameEditButtonClick(System::TObject* Sender);
void __fastcall GetDefaults(Iopcitem::TiOPCItem* OPCItem);
void __fastcall SetDefaults(AnsiString PropertyName, AnsiString PropertyData);
DYNAMIC void __fastcall Resize(void);
DYNAMIC void __fastcall DoEnter(void);
void __fastcall AdjustLayout(void);
virtual void __fastcall Loaded(void);
public:
__fastcall virtual TiOPCBrowserPanel(Classes::TComponent* AOwner);
__fastcall virtual ~TiOPCBrowserPanel(void);
void __fastcall UpdateItemEdit(void);
void __fastcall ItemChange(void);
int __fastcall AddItem(void);
int __fastcall ItemCount(void);
void __fastcall RemoveAllItems(void);
AnsiString __fastcall GetPropertyName(int Index);
AnsiString __fastcall GetGroupName(int Index);
AnsiString __fastcall GetComputerName(int Index);
AnsiString __fastcall GetServerName(int Index);
AnsiString __fastcall GetItemName(int Index);
int __fastcall GetUpdateRate(int Index);
bool __fastcall GetAutoConnect(int Index);
bool __fastcall GetAutoError(int Index);
void __fastcall SetPropertyName(int Index, AnsiString Value);
void __fastcall SetGroupName(int Index, AnsiString Value);
void __fastcall SetComputerName(int Index, AnsiString Value);
void __fastcall SetServerName(int Index, AnsiString Value);
void __fastcall SetItemName(int Index, AnsiString Value);
void __fastcall SetUpdateRate(int Index, int Value);
void __fastcall SetAutoConnect(int Index, bool Value);
void __fastcall SetAutoError(int Index, bool Value);
__property Classes::TPersistent* APersistent = {read=FPersistent, write=FPersistent};
__published:
__property Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
__property bool ShowProperty = {read=FShowProperty, write=SetShowProperty, default=1};
__property bool ShowAutoError = {read=FShowAutoError, write=SetShowAutoError, default=1};
__property Align = {default=0};
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TiOPCBrowserPanel(HWND ParentWindow) : Controls::TCustomControl(ParentWindow) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Iopcbrowserpanel */
using namespace Iopcbrowserpanel;
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // iOPCBrowserPanel
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -