thêm d/s ng dùng

This commit is contained in:
Nguyen Dinh Thuan
2024-09-21 16:02:30 +07:00
parent 19fcde061c
commit a55e7de435
4 changed files with 48 additions and 7 deletions
+4 -1
View File
@@ -1122,10 +1122,13 @@ namespace SafeBagDE70
}
if (cCmdRsp.recv_dat.dat[0]!=0x40)
{
var strRcvData = cCmdRsp.GetRecvDat();
bSuccess = false;
var state = GetCDMState();
AppData.DeviceStatus.Description = "START_ERROR:" + state.GetFullStatus();
var str = $"START_ERROR: {strRcvData}, STATUS: {state.GetFullStatus()}";
Log.Error(str);
AppData.DeviceStatus.Description = str;
APIModels.SendEvent(AppData.DeviceStatus);
}
}