Commit 0562c6d2 by jiawei.su

fixedbug

parent 909cff7f
...@@ -215,7 +215,7 @@ namespace Siger.ApiACC.Controllers ...@@ -215,7 +215,7 @@ namespace Siger.ApiACC.Controllers
//重置上料位状态 //重置上料位状态
if (record.sectionid==perperty.sectionid && record.action == Automation.TaskAction.Step_LK_SXLW) if (record.sectionid==perperty.sectionid && record.action == Automation.TaskAction.Step_LK_SXLW)
{ {
perperty.upload = 0; perperty.upload -= 1;
_automationSectionProperty.Update(perperty); _automationSectionProperty.Update(perperty);
} }
} }
...@@ -223,18 +223,16 @@ namespace Siger.ApiACC.Controllers ...@@ -223,18 +223,16 @@ namespace Siger.ApiACC.Controllers
{ {
//重置下料位置 //重置下料位置
//去抽检台 //去抽检台}
if (record.extend1.ToInt()==perperty.sectionid && record.action == Automation.TaskAction.Step_LK_CJT)
{
perperty.down = 0;
_automationSectionProperty.Update(perperty);
}
//去下料位 //去下料位
if (record.extend1.ToInt()==perperty.sectionid && record.action== Automation.TaskAction.Step_LK_SXLW) //去立库
if (record.extend1.ToInt()==perperty.sectionid && (record.action== Automation.TaskAction.Step_LK_SXLW || record.action==Automation.TaskAction.Step_SXLW_LK || record.action == Automation.TaskAction.Step_LK_CJT))
{ {
perperty.down = 0; perperty.down -=1;
_automationSectionProperty.Update(perperty); _automationSectionProperty.Update(perperty);
} }
//取消拆卸完成
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment