박권수

style. code change

......@@ -40,7 +40,7 @@ const factoring = async (topic, message) => {
}
const balanceFactoring = (balance) => {
const max = 11;
const max = 10; //Digital Lead Sensor Maximum Value
const slicingBalance = max / 5;
if(parseInt(balance) < slicingBalance || parseInt(balance) > max * 2)
......
......@@ -13,7 +13,7 @@ exports.mqttOn = async (hosting, func) => {
clientList.push(client);
client.on('connect', () => {
console.log('Client connected: ', client.connected);
console.log(`Hub connected: `, client.connected);
});
client.on('message', async (topic, message, packet) => {
......