C# Класс PowerStormReadingGatherer.DataCleaner

Cleans the errors in the meter data and notifies the administrator via email.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
EmailNotification ( string msg ) : void

Emails the notification that outliers have been detected.

Описание методов

CleanData() публичный Метод

Finds outliers in the data, marks them in the database, and fixes outliers
public CleanData ( ) : void
Результат void

DataCleaner() публичный Метод

Initializes a new instance of the PowerStormReadingGatherer.DataCleaner class.
public DataCleaner ( MySqlConnection dbPower ) : System
dbPower MySql.Data.MySqlClient.MySqlConnection /// Database connection ///
Результат System