Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
d582d9a82b | |||
9536fad4c8 |
@ -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)
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
},
|
},
|
||||||
"package": {
|
"package": {
|
||||||
"productName": "SpectralPlot",
|
"productName": "SpectralPlot",
|
||||||
"version": "0.4.14"
|
"version": "0.4.141"
|
||||||
},
|
},
|
||||||
"tauri": {
|
"tauri": {
|
||||||
|
|
||||||
|
@ -92,18 +92,27 @@ export default {
|
|||||||
if (caijimoshi=="advanced_mode")
|
if (caijimoshi=="advanced_mode")
|
||||||
{
|
{
|
||||||
if (this.caijidirection=="UP")
|
if (this.caijidirection=="UP")
|
||||||
|
{
|
||||||
await this.GetDataDrection("UP",caijiavgNumber);
|
await this.GetDataDrection("UP",caijiavgNumber);
|
||||||
|
await delay(100)
|
||||||
|
|
||||||
|
}
|
||||||
if (this.caijidirection=="DOWN")
|
if (this.caijidirection=="DOWN")
|
||||||
await this.GetDataDrection("DOWN",caijiavgNumber);
|
{ await this.GetDataDrection("DOWN",caijiavgNumber);
|
||||||
|
await delay(100)
|
||||||
|
}
|
||||||
|
|
||||||
if (this.caijidirection=="ALL")
|
if (this.caijidirection=="ALL")
|
||||||
{
|
{
|
||||||
await this.GetDataDrection("UP",caijiavgNumber);
|
await this.GetDataDrection("UP",caijiavgNumber);
|
||||||
await delay(1000)
|
await delay(100)
|
||||||
await this.GetDataDrection("DOWN",caijiavgNumber);
|
await this.GetDataDrection("DOWN",caijiavgNumber);
|
||||||
|
await delay(100)
|
||||||
}
|
}
|
||||||
if(this.caijidirection=="DARK")
|
if(this.caijidirection=="DARK")
|
||||||
{
|
{
|
||||||
await this.GetDataDrection("DARK",caijiavgNumber);
|
await this.GetDataDrection("DARK",caijiavgNumber);
|
||||||
|
await delay(100)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user