This commit is contained in:
2026-06-06 15:13:23 +08:00
parent 494515463d
commit 949801198e
3 changed files with 11 additions and 11 deletions

View File

@@ -12,6 +12,7 @@ def get_device_info(device_type):
section = f'device_type_{device_type}'
device_info = {
'sample_rate': int(IniRead(section, 'sample_rate')) if IniRead(section, 'sample_rate') is not None else 250,
'frame_points': int(IniRead(section, 'frame_points')) if IniRead(section, 'frame_points') is not None else 5,
'channel_nums': int(IniRead(section, 'channel_nums')) if IniRead(section, 'channel_nums') is not None else 66,
'channel_names': IniRead(section, 'channel_names') if IniRead(section, 'channel_names') is not None else None,
'channel_index': IniRead(section, 'channel_index') if IniRead(section, 'channel_index') is not None else None,