From 99664f9122c380480189d7ad7ecfcd73de226d2a Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Fri, 30 Dec 2005 19:51:15 +0000 Subject: [PATCH 1/1] add missing components for advanced sat setup --- lib/python/Components/NimManager.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py index 2b62b8d4..a4984e62 100644 --- a/lib/python/Components/NimManager.py +++ b/lib/python/Components/NimManager.py @@ -227,7 +227,27 @@ class SecConfigure: # finally add the orbital positions for y in lnbSat[x]: sec.addSatellite(y) + currSat = config.Nims[slotid].advanced.sat[y] + if currentConfigSelectionElement(currSat.voltage) == "polarization": + pass + elif currentConfigSelectionElement(currSat.voltage) == "13V": + pass + elif currentConfigSelectionElement(currSat.voltage) == "18V": + pass + if currentConfigSelectionElement(currSat.tonemode) == "band": + pass + elif currentConfigSelectionElement(currSat.tonemode) == "on": + pass + elif currentConfigSelectionElement(currSat.tonemode) == "off": + pass + + if currentConfigSelectionElement(currSat.usals) == "no": + pass # use currSat.rotorposition.value to set the stored rotor position + else: + pass # use usals for this sat! + + def __init__(self, nimmgr): self.NimManager = nimmgr self.update() -- 2.30.2