Свойство | Тип | Описание | |
---|---|---|---|
GenHashCode | void | ||
GetStatusWithMessageLevelPrefix | string | ||
IncrementProcessedMeasurements | void | ||
OnProcessException | void | ||
OnStatusMessage | void | ||
SetInitializedState | void | ||
SetTemporalConstraint | void | ||
Start | void | ||
Stop | void |
Метод | Описание | |
---|---|---|
Dispose ( ) : void |
Releases all the resources used by the AdapterBase object.
|
|
GetHashCode ( ) : int |
Serves as a hash function for the current AdapterBase.
|
|
GetShortStatus ( int maxLength ) : string |
Gets a short one-line status of this AdapterBase.
|
|
Initialize ( ) : void |
Initializes AdapterBase.
|
|
LoadInputSourceIDs ( IAdapter adapter, string measurementTable = "ActiveMeasurements" ) : void |
Loads an IOutputAdapter or IActionAdapter instance's input measurement keys from a specific set of source ID's. Any existing input measurement keys will be distinctly merged with those associated with specified source ID's. |
|
LoadOutputSourceIDs ( IAdapter adapter, string measurementTable = "ActiveMeasurements" ) : void |
Loads an IInputAdapter or IActionAdapter instance's output measurements from a specific set of source ID's. Any existing output measurements will be distinctly merged with those associated with specified source ID's. |
|
ParseFilterExpression ( string filterExpression, string &tableName, string &whereExpression, string &sortField, int &takeCount ) : bool |
Parses a standard FILTER styles expression into its constituent parts. This method can be safely called from multiple threads. |
|
ParseInputMeasurementKeys ( |
Parses input measurement keys from connection string setting. Security warning: allowing SELECT statements, i.e., setting allowSelect to |
|
ParseOutputMeasurementKeys ( |
Parses output measurement keys from connection string setting. Security warning: allowing SELECT statements, i.e., setting allowSelect to |
|
ParseOutputMeasurements ( |
Parses output measurements from connection string setting. Security warning: allowing SELECT statements, i.e., setting allowSelect to |
|
ParseTimeTag ( string timetag ) : System.DateTime |
Parses a string formatted as an absolute or relative time tag. Relative times are parsed based on an offset to current time (UTC) specified by "*". The timetag parameter can be specified in one of the following formats: |
Метод | Описание | |
---|---|---|
AdapterBase ( ) : System |
Constructs a new instance of the AdapterBase.
|
|
Dispose ( bool disposing ) : void |
Releases the unmanaged resources used by the AdapterBase object and optionally releases the managed resources.
|
|
OnConfigurationChanged ( ) : void |
Raises ConfigurationChanged event.
|
|
OnInputMeasurementKeysUpdated ( ) : void |
Raises InputMeasurementKeysUpdated event.
|
|
OnOutputMeasurementsUpdated ( ) : void |
Raises OutputMeasurementsUpdated event.
|
|
OnProcessException ( MessageLevel level, |
Raises the ProcessException event. |
|
OnStatusMessage ( MessageLevel level, string status, string eventName = null, MessageFlags flags = MessageFlags.None ) : void |
Raises the StatusMessage event and sends this data to the Logger. |
Метод | Описание | |
---|---|---|
GenHashCode ( ) : void | ||
GetStatusWithMessageLevelPrefix ( string status, MessageLevel level ) : string | ||
IncrementProcessedMeasurements ( long totalAdded ) : void | ||
OnProcessException ( |
||
OnStatusMessage ( string status ) : void | ||
SetInitializedState ( bool initialized ) : void | ||
SetTemporalConstraint ( string startTime, string stopTime, string constraintParameters ) : void | ||
Start ( ) : void | ||
Stop ( ) : void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
Результат | void |
public abstract GetShortStatus ( int maxLength ) : string | ||
maxLength | int | Maximum number of available characters for display. |
Результат | string |
public static LoadInputSourceIDs ( IAdapter adapter, string measurementTable = "ActiveMeasurements" ) : void | ||
adapter | IAdapter | |
measurementTable | string | Measurement table name used to load input source ID's. |
Результат | void |
public static LoadOutputSourceIDs ( IAdapter adapter, string measurementTable = "ActiveMeasurements" ) : void | ||
adapter | IAdapter | |
measurementTable | string | Measurement table name used to load output source ID's. |
Результат | void |
protected OnConfigurationChanged ( ) : void | ||
Результат | void |
protected OnInputMeasurementKeysUpdated ( ) : void | ||
Результат | void |
protected OnOutputMeasurementsUpdated ( ) : void | ||
Результат | void |
protected OnProcessException ( MessageLevel level, |
||
level | MessageLevel | The |
exception | Processing |
|
eventName | string | A fixed string to classify this event; defaults to |
flags | MessageFlags | |
Результат | void |
protected OnStatusMessage ( MessageLevel level, string status, string eventName = null, MessageFlags flags = MessageFlags.None ) : void | ||
level | MessageLevel | The |
status | string | New status message. |
eventName | string | A fixed string to classify this event; defaults to |
flags | MessageFlags | |
Результат | void |
public static ParseFilterExpression ( string filterExpression, string &tableName, string &whereExpression, string &sortField, int &takeCount ) : bool | ||
filterExpression | string | Filter expression to parse. |
tableName | string | Name of table in filter expression. |
whereExpression | string | Where expression in filter expression. |
sortField | string | Sort field, if any, in filter expression. |
takeCount | int | Total row restriction, if any, in filter expression. |
Результат | bool |
public static ParseInputMeasurementKeys ( |
||
dataSource | The |
|
allowSelect | bool | Determines if database access via "SELECT" statement should be allowed for defining input measurement keys (see remarks about security). |
value | string | Value of setting used to define input measurement keys, typically "inputMeasurementKeys". |
measurementTable | string | Measurement table name used to load additional meta-data; this is not used when specifying a FILTER expression. |
Результат | MeasurementKey[] |
public static ParseOutputMeasurementKeys ( |
||
dataSource | The |
|
allowSelect | bool | Determines if database access via "SELECT" statement should be allowed for defining output measurement keys (see remarks about security). |
value | string | Value of setting used to define output measurements, typically "outputMeasurements". |
measurementTable | string | Measurement table name used to load additional meta-data; this is not used when specifying a FILTER expression. |
Результат | MeasurementKey[] |
public static ParseOutputMeasurements ( |
||
dataSource | The |
|
allowSelect | bool | Determines if database access via "SELECT" statement should be allowed for defining output measurements (see remarks about security). |
value | string | Value of setting used to define output measurements, typically "outputMeasurements". |
measurementTable | string | Measurement table name used to load additional meta-data; this is not used when specifying a FILTER expression. |
Результат | IMeasurement[] |
public static ParseTimeTag ( string timetag ) : System.DateTime | ||
timetag | string | String formatted as an absolute or relative time tag. |
Результат | System.DateTime |