|
|
@ -48,7 +48,7 @@ const tanksSchema = new mongoose.Schema({
|
|
|
|
{
|
|
|
|
{
|
|
|
|
inputConnections: { type: String },
|
|
|
|
inputConnections: { type: String },
|
|
|
|
input_type: { type: String },
|
|
|
|
input_type: { type: String },
|
|
|
|
inputismotor: { type: Boolean },
|
|
|
|
inputismotor: { type: Boolean, default: false },
|
|
|
|
motor_status: { type: String, default: "0" }
|
|
|
|
motor_status: { type: String, default: "0" }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
],
|
|
|
@ -56,7 +56,7 @@ const tanksSchema = new mongoose.Schema({
|
|
|
|
{
|
|
|
|
{
|
|
|
|
outputConnections: { type: String },
|
|
|
|
outputConnections: { type: String },
|
|
|
|
output_type: { type: String },
|
|
|
|
output_type: { type: String },
|
|
|
|
outputismotor: { type: Boolean },
|
|
|
|
outputismotor: { type: Boolean, default: false },
|
|
|
|
motor_status: { type: String, default: "0" }
|
|
|
|
motor_status: { type: String, default: "0" }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
|
|
|