Commit fddbe583 authored by hywang's avatar hywang

1.不再上电前停止盘点

parent 28433d17
...@@ -9,8 +9,8 @@ android { ...@@ -9,8 +9,8 @@ android {
applicationId "com.phlx.anchorcollect_p" applicationId "com.phlx.anchorcollect_p"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 29 targetSdkVersion 29
versionCode 10 versionCode 11
versionName "2.0.4" versionName "2.0.5"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
......
...@@ -140,9 +140,9 @@ public class MainActivity extends BaseActivity<ActivityMainBinding, MainVM> { ...@@ -140,9 +140,9 @@ public class MainActivity extends BaseActivity<ActivityMainBinding, MainVM> {
//默认设置R2000连接 //默认设置R2000连接
// connectManger.setModuleR2000();` // connectManger.setModuleR2000();`
App.getInstance().getLinkage().stopInventory(); // App.getInstance().getLinkage().stopInventory();
SystemClock.sleep(200); // SystemClock.sleep(200);
//下电 // //下电
ModuleManager.powerOff(); ModuleManager.powerOff();
App.getInstance().getLinkage().setRFConnectMode(0); App.getInstance().getLinkage().setRFConnectMode(0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment