From f57a04521c5dcfe0c6b9b8947d701a10f0a2a670 Mon Sep 17 00:00:00 2001 From: wangzhongjie Date: Wed, 15 Oct 2025 15:17:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E4=BA=86=E8=AF=84?= =?UTF-8?q?=E5=88=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/ets/pages/Judge/BaseJudgeBussines.ets | 1 - entry/src/main/ets/workers/DifferentialCorrection.ets | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/entry/src/main/ets/pages/Judge/BaseJudgeBussines.ets b/entry/src/main/ets/pages/Judge/BaseJudgeBussines.ets index 5e1065c..095353a 100644 --- a/entry/src/main/ets/pages/Judge/BaseJudgeBussines.ets +++ b/entry/src/main/ets/pages/Judge/BaseJudgeBussines.ets @@ -886,7 +886,6 @@ export class BaseJudge { that.isExamEnd = true return } - //成绩合格 if (isAllProjectsEnd && totalScore >= passingScore && !that.isEndTip) { if (examSubject == '2') { diff --git a/entry/src/main/ets/workers/DifferentialCorrection.ets b/entry/src/main/ets/workers/DifferentialCorrection.ets index 6eca20c..708f6bc 100644 --- a/entry/src/main/ets/workers/DifferentialCorrection.ets +++ b/entry/src/main/ets/workers/DifferentialCorrection.ets @@ -1,6 +1,6 @@ // 处理worker线程的消息tcp拿差分改正数,udp给后置机 import worker, { ErrorEvent, MessageEvents, ThreadWorkerGlobalScope } from '@ohos.worker'; -import { WorkerTag } from '../config'; +import { SerialPortTag, WorkerTag } from '../config'; import { CenterCallBackMsgType, EnvironmentConfigurationType, @@ -70,7 +70,7 @@ function getDataFn(config: EnvironmentConfigurationType) { // 需要观察 // console.log(WorkerTag, "后置机消息", data) const res = await SerialPortService.getData() - // console.log(SerialPortTag, "档位原始数据", res) + console.log(SerialPortTag, "档位原始数据", res) if (res.length > 0) { const dataArray = data.split(","); // 替换data的第28位