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