<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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)