add codes for WeixiaoSim subsystem