Click or drag to resize

ConnectionParameters Class

Represents the extra connection parameters required for a connection to a Macrodyne.
Inheritance Hierarchy
SystemObject
  GSF.PhasorProtocolsConnectionParametersBase
    GSF.PhasorProtocols.MacrodyneConnectionParameters

Namespace: GSF.PhasorProtocols.Macrodyne
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.181-beta
Syntax
[SerializableAttribute]
public class ConnectionParameters : ConnectionParametersBase
View Source

The ConnectionParameters type exposes the following members.

Constructors
 NameDescription
Public methodConnectionParameters Creates a new ConnectionParameters.
Protected methodConnectionParameters(SerializationInfo, StreamingContext) Creates a new ConnectionParameters from serialization parameters.
Top
Properties
 NameDescription
Public propertyConfigurationFileName Gets or sets the optional Macrodyne configuration source based on a BPA PDCstream style INI file.
Public propertyDeviceLabel Gets or sets device section label, as defined in associated INI file.
Public propertyProtocolVersion Gets or sets flag that determines the Macrodyne protocol version.
Public propertyRefreshConfigurationFileOnChange Gets or sets flag that determines if configuration file is automatically reloaded when it has changed on disk.
Public propertyValuesAreValid Determines if selected Macrodyne configuration file exists when needed.
(Overrides ConnectionParametersBaseValuesAreValid)
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetObjectData Populates a SerializationInfo with the data needed to serialize the target object.
(Overrides ConnectionParametersBaseGetObjectData(SerializationInfo, StreamingContext))
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
Remarks
This class is designed to be exposed by a "PropertyGrid" so a UI can request protocol specific connection parameters. As a result the CategoryAttribute and DescriptionAttribute elements should be defined for each of the exposed properties.
See Also