Ejemplo n.º 1
0
        public void Read(Log.payload log, int c)
        {
            var   time  = log.mytimes[c];
            Trend trend = GetTrend(log, c);

            AddChartValues(trend, time);
            SetAxisLimits(time);
            ClearChartValues();
        }
Ejemplo n.º 2
0
        private Trend GetTrend(Log.payload p, int c)
        {
            Trend _trend = new Trend();

            Log.data myData = p.mydata[c];
            _trend.Cpu     = myData.Cpu;
            _trend.Gpu     = myData.Gpu;
            _trend.Memory  = myData.Memory;
            _trend.Disk    = myData.Disk;
            _trend.Network = myData.Network;
            _trend.CpuTemp = myData.CpuTemp;
            _trend.GpuTemp = myData.GpuTemp;
            return(_trend);
        }
Ejemplo n.º 3
0
 public void connect(Log.payload p)
 {
     log = p;
 }