master^2
Varun 7 months ago
parent a6b73f611c
commit aba4cc9330

@ -3061,7 +3061,7 @@ exports.motorAction = async (req, reply) => {
receiverInitialwaterlevel: parseInt(receiverTank.waterlevel, 10)
});
await newMotorData.save();
console.log("entered time",motorId,motorStopStatus)
// Update the tank connections with start time and threshold time
for await (const tank of Tank.find({ "connections.inputConnections.motor_id": motorId })) {
this.publishMotorStopStatus(motorId, motorStopStatus);

Loading…
Cancel
Save