CBielstein / APRSsharp

APRS# - Modern APRS software for the amateur radio community
MIT License
12 stars 5 forks source link

Handle parsing of symbol/icon information #95

Open CBielstein opened 2 years ago

CBielstein commented 2 years ago

Description

Currently, symbols are just kept as the table ID and symbol character on a position. Design a way to move that to some sort of enum or something for the icon being reported. e.g. "Person" or "Jeep" or whatever.

The Position object is probably the correct spot for that information to be encoded and decoded. If that's the case, it may be desirable to remove the public property of table and symbol and just expose the enum. That's up to the implementer and reviewers.

Acceptance Criteria

CBielstein commented 2 years ago

Here are the existing enum conversions for comparison. Something like one of these will likely be helpful. https://github.com/CBielstein/APRSsharp/blob/e25bd66e23d1d8f12b1bfabf3fe2569241cac850/src/AprsParser/Extensions/EnumConversionExtensions.cs