/// <summary> /// 通过WebService获取来自瑞康视图的标本信息 /// </summary> /// <param name="sqxh"></param> /// <returns></returns> public Bbxx GetBbxx(string sqxh) { var url = f.ReadString("hszxxy", "bbxxurl", @"http://172.16.80.174:8081/HisBbxxService.asmx"); HisBbxxService hbs = new HisBbxxService(); hbs.Url = url; var bbxx = hbs.GetBbxx(sqxh); return(bbxx); }
static void Main() { HisBbxxService service = new HisBbxxService(); service.Url = "172.1.1.100:57792/HisBbxxService.asmx"; var o = service.GetBbxx("123"); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); }