|
|
@@ -151,6 +151,7 @@ object BusinessManager {
|
|
|
// 强制结束Loading防止有loading仍在显示
|
|
|
Executor.delayOnMain(500) {
|
|
|
mEventBus.postValue(MsgEvent(MSG_EVENT_LOADING, LoadingMsg(false, null, true)))
|
|
|
+ ToastUtils.tip(R.string.take_out_key)
|
|
|
}
|
|
|
} else {
|
|
|
LogUtil.e("切换工作模式失败 : ${it.data.bleBean.bleDevice.mac}")
|
|
|
@@ -1198,7 +1199,8 @@ object BusinessManager {
|
|
|
mDeviceTakeList.removeIf { it.deviceType == DEVICE_TYPE_LOCK && it.nfc == info.nfc }
|
|
|
// 检查当前工作票是否取完挂锁
|
|
|
if (mDeviceTakeList.any { it.deviceType == DEVICE_TYPE_LOCK && it.ticketId == info.ticketId }) {
|
|
|
- LogUtil.i("等待所有挂锁取出")
|
|
|
+ LogUtil.i("Waiting all locks to take out")
|
|
|
+ ToastUtils.tip(R.string.take_out_rest_locks)
|
|
|
return@updateLockTake
|
|
|
}
|
|
|
// 检查有无当前工作票的钥匙
|