dOPC Client Toolkit
Close
dOPCAE.TdOPCEventCondition.CustomProps

CustomProps contains a collection of vendor specific attributes.

property CustomProps: TdOPCEventCustomProps;
__property TdOPCEventCustomProps CustomProps;

In addition to the standard attributes, vendors of OPC servers may provide additional attributes with event notifications.

procedure TForm1.dOPCEventServer1Event(Sender: TObject; Event: TdOPCEvent); var i: Integer; begin for i := 0 to Event.CustomProps.Count-1 do //for all custom properties show custom property name and value Memo1.Lines.Add(Event.CustomProps.Names[i]+ '->'+ Event.CustomProps.ValueAsString[i]); end;
Kassl GmbH Copyright © 2019. All rights reserved.