public string String_INTERFACE(string Interface, string Json) { string _StrErr = string.Empty; IDictionary <string, object> dic = MapListConverter.JsonToDictionary(Json); switch (Interface) { case "CHECK_SET_LINE_EMPLOYEE": _StrErr = mUserInfo.CHECK_SET_LINE_EMPLOYEE(dic); break; case "GET_WO_SNRULE": _StrErr = ProPubStor.Get_WO_SnRule(dic["WOID"].ToString()).GetXml(); break; default: _StrErr = "Interface Error"; break; } return(_StrErr); }
public string Get_WO_SnRule(string woId) { return(ProPubStor.Get_WO_SnRule(woId).GetXml()); }