C# Class PowerStormReadingGatherer.DataCleaner

Cleans the errors in the meter data and notifies the administrator via email.
Datei anzeigen Open project: powerstorm/PowerStorm Class Usage Examples

Public Methods

Method Description
CleanData ( ) : void

Finds outliers in the data, marks them in the database, and fixes outliers

DataCleaner ( MySqlConnection dbPower ) : System

Initializes a new instance of the PowerStormReadingGatherer.DataCleaner class.

Private Methods

Method Description
EmailNotification ( string msg ) : void

Emails the notification that outliers have been detected.

Method Details

CleanData() public method

Finds outliers in the data, marks them in the database, and fixes outliers
public CleanData ( ) : void
return void

DataCleaner() public method

Initializes a new instance of the PowerStormReadingGatherer.DataCleaner class.
public DataCleaner ( MySqlConnection dbPower ) : System
dbPower MySql.Data.MySqlClient.MySqlConnection /// Database connection ///
return System