Commit 6b8443cc by ken

试试看

parent 25672e8a
...@@ -49,7 +49,7 @@ const _handleSocketOpen = function(opened_callback) { ...@@ -49,7 +49,7 @@ const _handleSocketOpen = function(opened_callback) {
console.log("open"); console.log("open");
for (const symbol of observerSymbol) { for (const symbol of observerSymbol) {
// const req = {event: 'addChannel', channel: symbol + '_depth'}; // const req = {event: 'addChannel', channel: symbol + '_depth'};
const req = {event: 'addChannel', channel: 'dish_depth_001_' + symbol + "default", "isZip": false}; const req = {event: 'addChannel', channel: 'dish_depth_001_' + symbol + "default", "binary": false};
console.log(JSON.stringify(req)); console.log(JSON.stringify(req));
this.send(JSON.stringify(req)); this.send(JSON.stringify(req));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment