|
|
@@ -579,18 +579,37 @@ public class WokControlDialog extends DialogFragment { |
|
|
|
NewToastUtil.getInstance().showToastError("输入格式出错!"); |
|
|
|
return; |
|
|
|
} |
|
|
|
ModbusCenter.WritePlc(deviceNum,"清洗抽水量", val, null); |
|
|
|
try { |
|
|
|
Thread.sleep(500);//等待写入成功 |
|
|
|
} catch (InterruptedException e) { |
|
|
|
|
|
|
|
} |
|
|
|
switch (deviceNum){ |
|
|
|
case 1: |
|
|
|
ExecuteTheRecipe.BottomClick(shengdu?"深度清洗":"一般清洗"); |
|
|
|
//复位反馈信号 |
|
|
|
ExecuteTheRecipe.WritePLC("炒锅清洗反馈", false, null); |
|
|
|
ExecuteTheRecipe.WritePLC("清洗抽水量", val, null); |
|
|
|
try { |
|
|
|
Thread.sleep(500);//等待写入成功 |
|
|
|
} catch (InterruptedException e) { |
|
|
|
|
|
|
|
} |
|
|
|
if(shengdu){ |
|
|
|
ExecuteTheRecipe.BottomClick("深度清洗"); |
|
|
|
}else { |
|
|
|
ExecuteTheRecipe.BottomClick1("炒锅清洗"); |
|
|
|
} |
|
|
|
break; |
|
|
|
case 2: |
|
|
|
ExecuteTheRecipe2.BottomClick(shengdu?"深度清洗":"一般清洗"); |
|
|
|
//复位反馈信号 |
|
|
|
ExecuteTheRecipe2.WritePLC("炒锅清洗反馈", false, null); |
|
|
|
ExecuteTheRecipe2.WritePLC("清洗抽水量", val, null); |
|
|
|
try { |
|
|
|
Thread.sleep(500);//等待写入成功 |
|
|
|
} catch (InterruptedException e) { |
|
|
|
|
|
|
|
} |
|
|
|
if(shengdu){ |
|
|
|
ExecuteTheRecipe2.BottomClick("深度清洗"); |
|
|
|
}else { |
|
|
|
ExecuteTheRecipe2.BottomClick1("炒锅清洗"); |
|
|
|
} |
|
|
|
break; |
|
|
|
case 3: |
|
|
|
break; |
|
|
|