Untitled
unknown
plain_text
a year ago
851 B
7
Indexable
package com.ericsson.msdp.spg.api;
import com.ericsson.msdp.spg.model.Attribute;
import com.ericsson.msdp.spg.model.SiteNode;
import lombok.AllArgsConstructor;
import lombok.Data;
import java.util.List;
@Data
@AllArgsConstructor
class MapPoint {
private String nodeId;
private String label;
private String type;
private String npaNxx;
private String region;
private String stateProv;
private String city;
private Double latitude;
private Double longitude;
List<Attribute> attributes;
Integer[] alarms;
public MapPoint(SiteNode node) {
this(node.getId(), node.getName(), node.getSubType(),node.getNpaNxx(), node.getRegion(),node.getStateProv(),node.getCity(), node.getLocation().getLat(),
node.getLocation().getLon(), node.getAttributes(), new Integer[] { 0, 0, 0, 0, 0, 0 });
}
}
Editor is loading...
Leave a Comment