Reference.cs 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // 此代码由工具生成。
  4. // 运行时版本:4.0.30319.42000
  5. //
  6. // 对此文件的更改可能会导致不正确的行为,并且如果
  7. // 重新生成代码,这些更改将会丢失。
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. namespace GSMarketSys.nsRightsWS {
  11. using System.Runtime.Serialization;
  12. using System;
  13. [System.Diagnostics.DebuggerStepThroughAttribute()]
  14. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
  15. [System.Runtime.Serialization.DataContractAttribute(Name="ServiceLogin", Namespace="http://tempuri.org/")]
  16. [System.SerializableAttribute()]
  17. public partial class ServiceLogin : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
  18. [System.NonSerializedAttribute()]
  19. private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
  20. private bool FlagField;
  21. [System.Runtime.Serialization.OptionalFieldAttribute()]
  22. private string MessageField;
  23. [System.Runtime.Serialization.OptionalFieldAttribute()]
  24. private string AuUrlField;
  25. [System.Runtime.Serialization.OptionalFieldAttribute()]
  26. private string TagField;
  27. [global::System.ComponentModel.BrowsableAttribute(false)]
  28. public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
  29. get {
  30. return this.extensionDataField;
  31. }
  32. set {
  33. this.extensionDataField = value;
  34. }
  35. }
  36. [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
  37. public bool Flag {
  38. get {
  39. return this.FlagField;
  40. }
  41. set {
  42. if ((this.FlagField.Equals(value) != true)) {
  43. this.FlagField = value;
  44. this.RaisePropertyChanged("Flag");
  45. }
  46. }
  47. }
  48. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
  49. public string Message {
  50. get {
  51. return this.MessageField;
  52. }
  53. set {
  54. if ((object.ReferenceEquals(this.MessageField, value) != true)) {
  55. this.MessageField = value;
  56. this.RaisePropertyChanged("Message");
  57. }
  58. }
  59. }
  60. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]
  61. public string AuUrl {
  62. get {
  63. return this.AuUrlField;
  64. }
  65. set {
  66. if ((object.ReferenceEquals(this.AuUrlField, value) != true)) {
  67. this.AuUrlField = value;
  68. this.RaisePropertyChanged("AuUrl");
  69. }
  70. }
  71. }
  72. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)]
  73. public string Tag {
  74. get {
  75. return this.TagField;
  76. }
  77. set {
  78. if ((object.ReferenceEquals(this.TagField, value) != true)) {
  79. this.TagField = value;
  80. this.RaisePropertyChanged("Tag");
  81. }
  82. }
  83. }
  84. public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
  85. protected void RaisePropertyChanged(string propertyName) {
  86. System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
  87. if ((propertyChanged != null)) {
  88. propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
  89. }
  90. }
  91. }
  92. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  93. [System.ServiceModel.ServiceContractAttribute(ConfigurationName="nsRightsWS.RightsWSSoap")]
  94. public interface RightsWSSoap {
  95. // CODEGEN: 命名空间 http://tempuri.org/ 的元素名称 UserNo 以后生成的消息协定未标记为 nillable
  96. [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/LoginToApp", ReplyAction="*")]
  97. GSMarketSys.nsRightsWS.LoginToAppResponse LoginToApp(GSMarketSys.nsRightsWS.LoginToAppRequest request);
  98. [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/LoginToApp", ReplyAction="*")]
  99. System.Threading.Tasks.Task<GSMarketSys.nsRightsWS.LoginToAppResponse> LoginToAppAsync(GSMarketSys.nsRightsWS.LoginToAppRequest request);
  100. }
  101. [System.Diagnostics.DebuggerStepThroughAttribute()]
  102. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  103. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  104. [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
  105. public partial class LoginToAppRequest {
  106. [System.ServiceModel.MessageBodyMemberAttribute(Name="LoginToApp", Namespace="http://tempuri.org/", Order=0)]
  107. public GSMarketSys.nsRightsWS.LoginToAppRequestBody Body;
  108. public LoginToAppRequest() {
  109. }
  110. public LoginToAppRequest(GSMarketSys.nsRightsWS.LoginToAppRequestBody Body) {
  111. this.Body = Body;
  112. }
  113. }
  114. [System.Diagnostics.DebuggerStepThroughAttribute()]
  115. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  116. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  117. [System.Runtime.Serialization.DataContractAttribute(Namespace="http://tempuri.org/")]
  118. public partial class LoginToAppRequestBody {
  119. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
  120. public string UserNo;
  121. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
  122. public string UserPwd;
  123. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]
  124. public string Appno;
  125. public LoginToAppRequestBody() {
  126. }
  127. public LoginToAppRequestBody(string UserNo, string UserPwd, string Appno) {
  128. this.UserNo = UserNo;
  129. this.UserPwd = UserPwd;
  130. this.Appno = Appno;
  131. }
  132. }
  133. [System.Diagnostics.DebuggerStepThroughAttribute()]
  134. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  135. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  136. [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
  137. public partial class LoginToAppResponse {
  138. [System.ServiceModel.MessageBodyMemberAttribute(Name="LoginToAppResponse", Namespace="http://tempuri.org/", Order=0)]
  139. public GSMarketSys.nsRightsWS.LoginToAppResponseBody Body;
  140. public LoginToAppResponse() {
  141. }
  142. public LoginToAppResponse(GSMarketSys.nsRightsWS.LoginToAppResponseBody Body) {
  143. this.Body = Body;
  144. }
  145. }
  146. [System.Diagnostics.DebuggerStepThroughAttribute()]
  147. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  148. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  149. [System.Runtime.Serialization.DataContractAttribute(Namespace="http://tempuri.org/")]
  150. public partial class LoginToAppResponseBody {
  151. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
  152. public GSMarketSys.nsRightsWS.ServiceLogin LoginToAppResult;
  153. public LoginToAppResponseBody() {
  154. }
  155. public LoginToAppResponseBody(GSMarketSys.nsRightsWS.ServiceLogin LoginToAppResult) {
  156. this.LoginToAppResult = LoginToAppResult;
  157. }
  158. }
  159. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  160. public interface RightsWSSoapChannel : GSMarketSys.nsRightsWS.RightsWSSoap, System.ServiceModel.IClientChannel {
  161. }
  162. [System.Diagnostics.DebuggerStepThroughAttribute()]
  163. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  164. public partial class RightsWSSoapClient : System.ServiceModel.ClientBase<GSMarketSys.nsRightsWS.RightsWSSoap>, GSMarketSys.nsRightsWS.RightsWSSoap {
  165. public RightsWSSoapClient() {
  166. }
  167. public RightsWSSoapClient(string endpointConfigurationName) :
  168. base(endpointConfigurationName) {
  169. }
  170. public RightsWSSoapClient(string endpointConfigurationName, string remoteAddress) :
  171. base(endpointConfigurationName, remoteAddress) {
  172. }
  173. public RightsWSSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
  174. base(endpointConfigurationName, remoteAddress) {
  175. }
  176. public RightsWSSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
  177. base(binding, remoteAddress) {
  178. }
  179. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  180. GSMarketSys.nsRightsWS.LoginToAppResponse GSMarketSys.nsRightsWS.RightsWSSoap.LoginToApp(GSMarketSys.nsRightsWS.LoginToAppRequest request) {
  181. return base.Channel.LoginToApp(request);
  182. }
  183. public GSMarketSys.nsRightsWS.ServiceLogin LoginToApp(string UserNo, string UserPwd, string Appno) {
  184. GSMarketSys.nsRightsWS.LoginToAppRequest inValue = new GSMarketSys.nsRightsWS.LoginToAppRequest();
  185. inValue.Body = new GSMarketSys.nsRightsWS.LoginToAppRequestBody();
  186. inValue.Body.UserNo = UserNo;
  187. inValue.Body.UserPwd = UserPwd;
  188. inValue.Body.Appno = Appno;
  189. GSMarketSys.nsRightsWS.LoginToAppResponse retVal = ((GSMarketSys.nsRightsWS.RightsWSSoap)(this)).LoginToApp(inValue);
  190. return retVal.Body.LoginToAppResult;
  191. }
  192. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  193. System.Threading.Tasks.Task<GSMarketSys.nsRightsWS.LoginToAppResponse> GSMarketSys.nsRightsWS.RightsWSSoap.LoginToAppAsync(GSMarketSys.nsRightsWS.LoginToAppRequest request) {
  194. return base.Channel.LoginToAppAsync(request);
  195. }
  196. public System.Threading.Tasks.Task<GSMarketSys.nsRightsWS.LoginToAppResponse> LoginToAppAsync(string UserNo, string UserPwd, string Appno) {
  197. GSMarketSys.nsRightsWS.LoginToAppRequest inValue = new GSMarketSys.nsRightsWS.LoginToAppRequest();
  198. inValue.Body = new GSMarketSys.nsRightsWS.LoginToAppRequestBody();
  199. inValue.Body.UserNo = UserNo;
  200. inValue.Body.UserPwd = UserPwd;
  201. inValue.Body.Appno = Appno;
  202. return ((GSMarketSys.nsRightsWS.RightsWSSoap)(this)).LoginToAppAsync(inValue);
  203. }
  204. }
  205. }