修复连续采集时没有时间间隔导致通讯失败从而导致无有法正常连续采集的问题 修改如下
if (this.caijidirection=="UP") { await this.GetDataDrection("UP",caijiavgNumber); await delay(100) } if (this.caijidirection=="DOWN") { await this.GetDataDrection("DOWN",caijiavgNumber); await delay(100) } if (this.caijidirection=="ALL") { await this.GetDataDrection("UP",caijiavgNumber); await delay(100) await this.GetDataDrection("DOWN",caijiavgNumber); await delay(100) } if(this.caijidirection=="DARK") { await this.GetDataDrection("DARK",caijiavgNumber); await delay(100) }
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
},
|
||||
"package": {
|
||||
"productName": "SpectralPlot",
|
||||
"version": "0.4.14"
|
||||
"version": "0.4.141"
|
||||
},
|
||||
"tauri": {
|
||||
|
||||
|
Reference in New Issue
Block a user