feat: 添加逻辑分析仪

This commit is contained in:
2025-07-14 16:07:37 +08:00
parent e8a16fd446
commit 4d6c06a0e0
5 changed files with 230 additions and 98 deletions

View File

@@ -6,7 +6,7 @@
type="radio"
name="function-bar"
id="1"
checked
:checked="checkID === 1"
@change="handleTabChange"
/>
<TerminalIcon class="icon" />
@@ -17,6 +17,7 @@
type="radio"
name="function-bar"
id="2"
:checked="checkID === 2"
@change="handleTabChange"
/>
<VideoIcon class="icon" />
@@ -27,6 +28,7 @@
type="radio"
name="function-bar"
id="3"
:checked="checkID === 3"
@change="handleTabChange"
/>
<SquareActivityIcon class="icon" />
@@ -37,6 +39,7 @@
type="radio"
name="function-bar"
id="4"
:checked="checkID === 4"
@change="handleTabChange"
/>
<Zap class="icon" />

View File

@@ -7,7 +7,7 @@
<Zap class="w-5 h-5" />
逻辑信号分析
</h2>
<LogicalWaveFormDisplay />
<LogicalWaveFormDisplay :data="generateTestLogicData()" />
</div>
</div>
@@ -38,7 +38,7 @@
<script setup lang="ts">
import { Zap, Settings, Layers } from "lucide-vue-next";
import { useEquipments } from "@/stores/equipments";
import LogicalWaveFormDisplay from "@/components/LogicAnalyzer/LogicalWaveFormDisplay.vue";
import { LogicalWaveFormDisplay, generateTestLogicData } from "@/components/LogicAnalyzer";
// 使用全局设备配置
const equipments = useEquipments();