|
@@ -50,7 +50,6 @@ import com.hanghui.senic.service.usbserialdemo.utile.PopupWindowManager;
|
|
import com.hanghui.senic.service.usbserialdemo.utile.SharedPreferencesUtils;
|
|
import com.hanghui.senic.service.usbserialdemo.utile.SharedPreferencesUtils;
|
|
import com.hanghui.senic.service.usbserialdemo.utile.StringIsNull;
|
|
import com.hanghui.senic.service.usbserialdemo.utile.StringIsNull;
|
|
import com.hanghui.senic.service.usbserialdemo.utile.StringUtils;
|
|
import com.hanghui.senic.service.usbserialdemo.utile.StringUtils;
|
|
-import com.hanghui.senic.service.usbserialdemo.utile.X1.RelaysAndLedUtile;
|
|
|
|
import com.hanghui.senic.service.usbserialdemo.utile.devicesUI.BaseDeviceUI;
|
|
import com.hanghui.senic.service.usbserialdemo.utile.devicesUI.BaseDeviceUI;
|
|
import com.hanghui.senic.service.usbserialdemo.utile.devicesUI.IDeviceUI;
|
|
import com.hanghui.senic.service.usbserialdemo.utile.devicesUI.IDeviceUI;
|
|
import com.hanghui.senic.service.usbserialdemo.utile.loacat.AppLogUtils;
|
|
import com.hanghui.senic.service.usbserialdemo.utile.loacat.AppLogUtils;
|
|
@@ -407,9 +406,9 @@ public class MainActivity extends BaseActivity {
|
|
*/
|
|
*/
|
|
private void updateNetworkInternetView(int InternetAvailableCode) {
|
|
private void updateNetworkInternetView(int InternetAvailableCode) {
|
|
if (InternetAvailableCode == Constants.Code_internetAvailable){
|
|
if (InternetAvailableCode == Constants.Code_internetAvailable){
|
|
- iv_internetStatus.setImageResource(R.mipmap.network_available);
|
|
|
|
|
|
+ iv_internetStatus.setImageResource(R.mipmap.network_internet_available);
|
|
} else if (InternetAvailableCode == Constants.Code_internetUnAvailable){
|
|
} else if (InternetAvailableCode == Constants.Code_internetUnAvailable){
|
|
- iv_internetStatus.setImageResource(R.mipmap.no_network);
|
|
|
|
|
|
+ iv_internetStatus.setImageResource(R.mipmap.network_internet_unavailable);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|