From db1933d097a3d83e8addb38c93259a91e23d6c44 Mon Sep 17 00:00:00 2001 From: varun Date: Tue, 14 May 2024 03:10:55 -0400 Subject: [PATCH] change in iot --- src/routes/createConnectionsRoute.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/routes/createConnectionsRoute.js b/src/routes/createConnectionsRoute.js index 8b486605..283e5a23 100644 --- a/src/routes/createConnectionsRoute.js +++ b/src/routes/createConnectionsRoute.js @@ -197,6 +197,8 @@ module.exports = function (fastify, opts, next) { motor_id:{ type: "string" ,default: null}, motor_status: { type: "string", default: "1" }, motor_stop_status: { type: "string", default: "1" }, + capacity: { type: "string", default: null }, + water_level: { type: "string", default: null }, }, }, }, @@ -212,6 +214,8 @@ module.exports = function (fastify, opts, next) { motor_id:{ type: "string" ,default: null}, motor_status: { type: "string", default: "1" }, motor_stop_status: { type: "string", default: "1" }, + capacity: { type: "string", default: null }, + water_level: { type: "string", default: null }, }, }, },