/// <summary> /// //<patient_info> // <pat_name>患者姓名</pat_name> // <pat_id>患者id</pat_id> // <IPaddress>医生工作站IP</IPaddress> // <type>叫号状态 0:叫号未取药 1:叫号已取药</type> //</patient_info> /// </summary> /// <param name="fyck"></param> /// <param name="name"></param> public static void CallInpatient(string name, string inpid, string ipAddr, string type) { ipAddr = "192.168.131.12";//写死 MzCallWs.WebServiceTerminalCall ser = new ClsMzCall.MzCallWs.WebServiceTerminalCall(); ser.Url = "http://192.168.0.141:81/WebServiceTerminalCall.asmx"; string para = string.Format(@"<patient_info><pat_name>{0}</pat_name><pat_id>{1}</pat_id><IPaddress>{2}</IPaddress><type>{3}</type></patient_info>", name, inpid, ipAddr, type); string ret = ser.Call(para); }
/* * 例子:RemarksStatus :比如特殊药品特殊煎法的就写这里面:如 当归 :“先煎20分钟” * 注意:药品明细中有的药会有先煎、后下、另包、包煎等字眼。 */ public static void CallInpatient(string fyck, string name) { string mac = "";//写死 MzCallWs.WebServiceTerminalCall ser = new ClsMzCall.MzCallWs.WebServiceTerminalCall(); ser.Url = "http://192.168.0.141:81/WebServiceTerminalCall.asmx"; string para = string.Format(@"<patient_info><call_room>{0}</call_room><name>{1}</name></patient_info>", fyck, name); ser.CallDrug(para, mac); }