|
|
@ -6187,6 +6187,7 @@ async function processIotData(hw_Id, data) {
|
|
|
|
inputConnection.motor_stop_status = "1";
|
|
|
|
inputConnection.motor_stop_status = "1";
|
|
|
|
inputConnection.motor_on_type = "manual";
|
|
|
|
inputConnection.motor_on_type = "manual";
|
|
|
|
inputConnection.stopTime = currentTime;
|
|
|
|
inputConnection.stopTime = currentTime;
|
|
|
|
|
|
|
|
const motorId = hw_Id;
|
|
|
|
if (motorIntervals[motorId]) {
|
|
|
|
if (motorIntervals[motorId]) {
|
|
|
|
clearInterval(motorIntervals[motorId]);
|
|
|
|
clearInterval(motorIntervals[motorId]);
|
|
|
|
delete motorIntervals[motorId];
|
|
|
|
delete motorIntervals[motorId];
|
|
|
|