Bhaskar 6 months ago
commit 8a9d1664d1

@ -6149,7 +6149,7 @@ async function processIotData(hw_Id, data) {
supplier_type: inputConnection.input_type, supplier_type: inputConnection.input_type,
receiver_type: motorTank.tankLocation, receiver_type: motorTank.tankLocation,
startTime: formattedTime, startTime: formattedTime,
receiverInitialwaterlevel: parseInt(inputConnection.water_level, 10), receiverInitialwaterlevel: parseInt(motorTank.waterlevel, 10),
started_by:"manual" started_by:"manual"
}); });
await newMotorData.save(); await newMotorData.save();

Loading…
Cancel
Save