Click or drag to resize
Grid Solutions Framework

BulkSequenceCalculator Class

Represents an adapter that manages bulk calculation of positive, negative and zero sequence values based on A, B and C phase data inputs.
Inheritance Hierarchy
System.Object
  System.Collections.ObjectModel.Collection<IActionAdapter>
    GSF.Collections.ListCollection<IActionAdapter>
      GSF.TimeSeries.Adapters.AdapterCollectionBase<IActionAdapter>
        GSF.TimeSeries.Adapters.ActionAdapterCollection
          GSF.TimeSeries.Adapters.IndependentActionAdapterManagerBase<SequenceCalculator>
            PowerCalculations.BulkSequenceCalculator

Namespace: PowerCalculations
Assembly: PowerCalculations (in PowerCalculations.dll) Version: 2.4.245-beta
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public class BulkSequenceCalculator : IndependentActionAdapterManagerBase<SequenceCalculator>
View Source

The BulkSequenceCalculator type exposes the following members.

Constructors
 NameDescription
Public methodBulkSequenceCalculator Creates new BulkSequenceCalculator.
Top
Properties
 NameDescription
Public propertyAdapterIDCounter Gets or sets current adapter ID counter.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Public propertyAlternateTagTemplate Gets or sets template for output measurement alternate tag names.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Protected propertyAutoInitialize Gets flag that determines if IAdapter implementations are automatically initialized when they are added to the collection.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Protected propertyAutoReparseConnectionString Gets or sets flag that determines if the IndependentActionAdapterManagerBase<TAdapter> adapter ConnectionString should be automatically parsed every time the DataSource is updated without requiring adapter to be reinitialized. Defaults to true to allow child adapters to come and go based on updates to system configuration.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Public propertyAutoStart Gets or sets flag indicating if adapter collection should automatically start items when AutoInitialize is false.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public propertyBadDataStrategy Gets or sets the bad data strategy used to when inputs are marked with bad quality.
Public propertyConfigurationReloadWaitAttempts Gets or sets the total number of attempts to wait for system configuration reloads when waiting for configuration updates to be available.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Public propertyConfigurationReloadWaitTimeout Gets or sets the wait timeout, in milliseconds, that system wait for system configuration reload to complete.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Public propertyConnectionString Gets or sets key/value pair connection information specific to this AdapterCollectionBase<T>.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public propertyConvertReadonlyCollectionsToWritable Gets or sets flag that determines if readonly collections should be converted to writable so published measurement sets can be augmented by filter adapters.
(Inherited from ActionAdapterCollection)
Public propertyCount Gets the number of elements contained in the ICollection<T>.
(Inherited from ListCollection<IActionAdapter>)
Public propertyCurrentAdapterIndex Gets adapter index currently being processed.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Public propertyCurrentDeviceID Gets associated device ID for CurrentAdapterIndex, if any, for measurement generation.
(Overrides IndependentActionAdapterManagerBase<TAdapter>.CurrentDeviceID)
Public propertyCurrentOutputIndex Gets adapter output index currently being processed.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Public propertyCustomAdapterSettings Gets any custom adapter settings to be added to each adapter connection string. Can be used to add settings that are custom per adapter.
(Overrides IndependentActionAdapterManagerBase<TAdapter>.CustomAdapterSettings)
Public propertyDatabaseConnectionString Gets or sets the connection string used for database operations. Leave blank to use local configuration database defined in "systemSettings".
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Public propertyDatabaseProviderString Gets or sets the provider string used for database operations. Defaults to a SQL Server provider string.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Public propertyDataMember Gets or sets specific data member (e.g., table name) in DataSource used to Initialize() this AdapterCollectionBase<T>.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public propertyDataSource Gets or sets DataSet based data source used to load each IAdapter. Updates to this property will cascade to all adapters in this IndependentActionAdapterManagerBase<TAdapter>.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Public propertyDescriptionTemplate Gets or sets template for output measurement descriptions.
(Overrides IndependentActionAdapterManagerBase<TAdapter>.DescriptionTemplate)
Public propertyEnabled Gets or sets enabled state of this AdapterCollectionBase<T>.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public propertyForceCalcSignalType Gets or sets flag that determines if all output signal types should be forced to CALC.
Public propertyFramesPerSecond Gets or sets the number of frames per second applied to each adapter.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Public propertyID Gets or sets numeric ID associated with this AdapterCollectionBase<T>.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public propertyIncludeNegativeSequence Gets or sets flag that determines if negative sequence calculations should be included.
Public propertyIncludePositiveSequence Gets or sets flag that determines if positive sequence calculations should be included.
Public propertyIncludeZeroSequence Gets or sets flag that determines if zero sequence calculations should be included.
Public propertyInitializationTimeout Gets or sets the default adapter time that represents the maximum time system will wait during Start() for initialization.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public propertyInitialized Gets or sets flag indicating if the adapter collection has been initialized successfully.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public propertyInputMeasurementIndexUsedForName Gets or sets the index into the per adapter input measurements to use for target adapter name.
(Overrides IndependentActionAdapterManagerBase<TAdapter>.InputMeasurementIndexUsedForName)
Public propertyInputMeasurementKeys Gets or sets primary keys of input measurements for the IndependentActionAdapterManagerBase<TAdapter>.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Public propertyInputMeasurementKeyTypes Gets input measurement SignalType's for each of the InputMeasurementKeys, if any.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Public propertyInputSourceIDs Gets or sets Source values used to filter input measurement keys.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public propertyIsDisposed Gets a flag that indicates whether the object has been disposed.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public propertyIsReadOnly Gets a value indicating whether the AdapterCollectionBase<T> is read-only.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public propertyItem Gets or sets the element at the specified index.
(Inherited from ListCollection<IActionAdapter>)
Protected propertyItems Gets a IList<T> wrapper around the Collection<T>.
(Inherited from ListCollection<IActionAdapter>)
Public propertyLagTime Gets or sets the allowed past time deviation tolerance, in seconds (can be sub-second) applied to each adapter.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Public propertyLeadTime Gets or sets the allowed future time deviation tolerance, in seconds (can be sub-second) applied to each adapter.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Protected propertyLog Log messages generated by an adapter.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Protected propertyMonitorTimerEnabled Gets or sets flag that determines if monitor timer should be used for monitoring processed measurement statistics for the AdapterCollectionBase<T>.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public propertyName Gets or sets the name of this AdapterCollectionBase<T>.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public propertyOutputMeasurements Gets or sets output measurements that the IndependentActionAdapterManagerBase<TAdapter> will produce, if any.
(Overrides IndependentActionAdapterManagerBase<TAdapter>.OutputMeasurements)
Public propertyOutputMeasurementTypes Gets output measurement SignalType's for each of the OutputMeasurements, if any.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Public propertyOutputPhases Gets output phase for each output measurement.
Public propertyOutputSourceIDs Gets or sets Source values used to filter output measurements.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public propertyParentDeviceAcronymTemplate Gets or sets template for the parent device acronym used to group associated output measurements.
(Overrides IndependentActionAdapterManagerBase<TAdapter>.ParentDeviceAcronymTemplate)
Public propertyPerAdapterInputCount Gets number of input measurements required by each adapter.
(Overrides IndependentActionAdapterManagerBase<TAdapter>.PerAdapterInputCount)
Public propertyPerAdapterOutputNames Gets output measurement names.
(Overrides IndependentActionAdapterManagerBase<TAdapter>.PerAdapterOutputNames)
Public propertyPerformTimestampReasonabilityCheck Gets or sets flag that determines if timestamp reasonability checks should be performed on incoming measurements (i.e., measurement timestamps are compared to system clock for reasonability using LeadTime tolerance).
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Public propertyPointTagTemplate Gets or sets template for output measurement point tag names.
(Overrides IndependentActionAdapterManagerBase<TAdapter>.PointTagTemplate)
Public propertyProcessedMeasurements Gets the total number of measurements processed thus far by each IAdapter implementation in the AdapterCollectionBase<T>.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public propertyProcessingInterval Gets or sets the desired processing interval, in milliseconds, for the adapter collection and applies this interval to each adapter.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public propertyRequestedInputMeasurementKeys Gets or sets input measurement keys that are requested by other adapters based on what adapter says it can provide.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public propertyRequestedOutputMeasurementKeys Gets or sets output measurement keys that are requested by other adapters based on what adapter says it can provide.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public propertyRespectInputDemands Gets or sets flag indicating if action adapter should respect auto-start requests based on input demands.
(Inherited from ActionAdapterCollection)
Public propertyRespectOutputDemands Gets or sets flag indicating if action adapter should respect auto-start requests based on output demands.
(Inherited from ActionAdapterCollection)
Public propertyRunTime Gets the total amount of time, in seconds, that the adapter has been active.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public propertySampleSize Gets or sets the sample size of the data to be monitored.
Public propertySettings Gets settings Dictionary<TKey, TValue> parsed when ConnectionString was assigned.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public propertySignalReferenceTemplate Gets or sets template for local signal reference measurement name for source historian point.
(Overrides IndependentActionAdapterManagerBase<TAdapter>.SignalReferenceTemplate)
Public propertySignalType Gets or sets default signal type to use for all output measurements when SignalTypes array is not defined.
(Overrides IndependentActionAdapterManagerBase<TAdapter>.SignalType)
Public propertySignalTypes Gets signal type for each output measurement, used when each output needs to be a different type.
(Overrides IndependentActionAdapterManagerBase<TAdapter>.SignalTypes)
Public propertySourceMeasurementTable Gets or sets the source measurement table to use for configuration.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Public propertyStartTime Gets the UTC time this AdapterCollectionBase<T> was started.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public propertyStartTimeConstraint Gets the start time temporal processing constraint defined by call to SetTemporalConstraint(String, String, String).
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public propertyStatus Returns the detailed status of the IndependentActionAdapterManagerBase<TAdapter>.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Public propertyStopTime Gets the UTC time this AdapterCollectionBase<T> was stopped.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public propertyStopTimeConstraint Gets the stop time temporal processing constraint defined by call to SetTemporalConstraint(String, String, String).
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public propertySupportsTemporalProcessing Gets the flag indicating if this adapter collection supports temporal processing.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public propertyTargetHistorianAcronym Gets or sets the target historian acronym for output measurements.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Public propertyTrackRecentValues Gets or sets flag that determines if the last few values should be monitored for diagnostics.
Public propertyUseLocalClockAsRealTime Gets or sets flag that determines whether or not to use the local clock time as real-time.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Top
Methods
 NameDescription
Public methodAdd Adds an item to the ICollection<T>.
(Inherited from ListCollection<IActionAdapter>)
Public methodClear Removes all items from the ICollection<T>.
(Inherited from ListCollection<IActionAdapter>)
Protected methodClearItems Removes all elements from the Collection<T>.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public methodConfigurationReloaded Notifies derived classes that configuration has been reloaded
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Public methodContains Determines whether the ICollection<T> contains a specific value.
(Inherited from ListCollection<IActionAdapter>)
Public methodCopyTo Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.
(Inherited from ListCollection<IActionAdapter>)
Public methodDispose() Releases all the resources used by the AdapterCollectionBase<T> object.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Protected methodDispose(Boolean) Releases the unmanaged resources used by the IndependentActionAdapterManagerBase<TAdapter> object and optionally releases the managed resources.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Protected methodDisposeItem Unwires events and disposes of IActionAdapter implementation.
(Inherited from ActionAdapterCollection)
Public methodEnumerateAdapters Enumerates child adapters.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Releases the unmanaged resources before the AdapterCollectionBase<T> object is reclaimed by GC.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public methodGetAdapterStatus Gets subscriber information for specified client connection.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Public methodGetConfiguredConnection Gets configured database connection.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Public methodGetEnumerator Returns an enumerator that iterates through the Collection<T>.
(Inherited from ListCollection<IActionAdapter>)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetShortStatus Gets a short one-line status of this IndependentActionAdapterManagerBase<TAdapter>.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIndexOf Determines the index of a specific item in the IList<T>.
(Inherited from ListCollection<IActionAdapter>)
Public methodInitialize Initializes the IndependentActionAdapterManagerBase<TAdapter>.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Protected methodInitializeChildAdapterManagement Initializes management operations for child adapters based on inputs. Derived classes should override ParseConnectionString() and call this method when AutoReparseConnectionString is true (the default).
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Protected methodInitializeItem Wires events and initializes new IActionAdapter implementation.
(Inherited from ActionAdapterCollection)
Public methodInsert Inserts an item to the IList<T> at the specified index.
(Inherited from ListCollection<IActionAdapter>)
Protected methodInsertItem Inserts an element into the Collection<T> the specified index.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnConfigurationChanged Raises ConfigurationChanged event.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Protected methodOnDiscardingMeasurements Raises the DiscardingMeasurements event.
(Inherited from ActionAdapterCollection)
Protected methodOnInputMeasurementKeysUpdated Raises InputMeasurementKeysUpdated event.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Protected methodOnNewMeasurements(ICollection<IMeasurement>) Raises the NewMeasurements event.
(Inherited from ActionAdapterCollection)
Protected methodOnNewMeasurements(Object, EventArgs<ICollection<IMeasurement>>) Raises the NewMeasurements event.
(Inherited from ActionAdapterCollection)
Protected methodOnOutputMeasurementsUpdated Raises OutputMeasurementsUpdated event.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Protected methodOnProcessException(Exception)Obsolete.
Raises the ProcessException event.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Protected methodOnProcessException(MessageLevel, Exception, String, MessageFlags) Raises the ProcessException event.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Protected methodOnRequestTemporalSupport Raises RequestTemporalSupport event.
(Inherited from ActionAdapterCollection)
Protected methodOnStatusMessage(String)Obsolete.
Raises the StatusMessage event.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Protected methodOnStatusMessage(String, Object[])Obsolete.
Raises the StatusMessage event with a formatted status message.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Protected methodOnStatusMessage(MessageLevel, String, String, MessageFlags) Raises the StatusMessage event and sends this data to the Logger.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Protected methodOnUnpublishedSamples Raises the UnpublishedSamples event.
(Inherited from ActionAdapterCollection)
Public methodParseConnectionString Parses connection string.
(Overrides IndependentActionAdapterManagerBase<TAdapter>.ParseConnectionString())
Public methodQueueMeasurementsForProcessing Queues a collection of measurements for processing to each IActionAdapter connected to this IndependentActionAdapterManagerBase<TAdapter>.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Public methodRecalculateRoutingTables Recalculates routing tables.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Public methodRemove Removes the first occurrence of a specific object from the ICollection<T>.
(Inherited from ListCollection<IActionAdapter>)
Public methodRemoveAt Removes the element at the specified index of the Collection<T>.
(Inherited from ListCollection<IActionAdapter>)
Protected methodRemoveItem Removes the element at the specified index of the Collection<T>.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public methodResetStatistics Resets the statistics of this collection.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Protected methodSetItem Assigns a new element to the Collection<T> at the specified index.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public methodSetTemporalConstraint Defines a temporal processing constraint for the adapter collection and applies this constraint to each adapter.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public methodStart Starts, or restarts, each IAdapter implementation in this AdapterCollectionBase<T>.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public methodStop Stops each IAdapter implementation in this AdapterCollectionBase<T>.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryCreateAdapter Attempts to create an IAdapter from the specified DataRow.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Protected methodTryGetAdapter<TValue> Attempts to get the adapter with the specified value given testItem function.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public methodTryGetAdapterByID Attempts to get the adapter with the specified id.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public methodTryGetAdapterByName Attempts to get the adapter with the specified name.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public methodTryInitializeAdapterByID Attempts to initialize (or reinitialize) an individual IAdapter based on its ID.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Protected methodValidateEvenInputCount Validates that an even number of inputs are provided for specified PerAdapterInputCount.
(Inherited from IndependentActionAdapterManagerBase<SequenceCalculator>)
Top
Events
 NameDescription
Public eventConfigurationChanged Event is raised when adapter is aware of a configuration change.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public eventDiscardingMeasurements This event is raised if there are any measurements being discarded during the sorting process.
(Inherited from ActionAdapterCollection)
Public eventDisposed Event is raised when this AdapterCollectionBase<T> is disposed or an IAdapter in the collection is disposed.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public eventInputMeasurementKeysUpdated Event is raised when InputMeasurementKeys are updated.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public eventNewMeasurements This event will be raised when there are new measurements available from the action adapter.
(Inherited from ActionAdapterCollection)
Public eventOutputMeasurementsUpdated Event is raised when OutputMeasurements are updated.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public eventProcessException Event is raised when there is an exception encountered while processing.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public eventRequestTemporalSupport Event is raised when temporal support is requested.
(Inherited from ActionAdapterCollection)
Public eventStatusMessage Provides status messages to consumer.
(Inherited from AdapterCollectionBase<IActionAdapter>)
Public eventUnpublishedSamples This event is raised every five seconds allowing consumer to track current number of unpublished seconds of data in the queue.
(Inherited from ActionAdapterCollection)
Top
Fields
 NameDescription
Public fieldStatic memberDefaultInputMeasurementKeys Defines the default value for the InputMeasurementKeys.
Top
See Also