Commit c9eced46 by jiawei.su

someupdate

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