mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 16:47:31 -05:00
#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:
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user