|
|
@ -1,9 +1,9 @@ |
|
|
|
|
|
|
|
|
|
|
|
import csv |
|
|
|
import csv |
|
|
|
import ConfigParser |
|
|
|
import ConfigParser |
|
|
|
import tuitest |
|
|
|
import apparatinterface |
|
|
|
import phoneinterface |
|
|
|
import phoneinterface |
|
|
|
import fetapdtest |
|
|
|
import fetapd |
|
|
|
|
|
|
|
|
|
|
|
class ConfigurationReader(object): |
|
|
|
class ConfigurationReader(object): |
|
|
|
DEFAULTS = { |
|
|
|
DEFAULTS = { |
|
|
@ -70,7 +70,7 @@ class ConfigurationReader(object): |
|
|
|
self.__cp.read(f) |
|
|
|
self.__cp.read(f) |
|
|
|
|
|
|
|
|
|
|
|
print 'pin_nsa:', self.__get_global_val_int('pin_nsa'), |
|
|
|
print 'pin_nsa:', self.__get_global_val_int('pin_nsa'), |
|
|
|
self.__pinconfig = tuitest.FeApPinConfiguration( |
|
|
|
self.__pinconfig = apparatinterface.FeApPinConfiguration( |
|
|
|
gpio_numbering = self.__get_global_val('gpio_numbering'), |
|
|
|
gpio_numbering = self.__get_global_val('gpio_numbering'), |
|
|
|
pin_nsa = self.__get_global_val_int('pin_nsa'), |
|
|
|
pin_nsa = self.__get_global_val_int('pin_nsa'), |
|
|
|
pin_nsi = self.__get_global_val_int('pin_nsi'), |
|
|
|
pin_nsi = self.__get_global_val_int('pin_nsi'), |
|
|
@ -82,7 +82,7 @@ class ConfigurationReader(object): |
|
|
|
invert_gs = self.__get_global_val_bool('invert_gs'), |
|
|
|
invert_gs = self.__get_global_val_bool('invert_gs'), |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
self.__dialconfig = fetapdtest.DialConfiguration( |
|
|
|
self.__dialconfig = fetapd.DialConfiguration( |
|
|
|
self.__get_global_val_int('dial_timeout'), |
|
|
|
self.__get_global_val_int('dial_timeout'), |
|
|
|
self.__read_shortcuts(), |
|
|
|
self.__read_shortcuts(), |
|
|
|
self.__read_blacklist(), |
|
|
|
self.__read_blacklist(), |
|
|
|