//------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ namespace DataUpload.IYCService { [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ServiceModel.ServiceContractAttribute(ConfigurationName="IYCService.IYCMarkServiceSoap")] public interface IYCMarkServiceSoap { // CODEGEN: 命名空间 http://tempuri.org/ 的元素名称 CheckCode1 以后生成的消息协定未标记为 nillable [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/DoMarkTrans", ReplyAction="*")] DataUpload.IYCService.DoMarkTransResponse DoMarkTrans(DataUpload.IYCService.DoMarkTransRequest request); } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] public partial class DoMarkTransRequest { [System.ServiceModel.MessageBodyMemberAttribute(Name="DoMarkTrans", Namespace="http://tempuri.org/", Order=0)] public DataUpload.IYCService.DoMarkTransRequestBody Body; public DoMarkTransRequest() { } public DoMarkTransRequest(DataUpload.IYCService.DoMarkTransRequestBody Body) { this.Body = Body; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.Runtime.Serialization.DataContractAttribute(Namespace="http://tempuri.org/")] public partial class DoMarkTransRequestBody { [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] public string CheckCode1; [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)] public string CheckCode2; [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)] public string UserCode; [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)] public string MeterCode; [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)] public string MarkTime; [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=5)] public string MarkData; public DoMarkTransRequestBody() { } public DoMarkTransRequestBody(string CheckCode1, string CheckCode2, string UserCode, string MeterCode, string MarkTime, string MarkData) { this.CheckCode1 = CheckCode1; this.CheckCode2 = CheckCode2; this.UserCode = UserCode; this.MeterCode = MeterCode; this.MarkTime = MarkTime; this.MarkData = MarkData; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] public partial class DoMarkTransResponse { [System.ServiceModel.MessageBodyMemberAttribute(Name="DoMarkTransResponse", Namespace="http://tempuri.org/", Order=0)] public DataUpload.IYCService.DoMarkTransResponseBody Body; public DoMarkTransResponse() { } public DoMarkTransResponse(DataUpload.IYCService.DoMarkTransResponseBody Body) { this.Body = Body; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.Runtime.Serialization.DataContractAttribute(Namespace="http://tempuri.org/")] public partial class DoMarkTransResponseBody { [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] public string DoMarkTransResult; public DoMarkTransResponseBody() { } public DoMarkTransResponseBody(string DoMarkTransResult) { this.DoMarkTransResult = DoMarkTransResult; } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public interface IYCMarkServiceSoapChannel : DataUpload.IYCService.IYCMarkServiceSoap, System.ServiceModel.IClientChannel { } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public partial class YCMarkServiceSoapClient : System.ServiceModel.ClientBase, DataUpload.IYCService.IYCMarkServiceSoap { public YCMarkServiceSoapClient() { } public YCMarkServiceSoapClient(string endpointConfigurationName) : base(endpointConfigurationName) { } public YCMarkServiceSoapClient(string endpointConfigurationName, string remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public YCMarkServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public YCMarkServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : base(binding, remoteAddress) { } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] DataUpload.IYCService.DoMarkTransResponse DataUpload.IYCService.IYCMarkServiceSoap.DoMarkTrans(DataUpload.IYCService.DoMarkTransRequest request) { return base.Channel.DoMarkTrans(request); } public string DoMarkTrans(string CheckCode1, string CheckCode2, string UserCode, string MeterCode, string MarkTime, string MarkData) { DataUpload.IYCService.DoMarkTransRequest inValue = new DataUpload.IYCService.DoMarkTransRequest(); inValue.Body = new DataUpload.IYCService.DoMarkTransRequestBody(); inValue.Body.CheckCode1 = CheckCode1; inValue.Body.CheckCode2 = CheckCode2; inValue.Body.UserCode = UserCode; inValue.Body.MeterCode = MeterCode; inValue.Body.MarkTime = MarkTime; inValue.Body.MarkData = MarkData; DataUpload.IYCService.DoMarkTransResponse retVal = ((DataUpload.IYCService.IYCMarkServiceSoap)(this)).DoMarkTrans(inValue); return retVal.Body.DoMarkTransResult; } } }