Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
Laisi_AutoMES2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jiawei.su
Laisi_AutoMES2
Commits
ed4174ad
Commit
ed4174ad
authored
Feb 03, 2021
by
yiyu.li
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://test.siger-data.com:9000/jiawei.su/Laisi_AutoMES2
parents
88da327b
434376ab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
AutomationController.cs
Server/Apis/Siger.ApiACC/Controllers/AutomationController.cs
+5
-0
AutomationStateController.cs
...pis/Siger.ApiACC/Controllers/AutomationStateController.cs
+2
-2
No files found.
Server/Apis/Siger.ApiACC/Controllers/AutomationController.cs
View file @
ed4174ad
...
...
@@ -328,12 +328,17 @@ namespace Siger.ApiACC.Controllers
if
(
monitor
!=
null
)
{
monitor
.
section
=
0
;
}
}
if
(
monitor
!=
null
)
{
monitor
.
status
=
status
;
monitor
.
route
=
taskObj
.
route
;
monitor
.
fixtureguid
=
taskObj
.
fixtureguid
;
monitor
.
fixturename
=
taskObj
.
fixturename
;
_automationFixtureMonitor
.
Update
(
monitor
);
}
...
...
Server/Apis/Siger.ApiACC/Controllers/AutomationStateController.cs
View file @
ed4174ad
...
...
@@ -91,14 +91,14 @@ namespace Siger.ApiACC.Controllers
return
new
ObjectResult
(
output
);
}
[
HttpGet
]
public
IActionResult
GetTasklist
(
int
section
,
int
tasktype
,
string
productCode
,
string
taskno
,
string
sn
,
int
status
,
int
actionType
,
string
trigger
time
,
string
complatetime
,
int
page
,
int
pageSize
)
public
IActionResult
GetTasklist
(
int
section
,
int
tasktype
,
string
productCode
,
string
taskno
,
string
sn
,
int
status
,
int
actionType
,
string
trigger
begin
,
string
triggerend
,
string
complatebegin
,
string
complatend
,
int
page
,
int
pageSize
)
{
var
ids
=
new
List
<
int
>();
if
(
section
!=
0
)
{
ids
=
_sigerProjectLevelSection
.
GetLevelSectionIds
(
section
,
ProjectId
).
ToList
();
}
var
resulst
=
_automationTaskList
.
GetTasklistPagedList
(
ids
,
tasktype
,
productCode
,
taskno
,
sn
,
status
,
actionType
,
trigger
time
,
complatetime
,
ProjectId
,
page
,
pageSize
);
var
resulst
=
_automationTaskList
.
GetTasklistPagedList
(
ids
,
tasktype
,
productCode
,
taskno
,
sn
,
status
,
actionType
,
trigger
begin
,
triggerend
,
complatebegin
,
complatend
,
ProjectId
,
page
,
pageSize
);
return
new
PagedObjectResult
(
resulst
,
resulst
.
Total
,
page
,
pageSize
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment