Browse Source

去除硬件启动位置

Shangyp 3 months ago
parent
commit
ed076921c1
1 changed files with 0 additions and 2 deletions
  1. 0 2
      app/src/main/java/com/hanghui/senic/network/HttpRequest.java

+ 0 - 2
app/src/main/java/com/hanghui/senic/network/HttpRequest.java

@@ -418,7 +418,6 @@ public class HttpRequest {
     private void setICCardReader() {
         //东信多合一阅读器的身份证和二维码是在同一个设备上,因此此时也需要初始化东信多合一的身份证阅读器DXAllInoneIDCardcontroller
         if (ConfigManager.isOpenICCard()) {
-            DeviceInitManager.getInstance().totalOpenHardwareNum++;
             httpResponseCallback.updateView(Constants.Code_HttpResponseCallback_ShowICCardIcon, "IC卡开启");
             DeviceInitManager.getInstance().setUseIcCard(true);
             IDCardControllerManager.init(9);
@@ -553,7 +552,6 @@ public class HttpRequest {
         if (!ConfigManager.getAuthenticationBeanListBean().isOpenPassport()) {
             return;
         }
-        DeviceInitManager.getInstance().totalOpenHardwareNum++;
         httpResponseCallback.updateView(Constants.Code_HttpResponseCallback_ShowPassportIcon, "护照机开启");
         if (PassportController.getInstance().ocrThread != null && PassportController.getInstance().ocrThread.CheckDeviceOnlineEx() == 0) {
             return;