diff --git a/entry/src/main/ets/pages/judgeSDK/judge.ts b/entry/src/main/ets/pages/judgeSDK/judge.ts index 3e9c65eb..1e88a6b2 100644 --- a/entry/src/main/ets/pages/judgeSDK/judge.ts +++ b/entry/src/main/ets/pages/judgeSDK/judge.ts @@ -18,16 +18,22 @@ import { judgeConfig } from './utils/judge-config' import {writeObjectOut,uploadExamProgressData} from '../../api/judge' import {deepClone,getCurrentTime,stringToASC,string2Bytes,fillZero,Array2Byte,convertGpsCoord2} from '../../common/utils/tools' -import {getTranslateSignals,getCarStatus,getCarStatusType,getCenterProjectStatus,plcStrToJson,plcStrToWXJson,promptWxCode,getKmProjectVoice,senorToWXDataStr} from './utils//judge-common' -import {examJudgeSetLogCallback,examJudgeBeginExam,examJudgeInit,examJudgeRealExam,examJudgeSetRealExamCallback,examJudgeSetPerformCallback,examJudgeEndExam,examJudgeArtificialMark,examJudgeArtificialItem -,examJudgeMapSetScaling,examJudgeMapSetParam} from './api/index' +import {getTranslateSignals,getCarStatus,getCarStatusType,getCenterProjectStatus,plcStrToJson,plcStrToWXJson,promptWxCode,getKmProjectVoice,senorToWXDataStr} from './utils/judge-common' +import { + examJudgeSetLogCallback, + examJudgeBeginExam, + examJudgeInit, + examJudgeRealExam, + examJudgeSetRealExamCallback, + examJudgeSetPerformCallback, + examJudgeEndExam, + examJudgeArtificialMark, + examJudgeArtificialItem, + examJudgeMapSetScaling, + examJudgeMapSetParam +} from './api/index' import UsbService from '../../common/service/usbService' - -import {getTranslateSignals,getCarStatus,getCarStatusType,getCenterProjectStatus,plcStrToJson,plcStrToWXJson,promptWxCode,getKmProjectVoice} from './utils//judge-common' -import {examJudgeSetLogCallback,examJudgeBeginExam,examJudgeInit,examJudgeRealExam,examJudgeSetRealExamCallback,examJudgeSetPerformCallback,examJudgeEndExam,examJudgeArtificialMark,examJudgeArtificialItem} from './api/index' - import prompt from '@ohos.prompt'; -import usbManager from '@ohos.usbManager'; const judgeTag = 'SURENJUN_JUDGE'