feat:1.监控画面gps位数改成7;2.经度、纬度数据兼容

This commit is contained in:
surenjun 2025-05-14 13:16:49 +08:00
parent 994740fc29
commit 29e11bba39
2 changed files with 3 additions and 3 deletions

View File

@ -261,8 +261,8 @@ const getPlcData = async (plc: string) => {
//TODO gps数据
//gps时间 经度 纬度 航向角 俯仰角 海拔高 高度差 速度
sj: time,
jd: p[96],
wd: p[95],
jd: Math.max(Number(p[95]),Number(p[96])),
wd: Math.min(Number(p[95]),Number(p[96])),
hxj: p[90],
fyj: p[91],
hbg: p[85],

View File

@ -19,7 +19,7 @@ export const judgeConfig = {
//四合一画面配置
fourInOneScreen:{
//gps位数
gpsDigit:6
gpsDigit:7
},
// 杭州科目二
// trajectoryPath: 'logs/2024_07_19/0000000000001_342323199501470011_测试学员1_2024_07_19_06_49_12/judge_exam_data.txt',