feat: 提交前端逻辑分析仪后台捕获;Camera现在可以以更高帧率运行

This commit is contained in:
alivender
2025-07-16 21:14:23 +08:00
parent d551cbe793
commit 8e19587a16
8 changed files with 378 additions and 316 deletions

View File

@@ -86,9 +86,13 @@ import OscilloscopeView from "@/views/Project/Oscilloscope.vue";
import LogicAnalyzerView from "@/views/Project/LogicAnalyzer.vue";
import { isNull, toNumber } from "lodash";
import { onMounted, ref, watch } from "vue";
import { im } from "mathjs";
import { useProvideLogicAnalyzer } from "@/components/LogicAnalyzer";
const checkID = useLocalStorage("checkID", 1);
const analyzer = useProvideLogicAnalyzer();
// 定义事件
const emit = defineEmits<{
toggleFullscreen: [];

View File

@@ -36,12 +36,13 @@ import { Zap, Settings, Layers } from "lucide-vue-next";
import { useEquipments } from "@/stores/equipments";
import {
LogicalWaveFormDisplay,
generateTestLogicData,
TriggerSettings,
useLogicAnalyzerState,
} from "@/components/LogicAnalyzer";
import { useProvideLogicAnalyzer } from "@/components/LogicAnalyzer";
import { useRequiredInjection } from "@/utils/Common";
const analyzer = useRequiredInjection(useLogicAnalyzerState);
const analyzer = useProvideLogicAnalyzer();
function handleDeleteData() {
analyzer.logicData.value = undefined;