udp todo修改
This commit is contained in:
parent
7467d8c7d2
commit
d11248d524
@ -467,7 +467,6 @@ struct UserInfo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async heartMsg() {
|
async heartMsg() {
|
||||||
// TODO UDP缺失
|
|
||||||
CentralHeartbeat.getData((val:centerCallBackMsgType)=>{
|
CentralHeartbeat.getData((val:centerCallBackMsgType)=>{
|
||||||
if (val.id == 32) {
|
if (val.id == 32) {
|
||||||
AppStorage.setOrCreate('signNum', val.body[1])
|
AppStorage.setOrCreate('signNum', val.body[1])
|
||||||
@ -493,8 +492,7 @@ struct UserInfo {
|
|||||||
carNo: this.carInfo.carNo as string,
|
carNo: this.carInfo.carNo as string,
|
||||||
placeId: this.carInfo.examinationRoomId as string
|
placeId: this.carInfo.examinationRoomId as string
|
||||||
}
|
}
|
||||||
// TODO UDP缺失
|
CentralHeartbeat.sendData(param)
|
||||||
// globalThis.udpClient2.sendMsgExt(param, this.context)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async initSysset() {
|
async initSysset() {
|
||||||
@ -1091,9 +1089,7 @@ struct UserInfo {
|
|||||||
outClick() {
|
outClick() {
|
||||||
clearInterval(this.interval)
|
clearInterval(this.interval)
|
||||||
this.stopDeviceById()
|
this.stopDeviceById()
|
||||||
// TODO 缺失UDP
|
|
||||||
// globalThis.udpClient2 && globalThis.udpClient2?.setMsgCallBack(() => {
|
|
||||||
// })
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 几个按钮公共样式
|
// 几个按钮公共样式
|
||||||
|
|||||||
@ -255,9 +255,6 @@ export default struct FaceCompare {
|
|||||||
placeId: this.carInfo.examinationRoomId,
|
placeId: this.carInfo.examinationRoomId,
|
||||||
}
|
}
|
||||||
CentralHeartbeat.sendData(param2)
|
CentralHeartbeat.sendData(param2)
|
||||||
|
|
||||||
// TODO UDP缺失
|
|
||||||
// globalThis.udpClient2 && globalThis.udpClient2.sendMsgExt(param2, this.context)
|
|
||||||
}
|
}
|
||||||
}, 1000)
|
}, 1000)
|
||||||
CentralHeartbeat.getData((val)=>{
|
CentralHeartbeat.getData((val)=>{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user