Example #1
0
 public IEnumerable <MONITOR_DB> QueryMONITOR_DB()
 {
     _monitorDB        = new MONITOR_DB(this.config);
     CurrentMONITOR_DB = _monitorDB.QUERY();
     MaxSessionValue   = _monitorDB.GetMaxSessionValue();
     MaxProcessValue   = _monitorDB.GetMaxProcessValue();
     return(CurrentMONITOR_DB);
 }
Example #2
0
 public void Init()
 {
     CurrentParameter = GetParameter();
     CurrentSession   = StatisticSession();
     CurrentProcess   = StatisticProcess();
     TotalSession     = TotalStatisticSession();
     TotalProcess     = TotalStatisticProcess();
     _monitorDB       = new MONITOR_DB(this.config);
     //CurrentMONITOR_DB = QueryMONITOR_DB();
 }
Example #3
0
 public RootBarChart(MONITOR_DB mon)
 {
     this._mon     = mon;
     this.labels   = new List <string>();
     this.datasets = new List <DatasetMonitor>();
 }