update:
上报apms炉号修改
This commit is contained in:
parent
59921c28ca
commit
292c511c22
@ -1218,6 +1218,13 @@ public class AsynRunTaskService extends BaseService {
|
|||||||
* 单步骤任务都生成炉号
|
* 单步骤任务都生成炉号
|
||||||
*/
|
*/
|
||||||
private void createStoveCode(CurrTask currTask) {
|
private void createStoveCode(CurrTask currTask) {
|
||||||
|
//单步骤任务
|
||||||
|
if (currTask.getIsAuto() == 0) {
|
||||||
|
String stoveCode = StoveCodeUtils.getStoveCode(currTask.getTargetPosition(), currTask.getPlcValue());
|
||||||
|
currTask.setStoveCode(stoveCode);
|
||||||
|
currTaskServiceBiz.updateById(currTask);
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (!(isFirstTask(currTask) && currTask.getKilnId() == 3)) {
|
if (!(isFirstTask(currTask) && currTask.getKilnId() == 3)) {
|
||||||
//String stoveCode = CodeGeneratorHelper.getStoveCode(currTask.getTargetPosition(), currTask.getPlcValue().toString());
|
//String stoveCode = CodeGeneratorHelper.getStoveCode(currTask.getTargetPosition(), currTask.getPlcValue().toString());
|
||||||
String stoveCode = StoveCodeUtils.getStoveCode(currTask.getTargetPosition(), currTask.getPlcValue());
|
String stoveCode = StoveCodeUtils.getStoveCode(currTask.getTargetPosition(), currTask.getPlcValue());
|
||||||
|
Loading…
Reference in New Issue
Block a user