Ver a proveniência

设备心跳状态监听

鸿鹄中学一拖二
pry há 3 meses
ascendente
cometimento
528f436643
1 ficheiros alterados com 2 adições e 2 eliminações
  1. +2
    -2
      app/src/main/java/com/bonait/bnframework/modules/home/fragment/DoubleFryingpanFragment.java

+ 2
- 2
app/src/main/java/com/bonait/bnframework/modules/home/fragment/DoubleFryingpanFragment.java Ver ficheiro

@@ -310,9 +310,9 @@ public class DoubleFryingpanFragment extends BaseFragment {
tv_Status2.setTextColor(Color.parseColor("#f0a732"));

btn2.setText(FryingpanModbusHelper.getInstance().getMake(2)?"强制取消":"选择菜品");
btn2.setBackgroundResource(FryingpanModbusHelper.getInstance().getMake(1)?R.drawable.button5:R.drawable.button4);
btn2.setBackgroundResource(FryingpanModbusHelper.getInstance().getMake(2)?R.drawable.button5:R.drawable.button4);
btn2.setEnabled(true);
btn2.setTextColor(Color.parseColor(FryingpanModbusHelper.getInstance().getMake(1)?"#ffffff":"#000000"));
btn2.setTextColor(Color.parseColor(FryingpanModbusHelper.getInstance().getMake(2)?"#ffffff":"#000000"));
}else{
tv_Status2.setText("连接状态:未连接");
tv_Status2.setTextColor(Color.parseColor("#F03274"));


Carregando…
Cancelar
Guardar