Commit bf766952 by pye52

优化debug模式mac地址的显示及网络切换的间隔限制

parent 4dd1e032
......@@ -370,6 +370,8 @@ public class MainActivity extends AppCompatActivity implements View.OnClickListe
logoLayout.setVisibility(View.GONE);
debugLayout.setOnClickListener(this);
logoLayout.setOnClickListener(this);
refreshEthInfo();
refreshWifiInfo();
refreshPackageInfo();
}
......
......@@ -40,7 +40,7 @@ import static com.bgycc.smartcanteen.utils.SmartCanteenUtils.TAG;
public class SCWebSocketClient extends WebSocketClient {
private static final long HEARTBEAT_INTERVAL = 3 * 60 * 1000;
private static final long RECONNECT_DELAY = 5 * 1000;
private static final long SWITCH_INTERVAL = 15 * 1000;
private static final long SWITCH_INTERVAL = 10 * 1000;
private static final String RESPONSE_ACTION = "action";
private static final String RESPONSE_DATA = "data";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment