udp todo修改

This commit is contained in:
lv 2025-04-01 13:41:56 +08:00
parent 7467d8c7d2
commit d11248d524
2 changed files with 2 additions and 9 deletions

View File

@ -467,7 +467,6 @@ struct UserInfo {
}
async heartMsg() {
// TODO UDP缺失
CentralHeartbeat.getData((val:centerCallBackMsgType)=>{
if (val.id == 32) {
AppStorage.setOrCreate('signNum', val.body[1])
@ -493,8 +492,7 @@ struct UserInfo {
carNo: this.carInfo.carNo as string,
placeId: this.carInfo.examinationRoomId as string
}
// TODO UDP缺失
// globalThis.udpClient2.sendMsgExt(param, this.context)
CentralHeartbeat.sendData(param)
}
async initSysset() {
@ -1091,9 +1089,7 @@ struct UserInfo {
outClick() {
clearInterval(this.interval)
this.stopDeviceById()
// TODO 缺失UDP
// globalThis.udpClient2 && globalThis.udpClient2?.setMsgCallBack(() => {
// })
}
// 几个按钮公共样式

View File

@ -255,9 +255,6 @@ export default struct FaceCompare {
placeId: this.carInfo.examinationRoomId,
}
CentralHeartbeat.sendData(param2)
// TODO UDP缺失
// globalThis.udpClient2 && globalThis.udpClient2.sendMsgExt(param2, this.context)
}
}, 1000)
CentralHeartbeat.getData((val)=>{