StringTableEntries.c 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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 Daniel.Peintner.EXT@siemens.com
  20. * @version 0.3
  21. * @contact Joerg.Heuer@siemens.com
  22. *
  23. ********************************************************************/
  24. #ifndef STRING_TABLE_ENTRIES_C
  25. #define STRING_TABLE_ENTRIES_C
  26. #include "StringTableEntries.h"
  27. /* ==================================== */
  28. /* String Table Population */
  29. /* localName entries for URI id = 0 */
  30. const char * localNames0[] = {
  31. NULL
  32. };
  33. /* localName entries for URI id = 1 */
  34. const char * localNames1[] = {
  35. "base", "id", "lang", "space"
  36. };
  37. /* localName entries for URI id = 2 */
  38. const char * localNames2[] = {
  39. "nil", "type"
  40. };
  41. /* localName entries for URI id = 3 */
  42. const char * localNames3[] = {
  43. "ENTITIES", "ENTITY", "ID", "IDREF", "IDREFS",
  44. "NCName", "NMTOKEN", "NMTOKENS", "NOTATION", "Name",
  45. "QName", "anySimpleType", "anyType", "anyURI", "base64Binary",
  46. "boolean", "byte", "date", "dateTime", "decimal",
  47. "double", "duration", "float", "gDay", "gMonth",
  48. "gMonthDay", "gYear", "gYearMonth", "hexBinary", "int",
  49. "integer", "language", "long", "negativeInteger", "nonNegativeInteger",
  50. "nonPositiveInteger", "normalizedString", "positiveInteger", "short", "string",
  51. "time", "token", "unsignedByte", "unsignedInt", "unsignedLong",
  52. "unsignedShort"
  53. };
  54. /* localName entries for URI id = 4 */
  55. const char * localNames4[] = {
  56. "ChargingProfile", "ContractID", "EAmount", "EVSEID", "EVSEIMax",
  57. "EVSEMaxPhases", "EVSEMaxPower", "EVSEStatus", "EVSEVoltage", "EnergyProvider",
  58. "EoC", "LineLockReq", "LineLockReqType", "LineLockRes", "LineLockResType",
  59. "MeterInfo", "MeteringAuthPubKey", "MeteringReceiptReq", "MeteringReceiptReqType", "MeteringReceiptRes",
  60. "MeteringReceiptResType", "MeteringStatusReq", "MeteringStatusReqType", "MeteringStatusRes", "MeteringStatusResType",
  61. "PCurrent", "PEVID", "PEVMaxPhases", "PEVMaxPower", "PEVMaxVoltage",
  62. "PEVMinVoltage", "PEVPubKey", "PEVStatus", "PaymentDetailsReq", "PaymentDetailsReqType",
  63. "PaymentDetailsRes", "PaymentDetailsResType", "PowerDeliveryReq", "PowerDeliveryReqType", "PowerDeliveryRes",
  64. "PowerDeliveryResType", "PowerDiscoveryReq", "PowerDiscoveryReqType", "PowerDiscoveryRes", "PowerDiscoveryResType",
  65. "ReqLockStatus", "ReqSwitchStatus", "ResponseCode", "ServiceDiscoveryReq", "ServiceDiscoveryReqType",
  66. "ServiceDiscoveryRes", "ServiceDiscoveryResType", "ServiceList", "ServicePaymentSelectionReq", "ServicePaymentSelectionReqType",
  67. "ServicePaymentSelectionRes", "ServicePaymentSelectionResType", "ServiceScope", "ServiceType", "SessionSetupReq",
  68. "SessionSetupReqType", "SessionSetupRes", "SessionSetupResType", "TCurrent", "Tariff",
  69. "TariffTable"
  70. };
  71. /* localName entries for URI id = 5 */
  72. const char * localNames5[] = {
  73. "ChargerStandby", "ChargingProfileEntryMaxPower", "ChargingProfileEntryStart", "ChargingProfileType", "ConnectorLocked",
  74. "Currency", "EPrice", "EVSEStandby", "EVSEStatusType", "Event",
  75. "EventList", "EventListType", "FatalError", "FaultCode", "FaultMsg",
  76. "FloatingValueType", "MeterID", "MeterInfoType", "MeterReading", "MeterStatus",
  77. "Multiplier", "NotificationType", "PEVStatusType", "PowerSwitchClosed", "ProtocolVersion",
  78. "RCD", "Service", "ServiceDescriptionType", "ServiceID", "ServiceListType",
  79. "ServiceName", "ServiceScope", "ServiceSessionID", "ServiceType", "SessionID",
  80. "SessionInformationType", "ShutDownTime", "TMeter", "Tariff", "TariffDescrType",
  81. "TariffDescription", "TariffEntries", "TariffEntriesType", "TariffEntry", "TariffEntryType",
  82. "TariffID", "TariffPMax", "TariffStart", "TariffTableType", "Unit",
  83. "Value", "contractIDType", "currencyType", "energyProviderType", "eventEntryType",
  84. "evseIDType", "fatalErrorType", "faultCodeType", "lockStatusType", "maxPhasesType",
  85. "meterIDType", "meterStatusType", "paymentOptionListType", "paymentOptionType", "pevIDType",
  86. "protocolVersionType", "pubKeyType", "rcdType", "responseCode_LineLockType", "responseCode_MeteringReceiptType",
  87. "responseCode_MeteringStatusType", "responseCode_PaymentDetailsType", "responseCode_PowerDeliveryType", "responseCode_PowerDiscoveryType", "responseCode_ServiceDiscoveryType",
  88. "responseCode_ServicePaymentSelectionType", "responseCode_SessionSetupType", "serviceDetailsType", "serviceIDType", "serviceNameType",
  89. "serviceScopeType", "serviceTypeType", "sessionIDType", "standbyType", "switchStatusType",
  90. "tariffDescriptionType", "tariffIDType", "tariffStartType", "timeType", "unitMultiplierType",
  91. "unitSymbolType"
  92. };
  93. /* localName entries for URI id = 6 */
  94. const char * localNames6[] = {
  95. "Body", "BodyBaseType", "BodyElement", "BodyType", "Header",
  96. "HeaderType", "Notification", "SessionInformation", "V2G_Message"
  97. };
  98. struct exiPartition localNamePartitions[7] = {
  99. { 0, localNames0 },
  100. { 4, localNames1 },
  101. { 2, localNames2 },
  102. { 46, localNames3 },
  103. { 66, localNames4 },
  104. { 91, localNames5 },
  105. { 9, localNames6 }
  106. };
  107. const char * uris[] = {
  108. "", "http://www.w3.org/XML/1998/namespace", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/2001/XMLSchema", "urn:iso:15118:2:2010:MsgBody", "urn:iso:15118:2:2010:MsgDataTypes", "urn:iso:15118:2:2010:MsgDef"
  109. };
  110. struct exiStringTable stringTable = { 7, uris, localNamePartitions };
  111. #endif