#2202 DMR talker aliases now show in channel activity summary. Added 'TA-' prefix to talker aliases (DMR & P25) to visually highlight what the value represents. (#2203)

Co-authored-by: Dennis Sheirer <dsheirer@github.com>
This commit is contained in:
Denny Sheirer
2025-03-21 07:27:33 -04:00
committed by GitHub
parent a4bcdfa769
commit 49b95a9445
4 changed files with 32 additions and 7 deletions

View File

@@ -50,7 +50,7 @@ public class DmrTalkerAliasIdentifier extends TalkerAliasIdentifier
@Override
public String toString()
{
return "A-" + super.toString();
return "TA-" + super.toString();
}
public static DmrTalkerAliasIdentifier create(String value)

View File

@@ -1,6 +1,6 @@
/*
* *****************************************************************************
* Copyright (C) 2014-2023 Dennis Sheirer
* Copyright (C) 2014-2025 Dennis Sheirer
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -47,6 +47,12 @@ public class P25TalkerAliasIdentifier extends TalkerAliasIdentifier
return Protocol.APCO25;
}
@Override
public String toString()
{
return "TA-" + super.toString();
}
public static P25TalkerAliasIdentifier create(String value)
{
return new P25TalkerAliasIdentifier(value);

View File

@@ -1,6 +1,6 @@
/*
* *****************************************************************************
* Copyright (C) 2014-2024 Dennis Sheirer
* Copyright (C) 2014-2025 Dennis Sheirer
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -123,6 +123,7 @@ public class TalkerAliasManager
{
StringBuilder sb = new StringBuilder();
sb.append("Active System Radio Aliases\n");
sb.append(" Radio\tTalker Alias (TA-)\n");
List<Integer> radios = new ArrayList<>(mAliasMap.keySet());
if(radios.size() > 0)
@@ -131,7 +132,7 @@ public class TalkerAliasManager
for(Integer radio : radios)
{
sb.append(" ").append(radio);
sb.append("\t").append(mAliasMap.get(radio).getValue());
sb.append("\t").append(mAliasMap.get(radio));
sb.append("\n");
}
}