NEWS
Denkfehler bei falls / sonst falls?
-
Hallo,
wollte anhand eines Zahlenwertes Text in einer Tabelle formatieren und einfärben.
Zum testen schreibe ich grad nur die Farbe mit in meine Tabelle.
Leider klappt es nicht wie ich möchte.
Vermutlich verstehe ich den sonst falls Block falsch.....Um zu niedriger der Wert wird desto mehr soll die Farbe von grün zu rot wandern.
Jedoch bekommt jeder Wert die selbe Farbe....


-
Hallo,
wollte anhand eines Zahlenwertes Text in einer Tabelle formatieren und einfärben.
Zum testen schreibe ich grad nur die Farbe mit in meine Tabelle.
Leider klappt es nicht wie ich möchte.
Vermutlich verstehe ich den sonst falls Block falsch.....Um zu niedriger der Wert wird desto mehr soll die Farbe von grün zu rot wandern.
Jedoch bekommt jeder Wert die selbe Farbe....


-
Hallo,
wollte anhand eines Zahlenwertes Text in einer Tabelle formatieren und einfärben.
Zum testen schreibe ich grad nur die Farbe mit in meine Tabelle.
Leider klappt es nicht wie ich möchte.
Vermutlich verstehe ich den sonst falls Block falsch.....Um zu niedriger der Wert wird desto mehr soll die Farbe von grün zu rot wandern.
Jedoch bekommt jeder Wert die selbe Farbe....


@david-g sagte in Denkfehler bei falls / sonst falls?:
Jedoch bekommt jeder Wert die selbe Farbe....
weil der erste zutreffende abgearbeitet wird.
alles ist < -1Dreh die Reihenfolge mal um
-
@david-g sagte in Denkfehler bei falls / sonst falls?:
Jedoch bekommt jeder Wert die selbe Farbe....
weil der erste zutreffende abgearbeitet wird.
alles ist < -1Dreh die Reihenfolge mal um
-
-
@david-g sagte: Die 97 sollte ja orange sein.
Die Farben passen zu den linken Werten. Dort gibt es keine -97.
-
@david-g sagte: Die 97 sollte ja orange sein.
Die Farben passen zu den linken Werten. Dort gibt es keine -97.
Wollt nur mal zeigen, wie die Tabelle fertig aussieht.
Dann weiß man wenigsten wobei man geholfen hat ^^.
Die Farben passe ich ggf. noch was an. Finde es noch was grell....

Anbei das Blockly, falls jemand Interesse hat:
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="m-99+xTe-[}?M:ce,4KM">farbe_rssi_sehr_gut</variable> <variable id="I?IY,pbmgtKHwd9L]VLd">id</variable> <variable id="Zmk|`GjZ2{`sLzc@rUl+">farbe_rssi_gut</variable> <variable id="SKh+R[G%ptX]9uv^hB,!">wahr</variable> <variable id=":27E6``XIu.as%n|a@Cz">farbe_rssi_befriedigend</variable> <variable id=";O,|I4cqK/q|U6dt.?NN">falsch</variable> <variable id="c@gowkI]_G@{;cMP?o|l">farbe_rssi_mangelhaft</variable> <variable id="%62`(Q[9y{,UvP3o}T|/">i</variable> <variable id="RybC/4j[d`XRn6*0/H,n">farbe_rssi_schlecht</variable> <variable id="GI^dumJfw0)4Nzi2HVw`">ParentID</variable> <variable id="bcl|+G6)P$l:,Gn9x$[Q">lowbat</variable> <variable id="sX4P;:Fyd]5~^1a(_}UP">rssi_device</variable> <variable id="}GFg*E7o,B_][D3=0@%_">rssi_peer</variable> <variable id="HxY9T=|.h|4{.1*`d}f1">bat_status</variable> <variable id="9`.L3(5;_hA2PG1ieE!N">farbe_rssi_peer</variable> <variable id="**]r2v*$:Ie`E@sV=S;0">farbe_rssi_device</variable> <variable id="s*7fEH^qAGME5RwpFJDO">ausgabe_rssi_peer</variable> <variable id="fK(5$?AE@2A(J3H-+_v5">ausgabe_rssi_device</variable> </variables> <block type="variables_set" id="*t7V5~/]DZr)Jomvwx^]" x="1288" y="213"> <field name="VAR" id="m-99+xTe-[}?M:ce,4KM">farbe_rssi_sehr_gut</field> <value name="VALUE"> <block type="colour_picker" id="GJopHj7q$QW!@mYtl@ME"> <field name="COLOUR">#33ff33</field> </block> </value> <next> <block type="variables_set" id="203yXfN)h7Gf;eGOJkwH"> <field name="VAR" id="Zmk|`GjZ2{`sLzc@rUl+">farbe_rssi_gut</field> <value name="VALUE"> <block type="colour_picker" id="5Bv(]w.KC`|9Z?OI~aRz"> <field name="COLOUR">#33cc00</field> </block> </value> <next> <block type="variables_set" id="Q-S}n]X8NRaM3}G=9Cs/"> <field name="VAR" id=":27E6``XIu.as%n|a@Cz">farbe_rssi_befriedigend</field> <value name="VALUE"> <block type="colour_picker" id="FP_8tC%#X*beTe7Pfb0@"> <field name="COLOUR">#ffff00</field> </block> </value> <next> <block type="variables_set" id="jM`wFDS7t4N-z`YiHL}m"> <field name="VAR" id="c@gowkI]_G@{;cMP?o|l">farbe_rssi_mangelhaft</field> <value name="VALUE"> <block type="colour_picker" id="HHb(z%EVpH59._bw)dv9"> <field name="COLOUR">#ff9900</field> </block> </value> <next> <block type="variables_set" id="nk.jcyQ`1m2lm};E;()X"> <field name="VAR" id="RybC/4j[d`XRn6*0/H,n">farbe_rssi_schlecht</field> <value name="VALUE"> <block type="colour_picker" id="=w@%f(Ie@nDOIf2z*jME"> <field name="COLOUR">#ff0000</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> <block type="procedures_defcustomreturn" id="S;%2#n?7.W0Cko92rdS9" x="1288" y="412"> <mutation statements="false"> <arg name="id" varid="I?IY,pbmgtKHwd9L]VLd"></arg> </mutation> <field name="NAME">checkBatt</field> <field name="SCRIPT">aWYoZXhpc3RzU3RhdGUoaWQpKSByZXR1cm4gZ2V0U3RhdGUoaWQpLnZhbDsgLy8gZmFsc2UgLyB0cnVlDQpyZXR1cm4gLTE=</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> </block> <block type="procedures_defcustomreturn" id="z1v5P%=uhnATnl`x*fMU" x="1287" y="462"> <mutation statements="false"> <arg name="id" varid="I?IY,pbmgtKHwd9L]VLd"></arg> </mutation> <field name="NAME">GetObjectByID</field> <field name="SCRIPT">cmV0dXJuIGdldE9iamVjdChpZCk7</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> </block> <block type="schedule" id="Fq/18(O7f6[%)j_~l:ST" x="1287" y="537"> <field name="SCHEDULE">* * * * *</field> <statement name="STATEMENT"> <block type="variables_set" id="6P-$X^^=%Y}Ga|2m-glz"> <field name="VAR" id="SKh+R[G%ptX]9uv^hB,!">wahr</field> <value name="VALUE"> <block type="text" id="C@ngEh4Xb903r=BBsDAK"> <field name="TEXT"></field> </block> </value> <next> <block type="variables_set" id="3REeYcDZIIW1=2f!czXs"> <field name="VAR" id=";O,|I4cqK/q|U6dt.?NN">falsch</field> <value name="VALUE"> <block type="text" id="-ud?2C--ut[d:Qk?XvH*"> <field name="TEXT"></field> </block> </value> <next> <block type="controls_forEach" id="fuX0?t}`q26ik90d]-gs"> <field name="VAR" id="%62`(Q[9y{,UvP3o}T|/">i</field> <value name="LIST"> <block type="selector" id="%_*9dXZ9|]7KBP1Y%W@4"> <field name="TEXT">hm-rpc.0.*.0.UNREACH</field> </block> </value> <statement name="DO"> <block type="variables_set" id="p/_H.Q]AMU:yv9KJ4e%}"> <field name="VAR" id="GI^dumJfw0)4Nzi2HVw`">ParentID</field> <value name="VALUE"> <block type="text_getSubstring" id="vK4A(n:9J$;z+Ctsym+7" inline="false"> <mutation at1="true" at2="true"></mutation> <field name="WHERE1">FROM_START</field> <field name="WHERE2">FROM_START</field> <value name="STRING"> <block type="variables_get" id="0FneE0reR[]F{cs1]a/8"> <field name="VAR" id="%62`(Q[9y{,UvP3o}T|/">i</field> </block> </value> <value name="AT1"> <block type="math_number" id="p$Se(4EeE3a#GN+#Sod-"> <field name="NUM">1</field> </block> </value> <value name="AT2"> <block type="math_arithmetic" id="G!vJ5Y|L=!0!zqpz#c;r" inline="false"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="text_indexOf" id="?l(!U$rbxlq(SCV[!SNh" inline="false"> <field name="END">LAST</field> <value name="VALUE"> <block type="variables_get" id="B]=#1xDF@L{tIlO/,./9"> <field name="VAR" id="%62`(Q[9y{,UvP3o}T|/">i</field> </block> </value> <value name="FIND"> <shadow type="text" id="@8HBD+(]H+7T8P/!/PT("> <field name="TEXT">.0.UNREACH</field> </shadow> </value> </block> </value> <value name="B"> <shadow type="math_number" id="3Dv/DU?/5!u_S/k]vyLT"> <field name="NUM">1</field> </shadow> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="d]Tr+rm9oX0n24?7g:Xs"> <field name="VAR" id="bcl|+G6)P$l:,Gn9x$[Q">lowbat</field> <value name="VALUE"> <block type="procedures_callcustomreturn" id="B#MVf5k/g+-I5t-CNAq2"> <mutation name="checkBatt"> <arg name="id"></arg> </mutation> <value name="ARG0"> <block type="text_join" id="C/_Q30a%|TqW7;%L%3C@" inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="variables_get" id="CnjKB;U7]V4Z9vb7x[!5"> <field name="VAR" id="GI^dumJfw0)4Nzi2HVw`">ParentID</field> </block> </value> <value name="ADD1"> <block type="text" id="ib-MAR+QnNYMCrGSF,;i"> <field name="TEXT">.0.LOW_BAT</field> </block> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="d0}ynFzUB+tqfEGnqWy("> <field name="VAR" id="sX4P;:Fyd]5~^1a(_}UP">rssi_device</field> <value name="VALUE"> <block type="procedures_callcustomreturn" id="UJ}ohia}Y[h^zU4o+z(9"> <mutation name="checkBatt"> <arg name="id"></arg> </mutation> <value name="ARG0"> <block type="text_join" id="850gAQTowhRKTwFi~)l7" inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="variables_get" id="1/g,dybzm|Md2f]PMr#e"> <field name="VAR" id="GI^dumJfw0)4Nzi2HVw`">ParentID</field> </block> </value> <value name="ADD1"> <block type="text" id="[BLpKsrq(ntnaw0p0f|j"> <field name="TEXT">.0.RSSI_DEVICE</field> </block> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="(~V%Bt6AgO}idVOIg21q"> <field name="VAR" id="}GFg*E7o,B_][D3=0@%_">rssi_peer</field> <value name="VALUE"> <block type="procedures_callcustomreturn" id="|%:B-3yn22u~mLTqMqi#"> <mutation name="checkBatt"> <arg name="id"></arg> </mutation> <value name="ARG0"> <block type="text_join" id="AUXGE=)k8_3C{sJ4is8I" inline="true"> <mutation items="2"></mutation> <value name="ADD0"> <block type="variables_get" id="rwB|)*_G8w%sg;]vPrY9"> <field name="VAR" id="GI^dumJfw0)4Nzi2HVw`">ParentID</field> </block> </value> <value name="ADD1"> <block type="text" id="2O/kwhGB%EKO[U]ujx6+"> <field name="TEXT">.0.RSSI_PEER</field> </block> </value> </block> </value> </block> </value> <next> <block type="controls_if" id="C{y+=h^x%#R^]A#fLo=x"> <mutation elseif="1" else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="E$R:h9G!D3v:ZMc)1by_"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="Tq4`T8ypoF=ZxE`d?O~s"> <field name="VAR" id="bcl|+G6)P$l:,Gn9x$[Q">lowbat</field> </block> </value> <value name="B"> <block type="logic_boolean" id="soR%izk|ZC5*PI5%4_9m"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id=".VEi|o@71Fv5M4,;_E!d"> <field name="VAR" id="HxY9T=|.h|4{.1*`d}f1">bat_status</field> <value name="VALUE"> <block type="text" id="RO$dD3N}`%2#F*RN,w|b"> <field name="TEXT"><font size="3"><b><font color=red>●</font></field> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_compare" id="(mFU.2`{A~VF$WAoo1S!"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="%PmgH6:aR@KK6Mi+jpo~"> <field name="VAR" id="bcl|+G6)P$l:,Gn9x$[Q">lowbat</field> </block> </value> <value name="B"> <block type="logic_boolean" id="]SfCr%]8;f[NS(q^7~d5"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <statement name="DO1"> <block type="variables_set" id="w.:15]yIgeD]--=:2Ogf"> <field name="VAR" id="HxY9T=|.h|4{.1*`d}f1">bat_status</field> <value name="VALUE"> <block type="text" id="@yxG[|?b07he;%QLyZOS"> <field name="TEXT"><font size="3"><b><font color=green>●</font></field> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="`Al)FX?KgN$XSQF%$wDk"> <field name="VAR" id="HxY9T=|.h|4{.1*`d}f1">bat_status</field> <value name="VALUE"> <block type="text" id="jiiVHYTao6TMu%(RNn~v"> <field name="TEXT"><font size="3"><b><font color=grey>●</font></field> </block> </value> </block> </statement> <next> <block type="controls_if" id="jhWJUaI`uc_o_eN*(,;0"> <mutation elseif="5"></mutation> <value name="IF0"> <block type="logic_compare" id="v_nyy=OHbCGK,t1%I/,t"> <field name="OP">LT</field> <value name="A"> <block type="variables_get" id="1PLlxn%;k1vtsKwBV~*d"> <field name="VAR" id="}GFg*E7o,B_][D3=0@%_">rssi_peer</field> </block> </value> <value name="B"> <block type="math_number" id="|+~:Ffz$E3%omFM}~tGR"> <field name="NUM">-100</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="YxmB5!wQ`2^=%Q}7n32O"> <field name="VAR" id="9`.L3(5;_hA2PG1ieE!N">farbe_rssi_peer</field> <value name="VALUE"> <block type="variables_get" id="Ls{{FE2*fj58/_-S9c/#"> <field name="VAR" id="RybC/4j[d`XRn6*0/H,n">farbe_rssi_schlecht</field> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_compare" id="N8~N5dd8`VJ,SP!!6x{%"> <field name="OP">LT</field> <value name="A"> <block type="variables_get" id="N=5s:A1%?lN-V6{9{.Y;"> <field name="VAR" id="}GFg*E7o,B_][D3=0@%_">rssi_peer</field> </block> </value> <value name="B"> <block type="math_number" id="5GFMLb%P.E{d=)#dO`I;"> <field name="NUM">-85</field> </block> </value> </block> </value> <statement name="DO1"> <block type="variables_set" id="P;Q?^%kj(}3;`hhyQ9#~"> <field name="VAR" id="9`.L3(5;_hA2PG1ieE!N">farbe_rssi_peer</field> <value name="VALUE"> <block type="variables_get" id="*IqH]r~aG9SsaWOT5YNZ"> <field name="VAR" id="c@gowkI]_G@{;cMP?o|l">farbe_rssi_mangelhaft</field> </block> </value> </block> </statement> <value name="IF2"> <block type="logic_compare" id="gaa=sQ,sS8|Q@^Xu;aLx"> <field name="OP">LT</field> <value name="A"> <block type="variables_get" id="S1d41i.:n#F?u6?_+^6z"> <field name="VAR" id="}GFg*E7o,B_][D3=0@%_">rssi_peer</field> </block> </value> <value name="B"> <block type="math_number" id="vB8SNbS+7Do2va7z{250"> <field name="NUM">-75</field> </block> </value> </block> </value> <statement name="DO2"> <block type="variables_set" id="w*Q%@p@Pdb[v[9fn6YxR"> <field name="VAR" id="9`.L3(5;_hA2PG1ieE!N">farbe_rssi_peer</field> <value name="VALUE"> <block type="variables_get" id="d08fNJ)E#!(YHGo1NW~Z"> <field name="VAR" id=":27E6``XIu.as%n|a@Cz">farbe_rssi_befriedigend</field> </block> </value> </block> </statement> <value name="IF3"> <block type="logic_compare" id="(WqDYV3zK-MKfBxvF[cw"> <field name="OP">LT</field> <value name="A"> <block type="variables_get" id="]i(8s4InC!8$MYtg2o)o"> <field name="VAR" id="}GFg*E7o,B_][D3=0@%_">rssi_peer</field> </block> </value> <value name="B"> <block type="math_number" id="_MinxMI(Q.^#]9fgA(G@"> <field name="NUM">-50</field> </block> </value> </block> </value> <statement name="DO3"> <block type="variables_set" id="f!bP.PgoX5%E}{9%WFaF"> <field name="VAR" id="9`.L3(5;_hA2PG1ieE!N">farbe_rssi_peer</field> <value name="VALUE"> <block type="variables_get" id="AVWz;OwJJ@gf.tn;eV6F"> <field name="VAR" id="Zmk|`GjZ2{`sLzc@rUl+">farbe_rssi_gut</field> </block> </value> </block> </statement> <value name="IF4"> <block type="logic_compare" id="WqOU$$WAyu)5,=riN6?H"> <field name="OP">LT</field> <value name="A"> <block type="variables_get" id="B,:1lD*xMw+ofI|W:VkT"> <field name="VAR" id="}GFg*E7o,B_][D3=0@%_">rssi_peer</field> </block> </value> <value name="B"> <block type="math_number" id="J_NM5mV.q$v}(}:/A9rW"> <field name="NUM">-1</field> </block> </value> </block> </value> <statement name="DO4"> <block type="variables_set" id="r[BP+RC#!gj+$ykVL)CI"> <field name="VAR" id="9`.L3(5;_hA2PG1ieE!N">farbe_rssi_peer</field> <value name="VALUE"> <block type="variables_get" id="1;4:U/^;btHtjm%:69#^"> <field name="VAR" id="m-99+xTe-[}?M:ce,4KM">farbe_rssi_sehr_gut</field> </block> </value> </block> </statement> <value name="IF5"> <block type="logic_compare" id="#A}Q[e9ZYO|45Xt33w[x"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="nN/,yd`n)l!3M2ubr6*r"> <field name="VAR" id="}GFg*E7o,B_][D3=0@%_">rssi_peer</field> </block> </value> <value name="B"> <block type="math_number" id="rECV*Z`Wiy.iwCYgM7_/"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO5"> <block type="variables_set" id="E1v9Lg+bi+GFWfRJS%*N"> <field name="VAR" id="9`.L3(5;_hA2PG1ieE!N">farbe_rssi_peer</field> <value name="VALUE"> <block type="text" id="D6(en$4x3^akW@.LMu2o"> <field name="TEXT"></field> </block> </value> </block> </statement> <next> <block type="controls_if" id="Zt`yfj=n)Cj`T,sDuR7-"> <mutation elseif="5"></mutation> <value name="IF0"> <block type="logic_compare" id="NI]8Dkzy0!]SKD8G,zgE"> <field name="OP">LT</field> <value name="A"> <block type="variables_get" id="WP6/FIOX=F7F+++8ZvYs"> <field name="VAR" id="sX4P;:Fyd]5~^1a(_}UP">rssi_device</field> </block> </value> <value name="B"> <block type="math_number" id="5{T32^4kfqaC3FZt~[~L"> <field name="NUM">-100</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="j=6I3@gJrJ%0yN#cuYK0"> <field name="VAR" id="**]r2v*$:Ie`E@sV=S;0">farbe_rssi_device</field> <value name="VALUE"> <block type="variables_get" id="]/vCm$N}Szo%leLi.G42"> <field name="VAR" id="RybC/4j[d`XRn6*0/H,n">farbe_rssi_schlecht</field> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_compare" id="0W{OG.`-lS^04v!HC[=A"> <field name="OP">LT</field> <value name="A"> <block type="variables_get" id="6%/N2L1,i1qX7}#*ftxQ"> <field name="VAR" id="sX4P;:Fyd]5~^1a(_}UP">rssi_device</field> </block> </value> <value name="B"> <block type="math_number" id="5(2ifwBnY5_F@IqM]QJY"> <field name="NUM">-85</field> </block> </value> </block> </value> <statement name="DO1"> <block type="variables_set" id="p)!L5]P%bFZ8IZxcb*T#"> <field name="VAR" id="**]r2v*$:Ie`E@sV=S;0">farbe_rssi_device</field> <value name="VALUE"> <block type="variables_get" id="e%-v*M1b2+N[kO[fmqq."> <field name="VAR" id="c@gowkI]_G@{;cMP?o|l">farbe_rssi_mangelhaft</field> </block> </value> </block> </statement> <value name="IF2"> <block type="logic_compare" id="02S}bc8eRCm)eg-Y)7,T"> <field name="OP">LT</field> <value name="A"> <block type="variables_get" id="ms_iEvko/?BEy3X+oEj_"> <field name="VAR" id="sX4P;:Fyd]5~^1a(_}UP">rssi_device</field> </block> </value> <value name="B"> <block type="math_number" id="qN.0+Mc=mp@Zl!]npAoS"> <field name="NUM">-75</field> </block> </value> </block> </value> <statement name="DO2"> <block type="variables_set" id="A;JI@SG#93@mP)3f-X)d"> <field name="VAR" id="**]r2v*$:Ie`E@sV=S;0">farbe_rssi_device</field> <value name="VALUE"> <block type="variables_get" id="[O_E;HiB)ury,9kHSF=:"> <field name="VAR" id=":27E6``XIu.as%n|a@Cz">farbe_rssi_befriedigend</field> </block> </value> </block> </statement> <value name="IF3"> <block type="logic_compare" id="98n0!+*Y[1-goE^X[gCk"> <field name="OP">LT</field> <value name="A"> <block type="variables_get" id=".i6{gmI(fc/yma:QXv_Y"> <field name="VAR" id="sX4P;:Fyd]5~^1a(_}UP">rssi_device</field> </block> </value> <value name="B"> <block type="math_number" id="zD6#)6X6(K![Q+RY:/0@"> <field name="NUM">-50</field> </block> </value> </block> </value> <statement name="DO3"> <block type="variables_set" id="W7Q[MQe`GTmW=EvZR/CZ"> <field name="VAR" id="**]r2v*$:Ie`E@sV=S;0">farbe_rssi_device</field> <value name="VALUE"> <block type="variables_get" id="^;#]X+~hQxqq2@|ibfvb"> <field name="VAR" id="Zmk|`GjZ2{`sLzc@rUl+">farbe_rssi_gut</field> </block> </value> </block> </statement> <value name="IF4"> <block type="logic_compare" id="*4x);k9gBO%C9`(+QZtT"> <field name="OP">LT</field> <value name="A"> <block type="variables_get" id="u2?}]=W9dqhs=+pC}e+]"> <field name="VAR" id="sX4P;:Fyd]5~^1a(_}UP">rssi_device</field> </block> </value> <value name="B"> <block type="math_number" id="VJz?5a?c.Z4+UESbTZ7T"> <field name="NUM">-1</field> </block> </value> </block> </value> <statement name="DO4"> <block type="variables_set" id="RnY6KvsjgW3mt,5uXc1Q"> <field name="VAR" id="**]r2v*$:Ie`E@sV=S;0">farbe_rssi_device</field> <value name="VALUE"> <block type="variables_get" id="Hs-ySO!zICm!Ef:e5Zcl"> <field name="VAR" id="m-99+xTe-[}?M:ce,4KM">farbe_rssi_sehr_gut</field> </block> </value> </block> </statement> <value name="IF5"> <block type="logic_compare" id="sPTTd/Z{Tpawv8tr~V:T"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="th+2HHZ)MZsIJx}5Np8m"> <field name="VAR" id="sX4P;:Fyd]5~^1a(_}UP">rssi_device</field> </block> </value> <value name="B"> <block type="math_number" id="Ds~X`xB7tR4402SGU6t3"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO5"> <block type="variables_set" id="kzx4AF-=UtCkA}4BTq@6"> <field name="VAR" id="**]r2v*$:Ie`E@sV=S;0">farbe_rssi_device</field> <value name="VALUE"> <block type="text" id="xcW.5fCOQ||tc|$|%yJ="> <field name="TEXT"></field> </block> </value> </block> </statement> <next> <block type="controls_if" id="m*-n_IA.BaWb3#VwF2nY"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="ylHB;iJuy1Y04_g-}@;o"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="5J6M6eP3}0[I4cr8EY.."> <field name="VAR" id="}GFg*E7o,B_][D3=0@%_">rssi_peer</field> </block> </value> <value name="B"> <block type="math_number" id="(/gtN^?(v|YEhWkLs862"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="Dsd(lhg8ZtUhUlfG7,K+"> <field name="VAR" id="s*7fEH^qAGME5RwpFJDO">ausgabe_rssi_peer</field> <value name="VALUE"> <block type="text" id="_{?`)`,|J*6L$oVad}cQ"> <field name="TEXT"> - - - </field> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="nz8uMGn#|S=V2#77ceS8"> <field name="VAR" id="s*7fEH^qAGME5RwpFJDO">ausgabe_rssi_peer</field> <value name="VALUE"> <block type="variables_get" id="*,P@v,(3li1%$%i!q!;:"> <field name="VAR" id="}GFg*E7o,B_][D3=0@%_">rssi_peer</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="nn0Ce}1;m]os?$N[.oP3"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="z00L};1x354Q-*=R$?@["> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="e,Fg)+`IVT8hu9H,{CZV"> <field name="VAR" id="sX4P;:Fyd]5~^1a(_}UP">rssi_device</field> </block> </value> <value name="B"> <block type="math_number" id="=NEY^h4Ex%BcZH]7}Ou{"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="}-H:4ZH1LuFr8XVeQ,7S"> <field name="VAR" id="fK(5$?AE@2A(J3H-+_v5">ausgabe_rssi_device</field> <value name="VALUE"> <block type="text" id="mQZe*QV[iLD-FBWuQ0W#"> <field name="TEXT"> - - - </field> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="3)?b[-h#[IA+]]5;lt/q"> <field name="VAR" id="fK(5$?AE@2A(J3H-+_v5">ausgabe_rssi_device</field> <value name="VALUE"> <block type="variables_get" id="MJvC9~S@1c[7F;*O9opw"> <field name="VAR" id="sX4P;:Fyd]5~^1a(_}UP">rssi_device</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="g-nbdwF9x=u=]7M$s:%Z"> <mutation else="1"></mutation> <value name="IF0"> <block type="get_value_var" id="jiO3F;,An7UAVN/y3-p#"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text"> <field name="TEXT"></field> </shadow> <block type="variables_get" id="T~{fD%oTCL+xAw,zU|+!"> <field name="VAR" id="%62`(Q[9y{,UvP3o}T|/">i</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id=")9~cwqTBbE)LskW~/@uI"> <field name="VAR" id="SKh+R[G%ptX]9uv^hB,!">wahr</field> <value name="VALUE"> <block type="text_join" id="C?.KgWAAyzlP=w|[W#[J"> <mutation items="8"></mutation> <value name="ADD0"> <block type="variables_get" id="7+):RrNG=,HO(ZKpDWY5"> <field name="VAR" id="SKh+R[G%ptX]9uv^hB,!">wahr</field> </block> </value> <value name="ADD1"> <block type="text" id="TEHT|#ZG^(pmbZ7pXVC%"> <field name="TEXT"><tr><td></field> </block> </value> <value name="ADD2"> <block type="get_attr" id="4Zd;;9Y%UUxFI;yCg=}%" inline="false"> <value name="PATH"> <shadow type="text" id="/6=:$d8Obq*Ay!3qKjz6"> <field name="TEXT">common.name</field> </shadow> </value> <value name="OBJECT"> <block type="procedures_callcustomreturn" id="/gnU[I]{z7NP1dM]X)0$"> <mutation name="GetObjectByID"> <arg name="id"></arg> </mutation> <value name="ARG0"> <block type="variables_get" id="WAnOc#4aeemuSfHX}(ey"> <field name="VAR" id="GI^dumJfw0)4Nzi2HVw`">ParentID</field> </block> </value> </block> </value> </block> </value> <value name="ADD3"> <block type="text" id="r@K.wDg@ax]1==b|eE?K"> <field name="TEXT"></td> <td ALIGN="CENTER"><font size="3"><b><font color=red>●</font> </td><td ALIGN="CENTER"></field> </block> </value> <value name="ADD4"> <block type="variables_get" id="#?!ZmMw7u4dI@0TEQG9#"> <field name="VAR" id="HxY9T=|.h|4{.1*`d}f1">bat_status</field> </block> </value> <value name="ADD5"> <block type="text" id="#$2Q8Pk]N]@dBF)MHw5="> <field name="TEXT"></td><td ALIGN="CENTER"></field> </block> </value> <value name="ADD6"> <block type="text_join" id="jUkq]c2sqqoIDuKeUBfL"> <mutation items="11"></mutation> <value name="ADD0"> <block type="text" id="`+-IBXt{3QNjHU7]~?MM"> <field name="TEXT"><font color="</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="K/fA|Uby1197eSYor2,`"> <field name="VAR" id="**]r2v*$:Ie`E@sV=S;0">farbe_rssi_device</field> </block> </value> <value name="ADD2"> <block type="text" id="Uk-=2Y_?2UE|Lthy4hsN"> <field name="TEXT">"></field> </block> </value> <value name="ADD3"> <block type="variables_get" id="nM{om05UeV?#rQVeWYL0"> <field name="VAR" id="fK(5$?AE@2A(J3H-+_v5">ausgabe_rssi_device</field> </block> </value> <value name="ADD4"> <block type="text" id=":`%/Hu=S*ooXEA{J^R;v"> <field name="TEXT"></font></field> </block> </value> <value name="ADD5"> <block type="text" id="nPQ%I7W4+!t/Ajf6z(2L"> <field name="TEXT"> / </field> </block> </value> <value name="ADD6"> <block type="text" id="JX)uCa,e]G.zAc`_4e@v"> <field name="TEXT"><font color="</field> </block> </value> <value name="ADD7"> <block type="variables_get" id="`(O=OXp6X8KU3S(qoCoQ"> <field name="VAR" id="9`.L3(5;_hA2PG1ieE!N">farbe_rssi_peer</field> </block> </value> <value name="ADD8"> <block type="text" id="wrVI8yPP+Pu5z;Wj2kH_"> <field name="TEXT">"></field> </block> </value> <value name="ADD9"> <block type="variables_get" id="Ui1K@n9,g#6xY7DG+.oH"> <field name="VAR" id="9`.L3(5;_hA2PG1ieE!N">farbe_rssi_peer</field> </block> </value> <value name="ADD10"> <block type="text" id="Je7*@~;@PCAfC^P@N^~u"> <field name="TEXT"></font></field> </block> </value> </block> </value> <value name="ADD7"> <block type="text" id=")PcKg(cAfc4$$.Xxn@C:"> <field name="TEXT"></td></tr></field> </block> </value> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="~6_|Zc[ue|X~dBEerSdh"> <field name="VAR" id=";O,|I4cqK/q|U6dt.?NN">falsch</field> <value name="VALUE"> <block type="text_join" id="eaIn|AQS;bPzDxX{h=D/"> <mutation items="8"></mutation> <value name="ADD0"> <block type="variables_get" id="S2NL(M5:wvk$qvo5E0YU"> <field name="VAR" id=";O,|I4cqK/q|U6dt.?NN">falsch</field> </block> </value> <value name="ADD1"> <block type="text" id="+}-tm%Of=MKXG5SD1^$,"> <field name="TEXT"><tr><td></field> </block> </value> <value name="ADD2"> <block type="get_attr" id="hO_XBnYCTT^pVqjz[8#6" inline="false"> <value name="PATH"> <shadow type="text" id="`M(}Xc-,@vW_W~2!qMmn"> <field name="TEXT">common.name</field> </shadow> </value> <value name="OBJECT"> <block type="procedures_callcustomreturn" id=":515-1q.JN;3:!vj,8RH"> <mutation name="GetObjectByID"> <arg name="id"></arg> </mutation> <value name="ARG0"> <block type="variables_get" id="F`AHgeeeD*f$ft[6=8PP"> <field name="VAR" id="GI^dumJfw0)4Nzi2HVw`">ParentID</field> </block> </value> </block> </value> </block> </value> <value name="ADD3"> <block type="text" id="Rxi5iY?z$z-XjD0H6?oO"> <field name="TEXT"></td> <td ALIGN="CENTER"><font size="3"><b><font color=green>●</font> </td><td ALIGN="CENTER"></field> </block> </value> <value name="ADD4"> <block type="variables_get" id="f*r^zVrt.EqM|!s3W*#~"> <field name="VAR" id="HxY9T=|.h|4{.1*`d}f1">bat_status</field> </block> </value> <value name="ADD5"> <block type="text" id="ukdRtA$`cP6F)N8F)Bjf"> <field name="TEXT"></td><td ALIGN="CENTER"></field> </block> </value> <value name="ADD6"> <block type="text_join" id="%]_DV[o;ZxthhIjL|tXP"> <mutation items="11"></mutation> <value name="ADD0"> <block type="text" id="To}#()TQxafUQLWxzlOb"> <field name="TEXT"><font color="</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="9yLsEM?Ar)K|cN^Xr`TJ"> <field name="VAR" id="**]r2v*$:Ie`E@sV=S;0">farbe_rssi_device</field> </block> </value> <value name="ADD2"> <block type="text" id="3gpkn^crJ0fIj(w|{-1w"> <field name="TEXT">"></field> </block> </value> <value name="ADD3"> <block type="variables_get" id="a;m7|`nF0;CO1w,WJTmS"> <field name="VAR" id="fK(5$?AE@2A(J3H-+_v5">ausgabe_rssi_device</field> </block> </value> <value name="ADD4"> <block type="text" id="RgKG}5J+(jN~H*bXK$T7"> <field name="TEXT"></font></field> </block> </value> <value name="ADD5"> <block type="text" id=")e!F8)-aVWgO(cZqwYzs"> <field name="TEXT"> / </field> </block> </value> <value name="ADD6"> <block type="text" id="V$LuHP6#-kbXPd0gBqjs"> <field name="TEXT"><font color="</field> </block> </value> <value name="ADD7"> <block type="variables_get" id=".OtHH6r,Zg5GsfOQNx9)"> <field name="VAR" id="9`.L3(5;_hA2PG1ieE!N">farbe_rssi_peer</field> </block> </value> <value name="ADD8"> <block type="text" id="R/Ovoz2tt*pv)~P3Y9R{"> <field name="TEXT">"></field> </block> </value> <value name="ADD9"> <block type="variables_get" id="XpUm05soym:4jFXBXrJ)"> <field name="VAR" id="s*7fEH^qAGME5RwpFJDO">ausgabe_rssi_peer</field> </block> </value> <value name="ADD10"> <block type="text" id="FNOkRr9ztsw=j25V=I*b"> <field name="TEXT"></font></field> </block> </value> </block> </value> <value name="ADD7"> <block type="text" id="s[EC{kPNg|04cwb_0Z[["> <field name="TEXT"></td></tr></field> </block> </value> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="update" id="MuEluk;ouLIt;jtZ$s_j"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.VIS.Akkumeldungen.hmip_akku_tabelle</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="a|7(}Ei%ImEwZgVR9QlY"> <mutation items="5"></mutation> <value name="ADD0"> <block type="text" id="8R]0wUngZ2{G6d=Umh,`"> <field name="TEXT"><table style="width: 80%;"> <tbody> <tr> <td width=10%><b><font size="3">Gerät</b></td></font> <td ALIGN="CENTER"><b><font size="3">Empf.</td><td ALIGN="CENTER"><b><font size="3">Bat.</td></b><td ALIGN="CENTER"><b><font size="3">RSSI ↑↓</td></b></font> </tr></field> </block> </value> <value name="ADD1"> <block type="text" id="1Jqim6lJl#Vf)3XRd^dv"> <field name="TEXT"><tr> <td colspan="4"> <hr> </dt> </tr></field> </block> </value> <value name="ADD2"> <block type="variables_get" id="SrBTsXMtKA)[Fd[i|C}H"> <field name="VAR" id=";O,|I4cqK/q|U6dt.?NN">falsch</field> </block> </value> <value name="ADD3"> <block type="variables_get" id="^ueYD.{yOys73ekp,upE"> <field name="VAR" id="SKh+R[G%ptX]9uv^hB,!">wahr</field> </block> </value> <value name="ADD4"> <block type="text" id="DP?I5B6L:aME?fM%twD]"> <field name="TEXT"></tbody> </table></field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml>
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden


