dOPC Client Toolkit
Close
dOPCAE.TdOPCEventCustomProps
dOPCAE_TdOPCEventCustomProps

TdOPCEventCustomProps contains and manages a collection of custom properties.

TdOPCEventCustomProps = class;
class TdOPCEventCustomProps;

In addition to the standard attributes, vendors of OPC AE servers may choose to 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 © 2024. All rights reserved.