Update main.js

This commit is contained in:
钟进 2018-09-25 09:49:27 +08:00
parent 0ea2955c83
commit 7558d48a3a

View File

@ -281,6 +281,7 @@ function processTasks(tasks, callback) {
function checkObjects(options, regType, regName, regFullName, tasks, newObjects) { function checkObjects(options, regType, regName, regFullName, tasks, newObjects) {
let params = config.params; let params = config.params;
/*
let options = { let options = {
config: { config: {
type: params.type || 'tcp', type: params.type || 'tcp',
@ -292,7 +293,7 @@ function checkObjects(options, regType, regName, regFullName, tasks, newObjects)
devices: {} devices: {}
}; };
options.config.round = Math.pow(10, options.config.round); options.config.round = Math.pow(10, options.config.round);
*/
} }