bjb пре 4 месеци
родитељ
комит
f0ce59df46
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      app/src/main/java/com/grkj/iscs_mars/view/presenter/HomePresenter.kt

+ 1 - 2
app/src/main/java/com/grkj/iscs_mars/view/presenter/HomePresenter.kt

@@ -1,6 +1,5 @@
 package com.grkj.iscs_mars.view.presenter
 package com.grkj.iscs_mars.view.presenter
 
 
-import android.util.Log
 import com.grkj.iscs_mars.BusinessManager
 import com.grkj.iscs_mars.BusinessManager
 import com.grkj.iscs_mars.MyApplication
 import com.grkj.iscs_mars.MyApplication
 import com.grkj.iscs_mars.R
 import com.grkj.iscs_mars.R
@@ -56,7 +55,7 @@ class HomePresenter : BasePresenter<IHomeView>() {
                                                     }
                                                     }
                                                 }
                                                 }
                                             } else {
                                             } else {
-                                                HardwareMode.getCurrentHardwareMode().controlKeyBuckle(true, mac) {
+                                                HardwareMode.getCurrentHardwareMode().controlKeyBuckle(true, device.id, device.nodeId) {
                                                     ToastUtils.tip(CommonUtils.getStr(R.string.ticket_get_failed).toString())
                                                     ToastUtils.tip(CommonUtils.getStr(R.string.ticket_get_failed).toString())
                                                 }
                                                 }
                                             }
                                             }