2 Commits

Author SHA1 Message Date
xin
d582d9a82b 修复连续采集时没有时间间隔导致通讯失败从而导致无有法正常连续采集的问题 修改如下
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)
            }
2024-07-03 11:05:42 +08:00
xin
9536fad4c8 readme 2024-07-03 09:25:42 +08:00
3 changed files with 13 additions and 8 deletions

View File

@ -1,7 +1,3 @@
# 通用光谱采集软件
This template should help get you started developing with Tauri + Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
## Recommended IDE Setup
- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)

View File

@ -8,7 +8,7 @@
},
"package": {
"productName": "SpectralPlot",
"version": "0.4.14"
"version": "0.4.141"
},
"tauri": {

View File

@ -92,18 +92,27 @@ export default {
if (caijimoshi=="advanced_mode")
{
if (this.caijidirection=="UP")
{
await this.GetDataDrection("UP",caijiavgNumber);
await delay(100)
}
if (this.caijidirection=="DOWN")
await this.GetDataDrection("DOWN",caijiavgNumber);
{ await this.GetDataDrection("DOWN",caijiavgNumber);
await delay(100)
}
if (this.caijidirection=="ALL")
{
await this.GetDataDrection("UP",caijiavgNumber);
await delay(1000)
await delay(100)
await this.GetDataDrection("DOWN",caijiavgNumber);
await delay(100)
}
if(this.caijidirection=="DARK")
{
await this.GetDataDrection("DARK",caijiavgNumber);
await delay(100)
}