Example #1
0
        public override bool Init()
        {
            mRecordManager = new NFCRecordManager(mSelf);
            mPropertyManager = new NFCPropertyManager(mSelf);
            mHeartManager = new NFCHeartBeatManager(mSelf);
            mEventManager = new NFCEventManager(mSelf);

            return true;
        }
Example #2
0
 public override bool Shut()
 {
     mRecordManager = null;
     mPropertyManager = null;
     mHeartManager = null;
     return true;
 }
Example #3
0
        public override bool Shut()
        {
            NFIDataList xRecordList = mRecordManager.GetRecordList();
            if (null != xRecordList)
            {
                for(int i = 0; i < xRecordList.Count(); ++i)
                {
                    string strRecordName = xRecordList.StringVal(i);
                    NFIRecord xRecord = mRecordManager.GetRecord(strRecordName);
                    if (null !=  xRecord)
                    {
                        xRecord.Clear();
                    }
                }
            }

            mRecordManager = null;
            mPropertyManager = null;
            mHeartManager = null;
            mEventManager = null;

            return true;
        }