|
|
|
@ -2178,7 +2178,7 @@ console.log(fcmToken)
|
|
|
|
|
const blockName = req.body.from || "Unknown Block"; // Provide a fallback if `from` is missing
|
|
|
|
|
const tankName = req.body.to || "Unknown Tank"; // Provide a fallback if `to` is missing
|
|
|
|
|
const stopTime = req.body.stopTime
|
|
|
|
|
const motorOnType = req.body.motor_on_type || "App";
|
|
|
|
|
const motorOnType = req.body.motor_on_type || "APP";
|
|
|
|
|
const manual_threshold_time = req.body.manual_threshold_time;
|
|
|
|
|
if (action === "start") {
|
|
|
|
|
|
|
|
|
|