Browse Source

123

调味吧台
fyf 1 year ago
parent
commit
da2100a4b7
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      app/src/main/java/com/example/bpa/view/fragment/HomeFragment.java

+ 1
- 3
app/src/main/java/com/example/bpa/view/fragment/HomeFragment.java View File

@@ -79,8 +79,6 @@ public class HomeFragment extends Fragment implements View.OnClickListener, MyCl
* 界面实例 * 界面实例
*/ */
public View view; public View view;

public ColorfulProgressbar progress_bar;
//endregion //endregion


//region 私有函数 //region 私有函数
@@ -311,7 +309,7 @@ public class HomeFragment extends Fragment implements View.OnClickListener, MyCl
wendu1.setText(String.valueOf(DeviceData.Get().getBWX_FructoseTemperature()) + "°C"); wendu1.setText(String.valueOf(DeviceData.Get().getBWX_FructoseTemperature()) + "°C");
wendu2.setText(String.valueOf(DeviceData.Get().getJRX_FructoseTemperature()) + "°C"); wendu2.setText(String.valueOf(DeviceData.Get().getJRX_FructoseTemperature()) + "°C");
plc_status.setText(DataBus.getInstance().PlcIsConnect?"正常":"异常"); 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));


} }
}); });


Loading…
Cancel
Save