AdapterProtocolAttribute Constructor
Namespace: Gemstone.Timeseries.AdaptersAssembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.177 -- Release Build+cfd4bfee106125722a429f9bad31e515a3784074
Public Sub New (
acronym As String,
name As String,
type As ProtocolType,
visibility As UIVisibility,
Optional supportsConnectionTest As Boolean = true,
Optional loadOrder As Integer = 0,
Optional applications As Application() = Nothing,
Optional lockedDeviceFields As String() = Nothing,
Optional lockedMeasurementFields As String() = Nothing,
Optional lockedPhasorFields As String() = Nothing
)
Gemstone.Timeseries.Adapters.AdapterProtocolAttribute = function(acronym, name, type, visibility, supportsConnectionTest, loadOrder, applications, lockedDeviceFields, lockedMeasurementFields, lockedPhasorFields);
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.
| ArgumentException | Thrown when acronym or name is null, empty, or consists only of white-space characters. |