Skip to content

Commit

Permalink
Merge pull request #3059 from SCADA-LTS/feature/#3058_Improve_content…
Browse files Browse the repository at this point in the history
…_of_list_of_points_in_BacNet_source_in_data_sources_list_view

#3058 Improve content of list of points in BacNet source in data sources list view
  • Loading branch information
Limraj authored Dec 18, 2024
2 parents 284961e + e986b13 commit 017ee5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public ExportCodes getEventCodes() {

@Override
public LocalizableMessage getConnectionDescription() {
return new LocalizableMessage("dsEdit.bacnetIp.dsconn", deviceId);
return new LocalizableMessage("common.tp.description", Common.getPeriodDescription(updatePeriodType, updatePeriods), new LocalizableMessage("common.default", " / Device ID: " + getDeviceId() + " / " + getBroadcastAddress() + ":" + getPort()));
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ public PointLocatorRT createRuntime() {
}

public LocalizableMessage getConfigurationDescription() {
return new LocalizableMessage("common.default", remoteDeviceIp);
ObjectType objectType = new ObjectType(getObjectTypeId());
return new LocalizableMessage("common.default", remoteDeviceIp + " / " + objectType.toString() + " / Obj Instance number: " + getObjectInstanceNumber());
}

@JsonRemoteProperty
Expand Down

0 comments on commit 017ee5c

Please sign in to comment.