from time import localtime, mktime
from datetime import datetime
from time import localtime, mktime
from datetime import datetime
# this is stored in the *value* (not index!) of the config list
if nim.configMode.value == "equal":
self.equal[int(nim.equalTo.value)]=x
# this is stored in the *value* (not index!) of the config list
if nim.configMode.value == "equal":
self.equal[int(nim.equalTo.value)]=x
self.linkNIMs(sec, x, int(nim.linkedTo.value))
self.linked[int(nim.linkedTo.value)]=x
elif nim.configMode.value == "satposdepends":
self.linkNIMs(sec, x, int(nim.linkedTo.value))
self.linked[int(nim.linkedTo.value)]=x
elif nim.configMode.value == "satposdepends":
for slot in nimmgr.nim_slots:
x = slot.slot
nim = config.Nims[x]
# HACK: currently, we can only looptrough to socket A
for slot in nimmgr.nim_slots:
x = slot.slot
nim = config.Nims[x]
# HACK: currently, we can only looptrough to socket A
etime = datetime(1970, 1, 1, 19, 0);
nim.fastTurningEnd = ConfigDateTime(default = mktime(etime.timetuple()), formatstring = _("%H:%M"), increment = 900)
# get other frontends of the same type
etime = datetime(1970, 1, 1, 19, 0);
nim.fastTurningEnd = ConfigDateTime(default = mktime(etime.timetuple()), formatstring = _("%H:%M"), increment = 900)
# get other frontends of the same type