dev #63

Merged
wangzhongjie merged 206 commits from dev into main 2024-12-16 10:31:20 +08:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit fbfdbd797b - Show all commits

View File

@ -1325,7 +1325,7 @@ struct Index {
@State lane: LANE = { road: '', num: 0, count: 0 }
@State roadData: Object = {};
//定位差分状态时候正常
@State isDwztRight: boolean = false;
@State isDwztRight: boolean = true;
@State defaultTabIndex: number = 0;
private context = getContext(this) as common.UIAbilityContext;
public kfArrScroller: Scroller = new Scroller()

View File

@ -1482,7 +1482,7 @@ export default class Judge {
const str = await senorToWXDataStr(msg);
usbService.sendUSB(str)
}
this.judgeUI.isDwztRight = (plcData.gps.dwzt == 4 && plcData.gps.jdzt == 3);
// this.judgeUI.isDwztRight = (plcData.gps.dwzt == 4 && plcData.gps.jdzt == 3);
const param350 = judgeUI.judgeConfigObj['350']
//@ts-ignore
this.judgeUI.sd = ((param350 == 0? plcData.gps.sd :plcData.sensor.cs) as number * 1.852).toFixed(0) + ''
@ -1620,6 +1620,7 @@ export default class Judge {
const judgeConfig = this.judgeUI.judgeConfig;
switch (type){
case 0:
this.judgeUI.isDwztRight = true;
break;
case 1:
@ -1640,6 +1641,7 @@ export default class Judge {
break;
case 4:
this.judgeUI.isDwztRight = false;
//差分异常上报
break;
}