codea1 = rep_value_and_field(rttnodes[0], value_type, codea1, rand1);: case "drv_4AnNiu_byIndex": case "drv_4AnNiu_r1": case "drv_4AnNiu_r2": string anniu4_name = ""; if (rttnodes[0].SelectSingleNode("field[@name='dev_no_to_use']") != null) { anniu4_name = rttnodes[0].SelectSingleNode("field[@name='dev_no_to_use']").InnerText.Trim(); } if (element_name_To_randramStr_map.ContainsKey(anniu4_name)) { string rand_1 = element_name_To_randramStr_map[anniu4_name].ToString(); if (File.Exists(System.Web.HttpContext.Current.Server.MapPath("/api_shoudongC_func_lib/" + value_type + ".txt"))) { string codea1 = ld_lib_cont(value_type, 1, parse_type.code); codea1 = codea1.Trim().Replace("$rnd_varname_pre$", rand_1); codea1 = rep_value_and_field(rttnodes[0], value_type, codea1, rand1); codegen = codea1; } } else { err_msg_g = anniu4_name + "的初始化积木未定义,请先拖入 4路按钮的初始化积木!"; } break;