Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public WebAlarm(Alarm alarm) {

}

@XmlElement(name = "OrigDateTime")
@XmlElement(name = "origDateTime")
public String getOrigDateTime() {
return origDateTime;
}
Expand All @@ -60,7 +60,7 @@ public void setOrigDateTime(String origDateTime) {
this.origDateTime = origDateTime;
}

@XmlElement(name = "AlarmCode")
@XmlElement(name = "alarmCode")
public AlarmCode getAlarmCode() {
return alarmCode;
}
Expand All @@ -69,7 +69,7 @@ public void setAlarmCode(AlarmCode alarmCode) {
this.alarmCode = alarmCode;
}

@XmlElement(name = "AlarmRaiser")
@XmlElement(name = "alarmRaiser")
public String getAlarmRaiser() {
return alarmRaiser;
}
Expand All @@ -78,7 +78,7 @@ public void setAlarmRaiser(String alarmRaiser) {
this.alarmRaiser = alarmRaiser;
}

@XmlElement(name = "AlarmText")
@XmlElement(name = "alarmText")
public String getAlarmText() {
return alarmText;
}
Expand All @@ -87,7 +87,7 @@ public void setAlarmText(String alarmText) {
this.alarmText = alarmText;
}

@XmlElement(name = "CollectionID")
@XmlElement(name = "collectionID")
public String getCollectionID() {
return collectionID;
}
Expand Down
10 changes: 5 additions & 5 deletions bitrepository-webclient/src/main/webapp/alarm-service.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@
var htmlTableBody = "";
if(j != null) {
for (var i = 0; i < j.length; i++) {
htmlTableBody += "<tr><td>" + j[i].OrigDateTime +
"</td><td>" + j[i].AlarmRaiser +
"</td><td>" + nameMapper.getName(j[i].CollectionID) +
"</td> <td>" + j[i].AlarmCode +
"</td> <td>" + nl2br(j[i].AlarmText) +
htmlTableBody += "<tr><td>" + j[i].origDateTime +
"</td><td>" + j[i].alarmRaiser +
"</td><td>" + nameMapper.getName(j[i].collectionID) +
"</td> <td>" + j[i].alarmCode +
"</td> <td>" + nl2br(j[i].alarmText) +
"</td></tr>";
}
}
Expand Down