Input
|
public class InputAdapterCollection : AdapterCollectionBase<IInputAdapter>, IInputAdapter, IAdapter, ISupportLifecycle, IDisposable, IProvideStatus
The InputAdapterCollection type exposes the following members.
Name | Description | |
---|---|---|
InputAdapterCollection | Creates a new InputAdapterCollection. |
Name | Description | |
---|---|---|
AutoInitialize |
Gets flag that determines if IAdapter implementations are automatically initialized
when they are added to the collection.
(Inherited from AdapterCollectionBaseT) | |
AutoStart |
Gets or sets flag indicating if adapter collection should automatically start items when AutoInitialize is false.
(Inherited from AdapterCollectionBaseT) | |
ConnectionString |
Gets or sets key/value pair connection information specific to this AdapterCollectionBaseT.
(Inherited from AdapterCollectionBaseT) | |
ConvertReadonlyCollectionsToWritable | Gets or sets flag that determines if readonly collections should be converted to writable so published measurement sets can be augmented by filter adapters. | |
Count |
Gets the number of elements contained in the ICollectionT.
(Inherited from ListCollectionT) | |
DataMember |
Gets or sets specific data member (e.g., table name) in DataSource used to Initialize this AdapterCollectionBaseT.
(Inherited from AdapterCollectionBaseT) | |
DataSource |
Gets or sets DataSet based data source used to load each IAdapter.
Updates to this property will cascade to all items in this AdapterCollectionBaseT.
(Inherited from AdapterCollectionBaseT) | |
Enabled |
Gets or sets enabled state of this AdapterCollectionBaseT.
(Inherited from AdapterCollectionBaseT) | |
ID |
Gets or sets numeric ID associated with this AdapterCollectionBaseT.
(Inherited from AdapterCollectionBaseT) | |
InitializationTimeout |
Gets or sets the default adapter time that represents the maximum time system will wait during Start for initialization.
(Inherited from AdapterCollectionBaseT) | |
Initialized |
Gets or sets flag indicating if the adapter collection has been initialized successfully.
(Inherited from AdapterCollectionBaseT) | |
InputMeasurementKeys |
Gets or sets primary keys of input measurements the AdapterCollectionBaseT expects, if any.
(Inherited from AdapterCollectionBaseT) | |
InputSourceIDs |
Gets or sets Source values used to filter input measurement keys.
(Inherited from AdapterCollectionBaseT) | |
IsDisposed |
Gets a flag that indicates whether the object has been disposed.
(Inherited from AdapterCollectionBaseT) | |
IsReadOnly |
Gets a value indicating whether the AdapterCollectionBaseT is read-only.
(Inherited from AdapterCollectionBaseT) | |
Item |
Gets or sets the element at the specified index.
(Inherited from ListCollectionT) | |
Items |
Gets a IListT wrapper around the CollectionT.
(Inherited from ListCollectionT) | |
Log |
Log messages generated by an adapter.
(Inherited from AdapterCollectionBaseT) | |
MonitorTimerEnabled |
Gets or sets flag that determines if monitor timer should be used for monitoring processed measurement statistics for the AdapterCollectionBaseT.
(Inherited from AdapterCollectionBaseT) | |
Name |
Gets or sets the name of this AdapterCollectionBaseT.
(Inherited from AdapterCollectionBaseT) | |
OutputMeasurements |
Gets or sets output measurements that the AdapterCollectionBaseT will produce, if any.
(Inherited from AdapterCollectionBaseT) | |
OutputSourceIDs |
Gets or sets Source values used to filter output measurements.
(Inherited from AdapterCollectionBaseT) | |
ProcessedMeasurements |
Gets the total number of measurements processed thus far by each IAdapter implementation
in the AdapterCollectionBaseT.
(Inherited from AdapterCollectionBaseT) | |
ProcessingInterval |
Gets or sets the desired processing interval, in milliseconds, for the adapter collection and applies this interval to each adapter.
(Inherited from AdapterCollectionBaseT) | |
RequestedInputMeasurementKeys |
Gets or sets input measurement keys that are requested by other adapters based on what adapter says it can provide.
(Inherited from AdapterCollectionBaseT) | |
RequestedOutputMeasurementKeys |
Gets or sets output measurement keys that are requested by other adapters based on what adapter says it can provide.
(Inherited from AdapterCollectionBaseT) | |
RunTime |
Gets the total amount of time, in seconds, that the adapter has been active.
(Inherited from AdapterCollectionBaseT) | |
Settings |
Gets settings DictionaryTKey, TValue parsed when ConnectionString was assigned.
(Inherited from AdapterCollectionBaseT) | |
StartTime |
Gets the UTC time this AdapterCollectionBaseT was started.
(Inherited from AdapterCollectionBaseT) | |
StartTimeConstraint |
Gets the start time temporal processing constraint defined by call to SetTemporalConstraint(String, String, String).
(Inherited from AdapterCollectionBaseT) | |
Status |
Gets the descriptive status of this ActionAdapterCollection.
(Overrides AdapterCollectionBaseTStatus) | |
StopTime |
Gets the UTC time this AdapterCollectionBaseT was stopped.
(Inherited from AdapterCollectionBaseT) | |
StopTimeConstraint |
Gets the stop time temporal processing constraint defined by call to SetTemporalConstraint(String, String, String).
(Inherited from AdapterCollectionBaseT) | |
SupportsTemporalProcessing |
Gets the flag indicating if this adapter collection supports temporal processing.
(Inherited from AdapterCollectionBaseT) |
Name | Description | |
---|---|---|
Add |
Adds an item to the ICollectionT.
(Inherited from ListCollectionT) | |
Clear |
Removes all items from the ICollectionT.
(Inherited from ListCollectionT) | |
ClearItems |
Removes all elements from the CollectionT.
(Inherited from AdapterCollectionBaseT) | |
Contains |
Determines whether the ICollectionT contains a specific value.
(Inherited from ListCollectionT) | |
CopyTo |
Copies the elements of the ICollectionT to an Array, starting at a particular Array index.
(Inherited from ListCollectionT) | |
Dispose |
Releases all the resources used by the AdapterCollectionBaseT object.
(Inherited from AdapterCollectionBaseT) | |
Dispose(Boolean) |
Releases the unmanaged resources used by the AdapterCollectionBaseT object and optionally releases the managed resources.
(Inherited from AdapterCollectionBaseT) | |
DisposeItem |
Unwires events and disposes of IInputAdapter implementation.
(Overrides AdapterCollectionBaseTDisposeItem(T)) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize |
Releases the unmanaged resources before the AdapterCollectionBaseT object is reclaimed by GC.
(Inherited from AdapterCollectionBaseT) | |
GetEnumerator |
Returns an enumerator that iterates through the CollectionT.
(Inherited from ListCollectionT) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetShortStatus |
Gets a short one-line status of this AdapterCollectionBaseT.
(Inherited from AdapterCollectionBaseT) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
IndexOf |
Determines the index of a specific item in the IListT.
(Inherited from ListCollectionT) | |
Initialize |
Loads all IAdapter implementations defined in DataSource.
(Inherited from AdapterCollectionBaseT) | |
InitializeItem |
Wires events and initializes new IInputAdapter implementation.
(Overrides AdapterCollectionBaseTInitializeItem(T)) | |
Insert |
Inserts an item to the IListT at the specified index.
(Inherited from ListCollectionT) | |
InsertItem |
Inserts an element into the CollectionT the specified index.
(Inherited from AdapterCollectionBaseT) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
OnConfigurationChanged |
Raises ConfigurationChanged event.
(Inherited from AdapterCollectionBaseT) | |
OnInputMeasurementKeysUpdated |
Raises InputMeasurementKeysUpdated event.
(Inherited from AdapterCollectionBaseT) | |
OnNewMeasurements(ICollectionIMeasurement) | Raises the NewMeasurements event. | |
OnNewMeasurements(Object, EventArgsICollectionIMeasurement) | Raises the NewMeasurements event. | |
OnOutputMeasurementsUpdated |
Raises OutputMeasurementsUpdated event.
(Inherited from AdapterCollectionBaseT) | |
OnProcessException(Exception) | Obsolete. Raises the ProcessException event. (Inherited from AdapterCollectionBaseT) | |
OnProcessException(MessageLevel, Exception, String, MessageFlags) |
Raises the ProcessException event.
(Inherited from AdapterCollectionBaseT) | |
OnProcessingComplete | Raises the ProcessingComplete event. | |
OnStatusMessage(String) | Obsolete. Raises the StatusMessage event. (Inherited from AdapterCollectionBaseT) | |
OnStatusMessage(String, Object) | Obsolete. Raises the StatusMessage event with a formatted status message. (Inherited from AdapterCollectionBaseT) | |
OnStatusMessage(MessageLevel, String, String, MessageFlags) |
Raises the StatusMessage event and sends this data to the Logger.
(Inherited from AdapterCollectionBaseT) | |
Remove |
Removes the first occurrence of a specific object from the ICollectionT.
(Inherited from ListCollectionT) | |
RemoveAt |
Removes the element at the specified index of the CollectionT.
(Inherited from ListCollectionT) | |
RemoveItem |
Removes the element at the specified index of the CollectionT.
(Inherited from AdapterCollectionBaseT) | |
ResetStatistics |
Resets the statistics of this collection.
(Inherited from AdapterCollectionBaseT) | |
SetItem |
Assigns a new element to the CollectionT at the specified index.
(Inherited from AdapterCollectionBaseT) | |
SetTemporalConstraint |
Defines a temporal processing constraint for the adapter collection and applies this constraint to each adapter.
(Inherited from AdapterCollectionBaseT) | |
Start |
Starts, or restarts, each IAdapter implementation in this AdapterCollectionBaseT.
(Inherited from AdapterCollectionBaseT) | |
Stop |
Stops each IAdapter implementation in this AdapterCollectionBaseT.
(Inherited from AdapterCollectionBaseT) | |
ToString | Returns a string that represents the current object. (Inherited from Object) | |
TryCreateAdapter |
Attempts to create an IAdapter from the specified DataRow.
(Inherited from AdapterCollectionBaseT) | |
TryGetAdapterTValue |
Attempts to get the adapter with the specified value given testItem function.
(Inherited from AdapterCollectionBaseT) | |
TryGetAdapterByID |
Attempts to get the adapter with the specified id.
(Inherited from AdapterCollectionBaseT) | |
TryGetAdapterByName |
Attempts to get the adapter with the specified name.
(Inherited from AdapterCollectionBaseT) | |
TryInitializeAdapterByID |
Attempts to initialize (or reinitialize) an individual IAdapter based on its ID.
(Inherited from AdapterCollectionBaseT) |
Name | Description | |
---|---|---|
ConfigurationChanged |
Event is raised when adapter is aware of a configuration change.
(Inherited from AdapterCollectionBaseT) | |
Disposed |
Event is raised when this AdapterCollectionBaseT is disposed or an IAdapter in the collection is disposed.
(Inherited from AdapterCollectionBaseT) | |
InputMeasurementKeysUpdated |
Event is raised when InputMeasurementKeys are updated.
(Inherited from AdapterCollectionBaseT) | |
NewMeasurements | This event will be raised when there are new measurements available from the input data source. | |
OutputMeasurementsUpdated |
Event is raised when OutputMeasurements are updated.
(Inherited from AdapterCollectionBaseT) | |
ProcessException |
Event is raised when there is an exception encountered while processing.
(Inherited from AdapterCollectionBaseT) | |
ProcessingComplete | Indicates to the host that processing for one of the input adapters has completed. | |
StatusMessage |
Provides status messages to consumer.
(Inherited from AdapterCollectionBaseT) |
Name | Description | |
---|---|---|
GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) | |
GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) | |
GetMeasurementRecord |
Gets measurement record, creating it if needed.
(Defined by MetadataHelpers) | |
GetParentDevice |
Gets ID of parent device, creating or updating record if needed, for the current IAdapter instance.
(Defined by MetadataHelpers) | |
InputMeasurementKeys |
Returns the MeasurementKey values of the IAdapter input measurements.
(Defined by IAdapterExtensions) | |
LookupDevice |
Looks up associated device acronym and ID from provided signalID.
(Defined by MetadataHelpers) | |
LookupMeasurementKey |
Looks up or creates measurement key based on provided signalID.
(Defined by MetadataHelpers) | |
LookupPointTag |
Looks up point tag name from provided signalID.
(Defined by MetadataHelpers) | |
LookupSignalReference |
Looks up signal reference from provided signalID.
(Defined by MetadataHelpers) | |
OnConfigurationChanged |
Notifies host system of configuration changes.
(Defined by MetadataHelpers) | |
OutputMeasurementKeys |
Returns the MeasurementKey values of the IAdapter output measurements.
(Defined by IAdapterExtensions) | |
PointTagExists |
Determines if pointTag exists in local configuration.
(Defined by MetadataHelpers) | |
SignalIDExists |
Determines if signalID exists in local configuration.
(Defined by MetadataHelpers) | |
SignalReferenceExists |
Determines if signalReference exists in local configuration.
(Defined by MetadataHelpers) | |
TemporalConstraintIsDefined |
Returns true if IAdapter has a temporal constraint defined, i.e., either
StartTimeConstraint or StopTimeConstraint is not
set to its default value.
(Defined by IAdapterExtensions) | |
WaitForSignalsToLoad |
Waits for signalIDs to be loaded in system configuration.
(Defined by MetadataHelpers) |