| | |
| | | //console.log("收到数据====" + msg.data);
|
| | | let obj = JSON.parse(msg.data);
|
| | | if (obj.params != null) {
|
| | | this.car1 = 107 + 17.62 * obj.params[0][0];
|
| | | this.car2 = 175 + 17.62 * obj.params[0][1];
|
| | | // this.car1 = 150 + 24.6 * obj.params[0][0];
|
| | | // this.car2 = 242 + 24.6 * obj.params[0][1];
|
| | | this.car1 = 107 + 17.62 * obj.params[0][0]/1000;
|
| | | this.car2 = 175 + 17.62 * obj.params[0][1]/1000;
|
| | | // this.car1 = 150 + 24.6 * obj.params[0][0]/1000;
|
| | | // this.car2 = 242 + 24.6 * obj.params[0][1]/1000;
|
| | | }
|
| | | this.tableData = obj.tableData[0];
|
| | | this.cagelist1 = obj.cagelist1[0];
|