diff --git a/buildtime/server/examples/household_example/propertyTypeGroups.json b/buildtime/server/examples/household_example/propertyTypeGroups.json index 87fbdab79..018952f79 100644 --- a/buildtime/server/examples/household_example/propertyTypeGroups.json +++ b/buildtime/server/examples/household_example/propertyTypeGroups.json @@ -1,97 +1,211 @@ -[{ - "label": "Simply CPQ", - "description": "Property Type Group for Simply CPQ", - "propertyTypeGroups": [ - { - "label": "electrical", - "description": "All electrical property types", - "propertyTypes": [ - { - "label": "Spannungsversorgung (V)", - "description": "Spannungsversorgung (V)" - }, - { - "label": "Leistung (W)", - "description": "Leistung" - }, - { - "label": "Eingangsimpedanz (Ω)", - "description": "Wiederstand der Eingangsimpedanz" - }, - { - "label": "Frequenzbereich (Hz‑kHz)", - "description": "Frequenzbereich (Hz‑kHz)" - }, - { - "label": "Signal‑Rausch‑Verhältnis (dB)", - "description": "Signal‑Rausch‑Verhältnis (dB)" - }, - { - "label": "Anschlüsse", - "description": "Anschlüsse" - }, - { - "label": "Ausgangsimpedanz (Ω)", - "description": "Ausgangsimpedanz (Ω)" - } - ] - }, - { - "label": "mechanical", - "description": "All mechanical properties", - "propertyTypes":[ - { - "label": "Abmessungen (mm)", - "description": "All mechanical properties" - }, - { - "label": "Gewicht (kg)", - "description": "All mechanical properties" - }, - { - "label": "Kapazität (kg)", - "description": "All mechanical properties" - }, - { - "label": "Programms/Features", - "description": "All mechanical properties" - }, - { - "label": "Wasserverbrauch pro Zyklus (L)", - "description": "All mechanical properties" - }, - { - "label": "Material Innenraum", - "description": "All mechanical properties" - } { - "label": "Kapazität/Volumen (L)", - "description": "All mechanical properties" - }, - { - "label": "Schleuderdrehzahl (U/min)", - "description": "All mechanical properties" - } - ] - }, - { - "label": "other", - "description": "All other properties", - "propertyTypes":[ - { - "label": "Preis (USD)", - "description": "All other properties" - }, - { - "label": "Zusatzfunktionen", - "description": "All other properties" - }, { - "label": "Bedienungsart", - "description": "All other properties" - }, { - "label": "Energieeffizienzklasse", - "description": "All other properties" - } - ] - } - ] -}] \ No newline at end of file +[ + { + "label": "X-CPQ", + "description": "Property Type Group for X-CPQ", + "propertyTypeGroups": [ + { + "label": "electrical", + "description": "All electrical property types", + "propertyTypes": [ + { + "label": "Spannungsversorgung (V)", + "description": "Spannungsversorgung (V)", + "values": [ + 220, + 230 + ] + }, + { + "label": "Leistung (W)", + "description": "Leistung", + "values": [ + 0, + 140, + 130, + 120, + 110, + 100, + 90, + 80, + 70, + 60, + 50, + 28, + 26, + 24, + 22, + 20 + ] + }, + { + "label": "Eingangsimpedanz (Ω)", + "description": "Wiederstand der Eingangsimpedanz", + "values": [ + 10 + ] + }, + { + "label": "Frequenzbereich (Hz‑kHz)", + "description": "Frequenzbereich (Hz‑kHz)", + "values": [ + "87‑108" + ] + }, + { + "label": "Signal‑Rausch‑Verhältnis (dB)", + "description": "Signal‑Rausch‑Verhältnis (dB)", + "values": [ + 48, + 46, + 47, + 45, + 49, + 44 + ] + }, + { + "label": "Anschlüsse", + "description": "Anschlüsse", + "values": [ + "UKW+Bluetooth+DL", + "UKW+Wi‑Fi+DL", + "UKW+DL+Bluetooth", + "UKW+Bluetooth+Wi‑Fi", + "UKW+Wi‑Fi+DL", + "UKW+Wi‑Fi", + "UKW+Bluetooth", + "UKW+DL", + "UKW" + ] + }, + { + "label": "Ausgangsimpedanz (Ω)", + "description": "Ausgangsimpedanz (Ω)", + "values": [ + 75 + ] + } + ] + }, + { + "label": "mechanical", + "description": "All mechanical properties", + "propertyTypes": [ + { + "label": "Abmessungen (mm)", + "description": "All mechanical properties", + "values": [ + "158x88x33", + "310x210x110", + "160x90x35", + "170x100x42", + "150x80x30", + "155x85x32", + "165x95x38", + "305x205x105", + "172x102x44", + "340x240x140", + "420x320x140", + "162x92x36", + "300x200x100", + "168x98x40", + "315x215x115", + "325x225x125", + "415x315x135", + "320x220x120", + "335x235x135", + "330x230x130", + "400x300x120", + "405x305x125", + "345x245x145", + "295x245x135", + "410x310x130", + "290x240x130", + "285x235x125", + "280x230x120", + "275x225x115", + "270x220x110", + "265x215x105", + "255x205x95", + "260x210x100", + "250x200x90", + "445x345x165", + "440x340x160", + "435x335x155", + "430x330x150", + "425x325x145" + ] + }, + { + "label": "Gewicht (kg)", + "description": "All mechanical properties", + "values": [ + 3, + 6, + 4, + 2 + ] + }, + { + "label": "Kapazität (kg)", + "description": "All mechanical properties", + "values": [ + 0 + ] + }, + { + "label": "Programms/Features", + "description": "All mechanical properties", + "values": [] + }, + { + "label": "Wasserverbrauch pro Zyklus (L)", + "description": "All mechanical properties", + "values": [] + }, + { + "label": "Material Innenraum", + "description": "All mechanical properties", + "values": [] + }, + { + "label": "Kapazität/Volumen (L)", + "description": "All mechanical properties", + "values": [] + }, + { + "label": "Schleuderdrehzahl (U/min)", + "description": "All mechanical properties", + "values": [] + } + ] + }, + { + "label": "other", + "description": "All other properties", + "propertyTypes": [ + { + "label": "Preis (USD)", + "description": "All other properties", + "values": [] + }, + { + "label": "Zusatzfunktionen", + "description": "All other properties", + "values": [] + }, + { + "label": "Bedienungsart", + "description": "All other properties", + "values": [] + }, + { + "label": "Energieeffizienzklasse", + "description": "All other properties", + "values": [] + } + ] + } + ] + } +] \ No newline at end of file diff --git a/xcpq/buildtime/xcpq_editor/cmd/config.toml b/xcpq/buildtime/xcpq_editor/cmd/config.toml index c547bb921..697182581 100644 --- a/xcpq/buildtime/xcpq_editor/cmd/config.toml +++ b/xcpq/buildtime/xcpq_editor/cmd/config.toml @@ -4,8 +4,8 @@ # password= dbname= [database] -connection_string = "host=192.168.178.50 port=5432 user=tsindt password=XD14ko8d dbname=xcpq sslmode=disable" -## connection_string = "host=localhost port=5432 user=tsindt password=XD14ko8d dbname=xcpq sslmode=disable" +##connection_string = "host=192.168.178.50 port=5432 user=tsindt password=XD14ko8d dbname=xcpq sslmode=disable" +connection_string = "host=localhost port=5432 user=tsindt password=XD14ko8d dbname=xcpq sslmode=disable" driver_name = "postgres" ################################################################