Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <block xmlns="https://developers.google.com/blockly/xml" type="on" id="7,@y(!A48~%qoPM*5*KZ" x="13" y="13">
- <field name="OID">klipper-moonraker.0.display_status.progress</field>
- <field name="CONDITION">ne</field>
- <field name="ACK_CONDITION"></field>
- <statement name="STATEMENT">
- <block type="controls_if" id="w.$}Ytt46ptPsn7SA1Q#">
- <value name="IF0">
- <block type="logic_compare" id="iZ6Zt;bc4x3iYpP)RVi-">
- <field name="OP">GT</field>
- <value name="A">
- <block type="get_value_var" id="8RK^4(%slD!rOF9YhonF">
- <field name="ATTR">val</field>
- <value name="OID">
- <shadow type="field_oid" id="Wm24HwwzJXcoca]k86Ay">
- <field name="oid">ID auswählen</field>
- </shadow>
- <block type="field_oid" id="SA-cPNnd+x{eZS,)4BVA">
- <field name="oid">klipper-moonraker.0.print_stats.print_duration</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="9cyR?Dhx/-,6F!R8REsa">
- <field name="NUM">0</field>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO0">
- <block type="debug" id="^QAdPc=eQxAZtB-s6g7T">
- <field name="Severity">info</field>
- <value name="TEXT">
- <shadow type="text" id="S;tfx73~8CzKN9G3]gI@">
- <field name="TEXT"></field>
- </shadow>
- <block type="text_join" id="_Ojds@)j[PO=Y^~:r;M7">
- <mutation items="3"></mutation>
- <value name="ADD0">
- <block type="text" id="fgT**uE^aqVbjk1QdBQ8">
- <field name="TEXT">Restzeit: </field>
- </block>
- </value>
- <value name="ADD1">
- <block type="logic_ternary" id="L{h}Dm(H+S_MN4omN@V7">
- <value name="IF">
- <block type="logic_compare" id="8QD{DHLI^_dpegdIz?PA">
- <field name="OP">LT</field>
- <value name="A">
- <block type="on_source" id="^XP*k]rX9P6;y4LfmV]7">
- <field name="ATTR">state.val</field>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id=",C_q-q8zC0L?px(FvW#0">
- <field name="NUM">1</field>
- </block>
- </value>
- </block>
- </value>
- <value name="THEN">
- <block type="math_round" id="FeC]wp]WSt/e11C#OoUy">
- <field name="OP">ROUND</field>
- <value name="NUM">
- <shadow type="math_number" id="Z=-=g5Q)u!ivWO`o%OLq">
- <field name="NUM">0</field>
- </shadow>
- <block type="math_arithmetic" id="YIjYj(!Gp+vC98nF7K[W">
- <field name="OP">DIVIDE</field>
- <value name="A">
- <shadow type="math_number" id="MK/M3[.SydM2S/wgTJl=">
- <field name="NUM">0</field>
- </shadow>
- <block type="math_arithmetic" id="z!KYylbQ+nPppG`]1}kT">
- <field name="OP">MULTIPLY</field>
- <value name="A">
- <shadow type="math_number" id="h!v]{L-{S3=n*Ne7QIUv">
- <field name="NUM">0</field>
- </shadow>
- <block type="math_arithmetic" id="~=*B{kXJsbv,Dh8KloC{">
- <field name="OP">MINUS</field>
- <value name="A">
- <shadow type="math_number" id="UJAuPp!$Z}#wjcxI%nfQ">
- <field name="NUM">1</field>
- </shadow>
- </value>
- <value name="B">
- <shadow type="math_number" id="HzL-=_3+shVeO$K5{1ty">
- <field name="NUM">0</field>
- </shadow>
- <block type="on_source" id="Zzbq(,g$g~[30x*K#+GX">
- <field name="ATTR">state.val</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <shadow type="math_number" id="Ps[;3hren!+6@LC+,je%">
- <field name="NUM">0</field>
- </shadow>
- <block type="get_value_var" id="YCnDC^Vt/scaZD.z7KyT">
- <field name="ATTR">val</field>
- <value name="OID">
- <shadow type="field_oid" id="Wm24HwwzJXcoca]k86Ay">
- <field name="oid">ID auswählen</field>
- </shadow>
- <block type="field_oid" id="i%fh13Nvm*zj0h3f3ue~">
- <field name="oid">klipper-moonraker.0.print_stats.print_duration</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <shadow type="math_number" id="08Zylz_xd4.OD{i^*B20">
- <field name="NUM">0</field>
- </shadow>
- <block type="on_source" id="KwxcMWcJMa_D5J;;*L%8">
- <field name="ATTR">state.val</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <value name="ELSE">
- <block type="math_number" id="srB[%ncZ{3q5%c+u/,+}">
- <field name="NUM">0</field>
- </block>
- </value>
- </block>
- </value>
- <value name="ADD2">
- <block type="text" id="CE}]h}%cjGev$#6?Pg1V">
- <field name="TEXT"> Sekunden</field>
- </block>
- </value>
- </block>
- </value>
- <next>
- <block type="debug" id="JtGRqbU:Y*Z?4kZn-ry)">
- <field name="Severity">info</field>
- <value name="TEXT">
- <shadow type="text" id="@1P/@5cgx+_wBvnLXCcd">
- <field name="TEXT"></field>
- </shadow>
- <block type="text_join" id="5$h=dqaTsjJEtx#f#6=a">
- <mutation items="3"></mutation>
- <value name="ADD0">
- <block type="text" id="5M0q3:qRsXjc9P|VH(bk">
- <field name="TEXT">Endzeit: </field>
- </block>
- </value>
- <value name="ADD1">
- <block type="convert_from_date" id="tZ?~D~UET.}P=GC6Plw,">
- <mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
- <field name="OPTION">custom</field>
- <field name="FORMAT">TT.MM.JJJJ SS:mm</field>
- <value name="VALUE">
- <block type="math_arithmetic" id="(w7owuFw^mT;_5*LqT~p">
- <field name="OP">ADD</field>
- <value name="A">
- <shadow type="math_number" id="vf;b6clYz{xA5t_-=+EC">
- <field name="NUM">0</field>
- </shadow>
- <block type="time_get" id="_hV9=C{[2:eLd#,w^4,8">
- <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
- <field name="OPTION">object</field>
- </block>
- </value>
- <value name="B">
- <shadow type="math_number" id="{n)x9#X4TIc`B0co+yH-">
- <field name="NUM">0</field>
- </shadow>
- <block type="logic_ternary" id="_I+3Spi3KfugtUvc[{@@">
- <value name="IF">
- <block type="logic_compare" id="3r:z3)wD6PiuS3=)~Ahl">
- <field name="OP">LT</field>
- <value name="A">
- <block type="on_source" id="q5|v:[trdy}yymRuyPWk">
- <field name="ATTR">state.val</field>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="/R]M+{BiT?iK){ENesa3">
- <field name="NUM">1</field>
- </block>
- </value>
- </block>
- </value>
- <value name="THEN">
- <block type="math_round" id="mCwxq+Ut9-)9:Pb.y!-o">
- <field name="OP">ROUND</field>
- <value name="NUM">
- <shadow type="math_number" id="Z=-=g5Q)u!ivWO`o%OLq">
- <field name="NUM">0</field>
- </shadow>
- <block type="math_arithmetic" id="#r!@|gE*-NCl4.u|G5,)">
- <field name="OP">MULTIPLY</field>
- <value name="A">
- <shadow type="math_number" id=".JmFk,k5nW_0YYQ;B!Bc">
- <field name="NUM">0</field>
- </shadow>
- <block type="math_arithmetic" id="x=6L|_i]k]AeQD%q5.*Y">
- <field name="OP">DIVIDE</field>
- <value name="A">
- <shadow type="math_number" id="MK/M3[.SydM2S/wgTJl=">
- <field name="NUM">0</field>
- </shadow>
- <block type="math_arithmetic" id="tZoeuq=lkVb^R60F!5Mx">
- <field name="OP">MULTIPLY</field>
- <value name="A">
- <shadow type="math_number" id="h!v]{L-{S3=n*Ne7QIUv">
- <field name="NUM">0</field>
- </shadow>
- <block type="math_arithmetic" id="}{j#wU.dQ$IrRv#@V%+/">
- <field name="OP">MINUS</field>
- <value name="A">
- <shadow type="math_number" id="yM%#0(}:)42RL94^_gW[">
- <field name="NUM">1</field>
- </shadow>
- </value>
- <value name="B">
- <shadow type="math_number" id="HzL-=_3+shVeO$K5{1ty">
- <field name="NUM">0</field>
- </shadow>
- <block type="on_source" id="a[sAt[bg?%aN3Z1)Sdh8">
- <field name="ATTR">state.val</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <shadow type="math_number" id="Ps[;3hren!+6@LC+,je%">
- <field name="NUM">0</field>
- </shadow>
- <block type="get_value_var" id="KrEwU[:F}XWe=SCItu(M">
- <field name="ATTR">val</field>
- <value name="OID">
- <shadow type="field_oid" id="Wm24HwwzJXcoca]k86Ay">
- <field name="oid">ID auswählen</field>
- </shadow>
- <block type="field_oid" id="l;i$EGk;#}{VP++BswFt">
- <field name="oid">klipper-moonraker.0.print_stats.print_duration</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <shadow type="math_number" id="08Zylz_xd4.OD{i^*B20">
- <field name="NUM">0</field>
- </shadow>
- <block type="on_source" id="(dm[^+6Mt0D*7ezItUlp">
- <field name="ATTR">state.val</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <shadow type="math_number" id="P$TQ#jS(@)j|MT:e{McA">
- <field name="NUM">1000</field>
- </shadow>
- </value>
- </block>
- </value>
- </block>
- </value>
- <value name="ELSE">
- <block type="math_number" id="9F=Z_|o(^7OMRd1a/x!+">
- <field name="NUM">0</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <value name="ADD2">
- <block type="text" id="1M^6Qr::|CW3IRWh{BJv">
- <field name="TEXT"> Uhr</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </statement>
- </block>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement