Commit c9eced46 by jiawei.su

someupdate

parent f823a73c
...@@ -286,6 +286,7 @@ namespace Siger.ApiACC.Controllers ...@@ -286,6 +286,7 @@ namespace Siger.ApiACC.Controllers
{ {
//2.更新状态 //2.更新状态
taskObj.status = status; taskObj.status = status;
taskObj.completetime = DateTime.Now;
_automationTaskList.Update(taskObj); _automationTaskList.Update(taskObj);
//PLC 反馈结束. //PLC 反馈结束.
......
...@@ -281,10 +281,10 @@ namespace Siger.ApiACC.Controllers ...@@ -281,10 +281,10 @@ namespace Siger.ApiACC.Controllers
no=taskNo, no=taskNo,
action= Automation.TaskAction.Step_LK_SXLW, action= Automation.TaskAction.Step_LK_SXLW,
actiontype= Automation.ExcueType.None, actiontype= Automation.ExcueType.None,
triggertime=DateTime.MinValue, triggertime=DateTime.Now,
tasktype= Automation.TaskActionType.Load, tasktype= Automation.TaskActionType.Load,
operater=UserId, operater=UserId,
operatetime=DateTime.Now, operatetime=DateTime.MinValue,
sectionid=loading.section, sectionid=loading.section,
send=0, send=0,
status=1, status=1,
...@@ -395,7 +395,7 @@ namespace Siger.ApiACC.Controllers ...@@ -395,7 +395,7 @@ namespace Siger.ApiACC.Controllers
no = taskNo, no = taskNo,
action = Automation.TaskAction.Step_SXLW_LK, action = Automation.TaskAction.Step_SXLW_LK,
actiontype = Automation.ExcueType.None, actiontype = Automation.ExcueType.None,
triggertime = DateTime.MinValue, triggertime = DateTime.Now,
tasktype = Automation.TaskActionType.Load, tasktype = Automation.TaskActionType.Load,
operater = UserId, operater = UserId,
operatetime = DateTime.Now, operatetime = DateTime.Now,
......
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