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
ff2c5c18
Commit
ff2c5c18
authored
Mar 14, 2023
by
duanruiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[update] CrossDataRealtimePO优化
parent
7ac7f681
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
147 additions
and
6 deletions
+147
-6
CrossDataRealtimeDirTurnPO.java
...ava/net/wanji/opt/po/base/CrossDataRealtimeDirTurnPO.java
+147
-0
CrossDataRealtimePO.java
...c/main/java/net/wanji/databus/po/CrossDataRealtimePO.java
+0
-6
No files found.
signal-optimize-service/src/main/java/net/wanji/opt/po/base/CrossDataRealtimeDirTurnPO.java
0 → 100644
View file @
ff2c5c18
package
net
.
wanji
.
opt
.
po
.
base
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
net.wanji.databus.dto.CrossDirInfoDTO
;
import
net.wanji.databus.dto.CrossTurnInfoDTO
;
import
java.util.Date
;
import
java.util.List
;
/**
* @author duanruiming
* @date 2023/03/10 19:02
*/
@Data
@ApiModel
(
value
=
"CrossDataRealtimeDirTurnPO"
,
description
=
"路口实时数据"
)
public
class
CrossDataRealtimeDirTurnPO
{
/**
* 路口编号
*/
@ApiModelProperty
(
value
=
"路口编号"
,
notes
=
""
)
private
String
crossId
;
/**
* 路口状态:0正常;1失衡;2拥堵;3溢出;4死锁
*/
@ApiModelProperty
(
value
=
"路口状态:0正常;1失衡;2拥堵;3溢出;4死锁"
,
notes
=
""
)
private
Integer
status
;
/**
* 拥堵类型:1常规;2异常
*/
@ApiModelProperty
(
value
=
"拥堵类型:1常规;2异常"
,
notes
=
""
)
private
Integer
type
;
/**
* 交通指数(1~10)
*/
@ApiModelProperty
(
value
=
"交通指数(1~10)"
,
notes
=
""
)
private
Double
trafficIndex
;
/**
* 开始时间:yyyy-MM-dd HH;mm:ss
*/
@ApiModelProperty
(
value
=
"开始时间:yyyy-MM-dd HH:mm:ss"
,
notes
=
""
)
private
Date
startTime
;
@ApiModelProperty
(
value
=
"持续时间(单位:分钟)"
,
notes
=
""
)
private
Integer
duration
;
/**
* 是否失衡:0否;1是
*/
@ApiModelProperty
(
value
=
"是否失衡:0否;1是"
,
notes
=
""
)
private
Integer
isUnbalance
;
/**
* 是否溢出:0否;1是
*/
@ApiModelProperty
(
value
=
"是否溢出:0否;1是"
,
notes
=
""
)
private
Integer
isSpillover
;
/**
* 是否拥堵:0否;1是
*/
@ApiModelProperty
(
value
=
"是否拥堵:0否;1是"
,
notes
=
""
)
private
Integer
isCongestion
;
/**
* 失衡指数
*/
@ApiModelProperty
(
value
=
"失衡指数"
,
notes
=
""
)
private
Double
unbalanceIndex
;
/**
* 溢出指数
*/
@ApiModelProperty
(
value
=
"溢出指数"
,
notes
=
""
)
private
Double
spilloverIndex
;
/**
* 拥堵指数
*/
@ApiModelProperty
(
value
=
"拥堵指数"
,
notes
=
""
)
private
Double
congestionIndex
;
/**
* 路口失衡方向:1,2,3...
*/
@ApiModelProperty
(
value
=
"路口失衡方向:1,2,3..."
,
notes
=
""
)
private
String
unbalanceDirs
;
/**
* 路口溢出方向:1,2,3...
*/
@ApiModelProperty
(
value
=
"路口溢出方向:1,2,3..."
,
notes
=
""
)
private
String
spilloverDirs
;
/**
* 路口拥堵方向:1,2,3...
*/
@ApiModelProperty
(
value
=
"路口拥堵方向:1,2,3..."
,
notes
=
""
)
private
String
congestionDirs
;
/**
* 交通流量(辆)
*/
@ApiModelProperty
(
value
=
"交通流量(辆)"
,
notes
=
""
)
private
Integer
flow
;
/**
* 交通流率/h
*/
@ApiModelProperty
(
value
=
"交通流率/h"
,
notes
=
""
)
private
Double
flowRate
;
/**
* 平均速度(km/h)
*/
@ApiModelProperty
(
value
=
"平均速度(km/h)"
,
notes
=
""
)
private
Double
speed
;
/**
* 最大排队(米)
*/
@ApiModelProperty
(
value
=
"最大排队(米)"
,
notes
=
""
)
private
Double
queueLength
;
/**
* 停车次数(次)
*/
@ApiModelProperty
(
value
=
"停车次数(次)"
,
notes
=
""
)
private
Double
stopTimes
;
/**
* 延误时间(秒)
*/
@ApiModelProperty
(
value
=
"延误时间(秒)"
,
notes
=
""
)
private
Integer
delayTime
;
/**
* 饱和度
*/
@ApiModelProperty
(
value
=
"饱和度"
,
notes
=
""
)
private
Double
sturation
;
/**
* 采集时间(10位时间戳)
*/
@ApiModelProperty
(
value
=
"采集时间(10位时间戳)"
,
notes
=
""
)
private
Integer
batchTime
;
/**
* 创建时间
*/
@ApiModelProperty
(
value
=
"创建时间"
,
notes
=
""
)
private
Date
gmtCreate
;
/**
* 修改时间
*/
@ApiModelProperty
(
value
=
"修改时间"
,
notes
=
""
)
private
Date
gmtModified
;
@ApiModelProperty
(
name
=
"路口方向列表"
,
notes
=
""
)
List
<
CrossDirInfoDTO
>
dirList
;
@ApiModelProperty
(
name
=
"路口转向列表"
,
notes
=
""
)
List
<
CrossTurnInfoDTO
>
turnList
;
}
wj-databus/src/main/java/net/wanji/databus/po/CrossDataRealtimePO.java
View file @
ff2c5c18
...
...
@@ -141,10 +141,4 @@ public class CrossDataRealtimePO {
@ApiModelProperty
(
value
=
"修改时间"
,
notes
=
""
)
private
Date
gmtModified
;
@ApiModelProperty
(
name
=
"路口方向列表"
,
notes
=
""
)
List
<
CrossDirInfoDTO
>
dirList
;
@ApiModelProperty
(
name
=
"路口转向列表"
,
notes
=
""
)
List
<
CrossTurnInfoDTO
>
turnList
;
}
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