set information for different type dict,

        :param conf: configuration information, str or dict
        :param type: simu, ctrl, misc

def setConf(self, conf, type='simu'):
        """ set information for different type dict,

        :param conf: configuration information, str or dict
        :param type: simu, ctrl, misc
        """
        if conf is None:
            return
        else:
            if isinstance(conf, str):
                conf = MagBlock.str2dict(conf)
            self.setConfDict[type](conf)