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
7d8c33fc
Commit
7d8c33fc
authored
Jan 08, 2023
by
黄准
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
车道指标增加日志级别配置 方便现场调试程序
parent
183bdef1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
10 deletions
+1
-10
LaneNormProcessFunction.java
.../java/com/zhht/irn/functions/LaneNormProcessFunction.java
+0
-9
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 @
7d8c33fc
...
@@ -219,7 +219,6 @@ public class LaneNormProcessFunction extends KeyedCoProcessFunction<String, Cycl
...
@@ -219,7 +219,6 @@ public class LaneNormProcessFunction extends KeyedCoProcessFunction<String, Cycl
}
}
}
}
@Override
@Override
public
void
onTimer
(
long
timestamp
,
OnTimerContext
ctx
,
Collector
<
List
<
LaneNorm
>>
out
)
throws
Exception
{
public
void
onTimer
(
long
timestamp
,
OnTimerContext
ctx
,
Collector
<
List
<
LaneNorm
>>
out
)
throws
Exception
{
super
.
onTimer
(
timestamp
,
ctx
,
out
);
super
.
onTimer
(
timestamp
,
ctx
,
out
);
...
@@ -246,8 +245,6 @@ public class LaneNormProcessFunction extends KeyedCoProcessFunction<String, Cycl
...
@@ -246,8 +245,6 @@ public class LaneNormProcessFunction extends KeyedCoProcessFunction<String, Cycl
}
}
return
AllGreenTime
+
""
;
return
AllGreenTime
+
""
;
}
}
/**
/**
* 北 直行
* 北 直行
* @param cycle
* @param cycle
...
@@ -273,7 +270,6 @@ public class LaneNormProcessFunction extends KeyedCoProcessFunction<String, Cycl
...
@@ -273,7 +270,6 @@ public class LaneNormProcessFunction extends KeyedCoProcessFunction<String, Cycl
}
}
return
AllGreenTime
+
""
;
return
AllGreenTime
+
""
;
}
}
/**
/**
* 提前计算所有相位允许的流向
* 提前计算所有相位允许的流向
*
*
...
@@ -294,8 +290,6 @@ public class LaneNormProcessFunction extends KeyedCoProcessFunction<String, Cycl
...
@@ -294,8 +290,6 @@ public class LaneNormProcessFunction extends KeyedCoProcessFunction<String, Cycl
}
}
return
stageForDirections
;
return
stageForDirections
;
}
}
/**
/**
* 生成流向指标
* 生成流向指标
*
*
...
@@ -350,7 +344,6 @@ public class LaneNormProcessFunction extends KeyedCoProcessFunction<String, Cycl
...
@@ -350,7 +344,6 @@ public class LaneNormProcessFunction extends KeyedCoProcessFunction<String, Cycl
}
}
}
}
}
}
/**
/**
* 生成方向指标
* 生成方向指标
*
*
...
@@ -431,7 +424,6 @@ public class LaneNormProcessFunction extends KeyedCoProcessFunction<String, Cycl
...
@@ -431,7 +424,6 @@ public class LaneNormProcessFunction extends KeyedCoProcessFunction<String, Cycl
}
}
}
}
public
static
Cycle
setCycle
()
throws
Exception
{
public
static
Cycle
setCycle
()
throws
Exception
{
String
cycleJson
=
"{\n"
+
String
cycleJson
=
"{\n"
+
" \"id\": 39240,\n"
+
" \"id\": 39240,\n"
+
...
@@ -507,7 +499,6 @@ public class LaneNormProcessFunction extends KeyedCoProcessFunction<String, Cycl
...
@@ -507,7 +499,6 @@ public class LaneNormProcessFunction extends KeyedCoProcessFunction<String, Cycl
Cycle
cycle1
=
LaneNormJob
.
getCycle
(
cycle
);
Cycle
cycle1
=
LaneNormJob
.
getCycle
(
cycle
);
return
cycle1
;
return
cycle1
;
}
}
/**
/**
* @param map 车道信息
* @param map 车道信息
* @param cycle 周期信息
* @param cycle 周期信息
...
...
realtime/hologram-streaming/src/main/resources/application.properties
View file @
7d8c33fc
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