public override KRResponse PostOperator(Operator_DTO op) { try { return(null); //var resultStr = CommunicationHelper.SerializeObjToJsonStr(op); //string[] param = { ClientConstants.KR_POST_RESULT, resultStr }; //Trace.WriteLine(string.Format("开始发送操作人员信息,地址为{0}", Address.PostOperatorUrl)); //var proxy = new WebServiceProxy(Address.PostOperatorUrl, ClientConstants.DoAction); //var response = (string)proxy.ExecuteQuery(ClientConstants.DoAction, param); //Trace.WriteLine(string.Format("开始发送操作人员信息结束,返回结果{0}", response)); //return CommunicationHelper.DeserializeJsonToObj<KRResponse>(response); } catch (Exception ex) { throw ex; } }
public virtual KRResponse PostOperator(Operator_DTO op) { return(null); }
public KRResponse SendOperator(Operator_DTO op) { return(_client.PostOperator(op)); }