216 lines
8.0 KiB
C#
216 lines
8.0 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// 此代码由工具生成。
|
|
// 运行时版本:4.0.30319.42000
|
|
//
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|
// 重新生成代码,这些更改将会丢失。
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
using System;
|
|
using System.ComponentModel;
|
|
using System.Diagnostics;
|
|
using System.Web.Services;
|
|
using System.Web.Services.Protocols;
|
|
using System.Xml.Serialization;
|
|
|
|
//
|
|
// This source code was auto-generated by wsdl, Version=4.7.2053.0.
|
|
//
|
|
|
|
namespace Dlhis.ScheduledTask.WsProxy
|
|
{
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.7.2053.0")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Web.Services.WebServiceBindingAttribute(Name = "SI_DLDM2EHR_SavePhoto_OutBinding", Namespace = "urn:jinkosolar.com:dldm:dldm_save_photo")]
|
|
public partial class SI_DLDM2EHR_SavePhoto_OutServiceClient : System.Web.Services.Protocols.SoapHttpClientProtocol
|
|
{
|
|
|
|
private System.Threading.SendOrPostCallback SI_DLDM2EHR_SavePhoto_OutOperationCompleted;
|
|
|
|
/// <remarks/>
|
|
public SI_DLDM2EHR_SavePhoto_OutServiceClient()
|
|
{
|
|
this.Url = "http://sappidap.jinkosolar.cn:50000/XISOAPAdapter/MessageServlet?senderParty=&sen" +
|
|
"derService=DLDM&receiverParty=&receiverService=&interface=SI_DLDM2EHR_SavePhoto_" +
|
|
"Out&interfaceNamespace=urn%3Ajinkosolar.com%3Adldm%3Adldm_save_photo";
|
|
}
|
|
|
|
/// <remarks/>
|
|
public event SI_DLDM2EHR_SavePhoto_OutCompletedEventHandler SI_DLDM2EHR_SavePhoto_OutCompleted;
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://sap.com/xi/WebService/soap1.1", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Bare)]
|
|
[return: System.Xml.Serialization.XmlElementAttribute("MT_SavePhoto_Response", Namespace = "urn:jinkosolar.com:ehr:dldm_save_photo")]
|
|
public DT_SavePhoto_Response SI_DLDM2EHR_SavePhoto_Out([System.Xml.Serialization.XmlElementAttribute(Namespace = "urn:jinkosolar.com:ehr:dldm_save_photo")] DT_SavePhoto_Request MT_SavePhoto_Request)
|
|
{
|
|
object[] results = this.Invoke("SI_DLDM2EHR_SavePhoto_Out", new object[] {
|
|
MT_SavePhoto_Request});
|
|
return ((DT_SavePhoto_Response)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public System.IAsyncResult BeginSI_DLDM2EHR_SavePhoto_Out(DT_SavePhoto_Request MT_SavePhoto_Request, System.AsyncCallback callback, object asyncState)
|
|
{
|
|
return this.BeginInvoke("SI_DLDM2EHR_SavePhoto_Out", new object[] {
|
|
MT_SavePhoto_Request}, callback, asyncState);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public DT_SavePhoto_Response EndSI_DLDM2EHR_SavePhoto_Out(System.IAsyncResult asyncResult)
|
|
{
|
|
object[] results = this.EndInvoke(asyncResult);
|
|
return ((DT_SavePhoto_Response)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void SI_DLDM2EHR_SavePhoto_OutAsync(DT_SavePhoto_Request MT_SavePhoto_Request)
|
|
{
|
|
this.SI_DLDM2EHR_SavePhoto_OutAsync(MT_SavePhoto_Request, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void SI_DLDM2EHR_SavePhoto_OutAsync(DT_SavePhoto_Request MT_SavePhoto_Request, object userState)
|
|
{
|
|
if ((this.SI_DLDM2EHR_SavePhoto_OutOperationCompleted == null))
|
|
{
|
|
this.SI_DLDM2EHR_SavePhoto_OutOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSI_DLDM2EHR_SavePhoto_OutOperationCompleted);
|
|
}
|
|
this.InvokeAsync("SI_DLDM2EHR_SavePhoto_Out", new object[] {
|
|
MT_SavePhoto_Request}, this.SI_DLDM2EHR_SavePhoto_OutOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnSI_DLDM2EHR_SavePhoto_OutOperationCompleted(object arg)
|
|
{
|
|
if ((this.SI_DLDM2EHR_SavePhoto_OutCompleted != null))
|
|
{
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.SI_DLDM2EHR_SavePhoto_OutCompleted(this, new SI_DLDM2EHR_SavePhoto_OutCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public new void CancelAsync(object userState)
|
|
{
|
|
base.CancelAsync(userState);
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.7.2053.0")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:jinkosolar.com:ehr:dldm_save_photo")]
|
|
public partial class DT_SavePhoto_Request
|
|
{
|
|
|
|
private string i_WORKCODEField;
|
|
|
|
private string i_PHOTO_STRField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public string I_WORKCODE
|
|
{
|
|
get
|
|
{
|
|
return this.i_WORKCODEField;
|
|
}
|
|
set
|
|
{
|
|
this.i_WORKCODEField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public string I_PHOTO_STR
|
|
{
|
|
get
|
|
{
|
|
return this.i_PHOTO_STRField;
|
|
}
|
|
set
|
|
{
|
|
this.i_PHOTO_STRField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.7.2053.0")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:jinkosolar.com:ehr:dldm_save_photo")]
|
|
public partial class DT_SavePhoto_Response
|
|
{
|
|
|
|
private string oLXField;
|
|
|
|
private string oMSField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public string OLX
|
|
{
|
|
get
|
|
{
|
|
return this.oLXField;
|
|
}
|
|
set
|
|
{
|
|
this.oLXField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public string OMS
|
|
{
|
|
get
|
|
{
|
|
return this.oMSField;
|
|
}
|
|
set
|
|
{
|
|
this.oMSField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.7.2053.0")]
|
|
public delegate void SI_DLDM2EHR_SavePhoto_OutCompletedEventHandler(object sender, SI_DLDM2EHR_SavePhoto_OutCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.7.2053.0")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class SI_DLDM2EHR_SavePhoto_OutCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
|
|
{
|
|
|
|
private object[] results;
|
|
|
|
internal SI_DLDM2EHR_SavePhoto_OutCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState)
|
|
{
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public DT_SavePhoto_Response Result
|
|
{
|
|
get
|
|
{
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((DT_SavePhoto_Response)(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
|
|
} |