Statistics
|
public class StatisticsExporter : RawDataExporter
The StatisticsExporter type exposes the following members.
Name | Description | |
---|---|---|
StatisticsExporter | Initializes a new instance of the StatisticsExporter class. | |
StatisticsExporter(String) | Initializes a new instance of the StatisticsExporter class. |
Name | Description | |
---|---|---|
ExportAddedHandler |
Gets or sets the Delegate to be invoked when a new Export is added to the Exports.
(Inherited from ExporterBase) | |
ExportRemovedHandler |
Gets or sets the Delegate to be invoked when an existing Export is removed from the Exports.
(Inherited from ExporterBase) | |
Exports |
Gets the Exports associated with the exporter.
(Inherited from ExporterBase) | |
ExportUpdatedHandler |
Gets or sets the Delegate to be invoked when an existing Export from the Exports is updated.
(Inherited from ExporterBase) | |
Listeners |
Gets the DataListeners providing real-time time-series data to the exporter.
(Inherited from ExporterBase) | |
Name |
Gets or sets the name of the exporter.
(Inherited from ExporterBase) | |
RealTimeExportQueue |
Gets the internal ProcessQueueT used for processing Exports defined as RealTime.
(Inherited from ExporterBase) |
Name | Description | |
---|---|---|
Dispose |
Releases all the resources used by the exporter.
(Inherited from ExporterBase) | |
Dispose(Boolean) |
Releases the unmanaged resources used by the exporter and optionally releases the managed resources.
(Inherited from ExporterBase) | |
Equals |
Determines whether the current exporter object is equal to obj.
(Inherited from ExporterBase) | |
Finalize |
Releases the unmanaged resources before the exporter is reclaimed by GC.
(Inherited from ExporterBase) | |
FindExport |
Returns the Export for the specified exportName from the Exports.
(Inherited from ExporterBase) | |
FindListener |
Returns the DataListener for the specified listenerName from the Listeners.
(Inherited from ExporterBase) | |
GetBufferedData |
Returns a DataSet containing the buffered real-time time-series data.
(Inherited from RawDataExporter) | |
GetExportData |
Returns the current time-series data for the specified export organized by listener.
(Inherited from ExporterBase) | |
GetExportDataAsDataset |
Returns the current time-series data for the specified export in a DataSet.
(Inherited from ExporterBase) | |
GetHashCode |
Returns the hash code for the current exporter object.
(Inherited from ExporterBase) | |
GetStatistics | Returns the calculated StatisticsExporterStatistics from buffered data of the specified export. | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
OnExportProcessed |
Raises the ExportProcessed event.
(Inherited from ExporterBase) | |
OnExportProcessException |
Raises the ExportProcessException event.
(Inherited from ExporterBase) | |
OnStatusUpdate |
Raises the StatusUpdate event.
(Inherited from ExporterBase) | |
ProcessExport(Export) |
Processes the export using the current Data.
(Overrides RawDataExporterProcessExport(Export)) | |
ProcessExport(String) |
Processes Export with the specified exportName.
(Inherited from ExporterBase) | |
ProcessRealTimeData |
Handles the DataExtracted event for all the Listeners.
(Inherited from RawDataExporter) | |
ProcessRealTimeExport |
Processes the export using the real-time data.
(Overrides RawDataExporterProcessRealTimeExport(Export, DataListener, IListIDataPoint)) | |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Name | Description | |
---|---|---|
ExportProcessed |
Occurs when the exporter finishes processing an Export.
(Inherited from ExporterBase) | |
ExportProcessException |
Occurs when the exporter fails to process an Export due to an Exception.
(Inherited from ExporterBase) | |
StatusUpdate |
Occurs when the exporter want to provide a status update.
(Inherited from ExporterBase) |
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) |
<?xml version="1.0" encoding="utf-16"?> <Export xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Name>StatisticsExporte</Name> <Type>Intervaled</Type> <Interval>10</Interval> <Exporter>StatisticsExporter</Exporter> <Settings> <ExportSetting> <Name>OutputFile</Name> <Value>\\trotibco\XML\EIRA.xml</Value> </ExportSetting> <ExportSetting> <Name>OutputFormat</Name> <Value>XML</Value> </ExportSetting> <ExportSetting> <Name>FilterClause</Name> <Value>Value>=59 And Value<=61</Value> </ExportSetting> <ExportSetting> <Name>SlopeThreshold</Name> <Value>.9</Value> </ExportSetting> </Settings> <Records> <ExportRecord> <Instance>P1</Instance> <Identifier>1285</Identifier> </ExportRecord> <ExportRecord> <Instance>P2</Instance> <Identifier>3173</Identifier> </ExportRecord> <ExportRecord> <Instance>P3</Instance> <Identifier>1838</Identifier> </ExportRecord> </Records> </Export>
Description of custom settings required by StatisticsExporter in an Export:
Setting Name | Setting Description |
---|---|
OutputFile | Name of the CSV or XML file (including path) where export data is to be written. |
OutputFormat | Format (CSV or XML) in which export data is to be written to the output file. |
FilterClause (Optional) | SQL-like expression to be used for limiting the data included in the calculation. |
SlopeThreshold (Optional) | Floating point value to be used for eliminating data with a slope exceeding the specified threshold. |