Преглед изворни кода

托管倒计时增加到60s

weizhengliang пре 3 година
родитељ
комит
6e8a84f51b

+ 1 - 1
app/src/main/java/com/wdkl/callingmainnurse/ui/fragment/TrusteeshipFragment.java

@@ -449,7 +449,7 @@ public class TrusteeshipFragment extends BaseFragment implements TrusteeshipAdap
 //                serialPortUtil.closeSerialPort();
 //                Toast.makeText(getActivity(), "主机一请求主机二托管", Toast.LENGTH_SHORT).show();
                 if (mCountDownAutoTimer == null) {
-                    mCountDownAutoTimer = new CountDownTimer(30000, 1000) {
+                    mCountDownAutoTimer = new CountDownTimer(60000, 1000) {
                         @Override
                         public void onTick(long l) {
                             tvStatus.setText("托管状态:" + "本机请求" + trusteeshipEntityList.get(position).getDeviceName() + "托管" + "正在连接中:" + l / 1000 + "秒");