From 8cfcff1befd6bea2cf2ff1f1043a6840dcc1835f Mon Sep 17 00:00:00 2001 From: lvyuankang <1344032923@qq.com> Date: Fri, 17 May 2024 08:55:23 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/ets/pages/compontents/signDisplayCom.ets | 2 +- entry/src/main/ets/pages/register.ets | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/entry/src/main/ets/pages/compontents/signDisplayCom.ets b/entry/src/main/ets/pages/compontents/signDisplayCom.ets index 40e24651..a5b39f13 100644 --- a/entry/src/main/ets/pages/compontents/signDisplayCom.ets +++ b/entry/src/main/ets/pages/compontents/signDisplayCom.ets @@ -496,7 +496,7 @@ struct SignDisplayCom { this.sjxhColum[15].value = this.signArr[19] this.sjxhColum[16].value = this.signArr[20] this.sjxhColum[17].value = this.signArr[23] //车速 - // this.sjxhColum[18].value=this.signArr[18] + this.sjxhColum[18].value=this.signArr[28] this.sjxhColum[19].value = this.signArr[29] this.sjxhColum[20].value = this.signArr[30] this.sjxhColum[21].value = this.signArr[15] //NC diff --git a/entry/src/main/ets/pages/register.ets b/entry/src/main/ets/pages/register.ets index aa03c87e..f39c1c2a 100644 --- a/entry/src/main/ets/pages/register.ets +++ b/entry/src/main/ets/pages/register.ets @@ -9,7 +9,7 @@ import promptAction from '@ohos.promptAction' @Entry @Component struct Index { - @State ratio: number = 850 / 960 + @State ratio: number = 1700 / 960 @State ip: string = '' @State deviceNo: string = '' @State deviceName: string = '' @@ -19,8 +19,8 @@ struct Index { @State @Watch('outClick') outFlag: boolean = false; @State subType: string = '2'; onPageShow() { - this.plateNo=globalThis.carInfo.plateNo - deviceManager.createDeviceManager('com.example.udptest', (error, value) => { + // this.plateNo=globalThis.carInfo.plateNo + deviceManager.createDeviceManager('com.oh.dts', (error, value) => { if (error) { console.error('createDeviceManager failed.'); return; From 60582e4e5e099761f88224b8eb0786a7b652a734 Mon Sep 17 00:00:00 2001 From: lvyuankang <1344032923@qq.com> Date: Mon, 20 May 2024 09:09:30 +0800 Subject: [PATCH 2/2] =?UTF-8?q?carChekck=E6=A3=80=E6=9F=A5=E9=A1=B9?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/ets/pages/CarCheck.ets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entry/src/main/ets/pages/CarCheck.ets b/entry/src/main/ets/pages/CarCheck.ets index a8182a20..8a8f551b 100644 --- a/entry/src/main/ets/pages/CarCheck.ets +++ b/entry/src/main/ets/pages/CarCheck.ets @@ -274,8 +274,8 @@ struct Index { // carConfigurationInfoFn() { if (globalThis.singlePlay) { - // 1:5;2:5;3:5;4:5;5:5;6:5;7:5;8:5;9:5; - const str = "10:5;11:5;12:5;13:5;14:5;15:2;16:5;17:5;18:2;19:2;20:2;21:2;22:2;23:2;24:2" + // + const str = "1:5;2:5;3:5;4:5;5:5;6:5;7:5;8:5;9:5;10:5;11:5;12:5;13:5;14:5;15:5;16:5;17:5;18:5;19:5;20:5;21:5;22:2;23:5;24:5;25:5;" const data = str.split(';') this.checkList = [] const list = data