Draft Code of Indicator Bots and Sensor Refactoring

This commit is contained in:
Luis Fernando Molina committed 2019-10-26 19:41:09 +02:00
1 parent 136be168a5
commit e3f2e6f06b
8 files changed
+190 -275

No files matched your search

+4 -4
View File
@@ -20,12 +20,12 @@
let utilities = UTILITIES.newCloudUtilities(bot, logger);
let dataDependencies;
let fileStorage = FILE_STORAGE.newFileStorage(logger);
let processConfig;
return thisObject;
function initialize(pDataDependencies, callBackFunction) {
function initialize(pProcessConfig, callBackFunction) {
try {
@@ -34,7 +34,7 @@
if (FULL_LOG === true) { logger.write(MODULE_NAME, "[INFO] initialize -> Entering function."); }
dataDependencies = pDataDependencies;
processConfig = pProcessConfig;
callBackFunction(global.DEFAULT_OK_RESPONSE);
} catch (err) {
@@ -79,7 +79,7 @@
let fileContent = "";
for (i = 0; i < channels.length; i++) {
for (let i = 0; i < channels.length; i++) {
let channel = channels[i];