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

📄 itemattributesopc.pas

📁 基本功能高效的CAN通讯应用.同样,CAN232 不仅适应基本CAN-bus产品,也满足基于高层协议如ModBUS、DeviceNet...之间可选 3. RS232接口,波特率在1200bps
💻 PAS
字号:
unit ItemAttributesOPC;

interface

uses Windows,Classes,Globals,SysUtils,OPCDA;

type
  TOPCItemAttributes = class
  public
    bActive:longbool;
    dwEUType:integer;
    pBlob:PByteArray;
    vEUInfo:OleVariant;
    szAccessPath,szItemID:string;
    vtRequestedDataType,vtCanonicalDataType:word;
    hClient,hServer,dwAccessRights,dwBlobSize:longword;
    constructor Create;
    destructor destroy;override;
    procedure CopyYourSelf(dObj:TOPCItemAttributes);
  end;


implementation

constructor TOPCItemAttributes.Create;
begin
 pBlob:=nil;                          dwBlobSize:=0;
end;

destructor TOPCItemAttributes.destroy;
begin
end;

procedure TOPCItemAttributes.CopyYourSelf(dObj:TOPCItemAttributes);
begin
 dObj.bActive:=bActive;
 dObj.dwEUType:=dwEUType;
 dObj.pBlob:=pBlob;
 dObj.vEUInfo:=vEUInfo;
 dObj.szAccessPath:=szAccessPath;
 dObj.szItemID:=szItemID;
 dObj.vtRequestedDataType:=vtRequestedDataType;
 dObj.vtCanonicalDataType:=vtCanonicalDataType;
 dObj.hClient:= hClient;
 dObj.hServer:=hServer;
 dObj.dwAccessRights:=dwAccessRights;
 dObj.dwBlobSize:=dwBlobSize;
end;

end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -