yang 3 месяцев назад
Родитель
Сommit
ea4188bd01

+ 1 - 1
app/src/main/java/com/hanghui/senic/activity/MainActivity.java

@@ -112,7 +112,7 @@ public class MainActivity extends BaseActivity {
                     updateNetworkInternetView(Constants.Code_internetAvailable);
                     updateNetworkTypeView();
                     break;
-                case Constants.Code_HttpResponseCallback_BottomTextType://判断底部文字显示(如果硬件没有开启,则直接初始化smile)
+                case Constants.Code_HttpResponseCallback_StartHardware://开始启动各个硬件,如果没有任何外设开启,则直接初始化smile
                     if (DeviceInitManager.getInstance().totalOpenHardwareNum == 0){//没有需要打开的硬件直接smile初始化
                         SmileController.getInstance().init();
                     }else {

+ 1 - 1
app/src/main/java/com/hanghui/senic/common/Constants.java

@@ -40,7 +40,7 @@ public class Constants {
 
     public static final int Code_HttpResponseCallback_BottomTextPrompt = 0;//设置底部文字提示
     public static final int Code_HttpResponseCallback_InternetAvailable = 1;//设置internet网络正常图标
-    public static final int Code_HttpResponseCallback_BottomTextType = 2;//判断底部文字文字显示(如果硬件没有开启,则直接初始化smile)
+    public static final int Code_HttpResponseCallback_StartHardware = 2;//开始启动各个硬件,如果没有任何外设开启,则直接初始化smile
     public static final int Code_HttpResponseCallback_HomeBackgroundImage = 3;//主页背景图片
     public static final int Code_HttpResponseCallback_HideBottomTextView = 4;//检测到设备已到期隐藏底部文字
     public static final int Code_HttpResponseCallback_ShowBottomTextView = 5;//显示底部文字

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

@@ -252,7 +252,7 @@ public class HttpRequest {
 
         //设置硬件开启的总数量
         setTotalHardwareOpenNum();
-        httpResponseCallback.updateView(Constants.Code_HttpResponseCallback_BottomTextType,"硬件启动");
+        httpResponseCallback.updateView(Constants.Code_HttpResponseCallback_StartHardware,"硬件启动");
         //设置身份证阅读器相关
         setupIDCardReader();
         //二维码启动或关闭