Click or drag to resize

ConnectionParameters Class

Represents the extra connection parameters required for a connection to a F-NET device.
Inheritance Hierarchy
SystemObject
  GSF.PhasorProtocolsConnectionParametersBase
    GSF.PhasorProtocols.FNETConnectionParameters

Namespace: GSF.PhasorProtocols.FNET
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 propertyFrameRate Gets or sets the configured frame rate for the F-NET device.
Public propertyNominalFrequency Gets or sets the nominal LineFrequency of this F-NET device.
Public propertyStationName Gets or sets the station name for the F-NET device.
Public propertyTimeOffset Gets or sets time offset of the F-NET device in Ticks.
Public propertyValuesAreValid Determines if custom connection parameters are valid.
(Inherited from ConnectionParametersBase)
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