您好,欢迎光临本网站![请登录][注册会员]  
文件名称: Kassl-dOPC-Delphi-Client Toolkit 4.x
  所属分类: Delphi
  开发工具:
  文件大小: 10mb
  下载次数: 0
  上传时间: 2016-07-02
  提 供 者: wolf****
 详细说明: 安装时选择XE4,安装完成后,重新编译dpk,即可支持更高的Delphi IDE ========================= How can I install dOPC component in Lazarus (Free-Pascal) IDE To install dOPC Client Tooolkit in Lazarus IDE you need the source code of the toolkit. Which means it is only possible for registe red users. Under Lazarus the dOPC Client Toolkit needs the open source XML component NativeXML from http://www.simdesign.nl. Please download this component and copy following files NativeXML.pas, simdesign.inc and all files from folder "general" in dOPC xml special source folder (by default: c:\program files\source\kassl\dopc\source\xml\special): Installation procedure for Lazarus (32 or 64 bit Windows, version 2.6.2 or higher): Open Lazarus IDE Select Package -> Open Package File... Open dOPCFPC.lpk from source/packages folder (by default: c:\program files\kassl\dopc\source\packages) Click button "Options" and open menu "Compiler options" -> "Paths" and change dOPC paths to your dOPC source folders Leave dialog with button OK Now compile package and install package (Use>>Install) After an automatic restart you will find a new tab called dOPC at the end of component bar ======================================== dOPC Client Toolkit Help file What's new in Version 4.xDescribes what is new in this version Description New main features: dOPC is now compatible with Delphi/C++ X3 and XE4 Now you can create 64 bit OPC client applications. dOPC is now more platform independent dOPC now supports FireMonkey and FCL Framework dOPC is now compatible with Free Pascal (www.freepascal.org) Other changes (see below) General changes: we stop the support of Delphi/C++ Builder 5 :-(. Sorry, but Delphi 5 is now more than 10 year old. we have altered internally many things, but this should be no influence to your development. Only, that changes are always error-prone :-( we changed the internally message flow from Windows Postmessages to threads. So, may be, your program could act differently, especially if you use threads. The most of the OPC DA stuff is now in unit dOPCDA and not anymore in unit dOPC. So, if you want to upgrade older programs you have to add dOPCDA in your uses clauses. dOPC is now more platform independent. Which means, it should be possible to create OPC XML DA application for e.g. : Windows, Linux, MAC OS, Android, ... (currently not tested) you can now compile your dOPC programs with Free Pascal (http://www.freepascal.org) (http://www.lazarus.freepascal.org). But this is only possible for registered users, because you need source code to do this. fixed several internal small bugs. Other changes: Class dOPCServer, OPCEventServer and TdOPCHDAServer We delete function SelectServer from class TdOPCDAServer, TdOPCAEServer and TdOPCHDAServer. The reason is that behind this methods are VCL bases dialogs. Use following functions of unit dOPCDlgServerSelect instead: function dOPCSelectDAServerDlg(Server: TdOPCSvr): boolean; function dOPCSelectAEServerDlg(Server: TdOPCSvr): boolean; function dOPCSelectHDAServerDlg(Server: TdOPCSvr): boolean; Class TdOPCServer we added global variable dOPCUnknownItem. dOPCUnknownItem is a TdOPCItem class object and will be returned in property ItemIds of class dOPCItemList and dOPCItems if the ItemId does not exists. So, you will never get a nil pointer and following method is possible: procedure TForm1.dOPCServer1Datachange(Sender: TObject; ItemList: TdOPCItemList); begin Memo1.Lines.Add(ItemList.ItemIds['NotExistingItem'].ValueStr); end; Class TdOPCServer We added property "ItemIds" to class dOPCItemList and dOPCItems. With property ItemIds you can get your dOPCItems objects now direct with the OPC ItemId. e.g.: procedure TForm1.dOPCServer1Datachange(Sender: TObject; ItemList: TdOPCItemList); var OPCItem : TdOPCItem; begin OPCItem := ItemList.ItemIds['Random.Int']; if OPCItem <> dOPCUnknownItem then Memo1.Lines.Add(OPCItem.ValueStr); end; Class TdOPGUI It is now possible to use TGUI component also with FireMonkey. Now with dOPCGUI it is possible to bind OPC Items direct to properties e.g. of a Form object. TdOPCClientForm = class(TForm) procedure Button1Click(Sender: TObject); ... protected property Random_String : TdOPCItem read fRandom_String write fRandom_String; end; procedure TdOPCClientForm.Button1Click(Sender: TObject); begin ShowMessage(Random_String.ItemId + ' has value: '+ Random_String.ValueStr): end; Class dOPCEventServer Fixed a bug in defining Event sorting. Now you can also define "no" sorting Copyright © 2001-2013 Kassl GmbH (http://www.kassl.de). All rights reserved. ...展开收缩
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 相关搜索: Kassl dOPC 4.x Delphi
 输入关键字,在本站1000多万海量源码库中尽情搜索: