add missing components for advanced sat setup
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Fri, 30 Dec 2005 19:51:15 +0000 (19:51 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Fri, 30 Dec 2005 19:51:15 +0000 (19:51 +0000)
lib/python/Components/NimManager.py

index 2b62b8d..a4984e6 100644 (file)
@@ -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()