C# Class PhasorProtocolAdapters.CommonPhasorServices

Inheritance: GSF.TimeSeries.Adapters.FacileActionAdapterBase
ファイルを表示 Open project: GridProtectionAlliance/gsf

Public Methods

Method Description
GetShortStatus ( int maxLength ) : string

Gets a short one-line status of this CommonPhasorServices.

SendCommand ( DeviceCommand command ) : void

Sends the specified DeviceCommand to the current device connection.

Private Methods

Method Description
CancelConfigurationFrameRequest ( ) : void
CommonPhasorServices ( ) : System
CreateDefaultNode ( AdoDataConnection database, string nodeIDQueryString, Action statusMessage, Action processException ) : void

Creates the default node for the Node table.

CreatePointTag ( string companyAcronym, string deviceAcronym, string vendorAcronym, string signalTypeAcronym, int signalIndex = -1, char phase = '_' ) : string
Dispose ( bool disposing ) : void
EstablishDefaultMeasurementKeyCache ( AdoDataConnection database, Action statusMessage, Action processException ) : void
GetInputStreamStatistic_ActualDataRate ( object source, string arguments ) : double

Calculates latest actual mean Mbps data rate for data received from input stream during last reporting interval.

GetInputStreamStatistic_ActualFrameRate ( object source, string arguments ) : double

Calculates latest actual mean frame rate for data received from input stream during last reporting interval.

GetInputStreamStatistic_AverageLatency ( object source, string arguments ) : double

Calculates average latency, in milliseconds, for data received from input stream during last reporting interval.

GetInputStreamStatistic_AverageMeasurementsPerSecond ( object source, string arguments ) : double
GetInputStreamStatistic_CRCErrors ( object source, string arguments ) : double

Calculates number of CRC errors reported from input stream during last reporting interval.

GetInputStreamStatistic_ConfigurationChanges ( object source, string arguments ) : double

Calculates number of configuration changes reported by input stream during last reporting interval.

GetInputStreamStatistic_Connected ( object source, string arguments ) : double

Calculates boolean value representing if input stream was continually connected during last reporting interval.

GetInputStreamStatistic_DefinedFrameRate ( object source, string arguments ) : double

Calculates frame rate as defined by input stream during last reporting interval.

GetInputStreamStatistic_LastReportTime ( object source, string arguments ) : double

Calculates timestamp of last received data frame from input stream.

GetInputStreamStatistic_LifetimeAverageLatency ( object source, string arguments ) : double
GetInputStreamStatistic_LifetimeBytesReceived ( object source, string arguments ) : double
GetInputStreamStatistic_LifetimeMaximumLatency ( object source, string arguments ) : double
GetInputStreamStatistic_LifetimeMeasurements ( object source, string arguments ) : double
GetInputStreamStatistic_LifetimeMinimumLatency ( object source, string arguments ) : double
GetInputStreamStatistic_MaximumLatency ( object source, string arguments ) : double

Calculates maximum latency from input stream, in milliseconds, during last reporting interval.

GetInputStreamStatistic_MaximumMeasurementsPerSecond ( object source, string arguments ) : double
GetInputStreamStatistic_MinimumLatency ( object source, string arguments ) : double

Calculates minimum latency from input stream, in milliseconds, during last reporting interval.

This statistic also calculates the maximum and average latency statistics so its load order must occur first.

GetInputStreamStatistic_MinimumMeasurementsPerSecond ( object source, string arguments ) : double
GetInputStreamStatistic_MissingData ( object source, string arguments ) : double

Calculates number of data units that were not received at least once from input stream during last reporting interval.

GetInputStreamStatistic_MissingFrames ( object source, string arguments ) : double

Calculates number of frames that were not received from input stream during last reporting interval.

GetInputStreamStatistic_OutOfOrderFrames ( object source, string arguments ) : double

Calculates number of out-of-order frames received from input stream during last reporting interval.

GetInputStreamStatistic_ReceivedConfiguration ( object source, string arguments ) : double

Calculates boolean value representing if input stream has received (or has cached) a configuration frame during last reporting interval.

This statistic also calculates the total configuration changes so its load order must occur first.

GetInputStreamStatistic_TotalBytesReceived ( object source, string arguments ) : double
GetInputStreamStatistic_TotalConfigurationFrames ( object source, string arguments ) : double

Calculates number of configuration frames received from input stream during last reporting interval.

GetInputStreamStatistic_TotalDataFrames ( object source, string arguments ) : double

Calculates number of data frames received from input stream during last reporting interval.

GetInputStreamStatistic_TotalFrames ( object source, string arguments ) : double

Calculates total number of frames received from input stream during last reporting interval.

This statistic also calculates the other frame count statistics so its load order must occur first.

GetInputStreamStatistic_TotalHeaderFrames ( object source, string arguments ) : double

Calculates number of header frames received from input stream during last reporting interval.

GetOutputStreamStatistic_AverageLatency ( object source, string arguments ) : double

Calculates average latency, in milliseconds, for data received from output stream during last reporting interval.

GetOutputStreamStatistic_AverageMeasurementsPerSecond ( object source, string arguments ) : double
GetOutputStreamStatistic_Connected ( object source, string arguments ) : double

Calculates boolean value representing if the output stream was continually connected during last reporting interval.

GetOutputStreamStatistic_ConnectedClientCount ( object source, string arguments ) : double

Calculates number of clients connected to the command channel of the output stream during last reporting interval.

GetOutputStreamStatistic_DiscardedMeasurements ( object source, string arguments ) : double

Calculates number of discarded measurements reported by output stream during last reporting interval.

GetOutputStreamStatistic_DownsampledMeasurements ( object source, string arguments ) : double

Calculates number of down-sampled measurements reported by the output stream during last reporting interval.

GetOutputStreamStatistic_ExpectedMeasurements ( object source, string arguments ) : double

Calculates number of expected measurements reported by the output stream during last reporting interval.

This statistic also calculates the total published frame count statistic so its load order must occur first.

GetOutputStreamStatistic_FramesAheadOfSchedule ( object source, string arguments ) : double

Calculates number of frames ahead of schedule reported by the output stream during last reporting interval.

GetOutputStreamStatistic_LifetimeAverageLatency ( object source, string arguments ) : double
GetOutputStreamStatistic_LifetimeBytesSent ( object source, string arguments ) : double
GetOutputStreamStatistic_LifetimeDiscardedMeasurements ( object source, string arguments ) : double
GetOutputStreamStatistic_LifetimeDownsampledMeasurements ( object source, string arguments ) : double
GetOutputStreamStatistic_LifetimeMaximumLatency ( object source, string arguments ) : double
GetOutputStreamStatistic_LifetimeMeasurements ( object source, string arguments ) : double
GetOutputStreamStatistic_LifetimeMinimumLatency ( object source, string arguments ) : double
GetOutputStreamStatistic_MaximumLatency ( object source, string arguments ) : double

Calculates maximum latency from output stream, in milliseconds, during last reporting interval.

GetOutputStreamStatistic_MaximumMeasurementsPerSecond ( object source, string arguments ) : double
GetOutputStreamStatistic_MeasurementsSortedByArrival ( object source, string arguments ) : double

Calculates number of measurements sorted by arrival reported by the output stream during last reporting interval.

GetOutputStreamStatistic_MinimumLatency ( object source, string arguments ) : double

Calculates minimum latency from output stream, in milliseconds, during last reporting interval.

This statistic also calculates the maximum and average latency statistics so its load order must occur first.

GetOutputStreamStatistic_MinimumMeasurementsPerSecond ( object source, string arguments ) : double
GetOutputStreamStatistic_MissedSortsByTimeout ( object source, string arguments ) : double

Calculates number of missed sorts by timeout reported by the output stream during last reporting interval.

GetOutputStreamStatistic_ProcessedMeasurements ( object source, string arguments ) : double

Calculates number of processed measurements reported by the output stream during last reporting interval.

GetOutputStreamStatistic_PublishedFrames ( object source, string arguments ) : double

Calculates number of published frames reported by the output stream during last reporting interval.

GetOutputStreamStatistic_PublishedMeasurements ( object source, string arguments ) : double

Calculates number of published measurements reported by output stream during last reporting interval.

GetOutputStreamStatistic_ReceivedMeasurements ( object source, string arguments ) : double

Calculates number of received measurements reported by the output stream during last reporting interval.

GetOutputStreamStatistic_TotalBytesSent ( object source, string arguments ) : double
InitializePointTagExpressionParser ( ) : GSF.Parsing.TemplatedExpressionParser
InitializeSignalTypes ( ) : DataRow>.Dictionary
LoadDefaultConfigurationEntity ( AdoDataConnection database, Action statusMessage, Action processException ) : void

Loads the default configuration for the ConfigurationEntity table.

LoadDefaultInterconnection ( AdoDataConnection database, Action statusMessage, Action processException ) : void

Loads the default configuration for the Interconnection table.

LoadDefaultProtocol ( AdoDataConnection database, Action statusMessage, Action processException ) : void

Loads the default configuration for the Protocol table.

LoadDefaultSignalType ( AdoDataConnection database, Action statusMessage, Action processException ) : void

Loads the default configuration for the SignalType table.

LoadDefaultStatistic ( AdoDataConnection database, Action statusMessage, Action processException ) : void

Loads the default configuration for the Statistic table.

LoadStatistic ( AdoDataConnection database, string commandText, string displayFormat ) : void
MeasurementDeviceAssociation ( AdoDataConnection connection, string nodeIDQueryString, ulong trackingVersion, string arguments, Action statusMessage, Action processException ) : void
PhasorDataSourceValidation ( AdoDataConnection database, string nodeIDQueryString, ulong trackingVersion, string arguments, Action statusMessage, Action processException ) : void
RequestDeviceConfiguration ( string connectionString ) : IConfigurationFrame
m_frameParser_ConnectionAttempt ( object sender, EventArgs e ) : void
m_frameParser_ConnectionEstablished ( object sender, EventArgs e ) : void
m_frameParser_ConnectionException ( object sender, int>.EventArgs e ) : void
m_frameParser_ConnectionTerminated ( object sender, EventArgs e ) : void
m_frameParser_ExceededParsingExceptionThreshold ( object sender, EventArgs e ) : void
m_frameParser_ParsingException ( object sender, EventArgs e ) : void
m_frameParser_ReceivedConfigurationFrame ( object sender, EventArgs e ) : void

Method Details

GetShortStatus() public method

Gets a short one-line status of this CommonPhasorServices.
public GetShortStatus ( int maxLength ) : string
maxLength int Maximum number of available characters for display.
return string

SendCommand() public method

Sends the specified DeviceCommand to the current device connection.
public SendCommand ( DeviceCommand command ) : void
command DeviceCommand to send to connected device.
return void