<template>
  <div class="bg-base-100 flex flex-col">
    <!-- 波形展示 -->
    <div class="card bg-base-200 shadow-xl">
      <div class="card-body">
        <h2 class="card-title">
          <Activity class="w-5 h-5" />
          波形显示
        </h2>
        <WaveformDisplay :data="generateTestData()" />
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import { Activity } from "lucide-vue-next";
import { WaveformDisplay, generateTestData } from "@/components/Oscilloscope";
import { useEquipments } from "@/stores/equipments";

// 使用全局设备配置
const equipments = useEquipments();
</script>
