diff --git a/src/specificClass.js b/src/specificClass.js index 509f460..8fb1448 100644 --- a/src/specificClass.js +++ b/src/specificClass.js @@ -44,7 +44,7 @@ class Reactor { this.logger.debug(`---------------------- updating ${subType} ------------------ `); switch (subType) { case "temperature": - this.logger.debug(`no nothing`); + this.temperature = value; break; default: this.logger.error(`Type '${subType}' not recognized for measured update.`); @@ -70,14 +70,6 @@ class Reactor { this.OTR = input.payload; } - /** - * Setter for temperature. - * @param {object} input - Input object (msg) containing payload with temperature value [C]. - */ - set setTemperature(input) { - this.temperature = input.payload; - } - /** * Calculate the oxygen transfer rate (OTR) based on the dissolved oxygen concentration and temperature. * @param {number} S_O - Dissolved oxygen concentration [g O2 m-3].