FDCMessageFuelSaleTrx.cs 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841
  1. using System.Xml.Serialization;
  2. namespace Wayne.FDCPOSLibrary
  3. {
  4. [System.SerializableAttribute()]
  5. [System.Xml.Serialization.XmlRootAttribute(ElementName = "FDCMessage", Namespace = "")]
  6. public partial class FDCMessageFuelSaleTrx : FDCMessage
  7. {
  8. private FDCMessageFDCdataFuelSaleTrx[] fDCdataField;
  9. [System.Xml.Serialization.XmlElementAttribute("FDCdata", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  10. public FDCMessageFDCdataFuelSaleTrx[] FDCdata
  11. {
  12. get
  13. {
  14. return this.fDCdataField;
  15. }
  16. set
  17. {
  18. this.fDCdataField = value;
  19. }
  20. }
  21. public FDCMessageFuelSaleTrx()
  22. {
  23. this.MessageType = "FuelSaleTrx";
  24. }
  25. }
  26. [System.SerializableAttribute()]
  27. public partial class FDCMessageFDCdataFuelSaleTrx
  28. {
  29. private string FDCTimeStampField;
  30. private FDCMessageTRXdataFuelSaleTrx TRXdataField; // v03
  31. private FDCMessageDeviceClassFuelSaleTrx DeviceClassField; // v05 and next
  32. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  33. public string FDCTimeStamp
  34. {
  35. get
  36. {
  37. return this.FDCTimeStampField;
  38. }
  39. set
  40. {
  41. this.FDCTimeStampField = value;
  42. }
  43. }
  44. [System.Xml.Serialization.XmlElementAttribute("TRXdata", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  45. public FDCMessageTRXdataFuelSaleTrx TRXdata
  46. {
  47. get
  48. {
  49. return this.TRXdataField;
  50. }
  51. set
  52. {
  53. this.TRXdataField = value;
  54. }
  55. }
  56. [System.Xml.Serialization.XmlElementAttribute("DeviceClass", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  57. public FDCMessageDeviceClassFuelSaleTrx DeviceClass
  58. {
  59. get
  60. {
  61. return this.DeviceClassField;
  62. }
  63. set
  64. {
  65. this.DeviceClassField = value;
  66. }
  67. }
  68. }
  69. [System.SerializableAttribute()]
  70. public partial class FDCMessageTRXdataFuelSaleTrx // v03 field
  71. {
  72. private FDCMessageDeviceClassTrxDataFuelSaleTrx DeviceClassField;
  73. private string TransactionNoField;
  74. private string StateField;
  75. private string ReleaseTokenField;
  76. private string CompletionReasonField;
  77. private string TypeField;
  78. private string FuelModeField; // v03 field
  79. //private FuelModeElementClass FuelModeElemField; // v05 and next field
  80. private string VolumeProduct1Field;
  81. private string VolumeProduct2Field;
  82. private string Product1NoField;
  83. private string Product2NoField;
  84. private string ProductNameField;
  85. private string ProductUMField;
  86. private string BlendRatioField;
  87. private string AmountField;
  88. private string VolumeField;
  89. private string UnitPriceField;
  90. private byte[] DSPFieldsField;
  91. private byte[] CRCModeField;
  92. private string StartTimeStampField;
  93. private string EndTimeStampField;
  94. [System.Xml.Serialization.XmlElementAttribute("DeviceClass", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  95. public FDCMessageDeviceClassTrxDataFuelSaleTrx DeviceClass
  96. {
  97. get
  98. {
  99. return this.DeviceClassField;
  100. }
  101. set
  102. {
  103. this.DeviceClassField = value;
  104. }
  105. }
  106. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  107. public string TransactionNo
  108. {
  109. get
  110. {
  111. return this.TransactionNoField;
  112. }
  113. set
  114. {
  115. this.TransactionNoField = value;
  116. }
  117. }
  118. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  119. public string State
  120. {
  121. get
  122. {
  123. return this.StateField;
  124. }
  125. set
  126. {
  127. this.StateField = value;
  128. }
  129. }
  130. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  131. public string ReleaseToken
  132. {
  133. get
  134. {
  135. return this.ReleaseTokenField;
  136. }
  137. set
  138. {
  139. this.ReleaseTokenField = value;
  140. }
  141. }
  142. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  143. public string CompletionReason
  144. {
  145. get
  146. {
  147. return this.CompletionReasonField;
  148. }
  149. set
  150. {
  151. this.CompletionReasonField = value;
  152. }
  153. }
  154. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  155. public string Type
  156. {
  157. get
  158. {
  159. return this.TypeField;
  160. }
  161. set
  162. {
  163. this.TypeField = value;
  164. }
  165. }
  166. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  167. public string FuelMode
  168. {
  169. get
  170. {
  171. return this.FuelModeField;
  172. }
  173. set
  174. {
  175. this.FuelModeField = value;
  176. }
  177. }
  178. //[System.Xml.Serialization.XmlElementAttribute("FuelMode", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  179. //public FuelModeElementClass FuelModeElem
  180. //{
  181. // get
  182. // {
  183. // return this.FuelModeElemField;
  184. // }
  185. // set
  186. // {
  187. // this.FuelModeElemField = value;
  188. // }
  189. //}
  190. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  191. public string VolumeProduct1
  192. {
  193. get
  194. {
  195. return this.VolumeProduct1Field;
  196. }
  197. set
  198. {
  199. this.VolumeProduct1Field = value;
  200. }
  201. }
  202. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  203. public string VolumeProduct2
  204. {
  205. get
  206. {
  207. return this.VolumeProduct2Field;
  208. }
  209. set
  210. {
  211. this.VolumeProduct2Field = value;
  212. }
  213. }
  214. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  215. public string Product1No
  216. {
  217. get
  218. {
  219. return this.Product1NoField;
  220. }
  221. set
  222. {
  223. this.Product1NoField = value;
  224. }
  225. }
  226. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  227. public string Product2No
  228. {
  229. get
  230. {
  231. return this.Product2NoField;
  232. }
  233. set
  234. {
  235. this.Product2NoField = value;
  236. }
  237. }
  238. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  239. public string ProductUM
  240. {
  241. get
  242. {
  243. return this.ProductUMField;
  244. }
  245. set
  246. {
  247. this.ProductUMField = value;
  248. }
  249. }
  250. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  251. public string ProductName
  252. {
  253. get
  254. {
  255. return this.ProductNameField;
  256. }
  257. set
  258. {
  259. this.ProductNameField = value;
  260. }
  261. }
  262. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  263. public string BlendRatio
  264. {
  265. get
  266. {
  267. return this.BlendRatioField;
  268. }
  269. set
  270. {
  271. this.BlendRatioField = value;
  272. }
  273. }
  274. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  275. public string Amount
  276. {
  277. get
  278. {
  279. return this.AmountField;
  280. }
  281. set
  282. {
  283. this.AmountField = value;
  284. }
  285. }
  286. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  287. public string Volume
  288. {
  289. get
  290. {
  291. return this.VolumeField;
  292. }
  293. set
  294. {
  295. this.VolumeField = value;
  296. }
  297. }
  298. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  299. public string UnitPrice
  300. {
  301. get
  302. {
  303. return this.UnitPriceField;
  304. }
  305. set
  306. {
  307. this.UnitPriceField = value;
  308. }
  309. }
  310. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  311. public byte[] DSPFields
  312. {
  313. get
  314. {
  315. return this.DSPFieldsField;
  316. }
  317. set
  318. {
  319. this.DSPFieldsField = value;
  320. }
  321. }
  322. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  323. public byte[] CRCMode
  324. {
  325. get
  326. {
  327. return this.CRCModeField;
  328. }
  329. set
  330. {
  331. this.CRCModeField = value;
  332. }
  333. }
  334. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  335. public string StartTimeStamp
  336. {
  337. get
  338. {
  339. return this.StartTimeStampField;
  340. }
  341. set
  342. {
  343. this.StartTimeStampField = value;
  344. }
  345. }
  346. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  347. public string EndTimeStamp
  348. {
  349. get
  350. {
  351. return this.EndTimeStampField;
  352. }
  353. set
  354. {
  355. this.EndTimeStampField = value;
  356. }
  357. }
  358. }
  359. [System.SerializableAttribute()]
  360. public partial class FDCMessageDeviceClassTrxDataFuelSaleTrx
  361. {
  362. private string TypeField;
  363. private string DeviceIdField;
  364. private string PumpNoField;
  365. private string NozzleNoField;
  366. [System.Xml.Serialization.XmlAttributeAttribute()]
  367. public string Type
  368. {
  369. get
  370. {
  371. return this.TypeField;
  372. }
  373. set
  374. {
  375. this.TypeField = value;
  376. }
  377. }
  378. [System.Xml.Serialization.XmlAttributeAttribute()]
  379. public string DeviceID
  380. {
  381. get
  382. {
  383. return this.DeviceIdField;
  384. }
  385. set
  386. {
  387. this.DeviceIdField = value;
  388. }
  389. }
  390. [System.Xml.Serialization.XmlAttributeAttribute()]
  391. public string PumpNo
  392. {
  393. get
  394. {
  395. return this.PumpNoField;
  396. }
  397. set
  398. {
  399. this.PumpNoField = value;
  400. }
  401. }
  402. [System.Xml.Serialization.XmlAttributeAttribute()]
  403. public string NozzleNo
  404. {
  405. get
  406. {
  407. return this.NozzleNoField;
  408. }
  409. set
  410. {
  411. this.NozzleNoField = value;
  412. }
  413. }
  414. }
  415. [System.SerializableAttribute()]
  416. public partial class FDCMessageDeviceClassFuelSaleTrx
  417. {
  418. private string TypeField;
  419. private string DeviceIdField;
  420. private string PumpNoField;
  421. private string NozzleNoField;
  422. private string TransactionSeqNoField;
  423. private string StateField;
  424. private string ReleaseTokenField;
  425. private string CompletionReasonField; // extention
  426. private FuelModeElementClass FuelModeField;
  427. private string VolumeProduct1Field;
  428. private string VolumeProduct2Field;
  429. private string ProductNo1Field;
  430. private string ProductNo2Field;
  431. private string ProductNameField;
  432. private string ProductUMField;
  433. private string BlendRatioField;
  434. private string AmountField;
  435. private string VolumeField;
  436. private string UnitPriceField;
  437. private byte[] DSPFieldsField;
  438. private byte[] CRCModeField;
  439. private string StartTimeStampField; // extention
  440. private string EndTimeStampField; // extention
  441. private string AuthorisationApplicationSenderField;
  442. private string LockingApplicationSenderField;
  443. private string ReservingDeviceIdField;
  444. private string FuellingTypeField;
  445. [System.Xml.Serialization.XmlAttributeAttribute()]
  446. public string Type
  447. {
  448. get
  449. {
  450. return this.TypeField;
  451. }
  452. set
  453. {
  454. this.TypeField = value;
  455. }
  456. }
  457. [System.Xml.Serialization.XmlAttributeAttribute()]
  458. public string DeviceID
  459. {
  460. get
  461. {
  462. return this.DeviceIdField;
  463. }
  464. set
  465. {
  466. this.DeviceIdField = value;
  467. }
  468. }
  469. [System.Xml.Serialization.XmlAttributeAttribute()]
  470. public string PumpNo
  471. {
  472. get
  473. {
  474. return this.PumpNoField;
  475. }
  476. set
  477. {
  478. this.PumpNoField = value;
  479. }
  480. }
  481. [System.Xml.Serialization.XmlAttributeAttribute()]
  482. public string NozzleNo
  483. {
  484. get
  485. {
  486. return this.NozzleNoField;
  487. }
  488. set
  489. {
  490. this.NozzleNoField = value;
  491. }
  492. }
  493. [System.Xml.Serialization.XmlAttributeAttribute()]
  494. public string TransactionSeqNo
  495. {
  496. get
  497. {
  498. return this.TransactionSeqNoField;
  499. }
  500. set
  501. {
  502. this.TransactionSeqNoField = value;
  503. }
  504. }
  505. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  506. public string State
  507. {
  508. get
  509. {
  510. return this.StateField;
  511. }
  512. set
  513. {
  514. this.StateField = value;
  515. }
  516. }
  517. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  518. public string ReleaseToken
  519. {
  520. get
  521. {
  522. return this.ReleaseTokenField;
  523. }
  524. set
  525. {
  526. this.ReleaseTokenField = value;
  527. }
  528. }
  529. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  530. public string CompletionReason
  531. {
  532. get
  533. {
  534. return this.CompletionReasonField;
  535. }
  536. set
  537. {
  538. this.CompletionReasonField = value;
  539. }
  540. }
  541. [System.Xml.Serialization.XmlElementAttribute("FuelMode", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  542. public FuelModeElementClass FuelMode
  543. {
  544. get
  545. {
  546. return this.FuelModeField;
  547. }
  548. set
  549. {
  550. this.FuelModeField = value;
  551. }
  552. }
  553. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  554. public string VolumeProduct1
  555. {
  556. get
  557. {
  558. return this.VolumeProduct1Field;
  559. }
  560. set
  561. {
  562. this.VolumeProduct1Field = value;
  563. }
  564. }
  565. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  566. public string VolumeProduct2
  567. {
  568. get
  569. {
  570. return this.VolumeProduct2Field;
  571. }
  572. set
  573. {
  574. this.VolumeProduct2Field = value;
  575. }
  576. }
  577. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  578. public string ProductNo1
  579. {
  580. get
  581. {
  582. return this.ProductNo1Field;
  583. }
  584. set
  585. {
  586. this.ProductNo1Field = value;
  587. }
  588. }
  589. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  590. public string ProductNo2
  591. {
  592. get
  593. {
  594. return this.ProductNo2Field;
  595. }
  596. set
  597. {
  598. this.ProductNo2Field = value;
  599. }
  600. }
  601. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  602. public string ProductUM
  603. {
  604. get
  605. {
  606. return this.ProductUMField;
  607. }
  608. set
  609. {
  610. this.ProductUMField = value;
  611. }
  612. }
  613. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  614. public string ProductName
  615. {
  616. get
  617. {
  618. return this.ProductNameField;
  619. }
  620. set
  621. {
  622. this.ProductNameField = value;
  623. }
  624. }
  625. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  626. public string BlendRatio
  627. {
  628. get
  629. {
  630. return this.BlendRatioField;
  631. }
  632. set
  633. {
  634. this.BlendRatioField = value;
  635. }
  636. }
  637. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  638. public string Amount
  639. {
  640. get
  641. {
  642. return this.AmountField;
  643. }
  644. set
  645. {
  646. this.AmountField = value;
  647. }
  648. }
  649. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  650. public string Volume
  651. {
  652. get
  653. {
  654. return this.VolumeField;
  655. }
  656. set
  657. {
  658. this.VolumeField = value;
  659. }
  660. }
  661. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  662. public string UnitPrice
  663. {
  664. get
  665. {
  666. return this.UnitPriceField;
  667. }
  668. set
  669. {
  670. this.UnitPriceField = value;
  671. }
  672. }
  673. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  674. public byte[] DSPFields
  675. {
  676. get
  677. {
  678. return this.DSPFieldsField;
  679. }
  680. set
  681. {
  682. this.DSPFieldsField = value;
  683. }
  684. }
  685. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  686. public byte[] CRCMode
  687. {
  688. get
  689. {
  690. return this.CRCModeField;
  691. }
  692. set
  693. {
  694. this.CRCModeField = value;
  695. }
  696. }
  697. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  698. public string StartTimeStamp
  699. {
  700. get
  701. {
  702. return this.StartTimeStampField;
  703. }
  704. set
  705. {
  706. this.StartTimeStampField = value;
  707. }
  708. }
  709. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  710. public string EndTimeStamp
  711. {
  712. get
  713. {
  714. return this.EndTimeStampField;
  715. }
  716. set
  717. {
  718. this.EndTimeStampField = value;
  719. }
  720. }
  721. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  722. public string LockingApplicationSender
  723. {
  724. get
  725. {
  726. return this.LockingApplicationSenderField;
  727. }
  728. set
  729. {
  730. this.LockingApplicationSenderField = value;
  731. }
  732. }
  733. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  734. public string AuthorisationApplicationSender
  735. {
  736. get
  737. {
  738. return this.AuthorisationApplicationSenderField;
  739. }
  740. set
  741. {
  742. this.AuthorisationApplicationSenderField = value;
  743. }
  744. }
  745. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  746. public string ReservingDeviceId
  747. {
  748. get
  749. {
  750. return this.ReservingDeviceIdField;
  751. }
  752. set
  753. {
  754. this.ReservingDeviceIdField = value;
  755. }
  756. }
  757. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  758. public string FuellingType
  759. {
  760. get
  761. {
  762. return this.FuellingTypeField;
  763. }
  764. set
  765. {
  766. this.FuellingTypeField = value;
  767. }
  768. }
  769. }
  770. }