|
|
@@ -5,6 +5,8 @@ import androidx.annotation.NonNull; |
|
|
|
import com.bonait.bnframework.common.constant.ConfigName; |
|
|
|
import com.bonait.bnframework.common.utils.ToastUtils; |
|
|
|
import com.bonait.bnframework.modules.home.fragment.from.fragment.SystemCsPLCFragment; |
|
|
|
import com.bonait.bnframework.modules.home.fragment.from.fragment.WokSetGKCXFragment; |
|
|
|
import com.bonait.bnframework.modules.home.fragment.from.fragment.WokSetTLZZFragment; |
|
|
|
import com.google.android.material.bottomnavigation.BottomNavigationView; |
|
|
|
|
|
|
|
import androidx.viewpager.widget.ViewPager; |
|
|
@@ -99,9 +101,8 @@ public class WhActivity extends BaseActivity { |
|
|
|
*/ |
|
|
|
private void initFragment() { |
|
|
|
fragmentAdapter = new FragmentAdapter(getSupportFragmentManager()); |
|
|
|
|
|
|
|
fragmentAdapter.addFragment(new SystemCsPLCFragment()); |
|
|
|
fragmentAdapter.addFragment(new SystemCsControlFragment()); |
|
|
|
fragmentAdapter.addFragment(new WokSetGKCXFragment()); |
|
|
|
fragmentAdapter.addFragment(new WokSetTLZZFragment()); |
|
|
|
fragmentAdapter.addFragment(new SystemCsMonitorFragment()); |
|
|
|
fragmentAdapter.addFragment(new SystemCsFltlFragment()); |
|
|
|
viewPager.setAdapter(fragmentAdapter); |
|
|
|