lv #3

Merged
wangzhongjie merged 2 commits from lv into main 2024-05-21 11:17:04 +08:00
3 changed files with 6 additions and 6 deletions

View File

@ -274,8 +274,8 @@ struct Index {
// //
carConfigurationInfoFn() { carConfigurationInfoFn() {
if (globalThis.singlePlay) { 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(';') const data = str.split(';')
this.checkList = [] this.checkList = []
const list = data const list = data

View File

@ -496,7 +496,7 @@ struct SignDisplayCom {
this.sjxhColum[15].value = this.signArr[19] this.sjxhColum[15].value = this.signArr[19]
this.sjxhColum[16].value = this.signArr[20] this.sjxhColum[16].value = this.signArr[20]
this.sjxhColum[17].value = this.signArr[23] //车速 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[19].value = this.signArr[29]
this.sjxhColum[20].value = this.signArr[30] this.sjxhColum[20].value = this.signArr[30]
this.sjxhColum[21].value = this.signArr[15] //NC this.sjxhColum[21].value = this.signArr[15] //NC

View File

@ -9,7 +9,7 @@ import promptAction from '@ohos.promptAction'
@Entry @Entry
@Component @Component
struct Index { struct Index {
@State ratio: number = 850 / 960 @State ratio: number = 1700 / 960
@State ip: string = '' @State ip: string = ''
@State deviceNo: string = '' @State deviceNo: string = ''
@State deviceName: string = '' @State deviceName: string = ''
@ -19,8 +19,8 @@ struct Index {
@State @Watch('outClick') outFlag: boolean = false; @State @Watch('outClick') outFlag: boolean = false;
@State subType: string = '2'; @State subType: string = '2';
onPageShow() { onPageShow() {
this.plateNo=globalThis.carInfo.plateNo // this.plateNo=globalThis.carInfo.plateNo
deviceManager.createDeviceManager('com.example.udptest', (error, value) => { deviceManager.createDeviceManager('com.oh.dts', (error, value) => {
if (error) { if (error) {
console.error('createDeviceManager failed.'); console.error('createDeviceManager failed.');
return; return;