From da2100a4b73ee775d6e273581bc2f7561928d988 Mon Sep 17 00:00:00 2001 From: fyf <11621@LAPTOP-04QQU0AO> Date: Wed, 16 Aug 2023 17:43:30 +0800 Subject: [PATCH] 123 --- .../main/java/com/example/bpa/view/fragment/HomeFragment.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/com/example/bpa/view/fragment/HomeFragment.java b/app/src/main/java/com/example/bpa/view/fragment/HomeFragment.java index e6e0e6c..e54c073 100644 --- a/app/src/main/java/com/example/bpa/view/fragment/HomeFragment.java +++ b/app/src/main/java/com/example/bpa/view/fragment/HomeFragment.java @@ -79,8 +79,6 @@ public class HomeFragment extends Fragment implements View.OnClickListener, MyCl * 界面实例 */ public View view; - - public ColorfulProgressbar progress_bar; //endregion //region 私有函数 @@ -311,7 +309,7 @@ public class HomeFragment extends Fragment implements View.OnClickListener, MyCl wendu1.setText(String.valueOf(DeviceData.Get().getBWX_FructoseTemperature()) + "°C"); wendu2.setText(String.valueOf(DeviceData.Get().getJRX_FructoseTemperature()) + "°C"); plc_status.setText(DataBus.getInstance().PlcIsConnect?"正常":"异常"); - plc_status.setTextColor(DataBus.getInstance().PlcIsConnect?getResources().getColor(R.color.foreground):getResources().getColor(R.color.warm_red)); + // plc_status.setTextColor(DataBus.getInstance().PlcIsConnect?getResources().getColor(R.color.foreground):getResources().getColor(R.color.warm_red)); } });