feat: 添加示波器前后端
This commit is contained in:
@@ -104,9 +104,12 @@ import { onMounted, ref, watch } from "vue";
|
||||
import Debugger from "./Debugger.vue";
|
||||
import { useProvideLogicAnalyzer } from "@/components/LogicAnalyzer";
|
||||
import { useProvideWaveformManager } from "@/components/WaveformDisplay/WaveformManager";
|
||||
import { useProvideOscilloscope } from "@/components/Oscilloscope/OscilloscopeManager";
|
||||
|
||||
const analyzer = useProvideLogicAnalyzer();
|
||||
const waveformManager = useProvideWaveformManager();
|
||||
const oscilloscopeManager = useProvideOscilloscope();
|
||||
|
||||
waveformManager.logicData.value = waveformManager.generateTestData();
|
||||
|
||||
const checkID = useLocalStorage("checkID", 1);
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<Activity class="w-5 h-5" />
|
||||
波形显示
|
||||
</h2>
|
||||
<WaveformDisplay :data="generateTestData()" />
|
||||
<OscilloscopeWaveformDisplay />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { Activity } from "lucide-vue-next";
|
||||
import { WaveformDisplay, generateTestData } from "@/components/Oscilloscope";
|
||||
import { OscilloscopeWaveformDisplay } from "@/components/Oscilloscope";
|
||||
import { useEquipments } from "@/stores/equipments";
|
||||
|
||||
// 使用全局设备配置
|
||||
|
||||
Reference in New Issue
Block a user