|
|
@ -42,7 +42,7 @@ const tanksSchema = new mongoose.Schema({
|
|
|
|
waterlevel: { type: String, default: "0" },
|
|
|
|
waterlevel: { type: String, default: "0" },
|
|
|
|
tankLocation: { type: String, default: null },
|
|
|
|
tankLocation: { type: String, default: null },
|
|
|
|
motor_status: { type: String, default: "0" },
|
|
|
|
motor_status: { type: String, default: "0" },
|
|
|
|
waterlevel_at_midnight:{ type: String },
|
|
|
|
waterlevel_at_midnight:{ type: String,default:"0" },
|
|
|
|
connections: {
|
|
|
|
connections: {
|
|
|
|
source: { type: String },
|
|
|
|
source: { type: String },
|
|
|
|
inputConnections: [
|
|
|
|
inputConnections: [
|
|
|
|