|
|
@@ -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+"档"); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|