Changed naming
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user