|
|
@ -92,7 +92,7 @@ const tankSchema = new mongoose.Schema({
|
|
|
|
|
|
|
|
|
|
|
|
const IOttankSchema = new mongoose.Schema({
|
|
|
|
const IOttankSchema = new mongoose.Schema({
|
|
|
|
hardwareId: { type: String },
|
|
|
|
hardwareId: { type: String },
|
|
|
|
mode: { type: Number, required: true },
|
|
|
|
mode: { type: String },
|
|
|
|
tanks: [tankSchema],
|
|
|
|
tanks: [tankSchema],
|
|
|
|
date: { type: String, required: true },
|
|
|
|
date: { type: String, required: true },
|
|
|
|
time: { type: String, required: true }
|
|
|
|
time: { type: String, required: true }
|
|
|
|