Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
ZHHT-IRN-BD-ANALYSIS
Project
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
李凯旋
ZHHT-IRN-BD-ANALYSIS
Commits
25b3bee5
Commit
25b3bee5
authored
Jan 06, 2023
by
黄准
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
车道指标增加日志级别配置 方便现场调试程序
parent
10ec38e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
LaneNormProcessFunction.java
.../java/com/zhht/irn/functions/LaneNormProcessFunction.java
+2
-2
application.properties
...ogram-streaming/src/main/resources/application.properties
+1
-1
No files found.
realtime/hologram-streaming/src/main/java/com/zhht/irn/functions/LaneNormProcessFunction.java
View file @
25b3bee5
...
...
@@ -437,12 +437,12 @@ public class LaneNormProcessFunction extends KeyedCoProcessFunction<String, Cycl
laneNorm
.
setMaxQueueLength
(
maxQueueLength
);
laneNorm
.
setEffectGreenTime
(
effcetGreenTime
[
0
]);
//通行能力
double
v
=
saturation_flow_rate
*
laneEffectGreenTime
>
1
d
?
1
:
laneEffectGreenTime
;
double
v
=
saturation_flow_rate
*
laneEffectGreenTime
;
BigDecimal
bd2
=
new
BigDecimal
(
v
);
Double
d3
=
bd2
.
setScale
(
2
,
BigDecimal
.
ROUND_HALF_UP
).
doubleValue
();
laneNorm
.
setPassCapacity
(
d3
);
//饱和流率
Double
saturation
=
(
trafficCapacity
/
(
saturation_flow_rate
*
laneEffectGreenTime
>
1
d
?
1
:
laneEffectGreenTime
));
Double
saturation
=
(
trafficCapacity
/
(
saturation_flow_rate
*
laneEffectGreenTime
));
BigDecimal
bd1
=
new
BigDecimal
(
laneEffectGreenTime
==
0
d
?
0
:
saturation
);
Double
d2
=
bd1
.
setScale
(
5
,
BigDecimal
.
ROUND_HALF_UP
).
doubleValue
();
laneNorm
.
setSaturation
(
d2
);
...
...
realtime/hologram-streaming/src/main/resources/application.properties
View file @
25b3bee5
log.info.level
=
debug
log.info.level
=
info
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