Reference.cs 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // 此代码由工具生成。
  4. // 运行时版本:4.0.30319.42000
  5. //
  6. // 对此文件的更改可能会导致不正确的行为,并且如果
  7. // 重新生成代码,这些更改将会丢失。
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. namespace GSMarketSys.nsInformationExchange {
  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="InformationExChangeEntity", Namespace="http://tempuri.org/")]
  16. [System.SerializableAttribute()]
  17. public partial class InformationExChangeEntity : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
  18. [System.NonSerializedAttribute()]
  19. private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
  20. [System.Runtime.Serialization.OptionalFieldAttribute()]
  21. private string InfoGuidField;
  22. [System.Runtime.Serialization.OptionalFieldAttribute()]
  23. private string InfotitleField;
  24. [System.Runtime.Serialization.OptionalFieldAttribute()]
  25. private string InfoContentField;
  26. private System.DateTime SendDateField;
  27. [System.Runtime.Serialization.OptionalFieldAttribute()]
  28. private string SendbyField;
  29. [System.Runtime.Serialization.OptionalFieldAttribute()]
  30. private string RecipientField;
  31. [System.Runtime.Serialization.OptionalFieldAttribute()]
  32. private GSMarketSys.nsInformationExchange.InforMationAttachMentEntity[] AttachmentsField;
  33. [global::System.ComponentModel.BrowsableAttribute(false)]
  34. public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
  35. get {
  36. return this.extensionDataField;
  37. }
  38. set {
  39. this.extensionDataField = value;
  40. }
  41. }
  42. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
  43. public string InfoGuid {
  44. get {
  45. return this.InfoGuidField;
  46. }
  47. set {
  48. if ((object.ReferenceEquals(this.InfoGuidField, value) != true)) {
  49. this.InfoGuidField = value;
  50. this.RaisePropertyChanged("InfoGuid");
  51. }
  52. }
  53. }
  54. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
  55. public string Infotitle {
  56. get {
  57. return this.InfotitleField;
  58. }
  59. set {
  60. if ((object.ReferenceEquals(this.InfotitleField, value) != true)) {
  61. this.InfotitleField = value;
  62. this.RaisePropertyChanged("Infotitle");
  63. }
  64. }
  65. }
  66. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]
  67. public string InfoContent {
  68. get {
  69. return this.InfoContentField;
  70. }
  71. set {
  72. if ((object.ReferenceEquals(this.InfoContentField, value) != true)) {
  73. this.InfoContentField = value;
  74. this.RaisePropertyChanged("InfoContent");
  75. }
  76. }
  77. }
  78. [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=3)]
  79. public System.DateTime SendDate {
  80. get {
  81. return this.SendDateField;
  82. }
  83. set {
  84. if ((this.SendDateField.Equals(value) != true)) {
  85. this.SendDateField = value;
  86. this.RaisePropertyChanged("SendDate");
  87. }
  88. }
  89. }
  90. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)]
  91. public string Sendby {
  92. get {
  93. return this.SendbyField;
  94. }
  95. set {
  96. if ((object.ReferenceEquals(this.SendbyField, value) != true)) {
  97. this.SendbyField = value;
  98. this.RaisePropertyChanged("Sendby");
  99. }
  100. }
  101. }
  102. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=5)]
  103. public string Recipient {
  104. get {
  105. return this.RecipientField;
  106. }
  107. set {
  108. if ((object.ReferenceEquals(this.RecipientField, value) != true)) {
  109. this.RecipientField = value;
  110. this.RaisePropertyChanged("Recipient");
  111. }
  112. }
  113. }
  114. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=6)]
  115. public GSMarketSys.nsInformationExchange.InforMationAttachMentEntity[] Attachments {
  116. get {
  117. return this.AttachmentsField;
  118. }
  119. set {
  120. if ((object.ReferenceEquals(this.AttachmentsField, value) != true)) {
  121. this.AttachmentsField = value;
  122. this.RaisePropertyChanged("Attachments");
  123. }
  124. }
  125. }
  126. public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
  127. protected void RaisePropertyChanged(string propertyName) {
  128. System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
  129. if ((propertyChanged != null)) {
  130. propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
  131. }
  132. }
  133. }
  134. [System.Diagnostics.DebuggerStepThroughAttribute()]
  135. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
  136. [System.Runtime.Serialization.DataContractAttribute(Name="InforMationAttachMentEntity", Namespace="http://tempuri.org/")]
  137. [System.SerializableAttribute()]
  138. public partial class InforMationAttachMentEntity : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
  139. [System.NonSerializedAttribute()]
  140. private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
  141. [System.Runtime.Serialization.OptionalFieldAttribute()]
  142. private string AttachmentNameField;
  143. [System.Runtime.Serialization.OptionalFieldAttribute()]
  144. private byte[] AttachmentContentField;
  145. [System.Runtime.Serialization.OptionalFieldAttribute()]
  146. private string AttachmentFormatField;
  147. [global::System.ComponentModel.BrowsableAttribute(false)]
  148. public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
  149. get {
  150. return this.extensionDataField;
  151. }
  152. set {
  153. this.extensionDataField = value;
  154. }
  155. }
  156. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
  157. public string AttachmentName {
  158. get {
  159. return this.AttachmentNameField;
  160. }
  161. set {
  162. if ((object.ReferenceEquals(this.AttachmentNameField, value) != true)) {
  163. this.AttachmentNameField = value;
  164. this.RaisePropertyChanged("AttachmentName");
  165. }
  166. }
  167. }
  168. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
  169. public byte[] AttachmentContent {
  170. get {
  171. return this.AttachmentContentField;
  172. }
  173. set {
  174. if ((object.ReferenceEquals(this.AttachmentContentField, value) != true)) {
  175. this.AttachmentContentField = value;
  176. this.RaisePropertyChanged("AttachmentContent");
  177. }
  178. }
  179. }
  180. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]
  181. public string AttachmentFormat {
  182. get {
  183. return this.AttachmentFormatField;
  184. }
  185. set {
  186. if ((object.ReferenceEquals(this.AttachmentFormatField, value) != true)) {
  187. this.AttachmentFormatField = value;
  188. this.RaisePropertyChanged("AttachmentFormat");
  189. }
  190. }
  191. }
  192. public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
  193. protected void RaisePropertyChanged(string propertyName) {
  194. System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
  195. if ((propertyChanged != null)) {
  196. propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
  197. }
  198. }
  199. }
  200. [System.Diagnostics.DebuggerStepThroughAttribute()]
  201. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
  202. [System.Runtime.Serialization.DataContractAttribute(Name="ServiceLogin", Namespace="http://tempuri.org/")]
  203. [System.SerializableAttribute()]
  204. public partial class ServiceLogin : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
  205. [System.NonSerializedAttribute()]
  206. private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
  207. private bool FlagField;
  208. [System.Runtime.Serialization.OptionalFieldAttribute()]
  209. private string MessageField;
  210. [System.Runtime.Serialization.OptionalFieldAttribute()]
  211. private string AuUrlField;
  212. [System.Runtime.Serialization.OptionalFieldAttribute()]
  213. private string TagField;
  214. [global::System.ComponentModel.BrowsableAttribute(false)]
  215. public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
  216. get {
  217. return this.extensionDataField;
  218. }
  219. set {
  220. this.extensionDataField = value;
  221. }
  222. }
  223. [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
  224. public bool Flag {
  225. get {
  226. return this.FlagField;
  227. }
  228. set {
  229. if ((this.FlagField.Equals(value) != true)) {
  230. this.FlagField = value;
  231. this.RaisePropertyChanged("Flag");
  232. }
  233. }
  234. }
  235. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
  236. public string Message {
  237. get {
  238. return this.MessageField;
  239. }
  240. set {
  241. if ((object.ReferenceEquals(this.MessageField, value) != true)) {
  242. this.MessageField = value;
  243. this.RaisePropertyChanged("Message");
  244. }
  245. }
  246. }
  247. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]
  248. public string AuUrl {
  249. get {
  250. return this.AuUrlField;
  251. }
  252. set {
  253. if ((object.ReferenceEquals(this.AuUrlField, value) != true)) {
  254. this.AuUrlField = value;
  255. this.RaisePropertyChanged("AuUrl");
  256. }
  257. }
  258. }
  259. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)]
  260. public string Tag {
  261. get {
  262. return this.TagField;
  263. }
  264. set {
  265. if ((object.ReferenceEquals(this.TagField, value) != true)) {
  266. this.TagField = value;
  267. this.RaisePropertyChanged("Tag");
  268. }
  269. }
  270. }
  271. public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
  272. protected void RaisePropertyChanged(string propertyName) {
  273. System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
  274. if ((propertyChanged != null)) {
  275. propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
  276. }
  277. }
  278. }
  279. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  280. [System.ServiceModel.ServiceContractAttribute(ConfigurationName="nsInformationExchange.InformationExchangeSoap")]
  281. public interface InformationExchangeSoap {
  282. // CODEGEN: 命名空间 http://tempuri.org/ 的元素名称 infoEntity 以后生成的消息协定未标记为 nillable
  283. [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/InforReply", ReplyAction="*")]
  284. GSMarketSys.nsInformationExchange.InforReplyResponse InforReply(GSMarketSys.nsInformationExchange.InforReplyRequest request);
  285. [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/InforReply", ReplyAction="*")]
  286. System.Threading.Tasks.Task<GSMarketSys.nsInformationExchange.InforReplyResponse> InforReplyAsync(GSMarketSys.nsInformationExchange.InforReplyRequest request);
  287. }
  288. [System.Diagnostics.DebuggerStepThroughAttribute()]
  289. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  290. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  291. [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
  292. public partial class InforReplyRequest {
  293. [System.ServiceModel.MessageBodyMemberAttribute(Name="InforReply", Namespace="http://tempuri.org/", Order=0)]
  294. public GSMarketSys.nsInformationExchange.InforReplyRequestBody Body;
  295. public InforReplyRequest() {
  296. }
  297. public InforReplyRequest(GSMarketSys.nsInformationExchange.InforReplyRequestBody Body) {
  298. this.Body = Body;
  299. }
  300. }
  301. [System.Diagnostics.DebuggerStepThroughAttribute()]
  302. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  303. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  304. [System.Runtime.Serialization.DataContractAttribute(Namespace="http://tempuri.org/")]
  305. public partial class InforReplyRequestBody {
  306. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
  307. public GSMarketSys.nsInformationExchange.InformationExChangeEntity infoEntity;
  308. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
  309. public string Guid;
  310. public InforReplyRequestBody() {
  311. }
  312. public InforReplyRequestBody(GSMarketSys.nsInformationExchange.InformationExChangeEntity infoEntity, string Guid) {
  313. this.infoEntity = infoEntity;
  314. this.Guid = Guid;
  315. }
  316. }
  317. [System.Diagnostics.DebuggerStepThroughAttribute()]
  318. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  319. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  320. [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
  321. public partial class InforReplyResponse {
  322. [System.ServiceModel.MessageBodyMemberAttribute(Name="InforReplyResponse", Namespace="http://tempuri.org/", Order=0)]
  323. public GSMarketSys.nsInformationExchange.InforReplyResponseBody Body;
  324. public InforReplyResponse() {
  325. }
  326. public InforReplyResponse(GSMarketSys.nsInformationExchange.InforReplyResponseBody Body) {
  327. this.Body = Body;
  328. }
  329. }
  330. [System.Diagnostics.DebuggerStepThroughAttribute()]
  331. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  332. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  333. [System.Runtime.Serialization.DataContractAttribute(Namespace="http://tempuri.org/")]
  334. public partial class InforReplyResponseBody {
  335. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
  336. public GSMarketSys.nsInformationExchange.ServiceLogin InforReplyResult;
  337. public InforReplyResponseBody() {
  338. }
  339. public InforReplyResponseBody(GSMarketSys.nsInformationExchange.ServiceLogin InforReplyResult) {
  340. this.InforReplyResult = InforReplyResult;
  341. }
  342. }
  343. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  344. public interface InformationExchangeSoapChannel : GSMarketSys.nsInformationExchange.InformationExchangeSoap, System.ServiceModel.IClientChannel {
  345. }
  346. [System.Diagnostics.DebuggerStepThroughAttribute()]
  347. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  348. public partial class InformationExchangeSoapClient : System.ServiceModel.ClientBase<GSMarketSys.nsInformationExchange.InformationExchangeSoap>, GSMarketSys.nsInformationExchange.InformationExchangeSoap {
  349. public InformationExchangeSoapClient() {
  350. }
  351. public InformationExchangeSoapClient(string endpointConfigurationName) :
  352. base(endpointConfigurationName) {
  353. }
  354. public InformationExchangeSoapClient(string endpointConfigurationName, string remoteAddress) :
  355. base(endpointConfigurationName, remoteAddress) {
  356. }
  357. public InformationExchangeSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
  358. base(endpointConfigurationName, remoteAddress) {
  359. }
  360. public InformationExchangeSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
  361. base(binding, remoteAddress) {
  362. }
  363. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  364. GSMarketSys.nsInformationExchange.InforReplyResponse GSMarketSys.nsInformationExchange.InformationExchangeSoap.InforReply(GSMarketSys.nsInformationExchange.InforReplyRequest request) {
  365. return base.Channel.InforReply(request);
  366. }
  367. public GSMarketSys.nsInformationExchange.ServiceLogin InforReply(GSMarketSys.nsInformationExchange.InformationExChangeEntity infoEntity, string Guid) {
  368. GSMarketSys.nsInformationExchange.InforReplyRequest inValue = new GSMarketSys.nsInformationExchange.InforReplyRequest();
  369. inValue.Body = new GSMarketSys.nsInformationExchange.InforReplyRequestBody();
  370. inValue.Body.infoEntity = infoEntity;
  371. inValue.Body.Guid = Guid;
  372. GSMarketSys.nsInformationExchange.InforReplyResponse retVal = ((GSMarketSys.nsInformationExchange.InformationExchangeSoap)(this)).InforReply(inValue);
  373. return retVal.Body.InforReplyResult;
  374. }
  375. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  376. System.Threading.Tasks.Task<GSMarketSys.nsInformationExchange.InforReplyResponse> GSMarketSys.nsInformationExchange.InformationExchangeSoap.InforReplyAsync(GSMarketSys.nsInformationExchange.InforReplyRequest request) {
  377. return base.Channel.InforReplyAsync(request);
  378. }
  379. public System.Threading.Tasks.Task<GSMarketSys.nsInformationExchange.InforReplyResponse> InforReplyAsync(GSMarketSys.nsInformationExchange.InformationExChangeEntity infoEntity, string Guid) {
  380. GSMarketSys.nsInformationExchange.InforReplyRequest inValue = new GSMarketSys.nsInformationExchange.InforReplyRequest();
  381. inValue.Body = new GSMarketSys.nsInformationExchange.InforReplyRequestBody();
  382. inValue.Body.infoEntity = infoEntity;
  383. inValue.Body.Guid = Guid;
  384. return ((GSMarketSys.nsInformationExchange.InformationExchangeSoap)(this)).InforReplyAsync(inValue);
  385. }
  386. }
  387. }