Beispiel #1
0
        public static string CPU()
        {
            string message = string.Empty;

            switch (RoBoIO.io_CpuID())
            {
            case RoBoIO.CPU_UNSUPPORTED:
                message = "CPU Unsupported";
                break;

            case RoBoIO.CPU_VORTEX86DX_1:
                message = "CPU VORTEX86DX1";
                break;

            case RoBoIO.CPU_VORTEX86DX_2:
                message = "CPU VORTEX86DX2";
                break;

            case RoBoIO.CPU_VORTEX86DX_3:
                message = "CPU VORTEX86DX3";
                break;

            case RoBoIO.CPU_VORTEX86SX:
                message = "CPU VORTEX86SX";
                break;

            default:
                message = "CPU";
                break;
            }
            return(message);
        }