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
1460be00
Commit
1460be00
authored
Feb 06, 2021
by
xin.yang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://test.siger-data.com:9000/jiawei.su/Laisi_AutoMES2
parents
b141fc82
6dd307b8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
AutomationController.cs
Server/Apis/Siger.ApiACC/Controllers/AutomationController.cs
+0
-0
AutomationOperateController.cs
...s/Siger.ApiACC/Controllers/AutomationOperateController.cs
+8
-8
siger_automation_machine_property.cs
...cRepository/Entities/siger_automation_machine_property.cs
+2
-2
No files found.
Server/Apis/Siger.ApiACC/Controllers/AutomationController.cs
View file @
1460be00
This diff is collapsed.
Click to expand it.
Server/Apis/Siger.ApiACC/Controllers/AutomationOperateController.cs
View file @
1460be00
...
...
@@ -326,10 +326,6 @@ namespace Siger.ApiACC.Controllers
updatetime
=
DateTime
.
Now
});
}
if
(
machineStatus
.
auto
==
1
)
{
throw
new
BadRequestException
(
AccEnum
.
MachineDisable
);
}
var
plandts
=
_planDetails
.
Get
(
f
=>
f
.
projectId
==
ProjectId
&&
f
.
OrderNumber
==
loading
.
code
);
if
(
plandts
==
null
)
...
...
@@ -348,10 +344,15 @@ namespace Siger.ApiACC.Controllers
{
throw
new
BadRequestException
(
AccEnum
.
FixtureToolsIsNone
);
}
var
exitsUpload
=
_automationTaskList
.
Get
(
f
=>
f
.
send
==
0
&&
f
.
locationid
==
loading
.
locationid
);
if
(
exitsUpload
!=
null
)
var
monitor
=
_automationFixtureMonitor
.
Get
(
f
=>
f
.
section
==
loading
.
section
);
if
(
monitor
!=
null
)
{
throw
new
BadRequestException
(
AccEnum
.
FixtureOrderNulll
);
var
exitsUpload
=
_automationTaskList
.
Get
(
f
=>
f
.
no
==
monitor
.
taskno
);
if
(
exitsUpload
!=
null
)
{
if
(
exitsUpload
.
status
!=
(
int
)
Automation
.
TaskResultStatus
.
Complated
)
throw
new
BadRequestException
(
AccEnum
.
TaskProcessing
);
}
}
var
taskNo
=
_automationTaskList
.
CrateTaskNumber
(
Automation
.
TaskTrigerType
.
Manual
);
var
sn
=
_automationTaskList
.
CreateRandonSn
(
plan
.
product_code
);
...
...
@@ -394,7 +395,6 @@ namespace Siger.ApiACC.Controllers
});
var
monitor
=
_automationFixtureMonitor
.
Get
(
f
=>
f
.
section
==
loading
.
section
);
if
(
monitor
==
null
)
{
_automationFixtureMonitor
.
Insert
(
new
siger_automation_fixture_tools_monitor
...
...
Server/Infrastructure/Repositories/Siger.Middlelayer.AccRepository/Entities/siger_automation_machine_property.cs
View file @
1460be00
...
...
@@ -21,11 +21,11 @@ namespace Siger.Middlelayer.AccRepository.Entities
/// <summary>
/// 0:不是上料1:是上料
/// </summary>
public
string
upload
{
get
;
set
;
}
public
int
upload
{
get
;
set
;
}
/// <summary>
/// 0:不是下料1:是下料
/// </summary>
public
string
down
{
get
;
set
;
}
public
int
down
{
get
;
set
;
}
public
DateTime
createtime
{
get
;
set
;
}
...
...
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