commit
b05c4ce39e
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user