Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zhongtong-avi-service
Project
Project
Details
Activity
Releases
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
中通客车项目
zhongtong-avi-service
Commits
4cbf1859
Commit
4cbf1859
authored
Oct 12, 2019
by
喻训浩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 测试数据
parent
7596a614
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
AreaController.java
...r/zhongtong/avi/monitoring/controller/AreaController.java
+16
-0
No files found.
src/main/java/net/vtstar/zhongtong/avi/monitoring/controller/AreaController.java
View file @
4cbf1859
...
@@ -41,6 +41,7 @@ public class AreaController {
...
@@ -41,6 +41,7 @@ public class AreaController {
Map
<
String
,
PaintshopStation
>
stationMap
=
new
HashMap
<>();
Map
<
String
,
PaintshopStation
>
stationMap
=
new
HashMap
<>();
Map
<
String
,
PaintshopStation
>
stationMap2
=
new
HashMap
<>();
Map
<
String
,
PaintshopStation
>
stationMap2
=
new
HashMap
<>();
Map
<
String
,
PaintshopStation
>
stationMap3
=
new
HashMap
<>();
Map
<
String
,
PaintshopStation
>
stationMap3
=
new
HashMap
<>();
Map
<
String
,
PaintshopStation
>
stationMap4
=
new
HashMap
<>();
for
(
int
i
=
0
;
i
<
9
;
i
++)
{
for
(
int
i
=
0
;
i
<
9
;
i
++)
{
PaintshopStation
station
=
new
PaintshopStation
();
PaintshopStation
station
=
new
PaintshopStation
();
station
.
setBusNo
(
"No"
+
i
);
station
.
setBusNo
(
"No"
+
i
);
...
@@ -76,9 +77,24 @@ public class AreaController {
...
@@ -76,9 +77,24 @@ public class AreaController {
station
.
setBusType
(
ProductionType
.
OWN
);
station
.
setBusType
(
ProductionType
.
OWN
);
stationMap3
.
put
(
"HDG1-19"
+
i
,
station
);
stationMap3
.
put
(
"HDG1-19"
+
i
,
station
);
}
}
PaintshopArea
area4
=
new
PaintshopArea
();
area4
.
setCode
(
"5"
);
area4
.
setName
(
"中涂"
);
area4
.
setOnlineNum
(
"44"
);
for
(
int
i
=
0
;
i
<
9
;
i
++)
{
PaintshopStation
station
=
new
PaintshopStation
();
station
.
setBusNo
(
"No"
+
i
);
station
.
setKeyStation
(
true
);
station
.
setCode
(
"HDG1-12"
+
i
);
station
.
setState
(
StationState
.
USE
);
station
.
setBusType
(
ProductionType
.
OTHER
);
stationMap4
.
put
(
"HDG1-12"
+
i
,
station
);
}
area
.
setStationMap
(
stationMap
);
area
.
setStationMap
(
stationMap
);
area2
.
setStationMap
(
stationMap2
);
area2
.
setStationMap
(
stationMap2
);
area3
.
setStationMap
(
stationMap3
);
area3
.
setStationMap
(
stationMap3
);
area4
.
setStationMap
(
stationMap4
);
areas
.
add
(
area4
);
areas
.
add
(
area
);
areas
.
add
(
area
);
areas
.
add
(
area2
);
areas
.
add
(
area2
);
areas
.
add
(
area3
);
areas
.
add
(
area3
);
...
...
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