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

63 lines
1.7 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:26
*/
// ----------------------------
// Collection structure for IEMS2-screenSensor
// ----------------------------
db.getCollection("IEMS2-screenSensor").drop();
db.createCollection("IEMS2-screenSensor");
// ----------------------------
// Documents of IEMS2-screenSensor
// ----------------------------
db.getCollection("IEMS2-screenSensor").insert([ {
_id: ObjectId("655ef6b740d99c4ce82d2c25"),
deptId: NumberInt("2"),
typeCode: "TEMP",
signName: "湿度",
enSignName: "Humidity",
flag: NumberInt("1"),
_class: "com.project.device.beans.ScreenParam"
} ]);
db.getCollection("IEMS2-screenSensor").insert([ {
_id: ObjectId("655ef6b740d99c4ce82d2c26"),
deptId: NumberInt("2"),
typeCode: "TEMP",
signName: "温度",
enSignName: "Temperature",
flag: NumberInt("1"),
_class: "com.project.device.beans.ScreenParam"
} ]);
db.getCollection("IEMS2-screenSensor").insert([ {
_id: ObjectId("655ef94ba2005346aa121aca"),
deptId: NumberInt("2"),
typeCode: "TEMP",
signName: "湿度",
enSignName: "Humidity",
flag: NumberInt("2"),
_class: "com.project.device.beans.ScreenParam"
} ]);
db.getCollection("IEMS2-screenSensor").insert([ {
_id: ObjectId("655ef94ba2005346aa121acb"),
deptId: NumberInt("2"),
typeCode: "TEMP",
signName: "温度",
enSignName: "Temperature",
flag: NumberInt("2"),
_class: "com.project.device.beans.ScreenParam"
} ]);