|
@@ -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())
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|