Click or drag to resize

ProtocolAddressEditorAttribute Class

An attribute on a Protocol that defines an editor for creating addresses for that protocol.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    Demo3D.NetProtocolAddressEditorAttribute

Namespace: Demo3D.Net
Assembly: Demo3D.IO (in Demo3D.IO.dll) Version: 19.01.00
Syntax
C#
public sealed class ProtocolAddressEditorAttribute : Attribute

The ProtocolAddressEditorAttribute type exposes the following members.

Constructors
 NameDescription
Public methodProtocolAddressEditorAttributeInitializes a new instance of the ProtocolAddressEditorAttribute class
Top
Properties
 NameDescription
Public propertyDisplayName The protocol name to use (or null to use Protocol.Name).
Public propertyEditor A protocol address editor. (Eg one that derives from ProtocolAddressPropertyBagEditor).
Public propertyHardware The name of the Hardware or Bus Gateway that this protocol works with (or null). Only valid if ShowInAddServer is true.
Public propertyScheme The default protocol address scheme to select for this protocol (or null to use Protocol.Name).
Public propertyServer The name of the PLC / Server that this protocol works with. Return "*" for it to be marked as a protocol for accessing any kind of server (eg OPC). Return null for it to be marked as working with no particular PLC / server. Only valid if ShowInAddServer is true.
Public propertyShowInAddServer Show this protocol in the AddServer wizard.
Public propertyTagServerName The default name given by the AddServer wizard to a TagServer created with this protocol (or null to use a default TagServer name). Only valid if ShowInAddServer is true.
Top
Methods
 NameDescription
Public methodStatic memberGet(Type) Returns the protocol address editor attribute for a protocol, or null.
Public methodStatic memberGet(Type, String) Returns the protocol address editor attribute for a protocol, or null.
Top
See Also