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
232ecd3b
Commit
232ecd3b
authored
Mar 15, 2021
by
jiawei.su
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixedbug
parent
7bde70c3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
AutomationOperateController.cs
...s/Siger.ApiACC/Controllers/AutomationOperateController.cs
+6
-6
AutomationStateController.cs
...pis/Siger.ApiACC/Controllers/AutomationStateController.cs
+2
-2
No files found.
Server/Apis/Siger.ApiACC/Controllers/AutomationOperateController.cs
View file @
232ecd3b
...
...
@@ -154,23 +154,23 @@ namespace Siger.ApiACC.Controllers
{
throw
new
BadRequestException
(
CommonEnum
.
RecordNotFound
);
}
var
monitor
=
_automation
TaskList
.
GetList
(
f
=>
f
.
sectionid
==
section
,
"id"
,
true
).
FirstOrDefault
(
);
var
monitor
=
_automation
FixtureMonitor
.
Get
(
f
=>
f
.
section
==
section
);
var
img
=
string
.
Empty
;
if
(
monitor
!=
null
)
{
var
pd
=
_sigerProjectProduct
.
Get
(
f
=>
f
.
code
==
monitor
.
product
c
ode
);
var
pd
=
_sigerProjectProduct
.
Get
(
f
=>
f
.
code
==
monitor
.
product
C
ode
);
img
=
pd
!=
null
?
pd
.
image
:
""
;
}
var
result
=
new
ResponsePlanlFixtureInfo
{
OrderNumber
=
monitor
!=
null
?
monitor
.
order
code
:
""
,
OrderNumber
=
monitor
!=
null
?
monitor
.
order
number
:
""
,
FixtureGuid
=
monitor
!=
null
?
monitor
.
fixtureguid
:
""
,
FixtureCode
=
monitor
!=
null
?
monitor
.
fixturename
:
""
,
ProductCode
=
monitor
!=
null
?
monitor
.
product
c
ode
:
""
,
ProductName
=
monitor
!=
null
?
monitor
.
product
n
ame
:
""
,
ProductCode
=
monitor
!=
null
?
monitor
.
product
C
ode
:
""
,
ProductName
=
monitor
!=
null
?
monitor
.
product
N
ame
:
""
,
Sn
=
monitor
!=
null
?
monitor
.
sn
:
""
,
status
=
monitor
!=
null
?
monitor
.
status
:
0
,
Location
=
monitor
!=
null
?
monitor
.
location
i
d
:
0
,
Location
=
monitor
!=
null
?
monitor
.
location
I
d
:
0
,
Url
=
img
};
return
new
ObjectResult
(
result
);
...
...
Server/Apis/Siger.ApiACC/Controllers/AutomationStateController.cs
View file @
232ecd3b
...
...
@@ -226,13 +226,13 @@ namespace Siger.ApiACC.Controllers
//去抽检台
if
(
record
.
extend1
.
ToInt
()==
perperty
.
sectionid
&&
record
.
action
==
Automation
.
TaskAction
.
Step_LK_CJT
)
{
perperty
.
upload
=
0
;
perperty
.
down
=
0
;
_automationSectionProperty
.
Update
(
perperty
);
}
//去下料位
if
(
record
.
extend1
.
ToInt
()==
perperty
.
sectionid
&&
record
.
action
==
Automation
.
TaskAction
.
Step_LK_SXLW
)
{
perperty
.
upload
=
0
;
perperty
.
down
=
0
;
_automationSectionProperty
.
Update
(
perperty
);
}
}
...
...
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