|
@@ -356,7 +356,7 @@ object BusinessManager {
|
|
|
) { isLeft, res ->
|
|
) { isLeft, res ->
|
|
|
ModBusController.controlKeyCharge(
|
|
ModBusController.controlKeyCharge(
|
|
|
true,
|
|
true,
|
|
|
- keyBean.idx == 1,
|
|
|
|
|
|
|
+ keyBean.isLeft,
|
|
|
dockBean.addr
|
|
dockBean.addr
|
|
|
)
|
|
)
|
|
|
if (res.size < 11) {
|
|
if (res.size < 11) {
|
|
@@ -1838,8 +1838,8 @@ object BusinessManager {
|
|
|
false, currentModeMsg.bleBean.bleDevice.mac
|
|
false, currentModeMsg.bleBean.bleDevice.mac
|
|
|
)
|
|
)
|
|
|
sendLoadingEventMsg(null, false)
|
|
sendLoadingEventMsg(null, false)
|
|
|
- //连上之后没有工作票要下发就断开
|
|
|
|
|
- BleManager.getInstance().disconnect(currentModeMsg.bleBean.bleDevice)
|
|
|
|
|
|
|
+ //连上之后没有工作票要下发就断开 todo不断开,还钥匙的时候断开全部
|
|
|
|
|
+// BleManager.getInstance().disconnect(currentModeMsg.bleBean.bleDevice)
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|