|
|
@ -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();
|
|
|
|