StringTableEntries.c 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. /*
  2. * Copyright (C) 2007-2011 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.4
  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. "CableCheckReq", "CableCheckReqType", "CableCheckRes", "CableCheckResType", "ChargeParameterDiscoveryReq",
  57. "ChargeParameterDiscoveryReqType", "ChargeParameterDiscoveryRes", "ChargeParameterDiscoveryResType", "ChargingMode", "ContractID",
  58. "CurrentDemandReq", "CurrentDemandReqType", "CurrentDemandRes", "CurrentDemandResType", "CurrentDifferential",
  59. "EAmount", "EVSEID", "EVSEMaxCurrent", "EVSEMaxPhases", "EVSEMaxPower",
  60. "EVSEMaxVoltage", "EVSEMinCurrent", "EVSEMinVoltage", "EVSEPresentCurrent", "EVSEPresentVoltage",
  61. "EVSEStatus", "EnergyProvider", "EoC", "LineLockReq", "LineLockReqType",
  62. "LineLockRes", "LineLockResType", "MeterInfo", "MeteringReceiptReq", "MeteringReceiptReqType",
  63. "MeteringReceiptRes", "MeteringReceiptResType", "MeteringStatusReq", "MeteringStatusReqType", "MeteringStatusRes",
  64. "MeteringStatusResType", "PCurrent", "PEVDemandCurrent", "PEVID", "PEVMaxCurrent",
  65. "PEVMaxPhases", "PEVMaxPower", "PEVMaxVoltage", "PEVMinCurrent", "PEVMinVoltage",
  66. "PEVStatus", "PEVTargetVoltage", "PaymentDetailsReq", "PaymentDetailsReqType", "PaymentDetailsRes",
  67. "PaymentDetailsResType", "PowerDeliveryReq", "PowerDeliveryReqType", "PowerDeliveryRes", "PowerDeliveryResType",
  68. "PreChargeReq", "PreChargeReqType", "PreChargeRes", "PreChargeResType", "ReqLockStatus",
  69. "ReqSwitchStatus", "ResponseCode", "ServiceDiscoveryReq", "ServiceDiscoveryReqType", "ServiceDiscoveryRes",
  70. "ServiceDiscoveryResType", "ServiceList", "ServicePaymentSelectionReq", "ServicePaymentSelectionReqType", "ServicePaymentSelectionRes",
  71. "ServicePaymentSelectionResType", "ServiceScope", "ServiceType", "SessionSetupReq", "SessionSetupReqType",
  72. "SessionSetupRes", "SessionSetupResType", "TCurrent", "Tariff", "TariffTable",
  73. "TerminateChargingReq", "TerminateChargingReqType", "TerminateChargingRes", "TerminateChargingResType", "VoltageDifferential",
  74. "WeldingDetectionReq", "WeldingDetectionReqType", "WeldingDetectionRes", "WeldingDetectionResType"
  75. };
  76. /* localName entries for URI id = 5 */
  77. const char * localNames5[] = {
  78. "ChargerStandby", "ChargingProfileEntryMaxPower", "ChargingProfileEntryStart", "ChargingProfileType", "ConnectorLocked",
  79. "Currency", "EPrice", "EVSEMalfunction", "EVSEStandby", "EVSEStatusType",
  80. "Event", "EventList", "EventListType", "FatalError", "FaultCode",
  81. "FaultMsg", "FloatingValueType", "MeterID", "MeterInfoType", "MeterReading",
  82. "MeterStatus", "Multiplier", "NotificationType", "PEVStatusType", "PowerSwitchClosed",
  83. "ProtocolVersion", "RCD", "ReadyToCharge", "Service", "ServiceDescriptionType",
  84. "ServiceID", "ServiceListType", "ServiceName", "ServiceScope", "ServiceSessionID",
  85. "ServiceType", "SessionID", "SessionInformationType", "ShutDownTime", "StopCharging",
  86. "TMeter", "Tariff", "TariffDescrType", "TariffDescription", "TariffEntries",
  87. "TariffEntriesType", "TariffEntry", "TariffEntryType", "TariffID", "TariffPMax",
  88. "TariffStart", "TariffTableType", "Unit", "Value", "chargingModeType",
  89. "contractIDType", "currencyType", "energyProviderType", "eventEntryType", "evseIDType",
  90. "fatalErrorType", "faultCodeType", "lockStatusType", "maxPhasesType", "meterIDType",
  91. "meterStatusType", "paymentOptionListType", "paymentOptionType", "pevIDType", "protocolVersionType",
  92. "pubKeyType", "rcdType", "responseCode_CableCheckType", "responseCode_ChargeParameterDiscoveryType", "responseCode_CurrentDemandType",
  93. "responseCode_LineLockType", "responseCode_MeteringReceiptType", "responseCode_MeteringStatusType", "responseCode_PaymentDetailsType", "responseCode_PowerDeliveryType",
  94. "responseCode_PreChargeType", "responseCode_ServiceDiscoveryType", "responseCode_ServicePaymentSelectionType", "responseCode_SessionSetupType", "responseCode_TerminateChargingType",
  95. "responseCode_WeldingDetectionType", "serviceDetailsType", "serviceIDType", "serviceNameType", "serviceScopeType",
  96. "serviceTypeType", "sessionIDType", "standbyType", "switchStatusType", "tariffDescriptionType",
  97. "tariffIDType", "tariffStartType", "timeType", "unitMultiplierType", "unitSymbolType"
  98. };
  99. /* localName entries for URI id = 6 */
  100. const char * localNames6[] = {
  101. "Body", "BodyBaseType", "BodyElement", "BodyType", "Header",
  102. "V2G_Message"
  103. };
  104. /* localName entries for URI id = 7 */
  105. const char * localNames7[] = {
  106. "HeaderType", "Notification", "SessionInformation"
  107. };
  108. struct exiPartition localNamePartitions[8] = {
  109. { 0, localNames0 },
  110. { 4, localNames1 },
  111. { 2, localNames2 },
  112. { 46, localNames3 },
  113. { 94, localNames4 },
  114. { 100, localNames5 },
  115. { 6, localNames6 },
  116. { 3, localNames7 }
  117. };
  118. const char * uris[] = {
  119. "", "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:eval1.0:MsgBody", "urn:iso:15118:2:2010:eval1.0:MsgDataTypes", "urn:iso:15118:2:2010:eval1.0:MsgDef", "urn:iso:15118:2:2010:eval1.0:MsgHeader"
  120. };
  121. struct exiStringTable stringTable = { 8, uris, localNamePartitions };
  122. #endif