From dcd83742df9e43d7a739d0452d8fb338318cdfa1 Mon Sep 17 00:00:00 2001 From: Bhaskar Date: Fri, 28 Mar 2025 12:53:57 +0530 Subject: [PATCH] message --- src/controllers/tanksController.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/controllers/tanksController.js b/src/controllers/tanksController.js index 4ca5ec63..62e432d6 100644 --- a/src/controllers/tanksController.js +++ b/src/controllers/tanksController.js @@ -7595,10 +7595,10 @@ exports.compareMeasuredHeight = async (req, reply) => { const heightDifferenceInCm = Math.abs(actualWaterLevelInCm - measuredHeightNum); let message; - if (heightDifferenceInCm <= 10) { // Within 10 cm is considered a match - message = "Measured height is within an acceptable range of actual water level."; + if (heightDifferenceInCm <= 10) { + message = "Manual measurement is match within 10 cm of the sensor data."; } else { - message = "Measured height differs significantly from actual water level."; + message = "Manual measurement not matched within range 10cm from the sensor data."; } reply.send({