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
682656ed
Commit
682656ed
authored
Oct 29, 2022
by
余根龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
绿信比
parent
0601763e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
1 deletion
+52
-1
Cycle.java
...am-streaming/src/main/java/com/zhht/irn/entity/Cycle.java
+10
-0
Phase.java
...am-streaming/src/main/java/com/zhht/irn/entity/Phase.java
+42
-1
No files found.
realtime/hologram-streaming/src/main/java/com/zhht/irn/entity/Cycle.java
View file @
682656ed
...
...
@@ -25,6 +25,8 @@ public class Cycle {
// 周期序号
private
int
cycleOrder
;
//绿信比
private
Double
greenRadio
;
// 周期内相位列表(依次执行)
private
List
<
Phase
>
phaseList
;
...
...
@@ -84,4 +86,12 @@ public class Cycle {
public
void
setPhaseList
(
List
<
Phase
>
phaseList
)
{
this
.
phaseList
=
phaseList
;
}
public
Double
getGreenRadio
()
{
return
greenRadio
;
}
public
void
setGreenRadio
(
Double
greenRadio
)
{
this
.
greenRadio
=
greenRadio
;
}
}
realtime/hologram-streaming/src/main/java/com/zhht/irn/entity/Phase.java
View file @
682656ed
...
...
@@ -7,9 +7,12 @@ import java.util.Date;
*/
public
class
Phase
{
//周期ID
private
Long
cycleId
;
// 路口编号
private
String
crossCode
;
// 相位编号
private
String
phaseValue
;
// 相位开始时间
private
Date
beginTime
;
...
...
@@ -28,6 +31,12 @@ public class Phase {
// 相位全红时间
private
Long
allRed
;
// 阶段绿信比
private
Double
greenRatio
;
// 阶段有效绿灯时长
private
Long
validGreen
;
public
String
getPhaseValue
()
{
return
phaseValue
;
}
...
...
@@ -83,4 +92,36 @@ public class Phase {
public
void
setAllRed
(
Long
allRed
)
{
this
.
allRed
=
allRed
;
}
public
Long
getCycleId
()
{
return
cycleId
;
}
public
void
setCycleId
(
Long
cycleId
)
{
this
.
cycleId
=
cycleId
;
}
public
String
getCrossCode
()
{
return
crossCode
;
}
public
void
setCrossCode
(
String
crossCode
)
{
this
.
crossCode
=
crossCode
;
}
public
Double
getGreenRatio
()
{
return
greenRatio
;
}
public
void
setGreenRatio
(
Double
greenRatio
)
{
this
.
greenRatio
=
greenRatio
;
}
public
Long
getValidGreen
()
{
return
validGreen
;
}
public
void
setValidGreen
(
Long
validGreen
)
{
this
.
validGreen
=
validGreen
;
}
}
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