NEWS
Verbauchsmessung von Öl/Gas/Wasser... anhand der Laufzeit
-
oelBrennserSkript_MO20220110230427.txt
Hi,durch einen FB Beitrag habe ich mich aus interesse mal wieder mit einem Skript gespielt und dachte mir, dass es der eine oder andere evtl brauchen kann.
Es legt die benötigten Datenpunkte an und errechnet aus der Laufzeit (Diff von Start und Stop) den Verbrauch.
Es gibt jeweils einen Zähler für Laufzeit in Minuten und Verbrauch für:
Tag, Woche, Monat, Jahr und TotalWenn es jemanden hilft, bitte gerne.
LG,
Matthias<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="G5Z%{ppsaZ-?Ud[t`8km">oelVerbrauchMin</variable> <variable id="wuzu`_9*pv!xK9B)TcQG">brennerStart</variable> <variable id="?0{6sN|nz$`+H#V@w=v=">brennerStop</variable> <variable id="oY^C:$:+THsMZ)lBqWOP">brennerRuntimeTemp</variable> </variables> <block type="comment" id="uKOr2@$hEWG!:aa5{,E(" x="87" y="13"> <field name="COMMENT">Datenpunkte für das Skript anlegen</field> <next> <block type="create" id="p=@j#ic%*I/OE=hY,Fx;"> <field name="NAME">0_userdata.0.Brenner.brennerRunTotal</field> <value name="VALUE"> <block type="text" id="*U7/lAC2?D:9`/[7Kq*!"> <field name="TEXT">0</field> </block> </value> <value name="COMMON"> <block type="text" id="Jd,2AF^Dk:Nvs$d2_vw4"> <field name="TEXT">{ "type": "number", "unit": "min" }</field> </block> </value> <next> <block type="create" id="=8`#3*c5PJPYq6mp]Efl"> <field name="NAME">0_userdata.0.Brenner.brennerRuntimeDay</field> <value name="VALUE"> <block type="text" id=";RJwG`C1V9!rUeYhTDcY"> <field name="TEXT">0</field> </block> </value> <value name="COMMON"> <block type="text" id="G1bg{KoSgwzTpua8d{;o"> <field name="TEXT">{ "type": "number", "unit": "min" }</field> </block> </value> <next> <block type="create" id="QPpmGwsAa@A6C_@e@Ev#" inline="true"> <field name="NAME">0_userdata.0.Brenner.brennerRuntimeWeek</field> <value name="VALUE"> <block type="text" id="BBt4o+Ml]:h_/urc@L|C"> <field name="TEXT">0</field> </block> </value> <value name="COMMON"> <block type="text" id="sTd~d,dJZtu`LhzQ51EX"> <field name="TEXT">{ "type": "number", "unit": "min" }</field> </block> </value> <next> <block type="create" id="|,a79t*kaEluj08]}M8_" inline="true"> <field name="NAME">0_userdata.0.Brenner.brennerRuntimeMonth</field> <value name="VALUE"> <block type="text" id="n+_s,JzZe}?2.A1Lqb.A"> <field name="TEXT">0</field> </block> </value> <value name="COMMON"> <block type="text" id="c$ne8Mn9Z`};Y@@.siZx"> <field name="TEXT">{ "type": "number", "unit": "min" }</field> </block> </value> <next> <block type="create" id="]WC%Pd,0V!=Y+i6GPuS7" inline="true"> <field name="NAME">0_userdata.0.Brenner.brennerRuntimeYear</field> <value name="VALUE"> <block type="text" id="*AEcmqoJrB{e%+Vra7eU"> <field name="TEXT">0</field> </block> </value> <value name="COMMON"> <block type="text" id="KC.nGyZo5z9VYj|cR~*?"> <field name="TEXT">{ "type": "number", "unit": "min" }</field> </block> </value> <next> <block type="create" id="]?(X6r1`UBYJ0rhKF?cK" inline="true"> <field name="NAME">0_userdata.0.Brenner.brennerRuntimeYear</field> <value name="VALUE"> <block type="text" id="sqz*1XG;Gp6.S3}?%hnF"> <field name="TEXT">0</field> </block> </value> <value name="COMMON"> <block type="text" id="[{lap9-=88@w4KD2*X=G"> <field name="TEXT">{ "type": "number", "unit": "min" }</field> </block> </value> <next> <block type="create" id="SmL{T@UW3Gg*{jEt6jqS" inline="true"> <field name="NAME">0_userdata.0.Brenner.brennerOilusetotal</field> <value name="VALUE"> <block type="text" id="(!{;kKLl[ka+Cv5Gk-zW"> <field name="TEXT">0</field> </block> </value> <value name="COMMON"> <block type="text" id=".w;jB+ZjOuz)2p}i)@B("> <field name="TEXT">{ "type": "number", "unit": "l" }</field> </block> </value> <next> <block type="create" id="1z[EpPSCrpcf$v[,6$u4" inline="true"> <field name="NAME">0_userdata.0.Brenner.brennerOiluseday</field> <value name="VALUE"> <block type="text" id="021(/wJg={Goy7dJ$~,4"> <field name="TEXT">0</field> </block> </value> <value name="COMMON"> <block type="text" id=":9`)t~_O[u9J;$3%uI~p"> <field name="TEXT">{ "type": "number", "unit": "l" }</field> </block> </value> <next> <block type="create" id="b)|iM4?]e[fD]5@,TYNU" inline="true"> <field name="NAME">0_userdata.0.Brenner.brennerOiluseWeek</field> <value name="VALUE"> <block type="text" id="12jt.Wn|7x=P%`RhBYHp"> <field name="TEXT">0</field> </block> </value> <value name="COMMON"> <block type="text" id="w3f.W,]P*uEF*AT=lSt)"> <field name="TEXT">{ "type": "number", "unit": "l" }</field> </block> </value> <next> <block type="create" id=",lrco2fMAv(rUcUS1;^L" inline="true"> <field name="NAME">0_userdata.0.Brenner.brennerOiluseMonth</field> <value name="VALUE"> <block type="text" id="m94kWI!5S9j$E/S,/:XS"> <field name="TEXT">0</field> </block> </value> <value name="COMMON"> <block type="text" id="DM}:Z=huzLhYozE3vANw"> <field name="TEXT">{ "type": "number", "unit": "l" }</field> </block> </value> <next> <block type="create" id="I@m(NXO|rXJ7NGdj+G^N" inline="true"> <field name="NAME">0_userdata.0.Brenner.brennerOiluseYear</field> <value name="VALUE"> <block type="text" id="]QQ!|}w$mTc8t5o=9Zhb"> <field name="TEXT">0</field> </block> </value> <value name="COMMON"> <block type="text" id="u,PNmpEf-e#Akf?CB8|9"> <field name="TEXT">{ "type": "number", "unit": "l" }</field> </block> </value> <next> <block type="comment" id="bWMcFIc8)33[7s0{$Ms9"> <field name="COMMENT">Errechnung der Laufzeit - Als Objekt ID den Kontakt vom Brenner wählen</field> <next> <block type="on_ext" id=";l5o*c`%(w6F+wujf%3."> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="LMsb!/DOO|tvWFdt5[uI"> <field name="oid">0_userdata.0.example_state</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="OlG51D63D*tlV$LsGn[$"> <mutation else="1"></mutation> <value name="IF0"> <block type="on_source" id="cE4?S8#3@3{-D-dMFJDB"> <field name="ATTR">state.val</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="0NoUdyMGScJ/Ns4:Uh!A"> <field name="VAR" id="wuzu`_9*pv!xK9B)TcQG">brennerStart</field> <value name="VALUE"> <block type="time_get" id="Ln@B#;)hobLi}X2~Q1`Q"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">object</field> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="+g#ir^q8p/Wu!aZcGK5M"> <field name="VAR" id="?0{6sN|nz$`+H#V@w=v=">brennerStop</field> <value name="VALUE"> <block type="time_get" id="`hLOK$(8}vMkgdxYrNuu"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">object</field> </block> </value> <next> <block type="variables_set" id="]q4$XT0WvWk*nwJbSwYq"> <field name="VAR" id="oY^C:$:+THsMZ)lBqWOP">brennerRuntimeTemp</field> <value name="VALUE"> <block type="math_arithmetic" id="G4mV~Uba/MPm@_n^TR~O" inline="false"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="q44g9PO=A@G}.:G.bxf3"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="ih]tU2TfKQoC$7^EB@zc"> <field name="VAR" id="?0{6sN|nz$`+H#V@w=v=">brennerStop</field> </block> </value> <value name="B"> <shadow type="math_number" id="Z*XPv4kDpZUeRa9e)kCq"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="+U2@=Ov1/3cMK9aJ3J:h"> <field name="VAR" id="wuzu`_9*pv!xK9B)TcQG">brennerStart</field> </block> </value> </block> </value> <next> <block type="comment" id=")i5d}Du4t#P1wxKr;Ps;"> <field name="COMMENT">Schreibe den Wert zum Datenpunkt "Totale Laufzeit" inkl. Umrechnung von Millisekunden in Minuten</field> <next> <block type="update" id="M7-qEJ,9ck:7V!}!pyFb" inline="false"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Brenner.brennerRunTotal</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_rndfixed" id="5N9X=l?UplSZ,F)Sz2(|"> <field name="n">2</field> <value name="x"> <shadow type="math_number" id="%p`GQnq+mH/WT$kXyEWd"> <field name="NUM">3.1234</field> </shadow> <block type="math_arithmetic" id="]@G^VI/bC8lD5)r:iQ4Y" inline="false"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="P*#Ge@^4Y9!m`feWCrV@"> <field name="NUM">1</field> </shadow> <block type="get_value" id="WsdWNW)4V}OFkCT(MC^7"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Brenner.brennerRunTotal</field> </block> </value> <value name="B"> <shadow type="math_number" id=".ta{f0T+,vJnJE?q98cd"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="b9P7Rylrc}DIjC$Tyzoa"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="?B/N[%~|X|GkW;}G=*-K"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="b/$-OLBpIQ6}cf[`QO%W"> <field name="VAR" id="oY^C:$:+THsMZ)lBqWOP">brennerRuntimeTemp</field> </block> </value> <value name="B"> <shadow type="math_number" id="90w26OOq^GET([4RFxiZ"> <field name="NUM">60000</field> </shadow> </value> </block> </value> </block> </value> </block> </value> <next> <block type="comment" id="^]lU{*wX}XT{:6bG6$32"> <field name="COMMENT">Kommentar</field> <next> <block type="update" id="0S%J4s;N@6z56v{4?yn:" inline="false"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Brenner.brennerRuntimeDay</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_rndfixed" id="`(Y#DPM74glTKQkZF{Oj"> <field name="n">2</field> <value name="x"> <shadow type="math_number"> <field name="NUM">3.1234</field> </shadow> <block type="math_arithmetic" id="L@iK5#(.nT1EN[A#P]V`" inline="false"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="get_value" id="uD@o34YrT*2En6B;E?3w"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Brenner.brennerRuntimeDay</field> </block> </value> <value name="B"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="{Gu!;m?K^;@7|BvLQ_-Q"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="9Ohu/Q3+nUS#{!fKJRDo"> <field name="VAR" id="oY^C:$:+THsMZ)lBqWOP">brennerRuntimeTemp</field> </block> </value> <value name="B"> <shadow type="math_number" id="aCv!fY=Nn6b=0hDRGxsS"> <field name="NUM">60000</field> </shadow> </value> </block> </value> </block> </value> </block> </value> <next> <block type="update" id="56bE4k9:Q=b74l:P)aHn" inline="false"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Brenner.brennerRuntimeWeek</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_rndfixed" id="09=L2~]n0m!(;b@OBJ;F"> <field name="n">2</field> <value name="x"> <shadow type="math_number"> <field name="NUM">3.1234</field> </shadow> <block type="math_arithmetic" id="=!6ra;M/b*k(Q*6S!boh" inline="false"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="get_value" id="*7NN{{Jp!A;zg3k6{c+p"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Brenner.brennerRuntimeWeek</field> </block> </value> <value name="B"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="C.hsaE79B%${jOVOHJxL"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="N.EAgWZ:MydDd%tW@dvS"> <field name="VAR" id="oY^C:$:+THsMZ)lBqWOP">brennerRuntimeTemp</field> </block> </value> <value name="B"> <shadow type="math_number" id="A{fd:#q~eQyf3#|CZ|.R"> <field name="NUM">60000</field> </shadow> </value> </block> </value> </block> </value> </block> </value> <next> <block type="update" id=")LAA1sRz?XIEV6+iosYw" inline="false"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Brenner.brennerRuntimeMonth</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_rndfixed" id="eda#8@6x-xcfljtmPJgx"> <field name="n">2</field> <value name="x"> <shadow type="math_number"> <field name="NUM">3.1234</field> </shadow> <block type="math_arithmetic" id="^7(??Y6])dtFI|T+mvD_" inline="false"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="get_value" id=".9KU!L=3r5$xVwYW-uS2"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Brenner.brennerRuntimeMonth</field> </block> </value> <value name="B"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="F^,q}N{]$PPI|.A1%fdn"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="variables_get" id=",RH+8{IZ~69`kWoF+.)}"> <field name="VAR" id="oY^C:$:+THsMZ)lBqWOP">brennerRuntimeTemp</field> </block> </value> <value name="B"> <shadow type="math_number" id="8~:/(y7?2,Uovl9YEncO"> <field name="NUM">60000</field> </shadow> </value> </block> </value> </block> </value> </block> </value> <next> <block type="update" id="fPQUq,nx7}qWY^CA?g;_" inline="false"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Brenner.brennerRuntimeYear</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_rndfixed" id="EBU3=rxUPxVr9C*i2Pg7"> <field name="n">2</field> <value name="x"> <shadow type="math_number"> <field name="NUM">3.1234</field> </shadow> <block type="math_arithmetic" id="i}MAtpco/||H:#vxMwA[" inline="false"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="get_value" id="U90C}DNu-J#mt}KI{*)q"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Brenner.brennerRuntimeYear</field> </block> </value> <value name="B"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="z^||0O?XF%{`G}?`WS~y"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="cILl@$LRNh)1}ya,f2rZ"> <field name="VAR" id="oY^C:$:+THsMZ)lBqWOP">brennerRuntimeTemp</field> </block> </value> <value name="B"> <shadow type="math_number" id="?LTHXEMuIJ]e7PVl`hzz"> <field name="NUM">60000</field> </shadow> </value> </block> </value> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> <block type="comment" id="4|2QzGcg;$x96WQQ##j@" x="-638" y="888"> <field name="COMMENT">Die einzelnen Zähler werden zurückgesetzt</field> <next> <block type="comment" id="nWQ%4*kzhA~d/QP4zV[z"> <field name="COMMENT">Jeden Tag um 0:00 wird der Tagzähler auf 0 gesetzt</field> <next> <block type="schedule" id="lMdbn81]%Czr`P3nO?eH"> <field name="SCHEDULE">0 0 * * *</field> <statement name="STATEMENT"> <block type="update" id="XDt$S|xBg0u.Y3g#KP|6"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Brenner.brennerRuntimeDay</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="C=9[cm7f*)eZ6fW_z*6J"> <field name="NUM">0</field> </block> </value> <next> <block type="update" id="K^Y2{wPyRnuUqng#CvW="> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Brenner.brennerOiluseday</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="(`eLvlADo_roJ6@h}n$K"> <field name="NUM">0</field> </block> </value> </block> </next> </block> </statement> <next> <block type="comment" id="s4@l{F~`]8]+HJU]75oY"> <field name="COMMENT">Jeden Montag um 0:00 wird der Wochenzähler auf 0 gesetzt</field> <next> <block type="schedule" id="lNyy%D=!1@^fB)A0[a~%"> <field name="SCHEDULE">0 0 * * 1</field> <statement name="STATEMENT"> <block type="update" id="v0^Ab/Ifl[F)=tkFfRx@"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Brenner.brennerRuntimeWeek</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="=~izU!Yeh#{=okaKDXF{"> <field name="NUM">0</field> </block> </value> <next> <block type="update" id="nu9B9S=[p^#9R?0NQwp]"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Brenner.brennerOiluseWeek</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="Y6CVmJ_i`K,7.aRpb4Xp"> <field name="NUM">0</field> </block> </value> </block> </next> </block> </statement> <next> <block type="comment" id="HPTlLaq^$GHfwsm(v^63"> <field name="COMMENT">Jeden 1. im Montag um 0:00 wird der Monatzähler auf 0 gesetzt</field> <next> <block type="schedule" id="-##;~J6o=74K[_+dVaDI"> <field name="SCHEDULE">0 0 1 * *</field> <statement name="STATEMENT"> <block type="update" id="yA/8-i@XZwiX:P]p|J?C"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Brenner.brennerRuntimeMonth</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="/L%+FX8po_%1^F0,UD|I"> <field name="NUM">0</field> </block> </value> <next> <block type="update" id="BHvmfb8wX=4.$.oNav+z"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Brenner.brennerOiluseMonth</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="1Rtc/Mpg|NLDbUoG+~GA"> <field name="NUM">0</field> </block> </value> </block> </next> </block> </statement> <next> <block type="comment" id="xzBzr[6Pc!:sMvw!.qqG"> <field name="COMMENT">Jedes Jahr am 01.01. um 0:00 wird der Jahreszähler auf 0 gesetzt</field> <next> <block type="schedule" id="6r`hm^1qHbn,DQQkJ.aC"> <field name="SCHEDULE">0 0 1 1 *</field> <statement name="STATEMENT"> <block type="update" id="/o,b1v.fSl2obYjIe~d["> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Brenner.brennerRuntimeYear</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="Yt#%D5i}QU,U}|JEP#)9"> <field name="NUM">0</field> </block> </value> <next> <block type="update" id="@7/ieU=t!hY]/0@iSj;Y"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Brenner.brennerOiluseYear</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="rOj7sQN.UvsYYGk70y4`"> <field name="NUM">0</field> </block> </value> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> <block type="comment" id="w@udjrtRN)fVJpg!mJCR" x="1387" y="1012"> <field name="COMMENT">Errechnen der Verbrauchs</field> <next> <block type="on_ext" id="?yZoWLpKM;mcEBU9SAa@"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="+]bhP8HIH2!VAjAM*;VM"> <field name="oid">0_userdata.0.Brenner.brennerRunTotal</field> </shadow> </value> <statement name="STATEMENT"> <block type="comment" id="N{(RD=;1D:A9tp]*Wvg~"> <field name="COMMENT">Wert einsetzen, wieviel Liter in der Minute verbraucht werden</field> <next> <block type="variables_set" id=",G!=h/Q$-aAYX^(73A1;"> <field name="VAR" id="G5Z%{ppsaZ-?Ud[t`8km">oelVerbrauchMin</field> <value name="VALUE"> <block type="math_number" id="vG^lh{()D?k#fPVHoM05"> <field name="NUM">0.025</field> </block> </value> <next> <block type="comment" id="v;[]F}m45J9GhjGacIVS"> <field name="COMMENT">Hier wird der Verbrauch errechnet</field> <next> <block type="update" id="C6pYuK#|,J1@(cA5=(HC"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Brenner.brennerOilusetotal</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_rndfixed" id="+~UDmeJ}k/Mdo%yNA}kz" inline="false"> <field name="n">2</field> <value name="x"> <shadow type="math_number"> <field name="NUM">3.1234</field> </shadow> <block type="math_arithmetic" id="}57q=BD(Unp+_uRK!7|?" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="(j%v$lpsUc^G/##?)c$0"> <field name="NUM">1</field> </shadow> <block type="on_source" id=",~qu@[EIIW}U=z0XF6V)"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <shadow type="math_number" id="1mydZk:@_py$71#i|U)I"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="cJilL0Afm^Il8b_!/F[!"> <field name="VAR" id="G5Z%{ppsaZ-?Ud[t`8km">oelVerbrauchMin</field> </block> </value> </block> </value> </block> </value> <next> <block type="update" id="0nIWn^6QAT$PV(eu5qU*"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Brenner.brennerOiluseday</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_rndfixed" id="XQZsX@c?M6frH0o{SCuE" inline="false"> <field name="n">2</field> <value name="x"> <shadow type="math_number"> <field name="NUM">3.1234</field> </shadow> <block type="math_arithmetic" id="-`FDZZkwovp3Gn^QV6]=" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="-:A6Z13:A%$5+zUMig1{"> <field name="NUM">1</field> </shadow> <block type="get_value" id="3;MOfMhS.@DFt^A8ZiP`"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Brenner.brennerRuntimeDay</field> </block> </value> <value name="B"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="DY1Qc|rYK!2A$:g#Mxgo"> <field name="VAR" id="G5Z%{ppsaZ-?Ud[t`8km">oelVerbrauchMin</field> </block> </value> </block> </value> </block> </value> <next> <block type="update" id="#}[(MXI,-QC[o|5WSffC"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Brenner.brennerOiluseWeek</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_rndfixed" id="S^Jx|j0J`V{$fd+b?IE=" inline="false"> <field name="n">2</field> <value name="x"> <shadow type="math_number"> <field name="NUM">3.1234</field> </shadow> <block type="math_arithmetic" id="QnkYbB#UM^8ijFB^7eK=" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="zI}7db2n!X!;;AGEWDNf"> <field name="NUM">1</field> </shadow> <block type="get_value" id="GoNRQ({HutmVw:.E*gJE"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Brenner.brennerRuntimeWeek</field> </block> </value> <value name="B"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="q)Z=k;%V+YVjJ?!8wul_"> <field name="VAR" id="G5Z%{ppsaZ-?Ud[t`8km">oelVerbrauchMin</field> </block> </value> </block> </value> </block> </value> <next> <block type="update" id="LRk,iR8:F0K.K1!uIzl|"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Brenner.brennerOiluseMonth</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_rndfixed" id="%sRddj{K-ti[;$1a(*[K" inline="false"> <field name="n">2</field> <value name="x"> <shadow type="math_number"> <field name="NUM">3.1234</field> </shadow> <block type="math_arithmetic" id="Y4XF21-}RdwQ_]G|DUQU" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="get_value" id="Q42c[.Kra!Y;9b2]^WzI"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Brenner.brennerRuntimeMonth</field> </block> </value> <value name="B"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="YC0rK~H;zds-`NyJzxt_"> <field name="VAR" id="G5Z%{ppsaZ-?Ud[t`8km">oelVerbrauchMin</field> </block> </value> </block> </value> </block> </value> <next> <block type="update" id="(T%Lwnf2?F!*I0bP606]"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Brenner.brennerOiluseYear</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_rndfixed" id="`8n)3hnA@(f+h;wWJneq" inline="false"> <field name="n">2</field> <value name="x"> <shadow type="math_number"> <field name="NUM">3.1234</field> </shadow> <block type="math_arithmetic" id="~!hi[IRslc0[2E8wm{Mx" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="get_value" id="rWf~hqRh9m?~U(m25#Kz"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Brenner.brennerRuntimeYear</field> </block> </value> <value name="B"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="+b24z?Tf}bm`2DtgzQ[J"> <field name="VAR" id="G5Z%{ppsaZ-?Ud[t`8km">oelVerbrauchMin</field> </block> </value> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </xml>