防止车辆断联解锁失败

master
CZ 5 months ago
parent fcbd455515
commit 569748e4d6

@ -52,6 +52,10 @@ public class TBoxController : ControllerBase
{
Log.Info($"UnLock {carNo}");
TBoxServerMgr.Server?.StartSendLock(2);
if (TBoxService.GetHnYQCarInfo(carNo).CarInfo.CarVin != carNo)
{
Connect(carNo);
}
return TBoxServerMgr.Server?.LockStatusMsg?.LockStatus ==1;
}

Loading…
Cancel
Save