add missing components for advanced sat setup
[enigma2.git] / lib / python / Components / NimManager.py
index 2b62b8d44325f8897c1e9075d6da514924d1fb6a..a4984e62e814a1ef6b058ae57aaf169c5a6ecef8 100644 (file)
@@ -227,7 +227,27 @@ class SecConfigure:
                                # finally add the orbital positions
                                for y in lnbSat[x]:
                                        sec.addSatellite(y)
                                # 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()
        def __init__(self, nimmgr):
                self.NimManager = nimmgr
                self.update()