| | |
| | | this.jingduNew = newLL[1]
|
| | | this.weiduNew = newLL[0]
|
| | | // 初始化风场数据
|
| | | this.windData()
|
| | | this.change(0)
|
| | | // this.windData()
|
| | | // this.change(0)
|
| | | this.getParamsData()
|
| | | this.windDir()
|
| | | this.newDate()
|
| | |
| | | }
|
| | | )
|
| | | }, 1000)
|
| | | if (this.windState === 1) {
|
| | | // this.ws.close()
|
| | | this.initData()
|
| | | // console.log('请求风场图')
|
| | | } else if (this.windState === 2) {
|
| | | this.windDir()
|
| | | // console.log('请求风向标')
|
| | | }
|
| | | // if (this.windState === 1) {
|
| | | // console.log('getRegionApiRequest')
|
| | | // this.initData()
|
| | | // console.log('请求风场图')
|
| | | // } else if (this.windState === 2) {
|
| | | // this.windDir()
|
| | | // console.log('请求风向标')
|
| | | // }
|
| | | // 请求设备坐标
|
| | | // this.deviceMaker()
|
| | | // this.getParamsData()
|
| | |
| | | }
|
| | | // console.log(this.chooseTimeInfo, 'this.chooseTimeInfo ')
|
| | | // clearInterval(this.timer)
|
| | | if (this.windState === 1) {
|
| | | // this.ws.close()
|
| | | this.initData()
|
| | | // console.log('请求风场图')
|
| | | } else if (this.windState === 2) {
|
| | | this.windDir()
|
| | | // console.log('请求风向标')
|
| | | }
|
| | | // if (this.windState === 1) {
|
| | | // this.ws.close()
|
| | | // this.initData()
|
| | | // console.log('请求风场图')
|
| | | // } else if (this.windState === 2) {
|
| | | // this.windDir()
|
| | | // console.log('请求风向标')
|
| | | // }
|
| | | setTimeout(() => {
|
| | | this.change(this.changeColor)
|
| | | this.times = 300
|