diff --git a/.vs/AAWeb/v15/.suo b/.vs/AAWeb/v15/.suo index 5a616276c..01576ca0c 100644 Binary files a/.vs/AAWeb/v15/.suo and b/.vs/AAWeb/v15/.suo differ diff --git a/CompetitionStorage.js b/CompetitionStorage.js index d0ddd77ba..3b27b00ea 100644 --- a/CompetitionStorage.js +++ b/CompetitionStorage.js @@ -53,9 +53,9 @@ function newCompetitionStorage(pName) { case 'Single File': { - let file = newFile(); - file.initialize(devTeam, bot, product, thisSet, undefined, undefined, onSingleFileReady); - thisObject.files.set(pCompetition.participants[i].devTeam + "-" + pCompetition.participants[i].bot, file); + let singleFile = newSingleFile(); + singleFile.initialize(devTeam, bot, product, thisSet, undefined, undefined, onSingleFileReady); + thisObject.files.set(pCompetition.participants[i].devTeam + "-" + pCompetition.participants[i].bot, singleFile); dataSetsToLoad++; if (CONSOLE_LOG === true) { diff --git a/Files/File.js b/Files/SingleFile.js similarity index 98% rename from Files/File.js rename to Files/SingleFile.js index 3ef68497a..352ab2c03 100644 --- a/Files/File.js +++ b/Files/SingleFile.js @@ -1,7 +1,7 @@  -function newFile() { +function newSingleFile() { - const MODULE_NAME = "File"; + const MODULE_NAME = "Single File"; const INFO_LOG = false; const ERROR_LOG = true; const logger = newDebugLog(); diff --git a/ProductStorage.js b/ProductStorage.js index 41d5ae797..808f0995f 100644 --- a/ProductStorage.js +++ b/ProductStorage.js @@ -16,7 +16,7 @@ function newProductStorage(pName) { Product Storage | - |-----> File + |-----> SingleFile | |-----> FileSequence | @@ -30,7 +30,7 @@ function newProductStorage(pName) { marketFiles: [], dailyFiles: [], - file: [], + singleFile: [], fileSequence: [], setDatetime: setDatetime, @@ -96,9 +96,9 @@ function newProductStorage(pName) { if (INFO_LOG === true) { logger.write("[INFO] initialize -> Single File -> key = " + pDevTeam.codeName + "-" + pBot.codeName + "-" + pProduct.codeName); } - let file = newFile(); - file.initialize(pDevTeam, pBot, pProduct, thisSet, pExchange, pMarket, onSingleFileReady); - thisObject.file.push(file); + let singleFile = newSingleFile(); + singleFile.initialize(pDevTeam, pBot, pProduct, thisSet, pExchange, pMarket, onSingleFileReady); + thisObject.singleFile.push(singleFile); dataSetsToLoad++; } break; diff --git a/Project.njsproj b/Project.njsproj index 4eb805a34..1422d6f06 100644 --- a/Project.njsproj +++ b/Project.njsproj @@ -59,7 +59,7 @@ Code - + Code diff --git a/index.html b/index.html index 68ec64a90..1fee9aea2 100644 --- a/index.html +++ b/index.html @@ -66,7 +66,7 @@ - +