|
@@ -121,6 +121,8 @@ public class InitActivity extends BaseActivity implements SerialPortUtil.ISerial
|
|
|
|
|
|
dateRefresh();
|
|
|
|
|
|
+ //3分钟自动重启测试
|
|
|
+ //updateHandler.sendEmptyMessageDelayed(555, 180000);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
@@ -614,6 +616,9 @@ public class InitActivity extends BaseActivity implements SerialPortUtil.ISerial
|
|
|
AutoRebootUtil.reboot(MyApplication.getAppContext());
|
|
|
CallingBedSendCommand.setNetStatus(serialPortUtil, "1");
|
|
|
break;
|
|
|
+ /*case 555:
|
|
|
+ AutoRebootUtil.reboot(MyApplication.getAppContext());
|
|
|
+ break;*/
|
|
|
}
|
|
|
}
|
|
|
};
|