54 lines
1.5 KiB
JavaScript
54 lines
1.5 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:11
|
||
|
*/
|
||
|
|
||
|
|
||
|
// ----------------------------
|
||
|
// Collection structure for IEMS2-screenPower
|
||
|
// ----------------------------
|
||
|
db.getCollection("IEMS2-screenPower").drop();
|
||
|
db.createCollection("IEMS2-screenPower");
|
||
|
|
||
|
// ----------------------------
|
||
|
// Documents of IEMS2-screenPower
|
||
|
// ----------------------------
|
||
|
db.getCollection("IEMS2-screenPower").insert([ {
|
||
|
_id: ObjectId("655ef70140d99c4ce82d2c27"),
|
||
|
deptId: NumberInt("2"),
|
||
|
typeCode: "SOURCE",
|
||
|
signName: "有功功率",
|
||
|
enSignName: "Active power",
|
||
|
flag: NumberInt("1"),
|
||
|
_class: "com.project.device.beans.ScreenParam"
|
||
|
} ]);
|
||
|
db.getCollection("IEMS2-screenPower").insert([ {
|
||
|
_id: ObjectId("655ef9b1a2005346aa121ad2"),
|
||
|
deptId: NumberInt("2"),
|
||
|
typeCode: "SOURCE",
|
||
|
signName: "有功功率",
|
||
|
enSignName: "Active power",
|
||
|
flag: NumberInt("2"),
|
||
|
_class: "com.project.device.beans.ScreenParam"
|
||
|
} ]);
|
||
|
db.getCollection("IEMS2-screenPower").insert([ {
|
||
|
_id: ObjectId("655ef9b1a2005346aa121ad3"),
|
||
|
deptId: NumberInt("2"),
|
||
|
typeCode: "SOURCE",
|
||
|
signName: "视在功率",
|
||
|
enSignName: "Apparent power",
|
||
|
flag: NumberInt("2"),
|
||
|
_class: "com.project.device.beans.ScreenParam"
|
||
|
} ]);
|