v2g_serviceDataTypes.h 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969
  1. /*
  2. * Copyright (C) 2007-2010 Siemens AG
  3. *
  4. * This program is free software: you can redistribute it and/or modify
  5. * it under the terms of the GNU Lesser General Public License as published
  6. * by the Free Software Foundation, either version 3 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU Lesser General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU Lesser General Public License
  15. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. /*******************************************************************
  18. *
  19. * @author Sebastian.Kaebisch.EXT@siemens.com
  20. * @version 0.3
  21. * @contact Joerg.Heuer@siemens.com
  22. *
  23. ********************************************************************/
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27. #ifndef SERVICEDATATYPES_H
  28. #define SERVICEDATATYPES_H
  29. #include "EXITypes.h"
  30. enum faultCodeType
  31. {
  32. ParsingError,
  33. V2GProtocolVersionNotSupported,
  34. UnknownError
  35. };
  36. enum eventEntryType
  37. {
  38. InitiateSessionSetup,
  39. InitiateServiceDiscovery,
  40. InitiatePowerDiscovery,
  41. InitiateLineLock,
  42. InitiatePowerDelivery,
  43. InitiateInitiateMeteringStatus
  44. };
  45. enum responseCode_SessionSetupType
  46. {
  47. OK_SessionSetup,
  48. OK_NewSessionEstablished,
  49. OK_OldSessionJoined,
  50. FAILED_UnknownSession,
  51. FAILED_SessionEstablishmentError,
  52. FAILED_UnknownError_InSessionSetup
  53. };
  54. enum serviceTypeType
  55. {
  56. PEV_Recharge,
  57. Remote_Customer_Support,
  58. Internet,
  59. Other
  60. };
  61. enum responseCode_ServiceDiscoveryType
  62. {
  63. OK_ServiceDiscovery,
  64. FAILED_NoServicesOfThisType,
  65. FAILED_NoServicesInThisScope,
  66. FAILED_NoServicesOfThisTypeScope,
  67. FAILED_NoServicesFound,
  68. FAILED_UnknownError_InServiceDiscovery
  69. };
  70. enum responseCode_ServicePaymentSelectionType
  71. {
  72. OK_ServicePaymentSelection,
  73. FAILED_ServiceSelectionInvalid,
  74. FAILED_PaymentSelectionInvalid,
  75. FAILED_UnknownError_InServicePaymentSelection
  76. };
  77. enum responseCode_PaymentDetailsType
  78. {
  79. OK_PaymentDetails,
  80. FAILED_PaymentDetailsInvalid,
  81. FAILED_UnknownError
  82. };
  83. enum unitMultiplierType
  84. {
  85. d,
  86. c,
  87. m,
  88. micro,
  89. n,
  90. p,
  91. k,
  92. M,
  93. G,
  94. T,
  95. none
  96. };
  97. enum unitSymbolType
  98. {
  99. A,
  100. deg,
  101. F,
  102. g,
  103. h,
  104. J,
  105. J_s,
  106. kg_J,
  107. min,
  108. N,
  109. ohm,
  110. s,
  111. S,
  112. s_1,
  113. V,
  114. V_VAr,
  115. VA,
  116. VAh,
  117. VAr,
  118. VArh,
  119. W,
  120. W_Hz,
  121. W_s,
  122. Wh,
  123. Ah
  124. };
  125. enum responseCode_PowerDiscoveryType
  126. {
  127. OK_PowerDiscovery,
  128. FAILED_UnknownError_InPowerDiscovery
  129. };
  130. enum tariffIDType
  131. {
  132. Standard_charge,
  133. Fast_charge,
  134. Green_charge,
  135. Grid_friendly_charge,
  136. Freely_parameterisable_charge,
  137. Charge_under_reserve
  138. };
  139. enum responseCode_LineLockType
  140. {
  141. OK_LineLock,
  142. FAILED_LineLockNotApplied,
  143. FAILED_UnknownError_InLineLock
  144. };
  145. enum responseCode_PowerDeliveryType
  146. {
  147. OK_PowerDelivery,
  148. FAILED_PowerDeliveryNotApplied,
  149. FAILED_TariffSelectionInvalid,
  150. FAILED_ChargingProfileInvalid,
  151. FAILED_UnknownError_InPowerDelivery
  152. };
  153. enum responseCode_MeteringStatusType
  154. {
  155. OK_MeteringStatus,
  156. FAILED_UnknownError_InMeteringStatus
  157. };
  158. enum responseCode_MeteringReceiptType
  159. {
  160. OK_MeteringReceipt,
  161. FAILED_UnknownError_MeteringReceipt
  162. };
  163. struct arraylen_SessionInformationType_SessionID
  164. {
  165. size_t data;
  166. };
  167. struct SessionInformationType_SessionID
  168. {
  169. uint8_t data[8];
  170. struct arraylen_SessionInformationType_SessionID arraylen;
  171. };
  172. struct arraylen_SessionInformationType_ServiceSessionID
  173. {
  174. size_t data;
  175. };
  176. struct SessionInformationType_ServiceSessionID
  177. {
  178. uint8_t data[8];
  179. struct arraylen_SessionInformationType_ServiceSessionID arraylen;
  180. };
  181. struct selection_SessionInformationType
  182. {
  183. unsigned int ServiceSessionID:1;
  184. unsigned int ProtocolVersion:1;
  185. };
  186. struct arraylen_SessionInformationType_ProtocolVersion
  187. {
  188. size_t data;
  189. };
  190. struct SessionInformationType_ProtocolVersion
  191. {
  192. uint32_t data[256];
  193. struct arraylen_SessionInformationType_ProtocolVersion arraylen;
  194. };
  195. struct SessionInformationType
  196. {
  197. struct SessionInformationType_SessionID SessionID;
  198. struct SessionInformationType_ServiceSessionID ServiceSessionID;
  199. struct SessionInformationType_ProtocolVersion ProtocolVersion;
  200. struct selection_SessionInformationType isused;
  201. };
  202. struct selection_NotificationType
  203. {
  204. unsigned int FaultCode:1;
  205. unsigned int FaultMsg:1;
  206. unsigned int EventList:1;
  207. };
  208. struct arraylen_NotificationType_FaultMsg
  209. {
  210. size_t data;
  211. };
  212. struct NotificationType_FaultMsg
  213. {
  214. uint32_t data[256];
  215. struct arraylen_NotificationType_FaultMsg arraylen;
  216. };
  217. struct EventListType
  218. {
  219. enum eventEntryType Event;
  220. };
  221. struct NotificationType
  222. {
  223. enum faultCodeType FaultCode;
  224. struct NotificationType_FaultMsg FaultMsg;
  225. struct EventListType EventList;
  226. struct selection_NotificationType isused;
  227. };
  228. struct selection_HeaderType
  229. {
  230. unsigned int Notification:1;
  231. };
  232. struct HeaderType
  233. {
  234. struct SessionInformationType SessionInformation;
  235. struct NotificationType Notification;
  236. struct selection_HeaderType isused;
  237. };
  238. struct arraylen_SessionSetupReqType_PEVID
  239. {
  240. size_t data;
  241. };
  242. struct SessionSetupReqType_PEVID
  243. {
  244. uint32_t data[32];
  245. struct arraylen_SessionSetupReqType_PEVID arraylen;
  246. };
  247. struct selection_SessionSetupReqType
  248. {
  249. unsigned int PEVID:1;
  250. };
  251. struct PEVStatusType
  252. {
  253. int ConnectorLocked;
  254. int ChargerStandby;
  255. };
  256. struct SessionSetupReqType
  257. {
  258. struct SessionSetupReqType_PEVID PEVID;
  259. struct PEVStatusType PEVStatus;
  260. struct selection_SessionSetupReqType isused;
  261. };
  262. struct selection_BodyType
  263. {
  264. unsigned int SessionSetupReq:1;
  265. unsigned int SessionSetupRes:1;
  266. unsigned int ServiceDiscoveryReq:1;
  267. unsigned int ServiceDiscoveryRes:1;
  268. unsigned int ServicePaymentSelectionReq:1;
  269. unsigned int ServicePaymentSelectionRes:1;
  270. unsigned int PaymentDetailsReq:1;
  271. unsigned int PaymentDetailsRes:1;
  272. unsigned int PowerDiscoveryReq:1;
  273. unsigned int PowerDiscoveryRes:1;
  274. unsigned int LineLockReq:1;
  275. unsigned int LineLockRes:1;
  276. unsigned int PowerDeliveryReq:1;
  277. unsigned int PowerDeliveryRes:1;
  278. unsigned int MeteringStatusReq:1;
  279. unsigned int MeteringStatusRes:1;
  280. unsigned int MeteringReceiptReq:1;
  281. unsigned int MeteringReceiptRes:1;
  282. };
  283. struct arraylen_SessionSetupResType_EVSEID
  284. {
  285. size_t data;
  286. };
  287. struct SessionSetupResType_EVSEID
  288. {
  289. uint8_t data[32];
  290. struct arraylen_SessionSetupResType_EVSEID arraylen;
  291. };
  292. struct EVSEStatusType
  293. {
  294. int FatalError;
  295. int EVSEStandby;
  296. int ConnectorLocked;
  297. int PowerSwitchClosed;
  298. int RCD;
  299. int32_t ShutDownTime;
  300. };
  301. struct SessionSetupResType
  302. {
  303. enum responseCode_SessionSetupType ResponseCode;
  304. struct SessionSetupResType_EVSEID EVSEID;
  305. struct EVSEStatusType EVSEStatus;
  306. int32_t TCurrent;
  307. };
  308. struct selection_ServiceDiscoveryReqType
  309. {
  310. unsigned int ServiceType:1;
  311. unsigned int ServiceScope:1;
  312. };
  313. struct arraylen_ServiceDiscoveryReqType_ServiceScope
  314. {
  315. size_t data;
  316. };
  317. struct ServiceDiscoveryReqType_ServiceScope
  318. {
  319. uint32_t data[255];
  320. struct arraylen_ServiceDiscoveryReqType_ServiceScope arraylen;
  321. };
  322. struct ServiceDiscoveryReqType
  323. {
  324. enum serviceTypeType ServiceType;
  325. struct ServiceDiscoveryReqType_ServiceScope ServiceScope;
  326. struct selection_ServiceDiscoveryReqType isused;
  327. };
  328. struct arraylen_ServiceDescriptionType_ServiceID
  329. {
  330. size_t data;
  331. };
  332. struct ServiceDescriptionType_ServiceID
  333. {
  334. uint8_t data[8];
  335. struct arraylen_ServiceDescriptionType_ServiceID arraylen;
  336. };
  337. struct arraylen_ServiceDescriptionType_ServiceName
  338. {
  339. size_t data;
  340. };
  341. struct ServiceDescriptionType_ServiceName
  342. {
  343. uint32_t data[64];
  344. struct arraylen_ServiceDescriptionType_ServiceName arraylen;
  345. };
  346. struct selection_ServiceDescriptionType
  347. {
  348. unsigned int ServiceName:1;
  349. unsigned int ServiceType:1;
  350. unsigned int ServiceScope:1;
  351. };
  352. struct arraylen_ServiceDescriptionType_ServiceScope
  353. {
  354. size_t data;
  355. };
  356. struct ServiceDescriptionType_ServiceScope
  357. {
  358. uint32_t data[255];
  359. struct arraylen_ServiceDescriptionType_ServiceScope arraylen;
  360. };
  361. struct ServiceDescriptionType
  362. {
  363. struct ServiceDescriptionType_ServiceID ServiceID;
  364. struct ServiceDescriptionType_ServiceName ServiceName;
  365. enum serviceTypeType ServiceType;
  366. struct ServiceDescriptionType_ServiceScope ServiceScope;
  367. struct selection_ServiceDescriptionType isused;
  368. };
  369. struct arraylen_ServiceListType
  370. {
  371. size_t Service;
  372. };
  373. struct ServiceListType
  374. {
  375. struct ServiceDescriptionType Service[8];
  376. struct arraylen_ServiceListType arraylen;
  377. };
  378. struct selection_ServiceDiscoveryResType
  379. {
  380. unsigned int ServiceList:1;
  381. };
  382. struct ServiceDiscoveryResType
  383. {
  384. enum responseCode_ServiceDiscoveryType ResponseCode;
  385. struct ServiceListType ServiceList;
  386. struct selection_ServiceDiscoveryResType isused;
  387. };
  388. struct arraylen_ServicePaymentSelectionReqType_PEVPubKey
  389. {
  390. size_t data;
  391. };
  392. struct ServicePaymentSelectionReqType_PEVPubKey
  393. {
  394. uint8_t data[64];
  395. struct arraylen_ServicePaymentSelectionReqType_PEVPubKey arraylen;
  396. };
  397. struct ServicePaymentSelectionReqType
  398. {
  399. struct ServiceListType ServiceList;
  400. struct ServicePaymentSelectionReqType_PEVPubKey PEVPubKey;
  401. };
  402. struct arraylen_ServicePaymentSelectionResType_MeteringAuthPubKey
  403. {
  404. size_t data;
  405. };
  406. struct ServicePaymentSelectionResType_MeteringAuthPubKey
  407. {
  408. uint8_t data[64];
  409. struct arraylen_ServicePaymentSelectionResType_MeteringAuthPubKey arraylen;
  410. };
  411. struct selection_ServicePaymentSelectionResType
  412. {
  413. unsigned int MeteringAuthPubKey:1;
  414. };
  415. struct ServicePaymentSelectionResType
  416. {
  417. enum responseCode_ServicePaymentSelectionType ResponseCode;
  418. struct ServicePaymentSelectionResType_MeteringAuthPubKey MeteringAuthPubKey;
  419. struct selection_ServicePaymentSelectionResType isused;
  420. };
  421. struct arraylen_PaymentDetailsReqType_ContractID
  422. {
  423. size_t data;
  424. };
  425. struct PaymentDetailsReqType_ContractID
  426. {
  427. uint32_t data[128];
  428. struct arraylen_PaymentDetailsReqType_ContractID arraylen;
  429. };
  430. struct PaymentDetailsReqType
  431. {
  432. struct PaymentDetailsReqType_ContractID ContractID;
  433. };
  434. struct PaymentDetailsResType
  435. {
  436. enum responseCode_PaymentDetailsType ResponseCode;
  437. };
  438. struct FloatingValueType
  439. {
  440. enum unitMultiplierType Multiplier;
  441. enum unitSymbolType Unit;
  442. int32_t Value;
  443. };
  444. struct PowerDiscoveryReqType
  445. {
  446. struct PEVStatusType PEVStatus;
  447. int32_t EoC;
  448. struct FloatingValueType EAmount;
  449. struct FloatingValueType PEVMaxPower;
  450. int16_t PEVMaxPhases;
  451. struct FloatingValueType PEVMaxVoltage;
  452. struct FloatingValueType PEVMinVoltage;
  453. };
  454. struct arraylen_PowerDiscoveryResType_EnergyProvider
  455. {
  456. size_t data;
  457. };
  458. struct PowerDiscoveryResType_EnergyProvider
  459. {
  460. uint32_t data[256];
  461. struct arraylen_PowerDiscoveryResType_EnergyProvider arraylen;
  462. };
  463. struct selection_PowerDiscoveryResType
  464. {
  465. unsigned int EnergyProvider:1;
  466. unsigned int TariffTable:1;
  467. };
  468. struct arraylen_TariffTableType_Currency
  469. {
  470. size_t data;
  471. };
  472. struct TariffTableType_Currency
  473. {
  474. uint32_t data[3];
  475. struct arraylen_TariffTableType_Currency arraylen;
  476. };
  477. struct arraylen_TariffDescrType_TariffDescription
  478. {
  479. size_t data;
  480. };
  481. struct TariffDescrType_TariffDescription
  482. {
  483. uint32_t data[32];
  484. struct arraylen_TariffDescrType_TariffDescription arraylen;
  485. };
  486. struct selection_TariffDescrType
  487. {
  488. unsigned int TariffDescription:1;
  489. };
  490. struct selection_TariffEntryType
  491. {
  492. unsigned int EPrice:1;
  493. };
  494. struct TariffEntryType
  495. {
  496. uint32_t TariffStart;
  497. struct FloatingValueType TariffPMax;
  498. struct FloatingValueType EPrice;
  499. struct selection_TariffEntryType isused;
  500. };
  501. struct arraylen_TariffEntriesType
  502. {
  503. size_t TariffEntry;
  504. };
  505. struct TariffEntriesType
  506. {
  507. struct TariffEntryType TariffEntry[8];
  508. struct arraylen_TariffEntriesType arraylen;
  509. };
  510. struct TariffDescrType
  511. {
  512. enum tariffIDType TariffID;
  513. struct TariffDescrType_TariffDescription TariffDescription;
  514. struct TariffEntriesType TariffEntries;
  515. struct selection_TariffDescrType isused;
  516. };
  517. struct arraylen_TariffTableType
  518. {
  519. size_t Tariff;
  520. };
  521. struct TariffTableType
  522. {
  523. struct TariffTableType_Currency Currency;
  524. struct TariffDescrType Tariff[6];
  525. struct arraylen_TariffTableType arraylen;
  526. };
  527. struct PowerDiscoveryResType
  528. {
  529. enum responseCode_PowerDiscoveryType ResponseCode;
  530. struct EVSEStatusType EVSEStatus;
  531. struct FloatingValueType EVSEVoltage;
  532. struct FloatingValueType EVSEIMax;
  533. int16_t EVSEMaxPhases;
  534. struct PowerDiscoveryResType_EnergyProvider EnergyProvider;
  535. struct TariffTableType TariffTable;
  536. struct selection_PowerDiscoveryResType isused;
  537. };
  538. struct LineLockReqType
  539. {
  540. struct PEVStatusType PEVStatus;
  541. int ReqLockStatus;
  542. };
  543. struct LineLockResType
  544. {
  545. enum responseCode_LineLockType ResponseCode;
  546. struct EVSEStatusType EVSEStatus;
  547. };
  548. struct selection_PowerDeliveryReqType
  549. {
  550. unsigned int Tariff:1;
  551. unsigned int ChargingProfile:1;
  552. };
  553. struct ChargingProfileType
  554. {
  555. int32_t ChargingProfileEntryStart;
  556. struct FloatingValueType ChargingProfileEntryMaxPower;
  557. };
  558. struct PowerDeliveryReqType
  559. {
  560. struct PEVStatusType PEVStatus;
  561. int ReqSwitchStatus;
  562. enum tariffIDType Tariff;
  563. struct ChargingProfileType ChargingProfile;
  564. struct selection_PowerDeliveryReqType isused;
  565. };
  566. struct PowerDeliveryResType
  567. {
  568. enum responseCode_PowerDeliveryType ResponseCode;
  569. };
  570. struct MeteringStatusReqType
  571. {
  572. int NO_MEMBER:1;
  573. };
  574. struct arraylen_MeteringStatusResType_EVSEID
  575. {
  576. size_t data;
  577. };
  578. struct MeteringStatusResType_EVSEID
  579. {
  580. uint8_t data[32];
  581. struct arraylen_MeteringStatusResType_EVSEID arraylen;
  582. };
  583. struct selection_MeteringStatusResType
  584. {
  585. unsigned int PCurrent:1;
  586. unsigned int MeterInfo:1;
  587. };
  588. struct arraylen_MeterInfoType_MeterID
  589. {
  590. size_t data;
  591. };
  592. struct MeterInfoType_MeterID
  593. {
  594. uint32_t data[32];
  595. struct arraylen_MeterInfoType_MeterID arraylen;
  596. };
  597. struct selection_MeterInfoType
  598. {
  599. unsigned int MeterID:1;
  600. unsigned int MeterReading:1;
  601. unsigned int MeterStatus:1;
  602. unsigned int TMeter:1;
  603. };
  604. struct MeterInfoType
  605. {
  606. struct MeterInfoType_MeterID MeterID;
  607. struct FloatingValueType MeterReading;
  608. int16_t MeterStatus;
  609. int32_t TMeter;
  610. struct selection_MeterInfoType isused;
  611. };
  612. struct MeteringStatusResType
  613. {
  614. enum responseCode_MeteringStatusType ResponseCode;
  615. struct MeteringStatusResType_EVSEID EVSEID;
  616. struct EVSEStatusType EVSEStatus;
  617. int32_t TCurrent;
  618. struct FloatingValueType EVSEMaxPower;
  619. struct FloatingValueType PCurrent;
  620. struct MeterInfoType MeterInfo;
  621. struct selection_MeteringStatusResType isused;
  622. };
  623. struct arraylen_MeteringReceiptReqType_PEVID
  624. {
  625. size_t data;
  626. };
  627. struct MeteringReceiptReqType_PEVID
  628. {
  629. uint32_t data[32];
  630. struct arraylen_MeteringReceiptReqType_PEVID arraylen;
  631. };
  632. struct selection_MeteringReceiptReqType
  633. {
  634. unsigned int PEVID:1;
  635. unsigned int TCurrent:1;
  636. };
  637. struct MeteringReceiptReqType
  638. {
  639. struct MeteringReceiptReqType_PEVID PEVID;
  640. struct PEVStatusType PEVStatus;
  641. int32_t TCurrent;
  642. enum tariffIDType Tariff;
  643. struct MeterInfoType MeterInfo;
  644. struct selection_MeteringReceiptReqType isused;
  645. };
  646. struct MeteringReceiptResType
  647. {
  648. enum responseCode_MeteringReceiptType ResponseCode;
  649. };
  650. struct BodyType
  651. {
  652. struct SessionSetupReqType SessionSetupReq;
  653. struct SessionSetupResType SessionSetupRes;
  654. struct ServiceDiscoveryReqType ServiceDiscoveryReq;
  655. struct ServiceDiscoveryResType ServiceDiscoveryRes;
  656. struct ServicePaymentSelectionReqType ServicePaymentSelectionReq;
  657. struct ServicePaymentSelectionResType ServicePaymentSelectionRes;
  658. struct PaymentDetailsReqType PaymentDetailsReq;
  659. struct PaymentDetailsResType PaymentDetailsRes;
  660. struct PowerDiscoveryReqType PowerDiscoveryReq;
  661. struct PowerDiscoveryResType PowerDiscoveryRes;
  662. struct LineLockReqType LineLockReq;
  663. struct LineLockResType LineLockRes;
  664. struct PowerDeliveryReqType PowerDeliveryReq;
  665. struct PowerDeliveryResType PowerDeliveryRes;
  666. struct MeteringStatusReqType MeteringStatusReq;
  667. struct MeteringStatusResType MeteringStatusRes;
  668. struct MeteringReceiptReqType MeteringReceiptReq;
  669. struct MeteringReceiptResType MeteringReceiptRes;
  670. struct selection_BodyType isused;
  671. };
  672. struct AnonType_V2G_Message
  673. {
  674. struct HeaderType Header;
  675. struct BodyType Body;
  676. };
  677. /* init method of the V2G message */
  678. void init_AnonType_V2G_Message(struct AnonType_V2G_Message* v2gMsg);
  679. #endif
  680. #ifdef __cplusplus
  681. }
  682. #endif