|
@@ -136,8 +136,9 @@ object BusinessManager {
|
|
|
NetApi.getKeyInfo(rfid) {
|
|
NetApi.getKeyInfo(rfid) {
|
|
|
if (it != null && !it.macAddress.isNullOrEmpty()) {
|
|
if (it != null && !it.macAddress.isNullOrEmpty()) {
|
|
|
ModBusController.updateKeyMac(dockBean.addr.toInt(), keyBean.isLeft, it.macAddress)
|
|
ModBusController.updateKeyMac(dockBean.addr.toInt(), keyBean.isLeft, it.macAddress)
|
|
|
- showKeyReturnDialog(it.macAddress, isLeft, dockBean.addr.toInt())
|
|
|
|
|
- registerConnectListener(it.macAddress)
|
|
|
|
|
|
|
+ // TODO 移动到HomePresenter里,根据业务进行处理
|
|
|
|
|
+// showKeyReturnDialog(it.macAddress, isLeft, dockBean.addr.toInt())
|
|
|
|
|
+// registerConnectListener(it.macAddress)
|
|
|
} else {
|
|
} else {
|
|
|
ToastUtils.tip(R.string.get_key_info_fail)
|
|
ToastUtils.tip(R.string.get_key_info_fail)
|
|
|
}
|
|
}
|