Reference.cs 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // 此代码由工具生成。
  4. // 运行时版本:4.0.30319.42000
  5. //
  6. // 对此文件的更改可能会导致不正确的行为,并且如果
  7. // 重新生成代码,这些更改将会丢失。
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. namespace DataUpload.IYCService {
  11. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  12. [System.ServiceModel.ServiceContractAttribute(ConfigurationName="IYCService.IYCMarkServiceSoap")]
  13. public interface IYCMarkServiceSoap {
  14. // CODEGEN: 命名空间 http://tempuri.org/ 的元素名称 CheckCode1 以后生成的消息协定未标记为 nillable
  15. [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/DoMarkTrans", ReplyAction="*")]
  16. DataUpload.IYCService.DoMarkTransResponse DoMarkTrans(DataUpload.IYCService.DoMarkTransRequest request);
  17. }
  18. [System.Diagnostics.DebuggerStepThroughAttribute()]
  19. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  20. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  21. [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
  22. public partial class DoMarkTransRequest {
  23. [System.ServiceModel.MessageBodyMemberAttribute(Name="DoMarkTrans", Namespace="http://tempuri.org/", Order=0)]
  24. public DataUpload.IYCService.DoMarkTransRequestBody Body;
  25. public DoMarkTransRequest() {
  26. }
  27. public DoMarkTransRequest(DataUpload.IYCService.DoMarkTransRequestBody Body) {
  28. this.Body = Body;
  29. }
  30. }
  31. [System.Diagnostics.DebuggerStepThroughAttribute()]
  32. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  33. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  34. [System.Runtime.Serialization.DataContractAttribute(Namespace="http://tempuri.org/")]
  35. public partial class DoMarkTransRequestBody {
  36. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
  37. public string CheckCode1;
  38. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
  39. public string CheckCode2;
  40. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]
  41. public string UserCode;
  42. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)]
  43. public string MeterCode;
  44. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)]
  45. public string MarkTime;
  46. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=5)]
  47. public string MarkData;
  48. public DoMarkTransRequestBody() {
  49. }
  50. public DoMarkTransRequestBody(string CheckCode1, string CheckCode2, string UserCode, string MeterCode, string MarkTime, string MarkData) {
  51. this.CheckCode1 = CheckCode1;
  52. this.CheckCode2 = CheckCode2;
  53. this.UserCode = UserCode;
  54. this.MeterCode = MeterCode;
  55. this.MarkTime = MarkTime;
  56. this.MarkData = MarkData;
  57. }
  58. }
  59. [System.Diagnostics.DebuggerStepThroughAttribute()]
  60. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  61. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  62. [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
  63. public partial class DoMarkTransResponse {
  64. [System.ServiceModel.MessageBodyMemberAttribute(Name="DoMarkTransResponse", Namespace="http://tempuri.org/", Order=0)]
  65. public DataUpload.IYCService.DoMarkTransResponseBody Body;
  66. public DoMarkTransResponse() {
  67. }
  68. public DoMarkTransResponse(DataUpload.IYCService.DoMarkTransResponseBody Body) {
  69. this.Body = Body;
  70. }
  71. }
  72. [System.Diagnostics.DebuggerStepThroughAttribute()]
  73. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  74. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  75. [System.Runtime.Serialization.DataContractAttribute(Namespace="http://tempuri.org/")]
  76. public partial class DoMarkTransResponseBody {
  77. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
  78. public string DoMarkTransResult;
  79. public DoMarkTransResponseBody() {
  80. }
  81. public DoMarkTransResponseBody(string DoMarkTransResult) {
  82. this.DoMarkTransResult = DoMarkTransResult;
  83. }
  84. }
  85. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  86. public interface IYCMarkServiceSoapChannel : DataUpload.IYCService.IYCMarkServiceSoap, System.ServiceModel.IClientChannel {
  87. }
  88. [System.Diagnostics.DebuggerStepThroughAttribute()]
  89. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  90. public partial class YCMarkServiceSoapClient : System.ServiceModel.ClientBase<DataUpload.IYCService.IYCMarkServiceSoap>, DataUpload.IYCService.IYCMarkServiceSoap {
  91. public YCMarkServiceSoapClient() {
  92. }
  93. public YCMarkServiceSoapClient(string endpointConfigurationName) :
  94. base(endpointConfigurationName) {
  95. }
  96. public YCMarkServiceSoapClient(string endpointConfigurationName, string remoteAddress) :
  97. base(endpointConfigurationName, remoteAddress) {
  98. }
  99. public YCMarkServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
  100. base(endpointConfigurationName, remoteAddress) {
  101. }
  102. public YCMarkServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
  103. base(binding, remoteAddress) {
  104. }
  105. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  106. DataUpload.IYCService.DoMarkTransResponse DataUpload.IYCService.IYCMarkServiceSoap.DoMarkTrans(DataUpload.IYCService.DoMarkTransRequest request) {
  107. return base.Channel.DoMarkTrans(request);
  108. }
  109. public string DoMarkTrans(string CheckCode1, string CheckCode2, string UserCode, string MeterCode, string MarkTime, string MarkData) {
  110. DataUpload.IYCService.DoMarkTransRequest inValue = new DataUpload.IYCService.DoMarkTransRequest();
  111. inValue.Body = new DataUpload.IYCService.DoMarkTransRequestBody();
  112. inValue.Body.CheckCode1 = CheckCode1;
  113. inValue.Body.CheckCode2 = CheckCode2;
  114. inValue.Body.UserCode = UserCode;
  115. inValue.Body.MeterCode = MeterCode;
  116. inValue.Body.MarkTime = MarkTime;
  117. inValue.Body.MarkData = MarkData;
  118. DataUpload.IYCService.DoMarkTransResponse retVal = ((DataUpload.IYCService.IYCMarkServiceSoap)(this)).DoMarkTrans(inValue);
  119. return retVal.Body.DoMarkTransResult;
  120. }
  121. }
  122. }