Changed naming

This commit is contained in:
Logan Cusano
2025-05-11 20:36:47 -04:00
parent f17f7fc36a
commit e1cfa22650

View File

@@ -1,7 +1,7 @@
from enum import Enum
from typing import Dict, Any, List, Optional
class DecodeMode(str, Enum):
class DemodTypes(str, Enum):
P25 = "P25"
DMR = "DMR"
ANALOG = "NBFM" # Note: The API code uses "NBFM" for analog
@@ -20,7 +20,7 @@ class ConfigGenerator:
"""Represents the configuration data structure for the API."""
def __init__(
self,
type: DecodeMode,
type: DemodTypes,
systemName: str,
channels: List[str],
tags: Optional[List[TalkgroupTag]] = None,