📄 qiopcdllloader.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'QiOPCDLLLoader.pas' rev: 6.00
#ifndef QiOPCDLLLoaderHPP
#define QiOPCDLLLoaderHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <QiTypes.hpp> // Pascal unit
#include <Types.hpp> // Pascal unit
#include <QTypes.hpp> // Pascal unit
#include <QClipbrd.hpp> // Pascal unit
#include <QDialogs.hpp> // Pascal unit
#include <QForms.hpp> // Pascal unit
#include <QGraphics.hpp> // Pascal unit
#include <Qt.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 Qiopcdllloader
{
//-- type declarations -------------------------------------------------------
typedef int __fastcall (*TSignalAdd)(char * ComputerName, char * OPCServerName, char * ItemName, char * GroupName, int UpdateRate, bool Suspend, Typinfo::TTypeKind DataType, Qitypes::TOPCDLLNewData CallBackMethod);
typedef void __fastcall (*TSignalRemove)(int SignalHandle);
typedef void __fastcall (*TSignalSuspend)(int SignalHandle);
typedef void __fastcall (*TSignalResume)(int SignalHandle);
typedef bool __fastcall (*TSignalGetActive)(int SignalHandle);
typedef int __fastcall (*TSignalGetGroupHandle)(int SignalHandle);
typedef void __fastcall (*TSignalSendData)(int SignalHandle, const OleVariant &Data);
typedef int __fastcall (*TEditorSessionStart)(void);
typedef void __fastcall (*TEditorSessionStop)(int SessionHandle);
typedef void __fastcall (*TEditorComputerBranchOpen)(int SessionHandle, const Qitypes::TiNetData &NetResource);
typedef void __fastcall (*TEditorComputerBranchClose)(int SessionHandle);
typedef int __fastcall (*TEditorComputerBranchGetItemCount)(int SessionHandle);
typedef Qitypes::TiNetData __fastcall (*TEditorComputerBranchGetItemData)(int SessionHandle, int Index);
typedef void __fastcall (*TEditorServerSetup)(int SessionHandle, char * MachineName);
typedef int __fastcall (*TEditorServerGetCount)(int SessionHandle);
typedef Qitypes::TiServerData __fastcall (*TEditorServerGetData)(int SessionHandle, int Index);
typedef void __fastcall (*TEditorItemSetup)(int SessionHandle, char * MachineName, char * OPCServerName);
typedef Qitypes::TiNameSpaceType __fastcall (*TEditorItemGetBrowseType)(int SessionHandle);
typedef void __fastcall (*TEditorItemSetPath)(int SessionHandle, char * Path);
typedef char * __fastcall (*TEditorItemGetBranchItems)(int SessionHandle, Qitypes::TiBrowseType iBrowseType);
typedef char * __fastcall (*TEditorItemGetQualifiedName)(int SessionHandle, char * Path, char * ItemName);
typedef int __fastcall (*TGroupAdd)(char * Name, char * ComputerName, char * OPCServerName, int UpdateRate, Qitypes::TOPCDLLObjectUpdate BeforeUpdate, Qitypes::TOPCDLLObjectUpdate AfterUpdate);
typedef void __fastcall (*TGroupDelete)(int GroupHandle);
typedef void __fastcall (*TGroupResume)(int GroupHandle);
typedef void __fastcall (*TGroupSuspend)(int GroupHandle);
typedef int __fastcall (*TGroupGetHandleByName)(char * Name);
typedef int __fastcall (*TGroupGetCount)(void);
typedef int __fastcall (*TGroupGetHandle)(int Index);
typedef char * __fastcall (*TGroupGetName)(int GroupHandle);
typedef char * __fastcall (*TGroupGetComputerName)(int GroupHandle);
typedef char * __fastcall (*TGroupGetOPCServerName)(int GroupHandle);
typedef int __fastcall (*TGroupGetUpdateRate)(int GroupHandle);
typedef void __fastcall (*TGroupSetUpdateRate)(int GroupHandle, int Value);
typedef int __fastcall (*TServerConnectionGetCount)(void);
typedef char * __fastcall (*TServerConnectionGetName)(int Index);
typedef int __fastcall (*TServerConnectionGetGroupCount)(void);
typedef char * __fastcall (*TServerConnectionGetGroupName)(int Index);
typedef void __fastcall (*TServerConnectionReconnect)(char * Name);
typedef void __fastcall (*TServerConnectionDisconnect)(char * Name);
typedef bool __fastcall (*TManagerCreated)(void);
typedef void __fastcall (*TManagerAddItem)(char * GroupName, int UpdateRate);
typedef void __fastcall (*TManagerDestroyed)(void);
typedef bool __fastcall (*TIsEvaluation)(void);
//-- var, const, procedure ---------------------------------------------------
#define OPCMANAGERDLLSTRINGRESOURCE "iOPC.dll"
extern PACKAGE int __fastcall OPCDLLSignalAdd(char * ComputerName, char * OPCServerName, char * ItemName, char * GroupName, int UpdateRate, bool Suspend, Typinfo::TTypeKind DataType, Qitypes::TOPCDLLNewData CallBackMethod);
extern PACKAGE void __fastcall OPCDLLSignalRemove(int SignalHandle);
extern PACKAGE void __fastcall OPCDLLSignalSuspend(int SignalHandle);
extern PACKAGE void __fastcall OPCDLLSignalResume(int SignalHandle);
extern PACKAGE bool __fastcall OPCDLLSignalGetActive(int SignalHandle);
extern PACKAGE int __fastcall OPCDLLSignalGetGroupHandle(int SignalHandle);
extern PACKAGE void __fastcall OPCDLLSignalSendData(int SignalHandle, const OleVariant &Data);
extern PACKAGE int __fastcall OPCDLLEditorSessionStart(void);
extern PACKAGE void __fastcall OPCDLLEditorSessionStop(int SessionHandle);
extern PACKAGE void __fastcall OPCDLLEditorComputerBranchOpen(int SessionHandle, const Qitypes::TiNetData &NetResource);
extern PACKAGE void __fastcall OPCDLLEditorComputerBranchClose(int SessionHandle);
extern PACKAGE int __fastcall OPCDLLEditorComputerBranchGetItemCount(int SessionHandle);
extern PACKAGE Qitypes::TiNetData __fastcall OPCDLLEditorComputerBranchGetItemData(int SessionHandle, int Index);
extern PACKAGE void __fastcall OPCDLLEditorServerSetup(int SessionHandle, char * MachineName);
extern PACKAGE int __fastcall OPCDLLEditorServerGetCount(int SessionHandle);
extern PACKAGE Qitypes::TiServerData __fastcall OPCDLLEditorServerGetData(int SessionHandle, int Index);
extern PACKAGE void __fastcall OPCDLLEditorItemSetup(int SessionHandle, char * MachineName, char * OPCServerName);
extern PACKAGE Qitypes::TiNameSpaceType __fastcall OPCDLLEditorItemGetBrowseType(int SessionHandle);
extern PACKAGE void __fastcall OPCDLLEditorItemSetPath(int SessionHandle, char * Path);
extern PACKAGE char * __fastcall OPCDLLEditorItemGetBranchItems(int SessionHandle, Qitypes::TiBrowseType iBrowseType);
extern PACKAGE char * __fastcall OPCDLLEditorItemGetQualifiedName(int SessionHandle, char * Path, char * ItemName);
extern PACKAGE int __fastcall OPCDLLGroupAdd(char * Name, char * ComputerName, char * OPCServerName, int UpdateRate, Qitypes::TOPCDLLObjectUpdate BeforeUpdate, Qitypes::TOPCDLLObjectUpdate AfterUpdate);
extern PACKAGE void __fastcall OPCDLLGroupDelete(int GroupHandle);
extern PACKAGE void __fastcall OPCDLLGroupResume(int GroupHandle);
extern PACKAGE void __fastcall OPCDLLGroupSuspend(int GroupHandle);
extern PACKAGE int __fastcall OPCDLLGroupGetHandleByName(char * Name);
extern PACKAGE int __fastcall OPCDLLGroupGetCount(void);
extern PACKAGE int __fastcall OPCDLLGroupGetHandle(int Index);
extern PACKAGE char * __fastcall OPCDLLGroupGetName(int GroupHandle);
extern PACKAGE char * __fastcall OPCDLLGroupGetComputerName(int GroupHandle);
extern PACKAGE char * __fastcall OPCDLLGroupGetOPCServerName(int GroupHandle);
extern PACKAGE int __fastcall OPCDLLGroupGetUpdateRate(int GroupHandle);
extern PACKAGE void __fastcall OPCDLLGroupSetUpdateRate(int GroupHandle, int Value);
extern PACKAGE int __fastcall OPCDLLServerConnectionGetCount(void);
extern PACKAGE char * __fastcall OPCDLLServerConnectionGetName(int Index);
extern PACKAGE int __fastcall OPCDLLServerConnectionGetGroupCount(void);
extern PACKAGE char * __fastcall OPCDLLServerConnectionGetGroupName(int Index);
extern PACKAGE void __fastcall OPCDLLServerConnectionReconnect(char * Name);
extern PACKAGE void __fastcall OPCDLLServerConnectionDisconnect(char * Name);
extern PACKAGE bool __fastcall OPCDLLManagerCreated(void);
extern PACKAGE void __fastcall OPCDLLManagerAddItem(char * GroupName, int UpdateRate);
extern PACKAGE void __fastcall OPCDLLManagerDestroyed(void);
extern PACKAGE bool __fastcall OPCDLLIsEvaluation(void);
extern PACKAGE bool __fastcall OPCDLLNotLoaded(void);
} /* namespace Qiopcdllloader */
using namespace Qiopcdllloader;
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // QiOPCDLLLoader
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -