From a9e34893253996c7c7c2c1cda20db83c5bd07465 Mon Sep 17 00:00:00 2001 From: l_samenv Date: Tue, 3 Dec 2024 15:19:45 +0100 Subject: [PATCH] ma7: use new config type with sea_path and frappy.sea.LscDrivable --- cfg/main/ma7_cfg.py | 13 ++++++------- cfg/stick/ma7stick_cfg.py | 4 +--- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/cfg/main/ma7_cfg.py b/cfg/main/ma7_cfg.py index 33c869b..bec34e5 100644 --- a/cfg/main/ma7_cfg.py +++ b/cfg/main/ma7_cfg.py @@ -10,11 +10,12 @@ Mod('sea_main', ) Mod('tt', - 'frappy_psi.sea.SeaDrivable', '', + 'frappy_psi.sea.LscDrivable', '', io='sea_main', - meaning=['temperature_regulation', 20], + meaning=['temperature_regulation', 27], sea_object='tt', - rel_paths=['tm', '.', 'set', 'dblctrl'], + sensor_path='tm', + set_path='set', ) Mod('cc', @@ -69,15 +70,13 @@ Mod('lev', Mod('tcoil1', 'frappy_psi.sea.SeaReadable', '', io='sea_main', - sea_object='tcoil', - rel_paths=['ta'], + sea_path='tcoil/ta', ) Mod('tcoil2', 'frappy_psi.sea.SeaReadable', '', io='sea_main', - sea_object='tcoil', - rel_paths=['tb'], + sea_path='tcoil/tb', ) Mod('table', diff --git a/cfg/stick/ma7stick_cfg.py b/cfg/stick/ma7stick_cfg.py index c06896f..db0c788 100644 --- a/cfg/stick/ma7stick_cfg.py +++ b/cfg/stick/ma7stick_cfg.py @@ -13,8 +13,6 @@ Mod('ts', 'frappy_psi.sea.SeaReadable', '', meaning=['temperature', 30], io='sea_stick', - sea_object='tt', + sea_path='tt/ts', json_file='ma7.config.json', - rel_paths=['ts'], ) -