Ejemplo n.º 1
0
        public override void 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;
        }
Ejemplo n.º 2
0
        public override void Init()
        {
            mRecordManager = new NFCRecordManager(mSelf);
            mPropertyManager = new NFCPropertyManager(mSelf);
            mHeartManager = new NFCHeartBeatManager(mSelf);
            mEventManager = new NFCEventModule(mSelf);

            return;
        }