示例#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();
        }
示例#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();
 }