Ver código fonte

gengx

tags/old_version_1
fyf 11 meses atrás
pai
commit
28ea495971
2 arquivos alterados com 8 adições e 7 exclusões
  1. +7
    -6
      app/src/main/java/com/bonait/bnframework/modules/home/fragment/HomeFragmentSBKZ.java
  2. +1
    -1
      app/src/main/java/com/bonait/bnframework/modules/home/fragment/from/DishTestActivity.java

+ 7
- 6
app/src/main/java/com/bonait/bnframework/modules/home/fragment/HomeFragmentSBKZ.java Ver arquivo

@@ -425,7 +425,7 @@ public class HomeFragmentSBKZ extends BaseFragment {
fanchaoshudu_1.setVisibility(View.GONE);
fanchaoshudu.Init();

ToastUtils.warning("当前点击速度:" + _speed);
ToastUtils.warning("设置翻炒速度:" + speed.name());

int final_speed = _speed;
ExecuteTheRecipe.WritePLC("搅拌速度", _speed, new IWriteCallBack() {
@@ -479,7 +479,7 @@ public class HomeFragmentSBKZ extends BaseFragment {
*/
public void PumpWater(boolean isselectd) {
ExecuteTheRecipe.WritePLC("炒锅抽水", isselectd, null);
ToastUtils.warning("锅内加水:" + isselectd);
ToastUtils.warning("锅内加水:" + (isselectd?"打开":"关闭"));
}

/**
@@ -489,7 +489,7 @@ public class HomeFragmentSBKZ extends BaseFragment {
*/
public void PotWashingWater(boolean isselectd) {
ExecuteTheRecipe.WritePLC("炒锅放水", isselectd, null);
ToastUtils.warning("洗锅水枪:" + isselectd);
ToastUtils.warning("洗锅水枪:" + (isselectd?"打开":"关闭"));
}

public boolean isMake = false;
@@ -510,7 +510,7 @@ public class HomeFragmentSBKZ extends BaseFragment {

BPA_GOODSRECIPE data = Get主料(num);
ExecuteTheRecipe.ExecuteOperationSteps(data.processname, data.processvalue);
ToastUtils.warning("主料:" + num);
ToastUtils.warning("主料:" + num+"号仓投放");
isMake = false;
}
}).start();
@@ -524,7 +524,8 @@ public class HomeFragmentSBKZ extends BaseFragment {
*/
public void Pumping(int num, boolean isselectd) {
ExecuteTheRecipe.WritePLC("料仓" + (num) + "手动开关", isselectd, null);
ToastUtils.warning("抽料口:" + num + ",状态:" + isselectd);

ToastUtils.warning("料仓:" + num + "," + (isselectd?"打开":"关闭"));
}

/**
@@ -534,7 +535,7 @@ public class HomeFragmentSBKZ extends BaseFragment {
*/
public void SetFire(int data) {
ExecuteTheRecipe.Write_PLC_HuoLI((int) data);
ToastUtils.warning("设置火力:" + data);
ToastUtils.warning("设置火力:" + data+"档");
}

/**


+ 1
- 1
app/src/main/java/com/bonait/bnframework/modules/home/fragment/from/DishTestActivity.java Ver arquivo

@@ -852,7 +852,7 @@ public class DishTestActivity extends BaseActivity {
DataBus.getInstance().bpa_goodsrecipes.add(Get延迟(time_c));
}
DataBus.getInstance().bpa_goodsrecipes.add(data);
ToastUtils.warning("主料:" + num);
ToastUtils.warning("主料:" + num+"号仓投放");
SetZhiXingZhong(false);
//刷新工序
RefreshProcedure();


Carregando…
Cancelar
Salvar