def getAttrStringValueList(self, attr_name): if attr_name in ['output1_id','output2_id']: return list(self.__OutputSignalID.keys()) elif attr_name in ['output1_signal_type', 'output2_signal_type']: return list(self.__OutputSignalType.keys()) else: return AttrHelper.get_attr_string_value_list(self, attr_name)
def getAttrStringValueList(self, attr_name): return AttrHelper.get_attr_string_value_list(self, attr_name)
def getAttrStringValueList(self, attr_name): #use AttrHelper return AttrHelper.get_attr_string_value_list(self, attr_name)
def getAttrStringValueList(self, attr_name): if attr_name.count('config_name'): return self.__getConfigNameList() else: return AttrHelper.get_attr_string_value_list(self, attr_name)
def getAttrStringValueList(self, attr_name): if attr_name.startswith('config_name') : full_path = os.path.join(self.config_path,'*.cfg') return [os.path.splitext(os.path.basename(x))[0] for x in glob.glob(full_path)] else: return AttrHelper.get_attr_string_value_list(self, attr_name)
def getAttrStringValueList(self, attr_name): if attr_name.count('config_name'): return self.__getConfigNameList() else: return AttrHelper.get_attr_string_value_list(self, attr_name)