AdapterProtocolAttribute Constructor

Initializes a new instance of the AdapterProtocolAttribute class with the specified parameters.

Definition

Namespace: Gemstone.Timeseries.Adapters
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.177 -- Release Build+cfd4bfee106125722a429f9bad31e515a3784074
public AdapterProtocolAttribute(
	string acronym,
	string name,
	ProtocolType type,
	UIVisibility visibility,
	bool supportsConnectionTest = true,
	int loadOrder = 0,
	Application[]? applications = null,
	string[]? lockedDeviceFields = null,
	string[]? lockedMeasurementFields = null,
	string[]? lockedPhasorFields = null
)

Parameters

acronym  String
The unique acronym representing the adapter protocol.
name  String
The display name of the adapter protocol.
type  ProtocolType
The type of the adapter protocol, indicating its purpose (e.g., Frame or Measurement).
visibility  UIVisibility
The visibility of the protocol in the user interface, defined by UIVisibility.
supportsConnectionTest  Boolean  (Optional)
A value indicating whether the adapter protocol supports connection testing. Defaults to true.
loadOrder  Int32  (Optional)
The load order of the adapter protocol, used to determine initialization sequence. Defaults to 0.
applications  Application  (Optional)
An array of Application values specifying the applications that support this protocol in the user interface. Defaults to a predefined set of applications.
lockedDeviceFields  String  (Optional)
An array of field names that are locked for device configuration. Defaults to an empty array if not specified.
lockedMeasurementFields  String  (Optional)
An array of field names that are locked for measurement configuration. Defaults to an empty array if not specified.
lockedPhasorFields  String  (Optional)
An array of field names that are locked for phasor configuration. Defaults to an empty array if not specified.

Exceptions

ArgumentExceptionThrown when acronym or name is null, empty, or consists only of white-space characters.

See Also