1 line
9.6 KiB
XML
1 line
9.6 KiB
XML
<xml version="Mixly 2.0 Beta11" board="MixGo" xmlns="http://www.w3.org/1999/xhtml"><block type="variables_set" id="YUVXBvPKHc}$f0.Yo+y}" x="75" y="-56"><field name="VAR">密码</field><value name="VALUE"><block type="text" id="]FIgg{L.1C^[B`RPBGPb"><field name="TEXT">1234</field></block></value><next><block type="variables_set" id="GeUmdK4N30`QgM61!3eq"><field name="VAR">数字</field><value name="VALUE"><block type="math_number" id="1ij+))7}[oy=$lDBYL5q"><field name="NUM">0</field></block></value><next><block type="variables_set" id="yo1v8b(/;ugIsk@hNpu/"><field name="VAR">输入密码</field><value name="VALUE"><block type="text" id="+AmiEp}4||Ar(8zj}102"><field name="TEXT"></field></block></value><next><block type="variables_set" id="V#J*IG*3eaw{QV`cXdfw"><field name="VAR">状态</field><value name="VALUE"><block type="logic_boolean" id="tCTVIl=b??-=87hBUXlV"><field name="BOOL">FALSE</field></block></value><next><block type="controls_whileUntil" id="@y^FKl0[+-]G}8G{nx:?"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="js=TIr4|~|0Uma4L.B0U"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="display_show_static" id="c$X}t7%@iBMIo86`@[wj"><value name="data"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="OhiBn,ZLO32}H-fE1[7E"><field name="TEXT">abc</field></shadow><block type="number_to_text" id="(te(]pm9zRx[B5-5ojJA"><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id=")Hw4^bt{rbjGj6Gz0!6X"><field name="NUM">0</field></shadow><block type="variables_get" id=")6)yiJdlmHBYw)u}Cm15"><field name="VAR">数字</field></block></value></block></value><next><block type="variables_set" id="o`U:Vr__yN450cEZu!a;"><field name="VAR">光照强度</field><value name="VALUE"><block type="sensor_mixgo_light" id="?iI%rYiVXE/n6;#q?fvQ"></block></value><next><block type="system_print" id="}nF`=un6n|p}/~23ZbO!"><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="8N@W7E}?@0W:,byOBma="><field name="TEXT">Mixly</field></shadow><block type="variables_get" id=".([V,xGz1lDp1F?q^r7@"><field name="VAR">状态</field></block></value><next><block type="controls_if" id="!q]eAREAmnci)5$,WIl["><value name="IF0"><block type="logic_compare" id="S}q0wC~=~]62-*qLrf!$"><field name="OP">GT</field><value name="A"><block type="variables_get" id="?3qdr9aL`))!(O-^DTUA"><field name="VAR">光照强度</field></block></value><value name="B"><block type="math_number" id="cDqGj4h,,l6Sp0:p~*-l"><field name="NUM">2000</field></block></value></block></value><statement name="DO0"><block type="system_print" id="gd})]*t0KO14y5|?B@r."><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="r*n1=DBOD|`e@LwzOM%="><field name="TEXT">Mixly</field></shadow><block type="variables_get" id="?52#WP0?v%{Rw!b9djUS"><field name="VAR">光照强度</field></block></value><next><block type="variables_set" id="^7Ikf.S1~Q-OVUIZ32fB"><field name="VAR">状态</field><value name="VALUE"><block type="logic_boolean" id="LGw9T%,SZ30H5wcdlj){"><field name="BOOL">TRUE</field></block></value><next><block type="controls_whileUntil" id="gmKtwA6%-RrI92EznKP}"><field name="MODE">WHILE</field><value name="BOOL"><shadow xmlns="http://www.w3.org/1999/xhtml" type="logic_boolean" id="alp1ok^JBNe#px-:fbF:"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="ejJv6vjeUnOIqXI}_UG("><field name="OP">EQ</field><value name="A"><block type="variables_get" id="#W=r.$Z841db/m?L,@QH"><field name="VAR">状态</field></block></value><value name="B"><block type="logic_boolean" id="cg0?{cF4(h;67;L_O/e9"><field name="BOOL">TRUE</field></block></value></block></value><statement name="DO"><block type="controls_if" id="uX%YJ`Duks]Is9PBx)+*"><value name="IF0"><block type="sensor_mixgo_button_was_pressed" id="cf+aD(K_TibYk2!qtJ%#"><value name="btn"><shadow type="pins_button" id="kH-,f#sy9D/frp.0ofh~"><field name="PIN">button_a</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="Q1Aj~i0^fQ%/ns-vm.Ma"><field name="VAR">数字</field><value name="VALUE"><block type="math_arithmetic" id="H^BB4+RZ;}9.ZMn@DlU2"><field name="OP">ADD</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="ps.OS:+h`Jhj(FpbP,!."><field name="NUM">1</field></shadow><block type="variables_get" id="l`Qow!64a|djL^+HlCFs"><field name="VAR">数字</field></block></value><value name="B"><shadow type="math_number" id="IQQMmc2B(JyOWoPp|=0~"><field name="NUM">1</field></shadow></value></block></value><next><block type="controls_if" id="[4PD[y[e_vEP1i+CwGB]"><value name="IF0"><block type="logic_compare" id="Gi:cq{2a_MLCV=:vX*.#"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="Ka/-deH)1#Itc+FA}XK5"><field name="VAR">数字</field></block></value><value name="B"><block type="math_number" id="5H,zDy7XEL)f-Z[^i(n|"><field name="NUM">10</field></block></value></block></value><statement name="DO0"><block type="variables_set" id="KYsv,p[*11-m5PuTNV`Q"><field name="VAR">数字</field><value name="VALUE"><block type="math_number" id="o~(F3bBLQhAbTk^X6=6P"><field name="NUM">0</field></block></value></block></statement></block></next></block></statement><next><block type="controls_if" id="B:k2WgG`_{`AXN;¸.W"><value name="IF0"><block type="sensor_mixgo_button_was_pressed" id="v-,61To{UPAYy3lq·P"><value name="btn"><shadow type="pins_button" id="g+pt}y3+p!5Ca{?|T,A#"><field name="PIN">button_b</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="-s_q#a#4:D-U$ic4b(h3"><field name="VAR">输入密码</field><value name="VALUE"><block type="text_join" id="-[FkS),ivhwHl7_LR0.-"><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="VaaN_sD][xc4uB#WEHY3"><field name="TEXT">Hello</field></shadow><block type="variables_get" id="lyxSKvAJ|!A)s=Kzo2fi"><field name="VAR">输入密码</field></block></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="+~-/:=#E2d[g,TGZ4uY?"><field name="TEXT">Mixly</field></shadow><block type="number_to_text" id="Fw%r8[(]?;WP2KT,p!j|"><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="}:WyD?77R.n(r0TOmvI_"><field name="NUM">0</field></shadow><block type="variables_get" id=".z-va]a]Z~D_pNCj5RXd"><field name="VAR">数字</field></block></value></block></value></block></value><next><block type="variables_set" id="YsU@FCsDbYQBsG:Y]mI0"><field name="VAR">数字</field><value name="VALUE"><block type="math_number" id="xj`m!_$C~aL!Q8[^ID|h"><field name="NUM">0</field></block></value><next><block type="controls_if" id="MqZu:l|@u*M.8C|ulP3["><value name="IF0"><block type="logic_compare" id="noX4#R2Xv,loIIRQ$mt0"><field name="OP">EQ</field><value name="A"><block type="text_length" id="Z`u7#e2|)AV8{cYPzonQ"><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="|KXS6vmBT^7h#C-^vN1M"><field name="TEXT">Mixly</field></shadow><block type="variables_get" id="SIUs$a=^JBTE3OXRJF6N"><field name="VAR">输入密码</field></block></value></block></value><value name="B"><block type="math_number" id=")F/l.b@j!IUe1*ZgBY*x"><field name="NUM">4</field></block></value></block></value><statement name="DO0"><block type="system_print_inline" id="lv-=%vc8yA(%9x!5|xs*"><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="r`wl8P5C[8}5pwMM:70j"><field name="TEXT">Mixly</field></shadow><block type="variables_get" id="!}V%(/_iWM6Mf5Nx}tIb"><field name="VAR">输入密码</field></block></value><next><block type="controls_if" id="IhP#I;Z`On,]$6bm+#~2"><mutation xmlns="http://www.w3.org/1999/xhtml" else="1"></mutation><value name="IF0"><block type="logic_compare" id="k-POD4C-~#(^u~P]#Z2S"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="yCUc.D`aCJhx%o/=cr4{"><field name="VAR">输入密码</field></block></value><value name="B"><block type="variables_get" id="Y#{2j*J$0hV9THIic_*a"><field name="VAR">密码</field></block></value></block></value><statement name="DO0"><block type="display_scroll_string" id="+XWVdb3{Ps^f0Vif*PLI"><value name="data"><shadow type="text" id="|p?S_i[oS$L^blW9Vr#P"><field name="TEXT">welcome</field></shadow></value></block></statement><statement name="ELSE"><block type="display_scroll_string" id="?Q*H-giDYdxzNeoi}!Z|"><value name="data"><shadow type="text" id="mf1Bh8tB,,@v{=/J:T=8"><field name="TEXT">wrong</field></shadow></value></block></statement><next><block type="variables_set" id="!%h9!=`!`G2`j|E`q;:;"><field name="VAR">输入密码</field><value name="VALUE"><block type="text" id="QxyL,DuS0Mx{2i$G?z$t"><field name="TEXT"></field></block></value><next><block type="variables_set" id="9CzCy0@H0Wd)MiHr*ATX"><field name="VAR">状态</field><value name="VALUE"><block type="logic_boolean" id="A@%t{8+[!:T%@)RIo-~y"><field name="BOOL">FALSE</field></block></value></block></next></block></next></block></next></block></statement></block></next></block></next></block></statement><next><block type="display_show_static" id="Lh@(1LA_Q%;VuLMxT:)D"><value name="data"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="OhiBn,ZLO32}H-fE1[7E"><field name="TEXT">abc</field></shadow><block type="number_to_text" id="/AGoXFwGhl=jq;bQSX9b"><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id=")Hw4^bt{rbjGj6Gz0!6X"><field name="NUM">0</field></shadow><block type="variables_get" id="NqVLHPq%%$HqcBw1?2Bw"><field name="VAR">数字</field></block></value></block></value></block></next></block></next></block></statement></block></next></block></next></block></statement></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></xml> |