|
|
@@ -28,16 +28,34 @@ import com.bonait.bnframework.business.YJDeviceHelper; |
|
|
|
import com.bonait.bnframework.common.ModbusSlave.ModbusTcpSlave; |
|
|
|
import com.bonait.bnframework.common.base.BaseActivity; |
|
|
|
import com.bonait.bnframework.common.constant.ConfigName; |
|
|
|
import com.bonait.bnframework.common.constant.MessageName; |
|
|
|
import com.bonait.bnframework.common.db.QueryDB; |
|
|
|
import com.bonait.bnframework.common.db.mode.BPA_GOODS; |
|
|
|
import com.bonait.bnframework.common.db.mode.BPA_GOODSRECIPE; |
|
|
|
import com.bonait.bnframework.common.helper.I.IRunT; |
|
|
|
import com.bonait.bnframework.common.helper.MQTT; |
|
|
|
import com.bonait.bnframework.common.helper.MediaPlayerHelper; |
|
|
|
import com.bonait.bnframework.common.helper.MessageLog; |
|
|
|
import com.bonait.bnframework.common.helper.TcpClient; |
|
|
|
import com.bonait.bnframework.common.helper.TcpServer; |
|
|
|
import com.bonait.bnframework.common.http.callback.json.JsonDialogCallback; |
|
|
|
import com.bonait.bnframework.common.message.MessageManager; |
|
|
|
import com.bonait.bnframework.common.modbus.IOperateResult; |
|
|
|
import com.bonait.bnframework.common.modbus.ModbusMaster; |
|
|
|
import com.bonait.bnframework.common.model.ResAPI; |
|
|
|
import com.bonait.bnframework.common.model.mode.ActionJsonMode; |
|
|
|
import com.bonait.bnframework.common.model.mode.BatchingInfo; |
|
|
|
import com.bonait.bnframework.common.model.mode.BomTechnologyActionInfo; |
|
|
|
import com.bonait.bnframework.common.model.mode.CloudGood; |
|
|
|
import com.bonait.bnframework.common.model.mode.GoodsTechnology; |
|
|
|
import com.bonait.bnframework.common.model.mode.TechnologyAction; |
|
|
|
import com.bonait.bnframework.common.model.mode.UpdateBomInfo; |
|
|
|
import com.bonait.bnframework.common.model.mode.UpdateCloudGood; |
|
|
|
import com.bonait.bnframework.common.oss.OssHelper; |
|
|
|
import com.bonait.bnframework.common.tabbar.MainNavigateTabBar; |
|
|
|
import com.bonait.bnframework.common.utils.NetworkUtils; |
|
|
|
import com.bonait.bnframework.common.utils.ToastUtils; |
|
|
|
import com.bonait.bnframework.common.view.GoodEditDialog; |
|
|
|
import com.bonait.bnframework.modules.home.adapter.FragmentAdapter; |
|
|
|
import com.bonait.bnframework.modules.home.fragment.DingDanfragment; |
|
|
|
import com.bonait.bnframework.modules.home.fragment.DoubleFryingpanFragment; |
|
|
@@ -45,14 +63,21 @@ import com.bonait.bnframework.modules.home.fragment.GongnengFragment; |
|
|
|
import com.bonait.bnframework.modules.home.fragment.RobotMain; |
|
|
|
import com.bonait.bnframework.modules.home.fragment.SheZhifragment; |
|
|
|
import com.bonait.bnframework.modules.mine.fragment.MyFragment; |
|
|
|
import com.google.gson.Gson; |
|
|
|
import com.lzy.okgo.OkGo; |
|
|
|
import com.lzy.okgo.model.HttpHeaders; |
|
|
|
import com.lzy.okgo.model.Response; |
|
|
|
import com.qmuiteam.qmui.widget.QMUIViewPager; |
|
|
|
|
|
|
|
import java.net.InetAddress; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.HashMap; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
import butterknife.BindView; |
|
|
|
import butterknife.ButterKnife; |
|
|
|
import okhttp3.MediaType; |
|
|
|
import okhttp3.RequestBody; |
|
|
|
|
|
|
|
public class BottomNavigationMainActivity extends BaseActivity { |
|
|
|
|
|
|
@@ -164,7 +189,6 @@ Context context; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 配置bottom底部菜单栏监听器,手指点击底部菜单监听 |
|
|
|
*/ |
|
|
|