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