diff --git a/src/BreCalClient/BreCalLists.cs b/src/BreCalClient/BreCalLists.cs index 81b0369..4fe6b2f 100644 --- a/src/BreCalClient/BreCalLists.cs +++ b/src/BreCalClient/BreCalLists.cs @@ -1,6 +1,6 @@ // Copyright (c) 2023 schick Informatik // Description: Static lists used everywhere -// +// using BreCalClient.misc.Model; using System.Collections.Concurrent; @@ -30,9 +30,13 @@ namespace BreCalClient private readonly static ConcurrentDictionary _berthLookupDict = new(); private readonly static Dictionary _participantLookupDict = new(); + /// + /// List of TimeRef points + /// + // TODO: To make this portable the list of texts should come from a configuration file private readonly static List _timeRefs = new List { - "Liegeplatz", + "ETB", "Geeste", "TN-Weser" }; @@ -113,7 +117,7 @@ namespace BreCalClient aList.Clear(); mList.Clear(); pList.Clear(); - tList.Clear(); + tList.Clear(); terList.Clear(); foreach (Participant p in participants) @@ -147,7 +151,7 @@ namespace BreCalClient if (!ship.Deleted) _ships.Add(sm); _allShips.Add(sm); - } + } } #endregion diff --git a/src/BreCalClient/ShipcallControl.xaml b/src/BreCalClient/ShipcallControl.xaml index e168878..84c9fca 100644 --- a/src/BreCalClient/ShipcallControl.xaml +++ b/src/BreCalClient/ShipcallControl.xaml @@ -122,11 +122,15 @@