|
|
|
@ -36,7 +36,6 @@ const tanksSchema = new mongoose.Schema({
|
|
|
|
|
|
|
|
|
|
tankhardwareId: { type: String },
|
|
|
|
|
hardwareId_type: { type: String },
|
|
|
|
|
motor_id:{ type: String ,default: null},
|
|
|
|
|
hardwareId_company: { type: String },
|
|
|
|
|
customerId: { type: String, default: null },
|
|
|
|
|
tankName: { type: String, default: null },
|
|
|
|
@ -56,6 +55,7 @@ const tanksSchema = new mongoose.Schema({
|
|
|
|
|
auto_min_percentage :{ type: String, default: "20" },
|
|
|
|
|
auto_max_percentage :{ type: String, default: "80" },
|
|
|
|
|
manual_threesold_percentage:{type: String, default: "90"},
|
|
|
|
|
|
|
|
|
|
connections: {
|
|
|
|
|
source: { type: String },
|
|
|
|
|
inputConnections: [
|
|
|
|
@ -65,6 +65,7 @@ const tanksSchema = new mongoose.Schema({
|
|
|
|
|
inputismotor: { type: Boolean, },
|
|
|
|
|
motor_id:{ type: String ,default: null},
|
|
|
|
|
motor_status: { type: String, default: "0" },
|
|
|
|
|
auto_mode:{type:String,default:"inactive"},
|
|
|
|
|
motor_stop_status: { type: String, default: "1" },
|
|
|
|
|
motor_on_type :{ type: String, default: "manual" },
|
|
|
|
|
|
|
|
|
|