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
0562c6d2
Commit
0562c6d2
authored
Mar 15, 2021
by
jiawei.su
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixedbug
parent
909cff7f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
AutomationStateController.cs
...pis/Siger.ApiACC/Controllers/AutomationStateController.cs
+7
-9
No files found.
Server/Apis/Siger.ApiACC/Controllers/AutomationStateController.cs
View file @
0562c6d2
...
@@ -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
);
}
}
//取消拆卸完成
}
}
}
}
}
}
...
...
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