From 3e7d9b3e52d3bc869886f24ca186fefd0b4efb92 Mon Sep 17 00:00:00 2001 From: varun Date: Thu, 16 May 2024 03:05:04 -0400 Subject: [PATCH] added start and stop time --- src/models/tanks.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/models/tanks.js b/src/models/tanks.js index 9c63d5ec..579019d8 100644 --- a/src/models/tanks.js +++ b/src/models/tanks.js @@ -75,7 +75,8 @@ const tanksSchema = new mongoose.Schema({ manual_threshold_time:{type: String, default: null}, threshold_type:{type: String, default: "percentage"}, startTime:{type: String,default:null}, - real_motor_status:{type:String,default:"1"} + real_motor_status:{type:String,default:"1"}, + stopTime:{type: String,default:null} } ], outputConnections: [