C# 클래스 PowerStormReadingGatherer.DataCleaner

Cleans the errors in the meter data and notifies the administrator via email.
파일 보기 프로젝트 열기: powerstorm/PowerStorm 1 사용 예제들

공개 메소드들

메소드 설명
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