/// <summary> /// /// </summary> /// <param name="strparam"></param> /// <returns></returns> public string Delete(string strparam) { Dictionary <string, string> dic = MyJson.JsonToDictionary(strparam); EquipmentInfo info = new EquipmentInfo() { EIID = Tools.GetInt32((dic.ContainsKey("eiid") ? dic["eiid"] : "-1"), -1) }; ReturnValue retVal = equLogic.Delete(info); if (retVal.IsSuccess == false) { return(MyXml.CreateTabledResultXml(new DataTable(), 0, 10, 0).InnerXml); } return(MyXml.CreateResultXml(retVal.RetCode, retVal.RetMsg, string.Empty).InnerXml); }