Exemplo n.º 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);
 }
Exemplo n.º 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();
 }
Exemplo n.º 3
0
 public RootBarChart(MONITOR_DB mon)
 {
     this._mon     = mon;
     this.labels   = new List <string>();
     this.datasets = new List <DatasetMonitor>();
 }