From 4d4d304bf17a790538671efbc9d9702eabb208fa Mon Sep 17 00:00:00 2001
From: 沈斌 <23420800@qq.com>
Date: Fri, 10 Feb 2017 23:35:29 +0800
Subject: [PATCH] 把默认的警报设置变成都变成空
---
server.js | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/server.js b/server.js
index 921b518..511a5ad 100644
--- a/server.js
+++ b/server.js
@@ -41,7 +41,6 @@
if(value.startsWith('5a0000010003')) {
var output = [ 0x6A, 0x00, 0x00, 0x01, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x6B ];
method.insertData(db, value, function(data, rank) {
- //method.insertDocument2(db, value, rank, function(data) {});
var fields = method.padLeft(rank.toString(16), 8).match(/.{2}/g);
output[6] = method.toDec(fields[0]);
output[7] = method.toDec(fields[1]);
@@ -141,8 +140,6 @@
console.log("Error - invalid data - less than 12 character long");
return;
}
-
- //console.log(moment().format('YYYY-MM-DD HH:mm:ss') + " => " + value);
doWork(db, socket, value);
});
--
Gitblit v1.8.0