public bool initService()
        {
            //实例化各服务
            dbService = new DBService();
            netService = new NetService();
            helperService = new HelperService();
            safetyService = new SafetyService();
            //初始化各服务
            DBState = dbService.initService() ? State.Suspend : State.Close;
            netState = netService.initService() ? State.Suspend : State.Close;
            helperState = helperService.initService() ? State.Suspend : State.Close;
            safetyState = safetyService.initService() ? State.Suspend : State.Close;

            return DBState == State.Suspend && netState == State.Suspend && helperState == State.Suspend && safetyState == State.Suspend;
        }
        public bool initService()
        {
            //实例化各服务
            dbService     = new DBService();
            netService    = new NetService();
            helperService = new HelperService();
            safetyService = new SafetyService();
            //初始化各服务
            DBState     = dbService.initService() ? State.Suspend : State.Close;
            netState    = netService.initService() ? State.Suspend : State.Close;
            helperState = helperService.initService() ? State.Suspend : State.Close;
            safetyState = safetyService.initService() ? State.Suspend : State.Close;

            return(DBState == State.Suspend && netState == State.Suspend && helperState == State.Suspend && safetyState == State.Suspend);
        }