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
57a9f688
Commit
57a9f688
authored
Feb 24, 2021
by
jiawei.su
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixedbug
parent
4eae8a9e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
FixtureTools.cs
.../Siger.Middlelayer.Utility/ImportEntities/FixtureTools.cs
+8
-4
AutomationLocationRepository.cs
...ccRepository/Repositories/AutomationLocationRepository.cs
+1
-1
No files found.
Server/Common/Siger.Middlelayer.Utility/ImportEntities/FixtureTools.cs
View file @
57a9f688
...
@@ -257,9 +257,11 @@ namespace Siger.Middlelayer.Utility.ImportEntities
...
@@ -257,9 +257,11 @@ namespace Siger.Middlelayer.Utility.ImportEntities
{
{
[
ExcelColumn
(
"任务编号"
)]
[
ExcelColumn
(
"任务编号"
)]
public
string
taskno
{
get
;
set
;
}
public
string
taskno
{
get
;
set
;
}
[
ExcelColumn
(
"产线层级"
)]
[
ExcelColumn
(
"发起工站"
)]
public
string
fromsection
{
get
;
set
;
}
[
ExcelColumn
(
"目标工站"
)]
public
string
section
{
get
;
set
;
}
public
string
section
{
get
;
set
;
}
[
ExcelColumn
(
"触发方"
)]
[
ExcelColumn
(
"触发方
式
"
)]
public
string
trigger
{
get
;
set
;
}
public
string
trigger
{
get
;
set
;
}
[
ExcelColumn
(
"任务类型"
)]
[
ExcelColumn
(
"任务类型"
)]
public
string
tasktype
{
get
;
set
;
}
public
string
tasktype
{
get
;
set
;
}
...
@@ -269,8 +271,8 @@ namespace Siger.Middlelayer.Utility.ImportEntities
...
@@ -269,8 +271,8 @@ namespace Siger.Middlelayer.Utility.ImportEntities
public
string
ordernumber
{
get
;
set
;
}
public
string
ordernumber
{
get
;
set
;
}
[
ExcelColumn
(
"产品编号"
)]
[
ExcelColumn
(
"产品编号"
)]
public
string
productCode
{
get
;
set
;
}
public
string
productCode
{
get
;
set
;
}
[
ExcelColumn
(
"工序编号"
)]
//
[ExcelColumn("工序编号")]
public
string
routeNo
{
get
;
set
;
}
//
public string routeNo { get; set; }
[
ExcelColumn
(
"工序名称"
)]
[
ExcelColumn
(
"工序名称"
)]
public
string
route
{
get
;
set
;
}
public
string
route
{
get
;
set
;
}
[
ExcelColumn
(
"程序号"
)]
[
ExcelColumn
(
"程序号"
)]
...
@@ -281,6 +283,8 @@ namespace Siger.Middlelayer.Utility.ImportEntities
...
@@ -281,6 +283,8 @@ namespace Siger.Middlelayer.Utility.ImportEntities
public
string
fixtureCode
{
get
;
set
;
}
public
string
fixtureCode
{
get
;
set
;
}
[
ExcelColumn
(
"动作"
)]
[
ExcelColumn
(
"动作"
)]
public
string
action
{
get
;
set
;
}
public
string
action
{
get
;
set
;
}
[
ExcelColumn
(
"下发状态"
)]
public
string
send
{
get
;
set
;
}
[
ExcelColumn
(
"执行类型"
)]
[
ExcelColumn
(
"执行类型"
)]
public
string
actionType
{
get
;
set
;
}
public
string
actionType
{
get
;
set
;
}
[
ExcelColumn
(
"状态"
)]
[
ExcelColumn
(
"状态"
)]
...
...
Server/Infrastructure/Repositories/Siger.Middlelayer.AccRepository/Repositories/AutomationLocationRepository.cs
View file @
57a9f688
...
@@ -35,7 +35,7 @@ namespace Siger.Middlelayer.AccRepository.Repositories
...
@@ -35,7 +35,7 @@ namespace Siger.Middlelayer.AccRepository.Repositories
from
u
in
uu
.
DefaultIfEmpty
()
from
u
in
uu
.
DefaultIfEmpty
()
join
r
in
_context
.
siger_project_product_route
on
q
.
routeid
equals
r
.
id
into
rr
join
r
in
_context
.
siger_project_product_route
on
q
.
routeid
equals
r
.
id
into
rr
from
r
in
rr
.
DefaultIfEmpty
()
from
r
in
rr
.
DefaultIfEmpty
()
where
q
.
projectId
==
projectid
&&
q
.
status
==
(
int
)
RowState
.
V
alid
where
q
.
projectId
==
projectid
&&
q
.
status
!=
(
int
)
RowState
.
Inv
alid
select
new
ResponseAutomationLocation
select
new
ResponseAutomationLocation
{
{
id
=
q
.
id
,
id
=
q
.
id
,
...
...
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