Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
traffic-signal-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
signal
traffic-signal-platform
Commits
03a9f981
Commit
03a9f981
authored
May 30, 2024
by
duanruiming
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
71d21d66
55696847
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
MainlineEvaluateServiceImpl.java
...t/wanji/opt/service/impl/MainlineEvaluateServiceImpl.java
+16
-0
No files found.
signal-optimize-service/src/main/java/net/wanji/opt/service/impl/MainlineEvaluateServiceImpl.java
View file @
03a9f981
...
@@ -667,6 +667,10 @@ public class MainlineEvaluateServiceImpl implements MainlineEvaluateService {
...
@@ -667,6 +667,10 @@ public class MainlineEvaluateServiceImpl implements MainlineEvaluateService {
}
}
private
void
metricTimeStampCross
(
MainlineEvaluateBottomCurveVO
vo
,
List
<
CrossDataHistPOExt
>
filteredList
)
{
private
void
metricTimeStampCross
(
MainlineEvaluateBottomCurveVO
vo
,
List
<
CrossDataHistPOExt
>
filteredList
)
{
if
(
CollectionUtil
.
isEmpty
(
filteredList
))
{
vo
.
setMetricTimeStamp
(
0L
);
return
;
}
CrossDataHistPOExt
po
=
filteredList
.
get
(
0
);
CrossDataHistPOExt
po
=
filteredList
.
get
(
0
);
if
(
po
!=
null
)
{
if
(
po
!=
null
)
{
Integer
batchTime
=
po
.
getBatchTime
();
Integer
batchTime
=
po
.
getBatchTime
();
...
@@ -690,6 +694,10 @@ public class MainlineEvaluateServiceImpl implements MainlineEvaluateService {
...
@@ -690,6 +694,10 @@ public class MainlineEvaluateServiceImpl implements MainlineEvaluateService {
}
}
private
void
metricTimeStampDir
(
MainlineEvaluateBottomCurveVO
vo
,
List
<
CrossDirDataHistPO
>
filteredList
)
{
private
void
metricTimeStampDir
(
MainlineEvaluateBottomCurveVO
vo
,
List
<
CrossDirDataHistPO
>
filteredList
)
{
if
(
CollectionUtil
.
isEmpty
(
filteredList
))
{
vo
.
setMetricTimeStamp
(
0L
);
return
;
}
CrossDirDataHistPO
po
=
filteredList
.
get
(
0
);
CrossDirDataHistPO
po
=
filteredList
.
get
(
0
);
if
(
po
!=
null
)
{
if
(
po
!=
null
)
{
Integer
batchTime
=
po
.
getBatchTime
();
Integer
batchTime
=
po
.
getBatchTime
();
...
@@ -714,6 +722,10 @@ public class MainlineEvaluateServiceImpl implements MainlineEvaluateService {
...
@@ -714,6 +722,10 @@ public class MainlineEvaluateServiceImpl implements MainlineEvaluateService {
}
}
private
void
metricTimeStampTurn
(
MainlineEvaluateBottomCurveVO
vo
,
List
<
CrossTurnDataHistPO
>
filteredList
)
{
private
void
metricTimeStampTurn
(
MainlineEvaluateBottomCurveVO
vo
,
List
<
CrossTurnDataHistPO
>
filteredList
)
{
if
(
CollectionUtil
.
isEmpty
(
filteredList
))
{
vo
.
setMetricTimeStamp
(
0L
);
return
;
}
CrossTurnDataHistPO
po
=
filteredList
.
get
(
0
);
CrossTurnDataHistPO
po
=
filteredList
.
get
(
0
);
if
(
po
!=
null
)
{
if
(
po
!=
null
)
{
Integer
batchTime
=
po
.
getBatchTime
();
Integer
batchTime
=
po
.
getBatchTime
();
...
@@ -738,6 +750,10 @@ public class MainlineEvaluateServiceImpl implements MainlineEvaluateService {
...
@@ -738,6 +750,10 @@ public class MainlineEvaluateServiceImpl implements MainlineEvaluateService {
}
}
private
void
metricTimeStampLane
(
MainlineEvaluateBottomCurveVO
vo
,
List
<
CrossLaneDataHistPOExt
>
filteredList
)
{
private
void
metricTimeStampLane
(
MainlineEvaluateBottomCurveVO
vo
,
List
<
CrossLaneDataHistPOExt
>
filteredList
)
{
if
(
CollectionUtil
.
isEmpty
(
filteredList
))
{
vo
.
setMetricTimeStamp
(
0L
);
return
;
}
CrossLaneDataHistPOExt
po
=
filteredList
.
get
(
0
);
CrossLaneDataHistPOExt
po
=
filteredList
.
get
(
0
);
if
(
po
!=
null
)
{
if
(
po
!=
null
)
{
Integer
batchTime
=
po
.
getBatchTime
();
Integer
batchTime
=
po
.
getBatchTime
();
...
...
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