|
|
@ -2863,7 +2863,7 @@ exports.motorAction = async (req, reply) => {
|
|
|
|
let motorStopStatus = action === "start" ? "2" : "1";
|
|
|
|
let motorStopStatus = action === "start" ? "2" : "1";
|
|
|
|
const blockName = req.body.from || "Unknown Block";
|
|
|
|
const blockName = req.body.from || "Unknown Block";
|
|
|
|
const tankName = req.body.to || "Unknown Tank";
|
|
|
|
const tankName = req.body.to || "Unknown Tank";
|
|
|
|
|
|
|
|
const stopTime = req.body.stopTime
|
|
|
|
if (action === "start") {
|
|
|
|
if (action === "start") {
|
|
|
|
|
|
|
|
|
|
|
|
if (motorIntervals[motorId]) {
|
|
|
|
if (motorIntervals[motorId]) {
|
|
|
|