Exemplo n.º 1
0
        //CPU
        //Memory Physical
        //Memory Virtual
        //Network
        //Disk Access
        //Disk Space
        //Battery
        //Dummy

        public static void Init()
        {
            DataClasses    = new Data[7];
            DataClasses[0] = new DataCpu();
            DataClasses[1] = new DataRam();
            DataClasses[2] = new DataDummy();
            DataClasses[3] = new DataDiskSpace();
            DataClasses[4] = new DataDiskAccess();
            DataClasses[5] = new DataBattery();
            DataClasses[6] = new DataNic();
        }
Exemplo n.º 2
0
 //CPU
 //Memory Physical
 //Memory Virtual
 //Network
 //Disk Access
 //Disk Space
 //Battery
 //Dummy
 public static void Init()
 {
     DataClasses = new Data[7];
     DataClasses[0] = new DataCpu();
     DataClasses[1] = new DataRam();
     DataClasses[2] = new DataDummy();
     DataClasses[3] = new DataDiskSpace();
     DataClasses[4] = new DataDiskAccess();
     DataClasses[5] = new DataBattery();
     DataClasses[6] = new DataNic();
 }