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