【上电解锁按钮】

This commit is contained in:
weizhihong 2023-05-29 11:14:54 +08:00
parent ecdf3de890
commit 2596ad3085
2 changed files with 33 additions and 0 deletions

View File

@ -254,6 +254,12 @@ public class MapGraphDataNewVO {
*/
private Map<Simulation.Type, List<MapClientVO>> mapClientVOMap = new HashMap<>();
/**
* 上电解锁按钮
*/
private List<MapPowerUnlockButtonVO> powerUnLockButtonList;
public MapGraphDataNewVO() {
this.bigScreenConfig = new BigScreenConfig();
this.generateConfig = new MapCiGenerateConfig();
@ -288,6 +294,7 @@ public class MapGraphDataNewVO {
this.arrowList = new ArrayList<>();
this.directionRodList = new ArrayList<>();
this.responderList = new ArrayList<>();
this.powerUnLockButtonList = new ArrayList<>();
}
public static MapGraphDataNewVO parse(String graphData) {

View File

@ -0,0 +1,26 @@
package club.joylink.rtss.vo.map.graph;
import lombok.Getter;
import lombok.Setter;
import javax.validation.constraints.NotBlank;
/**
* 上电解锁按钮
*/
@Getter
@Setter
public class MapPowerUnlockButtonVO {
@NotBlank(message = "code不能为空")
private String code;
private String name;
/**
* 所属设备集中站code
*/
private String stationCode;
private Point position;
}