Example #1
0
        private void checkHardWare()
        {
            if (!HardwareManager.OpenAll())
            {
                checkHardWareRet = false;
            }
            else
            {
                HardwareManager.CheckAll();
                if (!HardwareManager.HardWareError())
                {
                    checkHardWareRet = true;
                }
                else
                {
                    checkHardWareRet = false;
                }
            }

            checkNetRet = !GPRS.ExistError();
        }