- Home
- Deutsch
- Skripten / Logik
- Blockly
- [geloest] Wert eines Objektes nicht auslesbar
[geloest] Wert eines Objektes nicht auslesbar
-
@oberfragger
also der hinter dem letzten Punkt wird angesagt.ConsumerProducts.CoffeeMaker.Program.Beverage.Espresso
deshalb weicht das etwas ab.
-
@dslraser So ist erstmal fein. HotWater trinken wir kaum. Kaffee Latte und Cappucino schon eher. Ich freue mich schon auf morgen früh- meine Frau wird Ihren Kaffe natürlich erst bekommen wenn Sie schon am Tisch sitzt
Denke für Heisswasser und warmer Milch muss man if/then reinbauen. Wieder was gelernt. Top!
-
An eventuelle Mitleser... ich habe das nun über einen eigen Datenpunkt als temporäre Variable gelöst. Somit umschiffe ich timeouts...
-
Hier noch zum Ansagen des "wirklichen Namens". Da ich den Adapter und die Geräte nicht habe, habe ich nur über Deinen Datenpunkt das Ansagen probiert, da hat es funktioniert. Die Funktion kannst Du ja in Dein Blockly importieren.
<block xmlns="http://www.w3.org/1999/xhtml" type="procedures_defcustomreturn" id="7R:L*9?)7Wl^RqVg+G`q" x="13" y="13"> <mutation statements="false"> <arg name="id" varid="y}n5NpIEF{U9uP/AG}OB"></arg> <arg name="val" varid="u7#6,S]3U-LR0^kP5l]P"></arg> </mutation> <field name="NAME">Kaffeesorte</field> <field name="SCRIPT">aWYoZ2V0T2JqZWN0KGlkKS5jb21tb24uc3RhdGVzKSByZXR1cm4gZ2V0T2JqZWN0KGlkKS5jb21tb24uc3RhdGVzW3ZhbF07CnJldHVybiBpZCArICcgRGllc2VyIERhdGVucHVua3QgaGF0IGtlaW5lbiBadXN0YW5kICEnOw==</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> </block>
-
@dslraser Das muss ich mir mal genauer ansehen. Im Moment ahbe ich da noch Fragezeichen... aber morgen ist in der Firma hoffentlich nichts los
Kannst Du das nochmal bitte exportieren- bei mir kommt nur das hier an:
Ich hoffe ich nerve nicht zu doll. Kann man sich gemäss des Wertes einen Datenpunkt zusammenbauen?
-> Ich denek gerade dass ich die Statistikfunktion vielleicht abbilde.Mir geht es darum, im gleichen Block vielleicht dann den Datenpunkt "0_userdata.0.Kaffemaschine.val"+1 hochzuzählen.
Hierbei soll val natürlich die entsprechende Kaffesorte sein. Oder löst man das anders?Wie gesagt: mit vielen If then würde man das ja auch erreichen. Aber das will ich ja (aktuell) nicht. In der Geräteliste ist die die Kaffeesorte bereits übersetzt...
-
@oberfragger sagte in [geloest] Wert eines Objektes nicht auslesbar:
Kannst Du das nochmal bitte exportieren- bei mir kommt nur das hier an:
Mehr ist in dem Export auch nicht drinn,
das ist der Export. Schau mal unter Funktionen (links bei den Bausteinen), da musst Du die raus ziehen. -
@oberfragger sagte in [geloest] Wert eines Objektes nicht auslesbar:
Mir geht es darum, im gleichen Block vielleicht dann den Datenpunkt "0_userdata.0.Kaffemaschine.val"+1 hochzuzählen.
Ich habe das mal so probiert....
Ich habe diesen einen Datenpunkt von Dir bei mir angelegt, mehr habe ich davon nicht (habe ja diesen Adapter und diese Geräte nicht, wie schon erwähnt)Für die ersten zehn Kaffeesorten aus diesem Datenpunkt habe ich mit dem nachfolgenden Blockly mal Datenpunkte unter 0_userdata.0 angelegt. Wenn ich nun in Deinem Datenpunkt die Kaffeesorte auswähle, oder den gleichen nochmal auswähle (aktualisiere) wird dieser jeweils angezeigt ung hochgezählt, sowie gesamt summiert.
"ConsumerProducts.CoffeeMaker.Program.Beverage.Espresso": "Espresso", "ConsumerProducts.CoffeeMaker.Program.Beverage.EspressoMacchiato": "Espresso Macchiato", "ConsumerProducts.CoffeeMaker.Program.Beverage.Coffee": "Caffe Crema", "ConsumerProducts.CoffeeMaker.Program.Beverage.Cappuccino": "Cappuccino", "ConsumerProducts.CoffeeMaker.Program.Beverage.LatteMacchiato": "Latte Macchiato", "ConsumerProducts.CoffeeMaker.Program.Beverage.CaffeLatte": "Milchkaffee", "ConsumerProducts.CoffeeMaker.Program.Beverage.Ristretto": "Ristretto", "ConsumerProducts.CoffeeMaker.Program.Beverage.MilkFroth": "Milchschaum", "ConsumerProducts.CoffeeMaker.Program.Beverage.WarmMilk": "Warme Milch", "ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.KleinerBrauner": "Kleiner Brauner", "ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.GrosserBrauner": "Großer Brauner", "ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.Verlaengerter": "Verlängerter", "ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.VerlaengerterBraun": "Verlängerter braun", "ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.WienerMelange": "Wiener Melange", "ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.FlatWhite": "Flat White", "ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.Cortado": "Cortado", "ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.CafeCortado": "Café cortado", "ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.CafeConLeche": "Café con leche", "ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.CafeAuLait": "Café au lait", "ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.Doppio": "Doppio", "ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.Kaapi": "Kaapi", "ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.KoffieVerkeerd": "Koffie verkeerd", "ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.Galao": "Galão", "ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.Garoto": "Garoto", "ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.Americano": "Americano", "ConsumerProducts.CoffeeMaker.Program.CoffeeWorld.RedEye": "Red Eye"
Meinst Du das so ?<xml xmlns="http://www.w3.org/1999/xhtml"> <variables> <variable type="" id="y}n5NpIEF{U9uP/AG}OB">id</variable> <variable type="" id="u7#6,S]3U-LR0^kP5l]P">val</variable> <variable type="" id="D[*W{b]#:_c~%Pu.I%5}">001Espresso</variable> <variable type="" id="s[$m,7ui?6*hHbl`yh+}">Kaffee_gesamt</variable> <variable type="" id="g7#V,=Z=$j9{j.lnXe,b">002Espresso_Macchiato</variable> <variable type="" id="`f:X)n]=2PW1K0B[8yo=">003Caffe_Crema</variable> <variable type="" id="F,Rr!uX[[,#cKCEZsNxF">004Cappuccino</variable> <variable type="" id="sWTo2VlYBYX$FU8cGW83">005Latte_Macchiato</variable> <variable type="" id="Z4JT}s%P*Rml?oaretp%">006Milchkaffee</variable> <variable type="" id="$tS-%2$Gx^@%txk:%GUW">007Ristretto</variable> <variable type="" id="`6cpOh3dD@cA{MHw*uLo">008Milchschaum</variable> <variable type="" id="wsqR?`kAq$f_tGVz:2xD">009Warme_Milch</variable> <variable type="" id="[fLK$.T+H:Z63o95=+xL">010Kleiner_Brauner</variable> </variables> <block type="procedures_defcustomreturn" id="7R:L*9?)7Wl^RqVg+G`q" x="13" y="13"> <mutation statements="false"> <arg name="id" varid="y}n5NpIEF{U9uP/AG}OB"></arg> <arg name="val" varid="u7#6,S]3U-LR0^kP5l]P"></arg> </mutation> <field name="NAME">Kaffeesorte</field> <field name="SCRIPT">aWYoZ2V0T2JqZWN0KGlkKS5jb21tb24uc3RhdGVzKSByZXR1cm4gZ2V0T2JqZWN0KGlkKS5jb21tb24uc3RhdGVzW3ZhbF07CnJldHVybiBpZCArICcgRGllc2VyIERhdGVucHVua3QgaGF0IGtlaW5lbiBadXN0YW5kICEnOw==</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> </block> <block type="procedures_defcustomnoreturn" id="W*N4e![)YJVOn7OYX5n." x="13" y="63"> <mutation statements="false"></mutation> <field name="NAME">Datenpunkt_in_0_userdata_anlegen</field> <field name="SCRIPT">Ly8gRGF0ZW5wdW5rdCB1bnRlciAwX3VzZXJkYXRhLjAgZXJzdGVsbGVuCmNvbnN0IGRwMDAwID0gJ0Jvc2NoLkthZmZlZW1hc2NoaW5lLkthZmZlZXNvcnRlLjAwMFNvcnRlX2FrdHVlbGwnOwpjb25zdCBkdHAwMDAgPSB7dHlwZTogJ3N0cmluZycsIHJlYWQ6IHRydWUsIHdyaXRlOiBmYWxzZSwgbmFtZTogJzAwMFNvcnRlX2FrdHVlbGwnLHJvbGU6ICdzdHJpbmcnfTsKIApmdW5jdGlvbiBjcmVhdGVEcDAwMChpZCwgY29tbW9uKSB7CiAgICBpZigkKGlkKS5sZW5ndGgpIGxvZygnRGF0ZW5wdW5rdCAnICsgaWQgKyAnIGV4aXN0aWVydCBiZXJlaXRzICEnLCAnd2FybicpOwogICAgZWxzZSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIG9iai50eXBlID0gJ3N0YXRlJzsKICAgICAgICBvYmouY29tbW9uID0gY29tbW9uOwogICAgICAgIG9iai5uYXRpdmUgPSB7fTsKICAgICAgICBzZXRPYmplY3QoaWQsIG9iaiwgZnVuY3Rpb24gKGVycikgewogICAgICAgICAgICBpZiAoZXJyKSBsb2coJ0Nhbm5vdCB3cml0ZSBvYmplY3Q6ICcgKyBlcnIpCiAgICAgICAgICAgIGVsc2UgewogICAgICAgICAgICAgICAgdmFyIGluaXQgPSBudWxsOwogICAgICAgICAgICAgICAgaWYoY29tbW9uLmRlZiA9PT0gdW5kZWZpbmVkKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoY29tbW9uLnR5cGUgPT09ICdudW1iZXInKSBpbml0ID0gMDsKICAgICAgICAgICAgICAgICAgICBpZihjb21tb24udHlwZSA9PT0gJ2Jvb2xlYW4nKSBpbml0ID0gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgaWYoY29tbW9uLnR5cGUgPT09ICdzdHJpbmcnKSBpbml0ID0gJ25vY2ggbGVlcic7CiAgICAgICAgICAgICAgICB9IGVsc2UgaW5pdCA9IGNvbW1vbi5kZWY7CiAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KGZ1bmN0aW9uKCkge3NldFN0YXRlKGlkLCBpbml0LCB0cnVlKTt9LDEwMDApOwogICAgICAgICAgICB9CiAgICAgICAgfSk7CiAgICB9Cn0KY3JlYXRlRHAwMDAoJzBfdXNlcmRhdGEuMC4nICsgZHAwMDAsIGR0cDAwMCk7CgovLyBEYXRlbnB1bmt0IHVudGVyIDBfdXNlcmRhdGEuMCBlcnN0ZWxsZW4KY29uc3QgZHAwMDEgPSAnQm9zY2guS2FmZmVlbWFzY2hpbmUuS2FmZmVlc29ydGUuMDAxRXNwcmVzc29fQW56YWhsJzsKY29uc3QgZHRwMDAxID0ge3R5cGU6ICdudW1iZXInLCByZWFkOiB0cnVlLCB3cml0ZTogZmFsc2UsIG5hbWU6ICcwMDFFc3ByZXNzb19BbnphaGwnLHJvbGU6ICdudW1iZXInfTsKIApmdW5jdGlvbiBjcmVhdGVEcDAwMShpZCwgY29tbW9uKSB7CiAgICBpZigkKGlkKS5sZW5ndGgpIGxvZygnRGF0ZW5wdW5rdCAnICsgaWQgKyAnIGV4aXN0aWVydCBiZXJlaXRzICEnLCAnd2FybicpOwogICAgZWxzZSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIG9iai50eXBlID0gJ3N0YXRlJzsKICAgICAgICBvYmouY29tbW9uID0gY29tbW9uOwogICAgICAgIG9iai5uYXRpdmUgPSB7fTsKICAgICAgICBzZXRPYmplY3QoaWQsIG9iaiwgZnVuY3Rpb24gKGVycikgewogICAgICAgICAgICBpZiAoZXJyKSBsb2coJ0Nhbm5vdCB3cml0ZSBvYmplY3Q6ICcgKyBlcnIpCiAgICAgICAgICAgIGVsc2UgewogICAgICAgICAgICAgICAgdmFyIGluaXQgPSBudWxsOwogICAgICAgICAgICAgICAgaWYoY29tbW9uLmRlZiA9PT0gdW5kZWZpbmVkKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoY29tbW9uLnR5cGUgPT09ICdudW1iZXInKSBpbml0ID0gMDsKICAgICAgICAgICAgICAgICAgICBpZihjb21tb24udHlwZSA9PT0gJ2Jvb2xlYW4nKSBpbml0ID0gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgaWYoY29tbW9uLnR5cGUgPT09ICdzdHJpbmcnKS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bW1vbiA9IGNvbW1vbjsKICAgICAgICBvYmoubmF0aXZlID0ge307CiAgICAgICAgc2V0T2JqZWN0KGlkLCBvYmosIGZ1bmN0aW9uIChlcnIpIHsKICAgICAgICAgICAgaWYgKGVycikgbG9nKCdDYW5ub3Qgd3JpdGUgb2JqZWN0OiAnICsgZXJyKQogICAgICAgICAgICBlbHNlIHsKICAgICAgICAgICAgICAgIHZhciBpbml0ID0gbnVsbDsKICAgICAgICAgICAgICAgIGlmKGNvbW1vbi5kZWYgPT09IHVuZGVmaW5lZCkgewogICAgICAgICAgICAgICAgICAgIGlmKGNvbW1vbi50eXBlID09PSAnbnVtYmVyJykgaW5pdCA9IDA7CiAgICAgICAgICAgICAgICAgICAgaWYoY29tbW9uLnR5cGUgPT09ICdib29sZWFuJykgaW5pdCA9IGZhbHNlOwogICAgICAgICAgICAgICAgICAgIGlmKGNvbW1vbi50eXBlID09PSAnc3RyaW5nJykgaW5pdCA9ICdub2NoIGxlZXInOwogICAgICAgICAgICAgICAgfSBlbHNlIGluaXQgPSBjb21tb24uZGVmOwogICAgICAgICAgICAgICAgc2V0VGltZW91dChmdW5jdGlvbigpIHtzZXRTdGF0ZShpZCwgaW5pdCwgdHJ1ZSk7fSwxMDAwKTsKICAgICAgICAgICAgfQogICAgICAgIH0pOwogICAgfQp9CmNyZWF0ZURwMDAzKCcwX3VzZXJkYXRhLjAuJyArIGRwMDAzLCBkdHAwMDMpOwoKLy8gRGF0ZW5wdW5rdCB1bnRlciAwX3VzZXJkYXRhLjAgZXJzdGVsbGVuCmNvbnN0IGRwMDA0ID0gJ0Jvc2NoLkthZmZlZW1hc2NoaW5lLkthZmZlZXNvcnRlLjAwNENhcHB1Y2Npbm9fQW56YWhsJzsKY29uc3QgZHRwMDA0ID0ge3R5cGU6ICdudW1iZXInLCByZWFkOiB0cnVlLCB3cml0ZTogZmFsc2UsIG5hbWU6ICcwMDRDYXBwdWNjaW5vX0FuemFobCcscm9sZTogJ251bWJlcid9OwogCmZ1bmN0aW9uIGNyZWF0ZURwMDA0KGlkLCBjb21tb24pIHsKICAgIGlmKCQoaWQpLmxlbmd0aCkgbG9nKCdEYXRlbnB1bmt0ICcgKyBpZCArICcgZXhpc3RpZXJ0IGJlcmVpdHMgIScsICd3YXJuJyk7CiAgICBlbHNlIHsKICAgICAgICB2YXIgb2JqID0ge307CiAgICAgICAgb2JqLnR5cGUgPSAnc3RhdGUnOwogICAgICAgIG9iai5jb21tb24gPSBjb21tb247CiAgICAgICAgb2JqLm5hdGl2ZSA9IHt9OwogICAgICAgIHNldE9iamVjdChpZCwgb2JqLCBmdW5jdGlvbiAoZXJyKSB7CiAgICAgICAgICAgIGlmIChlcnIpIGxvZygnQ2Fubm90IHdyaXRlIG9iamVjdDogJyArIGVycikKICAgICAgICAgICAgZWxzZSB7CiAgICAgICAgICAgICAgICB2YXIgaW5pdCA9IG51bGw7CiAgICAgICAgICAgICAgICBpZihjb21tb24uZGVmID09PSB1bmRlZmluZWQpIHsKICAgICAgICAgICAgICAgICAgICBpZihjb21tb24udHlwZSA9PT0gJ251bWJlcicpIGluaXQgPSAwOwogICAgICAgICAgICAgICAgICAgIGlmKGNvbW1vbi50eXBlID09PSAnYm9vbGVhbicpIGluaXQgPSBmYWxzZTsKICAgICAgICAgICAgICAgICAgICBpZihjb21tb24udHlwZSA9PT0gJ3N0cmluZycpIGluaXQgPSAnbm9jaCBsZWVyJzsKICAgICAgICAgICAgICAgIH0gZWxzZSBpbml0ID0gY29tbW9uLmRlZjsKICAgICAgICAgICAgICAgIHNldFRpbWVvdXQoZnVuY3Rpb24oKSB7c2V0U3RhdGUoaWQsIGluaXQsIHRydWUpO30sMTAwMCk7CiAgICAgICAgICAgIH0KICAgICAgICB9KTsKICAgIH0KfQpjcmVhdGVEcDAwNCgnMF91c2VyZGF0YS4wLicgKyBkcDAwNCwgZHRwMDA0KTsKCi8vIERhdGVucHVua3QgdW50ZXIgMF91c2VyZGF0YS4wIGVyc3RlbGxlbgpjb25zdCBkcDAwNSA9ICdCb3NjaC5LYWZmZWVtYXNjaGluZS5LYWZmZWVzb3J0ZS4wMDVMYXR0ZU1hY2NoaWF0b19BbnphaGwnOwpjb25zdCBkdHAwMDUgPSB7dHlwZTogJ251bWJlcicsIHJlYWQ6IHRydWUsIHdyaXRlOiBmYWxzZSwgbmFtZTogJzAwNUxhdHRlTWFjY2hpYXRvX0FuemFobCcscm9sZTogJ251bWJlcid9OwogCmZ1bmN0aW9uIGNyZWF0ZURwMDA1KGlkLCBjb21tb24pIHsKICAgIGlmKCQoaWQpLmxlbmd0aCkgbG9nKCdEYXRlbnB1bmt0ICcgKyBpZCArICcgZXhpc3RpZXJ0IGJlcmVpdHMgIScsICd3YXJuJyk7CiAgICBlbHNlIHsKICAgICAgICB2YXIgb2JqID0ge307CiAgICAgICAgb2JqLnR5cGUgPSAnc3RhdGUnOwogICAgICAgIG9iai5jb21tb24gPSBjb21tb247CiAgICAgICAgb2JqLm5hdGl2ZSA9IHt9OwogICAgICAgIHNldE9iamVjdChpZCwgb2JqLCBmdW5jdGlvbiAoZXJyKSB7CiAgICAgICAgICAgIGlmIChlcnIpIGxvZygnQ2Fubm90IHdyaXRlIG9iamVjdDogJyArIGVycikKICAgICAgICAgICAgZWxzZSB7CiAgICAgICAgICAgICAgICB2YXIgaW5pdCA9IG51bGw7CiAgICAgICAgICAgICAgICBpZihjb21tb24uZGVmID09PSB1bmRlZmluZWQpIHsKICAgICAgICAgICAgICAgICAgICBpZihjb21tb24udHlwZSA9PT0gJ251bWJlcicpIGluaXQgPSAwOwogICAgICAgICAgICAgICAgICAgIGlmKGNvbW1vbi50eXBlID09PSAnYm9vbGVhbicpIGluaXQgPSBmYWxzZTsKICAgICAgICAgICAgICAgICAgICBpZihjb21tb24udHlwZSA9PT0gJ3N0cmluZycpIGluaXQgPSAnbm9jaCBsZWVyJzsKICAgICAgICAgICAgICAgIH0gZWxzZSBpbml0ID0gY29tbW9uLmRlZjsKICAgICAgICAgICAgICAgIHNldFRpbWVvdXQoZnVuY3Rpb24oKSB7c2V0U3RhdGUoaWQsIGluaXQsIHRydWUpO30sMTAwMCk7CiAgICAgICAgICAgIH0KICAgICAgICB9KTsKICAgIH0KfQpjcmVhdGVEcDAwNSgnMF91c2VyZGF0YS4wLicgKyBkcDAwNSwgZHRwMDA1KTsKCi8vIERhdGVucHVua3QgdW50ZXIgMF91c2VyZGF0YS4wIGVyc3RlbGxlbgpjb25zdCBkcDAwNiA9ICdCb3NjaC5LYWZmZWVtYXNjaGluZS5LYWZmZWVzb3J0ZS4wMDZNaWxjaGthZmZlZV9BbnphaGwnOwpjb25zdCBkdHAwMDYgPSB7dHlwZTogJ251bWJlcicsIHJlYWQ6IHRydWUsIHdyaXRlOiBmYWxzZSwgbmFtZTogJzAwNk1pbGNoa2FmZmVlX0FuemFobCcscm9sZTogJ251bWJlcid9OwogCmZ1bmN0aW9uIGNyZWF0ZURwMDA2KGlkLCBjb21tb24pIHsKICAgIGlmKCQoaWQpLmxlbmd0aCkgbG9nKCdEYXRlbnB1bmt0ICcgKyBpZCArICcgZXhpc3RpZXJ0IGJlcmVpdHMgIScsICd3YXJuJyk7CiAgICBlbHNlIHsKICAgICAgICB2YXIgb2JqID0ge307CiAgICAgICAgb2JqLnR5cGUgPSAnc3RhdGUnOwogICAgICAgIG9iai5jb21tb24gPSBjb21tb247CiAgICAgICAgb2JqLm5hdGl2ZSA9IHt9OwogICAgICAgIHNldE9iamVjdChpZCwgb2JqLCBmdW5jdGlvbiAoZXJyKSB7CiAgICAgICAgICAgIGlmIChlcnIpIGxvZygnQ2Fubm90IHdyaXRlIG9iamVjdDogJyArIGVycikKICAgICAgICAgICAgZWxzZSB7CiAgICAgICAgICAgICAgICB2YXIgaW5pdCA9IG51bGw7CiAgICAgICAgICAgICAgICBpZihjb21tb24uZGVmID09PSB1bmRlZmluZWQpIHsKICAgICAgICAgICAgICAgICAgICBpZihjb21tb24udHlwZSA9PT0gJ251bWJlcicpIGluaXQgPSAwOwogICAgICAgICAgICAgIC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KTsKICAgIGVsc2UgewogICAgICAgIHZhciBvYmogPSB7fTsKICAgICAgICBvYmoudHlwZSA9ICdzdGF0ZSc7CiAgICAgICAgb2JqLmNvbW1vbiA9IGNvbW1vbjsKICAgICAgICBvYmoubmF0aXZlID0ge307CiAgICAgICAgc2V0T2JqZWN0KGlkLCBvYmosIGZ1bmN0aW9uIChlcnIpIHsKICAgICAgICAgICAgaWYgKGVycikgbG9nKCdDYW5ub3Qgd3JpdGUgb2JqZWN0OiAnICsgZXJyKQogICAgICAgICAgICBlbHNlIHsKICAgICAgICAgICAgICAgIHZhciBpbml0ID0gbnVsbDsKICAgICAgICAgICAgICAgIGlmKGNvbW1vbi5kZWYgPT09IHVuZGVmaW5lZCkgewogICAgICAgICAgICAgICAgICAgIGlmKGNvbW1vbi50eXBlID09PSAnbnVtYmVyJykgaW5pdCA9IDA7CiAgICAgICAgICAgICAgICAgICAgaWYoY29tbW9uLnR5cGUgPT09ICdib29sZWFuJykgaW5pdCA9IGZhbHNlOwogICAgICAgICAgICAgICAgICAgIGlmKGNvbW1vbi50eXBlID09PSAnc3RyaW5nJykgaW5pdCA9ICdub2NoIGxlZXInOwogICAgICAgICAgICAgICAgfSBlbHNlIGluaXQgPSBjb21tb24uZGVmOwogICAgICAgICAgICAgICAgc2V0VGltZW91dChmdW5jdGlvbigpIHtzZXRTdGF0ZShpZCwgaW5pdCwgdHJ1ZSk7fSwxMDAwKTsKICAgICAgICAgICAgfQogICAgICAgIH0pOwogICAgfQp9CmNyZWF0ZURwMDA4KCcwX3VzZXJkYXRhLjAuJyArIGRwMDA4LCBkdHAwMDgpOwoKLy8gRGF0ZW5wdW5rdCB1bnRlciAwX3VzZXJkYXRhLjAgZXJzdGVsbGVuCmNvbnN0IGRwMDA5ID0gJ0Jvc2NoLkthZmZlZW1hc2NoaW5lLkthZmZlZXNvcnRlLjAwOVdhcm1lX01pbGNoX0FuemFobCc7CmNvbnN0IGR0cDAwOSA9IHt0eXBlOiAnbnVtYmVyJywgcmVhZDogdHJ1ZSwgd3JpdGU6IGZhbHNlLCBuYW1lOiAnMDA5V2FybWVfTWlsY2hfQW56YWhsJyxyb2xlOiAnbnVtYmVyJ307CiAKZnVuY3Rpb24gY3JlYXRlRHAwMDkoaWQsIGNvbW1vbikgewogICAgaWYoJChpZCkubGVuZ3RoKSBsb2coJ0RhdGVucHVua3QgJyArIGlkICsgJyBleGlzdGllcnQgYmVyZWl0cyAhJywgJ3dhcm4nKTsKICAgIGVsc2UgewogICAgICAgIHZhciBvYmogPSB7fTsKICAgICAgICBvYmoudHlwZSA9ICdzdGF0ZSc7CiAgICAgICAgb2JqLmNvbW1vbiA9IGNvbW1vbjsKICAgICAgICBvYmoubmF0aXZlID0ge307CiAgICAgICAgc2V0T2JqZWN0KGlkLCBvYmosIGZ1bmN0aW9uIChlcnIpIHsKICAgICAgICAgICAgaWYgKGVycikgbG9nKCdDYW5ub3Qgd3JpdGUgb2JqZWN0OiAnICsgZXJyKQogICAgICAgICAgICBlbHNlIHsKICAgICAgICAgICAgICAgIHZhciBpbml0ID0gbnVsbDsKICAgICAgICAgICAgICAgIGlmKGNvbW1vbi5kZWYgPT09IHVuZGVmaW5lZCkgewogICAgICAgICAgICAgICAgICAgIGlmKGNvbW1vbi50eXBlID09PSAnbnVtYmVyJykgaW5pdCA9IDA7CiAgICAgICAgICAgICAgICAgICAgaWYoY29tbW9uLnR5cGUgPT09ICdib29sZWFuJykgaW5pdCA9IGZhbHNlOwogICAgICAgICAgICAgICAgICAgIGlmKGNvbW1vbi50eXBlID09PSAnc3RyaW5nJykgaW5pdCA9ICdub2NoIGxlZXInOwogICAgICAgICAgICAgICAgfSBlbHNlIGluaXQgPSBjb21tb24uZGVmOwogICAgICAgICAgICAgICAgc2V0VGltZW91dChmdW5jdGlvbigpIHtzZXRTdGF0ZShpZCwgaW5pdCwgdHJ1ZSk7fSwxMDAwKTsKICAgICAgICAgICAgfQogICAgICAgIH0pOwogICAgfQp9CmNyZWF0ZURwMDA5KCcwX3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QgPSBudWxsOwogICAgICAgICAgICAgICAgaWYoY29tbW9uLmRlZiA9PT0gdW5kZWZpbmVkKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoY29tbW9uLnR5cGUgPT09ICdudW1iZXInKSBpbml0ID0gMDsKICAgICAgICAgICAgICAgICAgICBpZihjb21tb24udHlwZSA9PT0gJ2Jvb2xlYW4nKSBpbml0ID0gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgaWYoY29tbW9uLnR5cGUgPT09ICdzdHJpbmcnKSBpbml0ID0gJ25vY2ggbGVlcic7CiAgICAgICAgICAgICAgICB9IGVsc2UgaW5pdCA9IGNvbW1vbi5kZWY7CiAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KGZ1bmN0aW9uKCkge3NldFN0YXRlKGlkLCBpbml0LCB0cnVlKTt9LDEwMDApOwogICAgICAgICAgICB9CiAgICAgICAgfSk7CiAgICB9Cn0KY3JlYXRlRHAwOTkoJzBfdXNlcmRhdGEuMC4nICsgZHAwOTksIGR0cDA5OSk7</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> </block> <block type="procedures_callcustomnoreturn" id="[VfA3To-A_qJhk@J7[[G" x="13" y="113"> <mutation name="Datenpunkt_in_0_userdata_anlegen"></mutation> <next> <block type="on_ext" id="~?T+P2B!eM0@w]i^uE%}"> <mutation items="1"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="!pZ*m5ua|S6?EaGP60X2"> <field name="oid">homeconnect.0.BOSCH-CTL636ES6-68A40E26C6C6.programs.selected.BSH_Common_Root_SelectedProgram</field> </shadow> </value> <statement name="STATEMENT"> <block type="update" id="MU*?9tNNGy2DAB8D[39w"> <mutation delay_input="false"></mutation> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.000Sorte_aktuell</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="procedures_callcustomreturn" id="Re0wRDeLkwjM[Cf?;%^-"> <mutation name="Kaffeesorte"> <arg name="id"></arg> <arg name="val"></arg> </mutation> <value name="ARG0"> <block type="field_oid" id="%7%6qWBxz^t;3UG/VN%C"> <field name="oid">homeconnect.0.BOSCH-CTL636ES6-68A40E26C6C6.programs.selected.BSH_Common_Root_SelectedProgram</field> </block> </value> <value name="ARG1"> <block type="get_value" id="OTm63rM|doJkUZ}pmS`Z"> <field name="ATTR">val</field> <field name="OID">homeconnect.0.BOSCH-CTL636ES6-68A40E26C6C6.programs.selected.BSH_Common_Root_SelectedProgram</field> </block> </value> </block> </value> </block> </statement> <next> <block type="on_ext" id="*{NAeNP]T@_~~o@U},+r"> <mutation items="1"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="~;n?%p}`Qfy(]]^TzZem"> <field name="oid">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.000Sorte_aktuell</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="miy@_)*0noix%JG`2.K}"> <value name="IF0"> <block type="logic_compare" id="f4`;kg1)p6QbT)2!gnO9"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="3`r|P7H99~bDTLby3k$m"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.000Sorte_aktuell</field> </block> </value> <value name="B"> <block type="text" id="qrM?dOU~%P|la_DBsB?j"> <field name="TEXT">Espresso</field> </block> </value> </block> </value> <statement name="DO0"> <block type="math_change" id="Bs)$lB:=TGazqqSrn1%Q"> <field name="VAR" id="D[*W{b]#:_c~%Pu.I%5}" variabletype="">001Espresso</field> <value name="DELTA"> <shadow type="math_number" id="JxTo92sLdc%mcIZR$@z="> <field name="NUM">1</field> </shadow> <block type="math_number" id="Rf!UaTh%A]NnD5DYu*h{"> <field name="NUM">1</field> </block> </value> <next> <block type="math_change" id="-M2[|c1hd#wj6S[91Zjr"> <field name="VAR" id="s[$m,7ui?6*hHbl`yh+}" variabletype="">Kaffee_gesamt</field> <value name="DELTA"> <shadow type="math_number" id="8xpw=@b.4]ydZ@.VB/RQ"> <field name="NUM">1</field> </shadow> <block type="math_number" id="rR/E/5/qdw]$Ksk^KG6S"> <field name="NUM">1</field> </block> </value> <next> <block type="update" id="P28:J1zz#UST_UKKSsX,"> <mutation delay_input="true"></mutation> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.001Espresso_Anzahl</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">100</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="variables_get" id="gAx6RT/s19[w|OpKt[$N"> <field name="VAR" id="D[*W{b]#:_c~%Pu.I%5}" variabletype="">001Espresso</field> </block> </value> <next> <block type="update" id="?9OsCw2$M74$udAGgPM3"> <mutation delay_input="true"></mutation> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.099Kaffe_gesamt_Anzahl</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">100</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="variables_get" id="~_*E]TI;Rze~R3Sz8=9("> <field name="VAR" id="s[$m,7ui?6*hHbl`yh+}" variabletype="">Kaffee_gesamt</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="controls_if" id="PxxXt5s%|RC,8W/qcIOg"> <value name="IF0"> <block type="logic_compare" id="d.WQ-GjM%9]cggC7JYwm"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="oWpEdqz%XaAgyKLGB0O2"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.000Sorte_aktuell</field> </block> </value> <value name="B"> <block type="text" id="pK%EJ$y6+6|^VVM:^.n6"> <field name="TEXT">Espresso Macchiato</field> </block> </value> </block> </value> <statement name="DO0"> <block type="math_change" id="FT$rK@oKy8a){:P:tUg3"> <field name="VAR" id="g7#V,=Z=$j9{j.lnXe,b" variabletype="">002Espresso_Macchiato</field> <value name="DELTA"> <shadow type="math_number" id="JxTo92sLdc%mcIZR$@z="> <field name="NUM">1</field> </shadow> <block type="math_number" id="2`fjFgD1%hWw(q#q-x[."> <field name="NUM">1</field> </block> </value> <next> <block type="math_change" id="E{}9KhFD=EJoM3WK:c|R"> <field name="VAR" id="s[$m,7ui?6*hHbl`yh+}" variabletype="">Kaffee_gesamt</field> <value name="DELTA"> <shadow type="math_number" id="8xpw=@b.4]ydZ@.VB/RQ"> <field name="NUM">1</field> </shadow> <block type="math_number" id="@6CYlX2Gf]`q^=/S,/yg"> <field name="NUM">1</field> </block> </value> <next> <block type="update" id="9B|hU7l`pducuQj3_RXw"> <mutation delay_input="true"></mutation> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.002EspressoMacchiato_Anzahl</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">100</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="variables_get" id="5ic#NOM]9t1UG)h${1xv"> <field name="VAR" id="g7#V,=Z=$j9{j.lnXe,b" variabletype="">002Espresso_Macchiato</field> </block> </value> <next> <block type="update" id="gctLK4]@cOoWt7E;1R1~"> <mutation delay_input="true"></mutation> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.099Kaffe_gesamt_Anzahl</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">100</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="variables_get" id="hewuroUg_AV~j!N#!c2p"> <field name="VAR" id="s[$m,7ui?6*hHbl`yh+}" variabletype="">Kaffee_gesamt</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="controls_if" id="@XOBGsFomeS9|xXYKzRS"> <value name="IF0"> <block type="logic_compare" id="y.Nsn3A}3/pqW,qxM-dG"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="?Ikk#6EKmTsSo-].v]nD"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.000Sorte_aktuell</field> </block> </value> <value name="B"> <block type="text" id="4~oF7wAKG0mAlvgIH+~N"> <field name="TEXT">Caffe Crema</field> </block> </value> </block> </value> <statement name="DO0"> <block type="math_change" id="6i7uR@gQ,e1e_~X(HZ]K"> <field name="VAR" id="`f:X)n]=2PW1K0B[8yo=" variabletype="">003Caffe_Crema</field> <value name="DELTA"> <shadow type="math_number" id="JxTo92sLdc%mcIZR$@z="> <field name="NUM">1</field> </shadow> <block type="math_number" id="jf%/N8n5U@Jur5*{IrjP"> <field name="NUM">1</field> </block> </value> <next> <block type="math_change" id="g[n$]EgeX.L%mbc*lxP7"> <field name="VAR" id="s[$m,7ui?6*hHbl`yh+}" variabletype="">Kaffee_gesamt</field> <value name="DELTA"> <shadow type="math_number" id="8xpw=@b.4]ydZ@.VB/RQ"> <field name="NUM">1</field> </shadow> <block type="math_number" id="RysgdpntnB!lK%]-3Hru"> <field name="NUM">1</field> </block> </value> <next> <block type="update" id="=dg--cMP*w@_VuCfnD1Z"> <mutation delay_input="true"></mutation> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.003CaffeCrema_Anzahl</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">100</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="variables_get" id="~,|arjXVd.S*$rt}=xzf"> <field name="VAR" id="`f:X)n]=2PW1K0B[8yo=" variabletype="">003Caffe_Crema</field> </block> </value> <next> <block type="update" id="/ArW5P6#l+`Zn+Q1m/e("> <mutation delay_input="true"></mutation> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.099Kaffe_gesamt_Anzahl</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">100</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="variables_get" id="abyryvQ%EC!gI.Aw`V1T"> <field name="VAR" id="s[$m,7ui?6*hHbl`yh+}" variabletype="">Kaffee_gesamt</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="controls_if" id="Gwp`%}oAB15VvrzX/~/x"> <value name="IF0"> <block type="logic_compare" id="/C9F7{FkzQa#=ai=*c)]"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="P:4hO:Kb|SoAh3Ft=xBi"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.000Sorte_aktuell</field> </block> </value> <value name="B"> <block type="text" id="e_JE[Gl~a#pR~McsC8~W"> <field name="TEXT">Cappuccino</field> </block> </value> </block> </value> <statement name="DO0"> <block type="math_change" id="5dhyZ=PH84:V2Q(,zxch"> <field name="VAR" id="F,Rr!uX[[,#cKCEZsNxF" variabletype="">004Cappuccino</field> <value name="DELTA"> <shadow type="math_number" id="JxTo92sLdc%mcIZR$@z="> <field name="NUM">1</field> </shadow> <block type="math_number" id="$_=H@U%8koM%?k0M^8u%"> <field name="NUM">1</field> </block> </value> <next> <block type="math_change" id="DOAGh~Xj4H4Jv^IDJeEb"> <field name="VAR" id="s[$m,7ui?6*hHbl`yh+}" variabletype="">Kaffee_gesamt</field> <value name="DELTA"> <shadow type="math_number" id="8xpw=@b.4]ydZ@.VB/RQ"> <field name="NUM">1</field> </shadow> <block type="math_number" id="ee?(W8!S4.KJx5HP.@O_"> <field name="NUM">1</field> </block> </value> <next> <block type="update" id="6a/L+C0yB[/CI~^%Ib4R"> <mutation delay_input="true"></mutation> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.004Cappuccino_Anzahl</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">100</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="variables_get" id="(vx@I%8oq^Gu__s|f{z-"> <field name="VAR" id="F,Rr!uX[[,#cKCEZsNxF" variabletype="">004Cappuccino</field> </block> </value> <next> <block type="update" id="OQyNn!+iXkV5=|JXt%$?"> <mutation delay_input="true"></mutation> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.099Kaffe_gesamt_Anzahl</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">100</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="variables_get" id="51;(5Utsf1*1CgP!PMph"> <field name="VAR" id="s[$m,7ui?6*hHbl`yh+}" variabletype="">Kaffee_gesamt</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="controls_if" id="D|.3:J;~o#r]5t%}|OS3"> <value name="IF0"> <block type="logic_compare" id="UdhC4!87?E4.Lg9x1P$)"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="^qsgX~{o)E%.ku@l4:]g"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.000Sorte_aktuell</field> </block> </value> <value name="B"> <block type="text" id="z1VRq6_*EfuCEs5xfp@b"> <field name="TEXT">Latte Macchiato</field> </block> </value> </block> </value> <statement name="DO0"> <block type="math_change" id="2C/{ZMWI;91jbNk,BJ@~"> <field name="VAR" id="sWTo2VlYBYX$FU8cGW83" variabletype="">005Latte_Macchiato</field> <value name="DELTA"> <shadow type="math_number" id="JxTo92sLdc%mcIZR$@z="> <field name="NUM">1</field> </shadow> <block type="math_number" id="?#oy~1hgS2#L}:Dc:OA-"> <field name="NUM">1</field> </block> </value> <next> <block type="math_change" id="x!ZCxhcko[vHTsI@^NHb"> <field name="VAR" id="s[$m,7ui?6*hHbl`yh+}" variabletype="">Kaffee_gesamt</field> <value name="DELTA"> <shadow type="math_number" id="8xpw=@b.4]ydZ@.VB/RQ"> <field name="NUM">1</field> </shadow> <block type="math_number" id="{)(D_2{IWO)cXDhW-P^b"> <field name="NUM">1</field> </block> </value> <next> <block type="update" id="sMuLHGlQ%*sagsRO)zCN"> <mutation delay_input="true"></mutation> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.005LatteMacchiato_Anzahl</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">100</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="variables_get" id="BVrNO{5QQ#Eq8ciRKn}y"> <field name="VAR" id="sWTo2VlYBYX$FU8cGW83" variabletype="">005Latte_Macchiato</field> </block> </value> <next> <block type="update" id="|/d{ToA,_*CD:]+}8PRz"> <mutation delay_input="true"></mutation> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.099Kaffe_gesamt_Anzahl</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">100</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="variables_get" id="|ujb-;)AWlm]Sl+ujpD="> <field name="VAR" id="s[$m,7ui?6*hHbl`yh+}" variabletype="">Kaffee_gesamt</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="controls_if" id="@HmnSs%U~JNIt9W)^9v~"> <value name="IF0"> <block type="logic_compare" id="(g,mM#FTcALc7xv:^iXy"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="6JG#8gBo44wt]NZ@~#n2"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.000Sorte_aktuell</field> </block> </value> <value name="B"> <block type="text" id="5n{Y9!dyh=U!xq|38lr,"> <field name="TEXT">Milchkaffee</field> </block> </value> </block> </value> <statement name="DO0"> <block type="math_change" id="F6AA_L`9aw70(0dUWZy!"> <field name="VAR" id="Z4JT}s%P*Rml?oaretp%" variabletype="">006Milchkaffee</field> <value name="DELTA"> <shadow type="math_number" id="JxTo92sLdc%mcIZR$@z="> <field name="NUM">1</field> </shadow> <block type="math_number" id="8Ff(D2!C(pbVwOjbmmhv"> <field name="NUM">1</field> </block> </value> <next> <block type="math_change" id="/`xt,yUKGAlgLJtuv46Z"> <field name="VAR" id="s[$m,7ui?6*hHbl`yh+}" variabletype="">Kaffee_gesamt</field> <value name="DELTA"> <shadow type="math_number" id="8xpw=@b.4]ydZ@.VB/RQ"> <field name="NUM">1</field> </shadow> <block type="math_number" id="k45W?h8OeV]yjONJ7FLo"> <field name="NUM">1</field> </block> </value> <next> <block type="update" id="wkm`#@uS%R|U)S2{nS;Q"> <mutation delay_input="true"></mutation> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.006Milchkaffee_Anzahl</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">100</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="variables_get" id="D`n-4_~P+@(fd8|O%1,1"> <field name="VAR" id="Z4JT}s%P*Rml?oaretp%" variabletype="">006Milchkaffee</field> </block> </value> <next> <block type="update" id="^(sH]9mR.,1I%G/louW8"> <mutation delay_input="true"></mutation> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.099Kaffe_gesamt_Anzahl</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">100</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="variables_get" id="oY_DzjlxrV$alyr#Otmm"> <field name="VAR" id="s[$m,7ui?6*hHbl`yh+}" variabletype="">Kaffee_gesamt</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="controls_if" id="o==47%;Dqwz1ta,^1H+y"> <value name="IF0"> <block type="logic_compare" id="RJv7@)j#Tt6C_(CIH%F."> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="UqMea(Wnb5^7ojDBpc@}"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.000Sorte_aktuell</field> </block> </value> <value name="B"> <block type="text" id="i2qEB-*Ow)JZBK})IeG."> <field name="TEXT">Ristretto</field> </block> </value> </block> </value> <statement name="DO0"> <block type="math_change" id="X]Xhdtd!D~eNF[)|,Ok%"> <field name="VAR" id="$tS-%2$Gx^@%txk:%GUW" variabletype="">007Ristretto</field> <value name="DELTA"> <shadow type="math_number" id="JxTo92sLdc%mcIZR$@z="> <field name="NUM">1</field> </shadow> <block type="math_number" id="XE8/oAS/(D+Kgq!{wB?]"> <field name="NUM">1</field> </block> </value> <next> <block type="math_change" id="N$UN};+e:jf%F$,:arKK"> <field name="VAR" id="s[$m,7ui?6*hHbl`yh+}" variabletype="">Kaffee_gesamt</field> <value name="DELTA"> <shadow type="math_number" id="8xpw=@b.4]ydZ@.VB/RQ"> <field name="NUM">1</field> </shadow> <block type="math_number" id="oJ:NKDP?(xAU3zhGMd$)"> <field name="NUM">1</field> </block> </value> <next> <block type="update" id="/jNP;t|}h)Xwra16eG5Y"> <mutation delay_input="true"></mutation> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.007Ristretto_Anzahl</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">100</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="variables_get" id="w^:eaLn0Ze8goWc)MlzK"> <field name="VAR" id="$tS-%2$Gx^@%txk:%GUW" variabletype="">007Ristretto</field> </block> </value> <next> <block type="update" id="b:IgA,s)pSyk73kv`PUI"> <mutation delay_input="true"></mutation> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.099Kaffe_gesamt_Anzahl</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">100</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="variables_get" id="zW;t+ui9]3VBT|g2WFaD"> <field name="VAR" id="s[$m,7ui?6*hHbl`yh+}" variabletype="">Kaffee_gesamt</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="controls_if" id="=e6@-PZKZC9|+Waz[uf="> <value name="IF0"> <block type="logic_compare" id="b5%ip~K}Uk`9GQCyB=H("> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="C1~{Dbp}:a%BKycuaNxQ"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.000Sorte_aktuell</field> </block> </value> <value name="B"> <block type="text" id="PZ[Rjw%UxIgfRfIFP]8f"> <field name="TEXT">Milchschaum</field> </block> </value> </block> </value> <statement name="DO0"> <block type="math_change" id="ZHo1.T[P:+na8x,b^ZSf"> <field name="VAR" id="`6cpOh3dD@cA{MHw*uLo" variabletype="">008Milchschaum</field> <value name="DELTA"> <shadow type="math_number" id="JxTo92sLdc%mcIZR$@z="> <field name="NUM">1</field> </shadow> <block type="math_number" id="+wMa^.(.jy}{_MpGuCRD"> <field name="NUM">1</field> </block> </value> <next> <block type="math_change" id="j!yV}{yy$05-WZ%y.#T!"> <field name="VAR" id="s[$m,7ui?6*hHbl`yh+}" variabletype="">Kaffee_gesamt</field> <value name="DELTA"> <shadow type="math_number" id="8xpw=@b.4]ydZ@.VB/RQ"> <field name="NUM">1</field> </shadow> <block type="math_number" id="`SZY7vp1hq47(E}78e*v"> <field name="NUM">1</field> </block> </value> <next> <block type="update" id="w-f13H@J_?TE3^)X@b01"> <mutation delay_input="true"></mutation> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.008Milchschaum_Anzahl</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">100</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="variables_get" id="7kPr$Ii[hlLL.,|CW-JY"> <field name="VAR" id="`6cpOh3dD@cA{MHw*uLo" variabletype="">008Milchschaum</field> </block> </value> <next> <block type="update" id="PKIxpy{8l/z8}Hf+Y5zX"> <mutation delay_input="true"></mutation> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.099Kaffe_gesamt_Anzahl</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">100</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="variables_get" id="Hu,}kt%RUCQkA~OHf0h9"> <field name="VAR" id="s[$m,7ui?6*hHbl`yh+}" variabletype="">Kaffee_gesamt</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="controls_if" id="}ncr$tY-[wA,T3YA:UGT"> <value name="IF0"> <block type="logic_compare" id="M3Wt_d@GD.C47DqE9$Z_"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="2u@NE~pXkr%}}^_{r4!6"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.000Sorte_aktuell</field> </block> </value> <value name="B"> <block type="text" id="1|_h0Il~U^H4D]_`hH)B"> <field name="TEXT">Warme Milch</field> </block> </value> </block> </value> <statement name="DO0"> <block type="math_change" id="D-AL38n,b)Pu,ucz_]d/"> <field name="VAR" id="wsqR?`kAq$f_tGVz:2xD" variabletype="">009Warme_Milch</field> <value name="DELTA"> <shadow type="math_number" id="JxTo92sLdc%mcIZR$@z="> <field name="NUM">1</field> </shadow> <block type="math_number" id="wt6Yz?0jK,21/kcE`clw"> <field name="NUM">1</field> </block> </value> <next> <block type="math_change" id="n~D/HndZ%zSjpq(P({8v"> <field name="VAR" id="s[$m,7ui?6*hHbl`yh+}" variabletype="">Kaffee_gesamt</field> <value name="DELTA"> <shadow type="math_number" id="8xpw=@b.4]ydZ@.VB/RQ"> <field name="NUM">1</field> </shadow> <block type="math_number" id="fl1@Ra9LA~jE1tbkbtM%"> <field name="NUM">1</field> </block> </value> <next> <block type="update" id="9#W!_{DhT)*Z#*+x+fzn"> <mutation delay_input="true"></mutation> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.009Warme_Milch_Anzahl</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">100</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="variables_get" id="@Phs!-j+j)1-!EBrKluY"> <field name="VAR" id="wsqR?`kAq$f_tGVz:2xD" variabletype="">009Warme_Milch</field> </block> </value> <next> <block type="update" id="4e?P;xCRHnRci~RSt*$Y"> <mutation delay_input="true"></mutation> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.099Kaffe_gesamt_Anzahl</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">100</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="variables_get" id="9HoOY-GYvtKnf]lf!Eav"> <field name="VAR" id="s[$m,7ui?6*hHbl`yh+}" variabletype="">Kaffee_gesamt</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="controls_if" id="qNt,R2zExj(XY*(2BE0["> <value name="IF0"> <block type="logic_compare" id="gyMi7A%i:-:Yg[WOe4:3"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="9^D}c+8jp4gaeEQYE]6*"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.000Sorte_aktuell</field> </block> </value> <value name="B"> <block type="text" id="o#RWouRha%~M~]|6hb|d"> <field name="TEXT">Kleiner Brauner</field> </block> </value> </block> </value> <statement name="DO0"> <block type="math_change" id="4syy18Km!}oloYpbqDA_"> <field name="VAR" id="[fLK$.T+H:Z63o95=+xL" variabletype="">010Kleiner_Brauner</field> <value name="DELTA"> <shadow type="math_number" id="JxTo92sLdc%mcIZR$@z="> <field name="NUM">1</field> </shadow> <block type="math_number" id="u|oj(cZ4:/q0Gr,;=S2;"> <field name="NUM">1</field> </block> </value> <next> <block type="math_change" id="vhue5niaa.a55m`uu?Un"> <field name="VAR" id="s[$m,7ui?6*hHbl`yh+}" variabletype="">Kaffee_gesamt</field> <value name="DELTA"> <shadow type="math_number" id="8xpw=@b.4]ydZ@.VB/RQ"> <field name="NUM">1</field> </shadow> <block type="math_number" id="{V95|jzKNuN=*=Y%Ojg4"> <field name="NUM">1</field> </block> </value> <next> <block type="update" id="!v0KnmV1!oJpEGgRkfcT"> <mutation delay_input="true"></mutation> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.010Kleiner_Brauner_Anzahl</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">100</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="variables_get" id="bzB?[_8z|GQTpYV~1])V"> <field name="VAR" id="[fLK$.T+H:Z63o95=+xL" variabletype="">010Kleiner_Brauner</field> </block> </value> <next> <block type="update" id="LtUt4Cr;UPURdz1l14MY"> <mutation delay_input="true"></mutation> <field name="OID">0_userdata.0.Bosch.Kaffeemaschine.Kaffeesorte.099Kaffe_gesamt_Anzahl</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">100</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="variables_get" id="T2Bv(lun?-GLG{*r`%kx"> <field name="VAR" id="s[$m,7ui?6*hHbl`yh+}" variabletype="">Kaffee_gesamt</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </xml>
-
@dslraser said in [geloest] Wert eines Objektes nicht auslesbar:
Ich habe diesen einen Datenpunkt von Dir bei mir angelegt, mehr habe ich davon nicht (habe ja diesen Adapter und diese Geräte nicht, wie schon erwähnt)
Umso hefttiger ist es, was Du "mal so" anlegst.
Du würdest das also über viele Abfragen lösen. Mir ging es um eine prinzipielle Frage- ob man eine Datenpunktaktualisierung mittels Blockly auch zusammen bauen kann.
Also statt einem konkreten Datenpunkt, einen Datenpunkt mit "festem" und "variablen" Anteil. So wie ein zusammengesetzter String. Die Datenpunkt könnte man ja vorher fest anlegen und dann je nach Ergebnis der Variable dann ind en richtigen Datenpunkt reinschreiben.
Beispiel:
Datenpunkt 1 - ConsumerProducts.Coffeemaker.Program.Beverage.Espresso
Datenpunkt 2 - ConsumerProducts.Coffeemaker.Program.Beverage.HotWatervia erstelle Text aus.... hat man dann ja rausgefunden dass ein Espresso gemacht wurde:
VariableA = "Espresso"
steuere speak mit "Dein " && Variable A && " ist fertig"
aktualisiere Datenpunkt "0_userdata.0.Kaffemaschine.&&VariableA" mit Wert DP "0_userdata.0.Kaffemaschine.&&VariableA" + 1-> Dadurch würde man 1 generisches Script für alle Kaffeesorten ohne "Falls"-Abfrage schreiben. Also so ein 4-3 Zeiler.
Und hier hat die generelle Frage- würde soetwas mit Blockly gehen?
-
@oberfragger sagte in [geloest] Wert eines Objektes nicht auslesbar:
aktualisiere Datenpunkt "0_userdata.0.Kaffemaschine.&&VariableA" mit Wert DP "0_userdata.0.Kaffemaschine.&&VariableA" + 1
hm....(mal drüber nach denken)
-
irgendwie fehlt mir die Idee...
Ich habe es aktuell mit den ersten zehn Sorten so...Vielleicht willst Du es weiter benutzen. Die aktuelle Sorte lässt sich übrigens mt dem binde Baustein leicht darstellen.
Zeichenbegrenzung im Forum Upload erreicht, deshalb als Textdatei. Bitte herunterladen und mit dem eigenen Editor öffnen und dann den Inhalt kopieren und importieren. Beim direkten kopieren im Browserfenster kann es zu Umlautefehlern kommen.
Kaffee.txt
-
@dslraser Auf jeden Fall danke für Deine Mühe. Wenn Du in HH bist, komm gern rum und wir erhöhen den Kaffeecounter
-
das scheint die Lösung zu sein!? Siehe anderen Thread "String teilen"...