fyf 1 anno fa
parent
commit
da2100a4b7
1 ha cambiato i file con 1 aggiunte e 3 eliminazioni
  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 Vedi File

@@ -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));

}
});


Caricamento…
Annulla
Salva