ServiceResponseGetTankData.cs 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. namespace Wayne.FDCPOSLibrary
  2. {
  3. [System.SerializableAttribute()]
  4. [System.Xml.Serialization.XmlRootAttribute(ElementName = "ServiceResponse", Namespace = "")]
  5. public partial class ServiceResponseGetTankData : ServiceResponse
  6. {
  7. private ServiceResponseFDCdataGetTankData[] fDCdataField;
  8. [System.Xml.Serialization.XmlElementAttribute("FDCdata", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  9. public ServiceResponseFDCdataGetTankData[] FDCdata
  10. {
  11. get
  12. {
  13. return this.fDCdataField;
  14. }
  15. set
  16. {
  17. this.fDCdataField = value;
  18. }
  19. }
  20. public ServiceResponseGetTankData()
  21. {
  22. this.RequestType = "GetTankData";
  23. }
  24. }
  25. [System.SerializableAttribute()]
  26. public partial class ServiceResponseFDCdataGetTankData
  27. {
  28. private ServiceResponseDeviceClassGetTankData[] DeviceClassField;
  29. private string FDCTimeStampField;
  30. // not used in V1.0
  31. private string FDCStatusField;
  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("DeviceClass", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  45. public ServiceResponseDeviceClassGetTankData[] DeviceClass
  46. {
  47. get
  48. {
  49. return this.DeviceClassField;
  50. }
  51. set
  52. {
  53. this.DeviceClassField = value;
  54. }
  55. }
  56. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  57. public string FDCStatus
  58. {
  59. get
  60. {
  61. return this.FDCStatusField;
  62. }
  63. set
  64. {
  65. this.FDCStatusField = value;
  66. }
  67. }
  68. }
  69. [System.SerializableAttribute()]
  70. public partial class ServiceResponseDeviceClassGetTankData
  71. {
  72. private string TypeField;
  73. private string DeviceIdField;
  74. private string TankNoField;
  75. private string ManualModeField;
  76. private ServiceResponseMeasurementDataGetTankData MeasurementDataField;
  77. // not used in V1.0
  78. private string DeviceStateField;
  79. // used in V1.0
  80. private string ErrorCodeField;
  81. [System.Xml.Serialization.XmlAttributeAttribute()]
  82. public string Type
  83. {
  84. get
  85. {
  86. return this.TypeField;
  87. }
  88. set
  89. {
  90. this.TypeField = value;
  91. }
  92. }
  93. [System.Xml.Serialization.XmlAttributeAttribute()]
  94. public string DeviceID
  95. {
  96. get
  97. {
  98. return this.DeviceIdField;
  99. }
  100. set
  101. {
  102. this.DeviceIdField = value;
  103. }
  104. }
  105. [System.Xml.Serialization.XmlAttributeAttribute()]
  106. public string TankNo
  107. {
  108. get
  109. {
  110. return this.TankNoField;
  111. }
  112. set
  113. {
  114. this.TankNoField = value;
  115. }
  116. }
  117. [System.Xml.Serialization.XmlAttributeAttribute()]
  118. public string ManualMode
  119. {
  120. get
  121. {
  122. return this.ManualModeField;
  123. }
  124. set
  125. {
  126. this.ManualModeField = value;
  127. }
  128. }
  129. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  130. public ServiceResponseMeasurementDataGetTankData MeasurementData
  131. {
  132. get
  133. {
  134. return this.MeasurementDataField;
  135. }
  136. set
  137. {
  138. this.MeasurementDataField = value;
  139. }
  140. }
  141. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  142. public string DeviceState
  143. {
  144. get
  145. {
  146. return this.DeviceStateField;
  147. }
  148. set
  149. {
  150. this.DeviceStateField = value;
  151. }
  152. }
  153. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  154. public string ErrorCode
  155. {
  156. get
  157. {
  158. return this.ErrorCodeField;
  159. }
  160. set
  161. {
  162. this.ErrorCodeField = value;
  163. }
  164. }
  165. }
  166. [System.SerializableAttribute()]
  167. public partial class ServiceResponseMeasurementDataGetTankData
  168. {
  169. private string TPStatusField;
  170. private string ProductLevelField;
  171. private string TotalObservedVolumeField;
  172. private string GrossStandardVolumeField;
  173. private string AverageTempField;
  174. private string WaterLevelField;
  175. private string WaterVolumeField;
  176. private string ObservedDensityField;
  177. private string TankLogicalStateField;
  178. private string LogicalStateField;
  179. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  180. public string TPStatus
  181. {
  182. get
  183. {
  184. return this.TPStatusField;
  185. }
  186. set
  187. {
  188. this.TPStatusField = value;
  189. }
  190. }
  191. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  192. public string ProductLevel
  193. {
  194. get
  195. {
  196. return this.ProductLevelField;
  197. }
  198. set
  199. {
  200. this.ProductLevelField = value;
  201. }
  202. }
  203. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  204. public string TotalObservedVolume
  205. {
  206. get
  207. {
  208. return this.TotalObservedVolumeField;
  209. }
  210. set
  211. {
  212. this.TotalObservedVolumeField = value;
  213. }
  214. }
  215. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  216. public string GrossStandardVolume
  217. {
  218. get
  219. {
  220. return this.GrossStandardVolumeField;
  221. }
  222. set
  223. {
  224. this.GrossStandardVolumeField = value;
  225. }
  226. }
  227. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  228. public string AverageTemp
  229. {
  230. get
  231. {
  232. return this.AverageTempField;
  233. }
  234. set
  235. {
  236. this.AverageTempField = value;
  237. }
  238. }
  239. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  240. public string WaterLevel
  241. {
  242. get
  243. {
  244. return this.WaterLevelField;
  245. }
  246. set
  247. {
  248. this.WaterLevelField = value;
  249. }
  250. }
  251. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  252. public string WaterVolume
  253. {
  254. get
  255. {
  256. return this.WaterVolumeField;
  257. }
  258. set
  259. {
  260. this.WaterVolumeField = value;
  261. }
  262. }
  263. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  264. public string ObservedDensity
  265. {
  266. get
  267. {
  268. return this.ObservedDensityField;
  269. }
  270. set
  271. {
  272. this.ObservedDensityField = value;
  273. }
  274. }
  275. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  276. public string TankLogicalState
  277. {
  278. get
  279. {
  280. return this.TankLogicalStateField;
  281. }
  282. set
  283. {
  284. this.TankLogicalStateField = value;
  285. }
  286. }
  287. [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
  288. public string LogicalState
  289. {
  290. get
  291. {
  292. return this.LogicalStateField;
  293. }
  294. set
  295. {
  296. this.LogicalStateField = value;
  297. }
  298. }
  299. }
  300. }