public void LoadDatabase()
        {
            string itemsToRecognizerTypeMapDatabasePath =
                Path.Combine(DATABASE_DIRECTORY_NAME, ITEMS_TO_RECOGNIZER_TYPE_MAP_NAME);

            mItemToRecognizerTypeDictionary = SerializationMachine.LoadDictionaryFromDB <IItemInfo, string>(itemsToRecognizerTypeMapDatabasePath);
        }
Exemplo n.º 2
0
        public void LoadDatabase()
        {
            string itemsToCategoryMapDatabasePath =
                Path.Combine(DATABASE_DIRECTORY_NAME, ITEMS_TO_Category_MAP_NAME);

            mItemToCategoryDictionary = SerializationMachine.LoadDictionaryFromDB <IItemInfo, string>(itemsToCategoryMapDatabasePath);
        }
Exemplo n.º 3
0
        public void LoadDatabases()
        {
            string itemsToRecognizerTypeMapDatabasePath =
                Path.Combine(mDatabaseDirectoryName, ITEMS_TO_RECOGNIZER_TYPE_MAP_NAME);

            mItemToRecognizerTypeDictionary = SerializationMachine.
                                              LoadDictionaryFromDB <IItemInfo, ItemRecognizeData>(itemsToRecognizerTypeMapDatabasePath);
        }
        private void LoadDatabases()
        {
            // Saves items.
            mItemsDictionary = SerializationMachine.LoadDictionaryFromDB <string, IItemInfo>(mItemsDBPath);

            // Load ItemToRecognizerDataMap.
            ItemToRecognizeDataMap.LoadDatabases();
        }
Exemplo n.º 5
0
        public void LoadDatabase()
        {
            string itemsDatabasePath = Path.Combine(DATABASE_DIRECTORY_NAME, ITEMS_DATA_BASE_NAME);

            mMicrowaveItemsDictionary = SerializationMachine.LoadDictionaryFromDB <string, IItemInfo>(itemsDatabasePath);
            mItemToCategoryMap.LoadDatabase();
            ItemToRecognizerTypeMap.LoadDatabase();
        }