nim_slots = self.NimManager.nim_slots
+ used_nim_slots = [ ]
+
for slot in nim_slots:
x = slot.slot
nim = slot.config
self.setSatposDepends(sec, x, int(nim.satposDependsTo.value))
self.satposdepends[int(nim.satposDependsTo.value)]=x
+ if slot.type is not None:
+ used_nim_slots.append((slot.slot, slot.description, nim.configMode.value != "nothing" and True or False))
+
+ eDVBResourceManager.getInstance().setFrontendSlotInformations(used_nim_slots)
+
for slot in nim_slots:
x = slot.slot
nim = slot.config
x.addNotifier(lambda configElement: secClass.setParam(secClass.DELAY_AFTER_ENABLE_VOLTAGE_BEFORE_SWITCH_CMDS, configElement.value))
config.sec.delay_after_enable_voltage_before_switch_command = x
- x = ConfigInteger(default=200, limits = (0, 9999))
+ x = ConfigInteger(default=700, limits = (0, 9999))
x.addNotifier(lambda configElement: secClass.setParam(secClass.DELAY_BETWEEN_SWITCH_AND_MOTOR_CMD, configElement.value))
config.sec.delay_between_switch_and_motor_command = x
x.addNotifier(lambda configElement: secClass.setParam(secClass.DELAY_AFTER_VOLTAGE_CHANGE_BEFORE_MEASURE_IDLE_INPUTPOWER, configElement.value))
config.sec.delay_after_voltage_change_before_measure_idle_inputpower = x
- x = ConfigInteger(default=200, limits = (0, 9999))
+ x = ConfigInteger(default=750, limits = (0, 9999))
x.addNotifier(lambda configElement: secClass.setParam(secClass.DELAY_AFTER_ENABLE_VOLTAGE_BEFORE_MOTOR_CMD, configElement.value))
config.sec.delay_after_enable_voltage_before_motor_command = x
print "pls add support for this frontend type!"
# assert False
- eDVBResourceManager.getInstance().setFrontendSlotInformations(used_nim_slots)
-
nimmgr.sec = SecConfigure(nimmgr)
nimmanager = NimManager()