C# Class PowerStormReadingGatherer.DataCleaner

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

Méthodes publiques

Méthode 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

Méthode Description
EmailNotification ( string msg ) : void

Emails the notification that outliers have been detected.

Method Details

CleanData() public méthode

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

DataCleaner() public méthode

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