Commit ed0a98f2 authored by duwei's avatar duwei

加注释

parent 2a8df5aa
//package net.wanji.opt.dto;
//
//import lombok.Data;
//
///**
// * 交通指标车道级查询条件
// */
//@Data
//public class Condition {
// //方向
// private Integer inDir;
// //转向
// private String turnType;
//
// public Condition(Integer inDir, String turnType) {
// this.inDir = inDir;
// this.turnType = turnType;
// }
//}
...@@ -24,15 +24,15 @@ public class LightsStatusVO2 extends BaseCrossInfo { ...@@ -24,15 +24,15 @@ public class LightsStatusVO2 extends BaseCrossInfo {
private String controlMode; private String controlMode;
@ApiModelProperty(value = "方案开始时间", notes = "目前没有用到") @ApiModelProperty(value = "方案开始时间", notes = "目前没有用到")
private String schemeStartTime; private String schemeStartTime;
@ApiModelProperty(value = "相位周期剩余时长") @ApiModelProperty(value = "周期剩余时长") //相位组id,总80,剩余79
private Integer cycleCountDown; private Integer cycleCountDown;
@ApiModelProperty(value = "相位周期剩余时长") @ApiModelProperty(value = "相位周期剩余时长")//相位组剩余
private Integer cyclePhaseCountDown; private Integer cyclePhaseCountDown;
@ApiModelProperty(value = "相位周期时长") @ApiModelProperty(value = "相位周期时长")//整个路口周期时长
private Integer cycleLen; private Integer cycleLen;
@ApiModelProperty(value = "当前相位号") @ApiModelProperty(value = "当前相位号")
private String phaseId; private String phaseId;// 相位组id (可能有2个相位组,东西,南北)
@ApiModelProperty(value = "当前方案号") @ApiModelProperty(value = "当前方案号")
private String schemeId; private String schemeId;
@ApiModelProperty(value = "灯组状态") @ApiModelProperty(value = "灯组状态")
...@@ -44,20 +44,20 @@ public class LightsStatusVO2 extends BaseCrossInfo { ...@@ -44,20 +44,20 @@ public class LightsStatusVO2 extends BaseCrossInfo {
@Data @Data
@ApiModel(value = "DirInfo", description = "灯组方向转向信息") @ApiModel(value = "DirInfo", description = "灯组方向转向信息")
public static class DirInfo { public static class DirInfo {
@ApiModelProperty(value = "方向") @ApiModelProperty(value = "方向") //北
private String dir; private String dir;
@ApiModelProperty(value = "转向信息") @ApiModelProperty(value = "转向信息") //左,直,右
List<TurnInfo> turnList; List<TurnInfo> turnList;
} }
@Data @Data
@ApiModel(value = "TurnInfo", description = "灯组转向灯态红灯倒计时") @ApiModel(value = "TurnInfo", description = "灯组转向灯态红灯倒计时")
public static class TurnInfo { public static class TurnInfo {
@ApiModelProperty(value = "转向") @ApiModelProperty(value = "转向") //左
private String turn; private String turn;
@ApiModelProperty(value = "灯色") @ApiModelProperty(value = "灯色") //红
private String color; private String color;
@ApiModelProperty(value = "红灯倒计时") @ApiModelProperty(value = "红灯倒计时") //10
private Integer countDown; private Integer countDown;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment