dataaccess20demo.dpr
来自「delphi 开发OPc工业通讯 delphi 开发OPc工业通讯」· DPR 代码 · 共 34 行
DPR
34 行
//******************************************************************************
// sOPC created by ACHAT SOLUTIONS GmbH, http://www.achat-solutions.de/
//******************************************************************************
program DataAccess20Demo;
uses
Forms,
Main in 'Main.pas' {OPCForm},
uOPCDemo in 'uOPCDemo.pas',
uOPC;
{$R *.TLB}
{$R *.RES}
const
ServerName = 'sOPC.DemoDataAccessServer20';
ServerDescription = 'sOPC Demo OPC Data Access 2.0 Server';
begin
// init OPC
OPC.Init(ServerName, ServerDescription);
OPC.OnRead := OnRead;
OPC.OnWrite := OnWrite;
OPC.OnInitAddressSpace := OnInitAddressSpace;
// init Application
Application.Initialize;
Application.Title := 'Demo Data Access Server v2.0';
Application.CreateForm(TOPCForm, OPCForm);
OPC.Start;
Application.Run;
end.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?