Click or drag to resize

ConnectionParameters Class

Represents the extra connection parameters required for a connection to a BPA PDCstream.
Inheritance Hierarchy
SystemObject
  GSF.PhasorProtocolsConnectionParametersBase
    GSF.PhasorProtocols.BPAPDCstreamConnectionParameters

Namespace: GSF.PhasorProtocols.BPAPDCstream
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.205-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 required external BPA PDCstream INI based configuration file.
Public propertyParseWordCountFromByte Gets or sets flag that interprets word count in packet header from a byte instead of a word.
Public propertyRefreshConfigurationFileOnChange Gets or sets flag that determines if configuration file is automatically reloaded when it has changed on disk.
Public propertyUsePhasorDataFileFormat Gets or sets flag that determines if source data is in the Phasor Data File Format (i.e., a DST file).
Public propertyValuesAreValid Determines if selected BPA PDCstream configuration file exists.
(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