from config import configElement
from config import ConfigSubsection
-from config import ConfigSlider
from config import configSelection
from config import currentConfigSelectionElement
from config import getConfigSelectionElement
def getNimType(self, slotID):
if slotID >= self.nimCount:
- return "empty/unknown"
+ return self.nimType["empty/unknown"]
else:
return self.nimType[self.nimTypes[slotID]]
+ def getNimTypeName(self, slotID):
+ if slotID >= self.nimCount:
+ return "empty/unknown"
+ else:
+ return self.nimTypes[slotID]
+
def getNimName(self, slotID):
return self.nimNames[slotID]
nimText += ("DVB-S", "DVB-C", "DVB-T")[slot.nimType] + ")"
list.append((nimText, slot))
return list
-
+
+ def getNimConfigMode(self, slotid):
+ return currentConfigSelectionElement(config.Nims[slotid].configMode)
+
def getSatListForNim(self, slotid):
list = []
if (self.getNimType(slotid) == self.nimType["DVB-S"]):