⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dataaccess20demo.dpr

📁 delphi 开发OPc工业通讯 delphi 开发OPc工业通讯
💻 DPR
字号:
//******************************************************************************
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -