EMS2.0-Documents/5.数据库创建脚本以及数据字典/数据库脚本/MongoDB录入文件/IEMS2-screenBattery.js

72 lines
2.1 KiB
JavaScript

/*
Navicat Premium Data Transfer
Source Server : mongodb-106
Source Server Type : MongoDB
Source Server Version : 50020
Source Host : 116.236.50.106:37027
Source Schema : cabinet_device
Target Server Type : MongoDB
Target Server Version : 50020
File Encoding : 65001
Date: 05/01/2024 16:32:01
*/
// ----------------------------
// Collection structure for IEMS2-screenBattery
// ----------------------------
db.getCollection("IEMS2-screenBattery").drop();
db.createCollection("IEMS2-screenBattery");
// ----------------------------
// Documents of IEMS2-screenBattery
// ----------------------------
db.getCollection("IEMS2-screenBattery").insert([ {
_id: ObjectId("655ef68e40d99c4ce82d2c22"),
deptId: NumberInt("2"),
typeCode: "BATTERY",
signName: "电池平均温度",
enSignName: "Average battery temperature",
flag: NumberInt("1"),
_class: "com.project.device.beans.ScreenParam"
} ]);
db.getCollection("IEMS2-screenBattery").insert([ {
_id: ObjectId("655ef68e40d99c4ce82d2c23"),
deptId: NumberInt("2"),
typeCode: "BATTERY",
signName: "剩余容量",
enSignName: "Battery Remaining Capacity",
flag: NumberInt("1"),
_class: "com.project.device.beans.ScreenParam"
} ]);
db.getCollection("IEMS2-screenBattery").insert([ {
_id: ObjectId("655ef68e40d99c4ce82d2c24"),
deptId: NumberInt("2"),
typeCode: "BATTERY",
signName: "电池电压",
enSignName: "Battery pack Voltage",
flag: NumberInt("1"),
_class: "com.project.device.beans.ScreenParam"
} ]);
db.getCollection("IEMS2-screenBattery").insert([ {
_id: ObjectId("655ef95aa2005346aa121acc"),
deptId: NumberInt("2"),
typeCode: "BATTERY",
signName: "环境温度",
enSignName: "Ambient temperature",
flag: NumberInt("2"),
_class: "com.project.device.beans.ScreenParam"
} ]);
db.getCollection("IEMS2-screenBattery").insert([ {
_id: ObjectId("655ef95aa2005346aa121acd"),
deptId: NumberInt("2"),
typeCode: "BATTERY",
signName: "剩余容量",
enSignName: "Battery Remaining Capacity",
flag: NumberInt("2"),
_class: "com.project.device.beans.ScreenParam"
} ]);