Changed naming
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
from enum import Enum
|
from enum import Enum
|
||||||
from typing import Dict, Any, List, Optional
|
from typing import Dict, Any, List, Optional
|
||||||
|
|
||||||
class DecodeMode(str, Enum):
|
class DemodTypes(str, Enum):
|
||||||
P25 = "P25"
|
P25 = "P25"
|
||||||
DMR = "DMR"
|
DMR = "DMR"
|
||||||
ANALOG = "NBFM" # Note: The API code uses "NBFM" for analog
|
ANALOG = "NBFM" # Note: The API code uses "NBFM" for analog
|
||||||
@@ -20,7 +20,7 @@ class ConfigGenerator:
|
|||||||
"""Represents the configuration data structure for the API."""
|
"""Represents the configuration data structure for the API."""
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
type: DecodeMode,
|
type: DemodTypes,
|
||||||
systemName: str,
|
systemName: str,
|
||||||
channels: List[str],
|
channels: List[str],
|
||||||
tags: Optional[List[TalkgroupTag]] = None,
|
tags: Optional[List[TalkgroupTag]] = None,
|
||||||
|
|||||||
Reference in New Issue
Block a user