更新
This commit is contained in:
parent
0e2aeaed11
commit
8cfcff1bef
@ -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
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user