1 line
7.7 KiB
XML
1 line
7.7 KiB
XML
<xml version="Mixly 3.0 rc0" board="Python ESP32-C5@元控自立(SOWL)" shown="block"><block type="onboard_RTC_settime_string" id="?R;*oW`+FtFIXS=j8W^p" x="-1263" y="-379"><value name="CONTENT"><shadow type="tuple_input" id="Gf4^zpbP.eR2cM5gZ}kr"><field name="CONTENT">2025,5,27,20,34,4</field></shadow></value><next><block type="variables_set" id="U);z7k+ic=;EFn{h~(bz"><field name="VAR">每天吃药时间</field><value name="VALUE"><block type="tuple_create_with_text_return" id="D=NsWO8Z[a?u|yaFb^Ly"><field name="TEXT">20,34,14</field></block></value><next><block type="controls_whileUntil" id="~NQfcSNrl8?D{c`wFg?e"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="a=EatjhaBt-fn#QLOV]n"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="variables_set" id="PEC$V#Ml-ie3YCxtT_#y"><field name="VAR">mytup</field><value name="VALUE"><block type="onboard_RTC_get_time" id="E9Of(:,cfe47+(c!=@,h"></block></value><next><block type="display_show_image_or_string_delay" id="5F*#hV1m(qUi-8[}y2V$"><field name="center">True</field><value name="data"><shadow type="text" id="oTA~])v4b=4.K?z;:jPW"><field name="TEXT">Mixly</field></shadow><block type="text_format_noreturn" id="8S5[dwtJ27?uzQM_E_:o" inline="false"><mutation items="3"></mutation><value name="VAR"><shadow type="text" id="-[OIy`36iAShR`F?::6r"><field name="TEXT">{}:{}:{}</field></shadow></value><value name="ADD0"><block type="number_to_text" id="($Uf6RO|GUU8G#U{Dd{C"><value name="VAR"><shadow type="variables_get" id="hT8$ZDOwh3yu)Jyj-3do"><field name="VAR">x</field></shadow><block type="tuple_getIndex" id="`q?p1mycnkskF8D}BCk("><value name="TUP"><shadow type="variables_get" id="h_i*=D7*4eSKn]V1Tht2"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="8AO#)A.H?CMUEzjiafF("><field name="NUM">3</field></shadow></value></block></value></block></value><value name="ADD1"><block type="number_to_text" id=":PDhz_tl/}psjUC+(Wr8"><value name="VAR"><shadow type="variables_get" id="j88OR*CEyC(Y-TClAY.!"><field name="VAR">x</field></shadow><block type="tuple_getIndex" id="d*h8PI?9$pD^?I?LV;R*"><value name="TUP"><shadow type="variables_get" id="sXCM}0V:8@MyT59Ksvfd"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="C!bT=+Xo;Q[Ws7#9Pz;V"><field name="NUM">4</field></shadow></value></block></value></block></value><value name="ADD2"><block type="number_to_text" id=";3iBqZOiI}.:R:pEjOfc"><value name="VAR"><shadow type="variables_get" id="-)W6?S4qLr3a_EWk_p0a"><field name="VAR">x</field></shadow><block type="tuple_getIndex" id="W7KX=.BBZ!E8wv3d1DCM"><value name="TUP"><shadow type="variables_get" id="rTY6XAS8g2~;L7YG19:/"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="[x]qRJ#ml7Ncs49o)yUK"><field name="NUM">5</field></shadow></value></block></value></block></value></block></value><value name="space"><shadow type="math_number" id="!^oSq;C5C7s_l^2`DHVX"><field name="NUM">0</field></shadow></value><value name="boolean"><shadow type="logic_boolean" id="r*p6yTPxTpl#|g;(,gr@"><field name="BOOL">TRUE</field></shadow></value><next><block type="controls_delay_new" id="83B3hmw)Rd;}}T+2sIj@"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="_wy)J+4U*}Z,@s!PA_Dr"><field name="NUM">1</field></shadow></value><next><block type="controls_if" id="t08Cq0^w;,*n|]GP?^bw"><value name="IF0"><block type="logic_operation" id=",QKl^2N8Bw/kP9)VENEe" inline="false"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="fh4YbQQy_GZu`UAK{9qC"><field name="OP">EQ</field><value name="A"><block type="tuple_getIndex" id="Q/5wL,i}[c~isc{mzTC+"><value name="TUP"><shadow type="variables_get" id="RO#82GV4ix~52w],HAS5"><field name="VAR">mytup</field></shadow><block type="variables_get" id="YEIs/$EG#*7P-U.GJX(x"><field name="VAR">每天吃药时间</field></block></value><value name="AT"><shadow type="math_number" id="*M1GtgNVE*6:q]7m7i2W"><field name="NUM">0</field></shadow></value></block></value><value name="B"><block type="tuple_getIndex" id="nR1i^3Pa_Z@7qE,3-xc7"><value name="TUP"><shadow type="variables_get" id="BIZ`=4Os|R+;c@qsx2p."><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="+D(TeNkC`eEhC3bqe~aN"><field name="NUM">3</field></shadow></value></block></value></block></value><value name="B"><block type="logic_operation" id="QgH8Oy7.4$u){d~(5P$4" inline="false"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="UeGqRyz1_6t+n{RC[0aV"><field name="OP">EQ</field><value name="A"><block type="tuple_getIndex" id=",5_JdSpRWwF43hB3[;bL"><value name="TUP"><shadow type="variables_get" id="2bt0+6HTpO!EN=w910HY"><field name="VAR">mytup</field></shadow><block type="variables_get" id="9:vB*.d1WLx|PpiQCrNt"><field name="VAR">每天吃药时间</field></block></value><value name="AT"><shadow type="math_number" id="3mmeR!J,o@0IG06r(h!."><field name="NUM">1</field></shadow></value></block></value><value name="B"><block type="tuple_getIndex" id="!r!o0jje0uEvck=rQ##Y"><value name="TUP"><shadow type="variables_get" id="eHc9m+t-a0^.BAgOk?,0"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="wY/e)Z^:nB,iu?+yhRAm"><field name="NUM">4</field></shadow></value></block></value></block></value><value name="B"><block type="logic_compare" id="?sUl4o|]^?=Qka:`_mj/"><field name="OP">EQ</field><value name="A"><block type="tuple_getIndex" id="-RvT9Bff9fAS?r{rMRMQ"><value name="TUP"><shadow type="variables_get" id="-?6Al#,M;PTPSM3Jr5h+"><field name="VAR">mytup</field></shadow><block type="variables_get" id="OtGvvD|^}8)J=RVBPR#$"><field name="VAR">每天吃药时间</field></block></value><value name="AT"><shadow type="math_number" id="Xe^|`CQv#QS(LU5aH1r("><field name="NUM">2</field></shadow></value></block></value><value name="B"><block type="tuple_getIndex" id="H.;:{#0L(yaMJ(Zk04a{"><value name="TUP"><shadow type="variables_get" id="*QABY+UD]0j,I2Bo4m[A"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="#gZD*zonj.s,Fuo4nw9F"><field name="NUM">5</field></shadow></value></block></value></block></value></block></value></block></value><statement name="DO0"><block type="display_show_image" id="rI6#wM~T6VqdX75)]fzs"><value name="data"><shadow type="pins_builtinimg" id="F8+TMoj~nPJ)9@o5Dm#U"><field name="PIN">object_picture.Lightning</field></shadow></value><value name="boolean"><shadow type="logic_boolean" id="~[w;6o7uGE)-L5i(-ndf"><field name="BOOL">TRUE</field></shadow></value><next><block type="esp32_onboard_music_play_list" id="VXM@4hmoT1,0(fwXIjg7"><value name="LIST"><shadow type="pins_playlist" id="|R;dUOI6sujE;s**6H:^"><field name="PIN">onboard_music.DADADADUM</field></shadow></value></block></next></block></statement></block></next></block></next></block></next></block></statement></block></next></block></next></block></xml><config>{"BurnSpeed":{"key":"921600","label":"921600"}}</config><code>aW1wb3J0IHJ0Y3RpbWUKaW1wb3J0IHRpbWUKZnJvbSBtaXhnb19zb3dsIGltcG9ydCBvbmJvYXJkX3RmdApmcm9tIG9iamVjdF9waWN0dXJlIGltcG9ydCBMaWdodG5pbmcKZnJvbSBtaXhnb19zb3dsIGltcG9ydCBvbmJvYXJkX211c2ljCgoKcnRjdGltZS5zZXR0aW1lKCgyMDI1LDUsMjcsMjAsMzQsNCkpCuavj+WkqeWQg+iNr+aXtumXtCA9ICgyMCwzNCwxNCkKd2hpbGUgVHJ1ZToKICAgIG15dHVwID0gdGltZS5sb2NhbHRpbWUoKQogICAgb25ib2FyZF90ZnQuc2hvd3MoJ3t9Ont9Ont9Jy5mb3JtYXQoc3RyKG15dHVwWzNdKSwgc3RyKG15dHVwWzRdKSwgc3RyKG15dHVwWzVdKSksIHNwYWNlPTAsIGNlbnRlcj1UcnVlLHN5bmM9VHJ1ZSkKICAgIHRpbWUuc2xlZXAoMSkKICAgIGlmIOavj+WkqeWQg+iNr+aXtumXtFswXSA9PSBteXR1cFszXSBhbmQgKOavj+WkqeWQg+iNr+aXtumXtFsxXSA9PSBteXR1cFs0XSBhbmQg5q+P5aSp5ZCD6I2v5pe26Ze0WzJdID09IG15dHVwWzVdKToKICAgICAgICBvbmJvYXJkX3RmdC5pbWFnZShMaWdodG5pbmcsIGNvbG9yPTB4ZmZmZixzeW5jPVRydWUpCiAgICAgICAgb25ib2FyZF9tdXNpYy5wbGF5KG9uYm9hcmRfbXVzaWMuREFEQURBRFVNKQo=</code> |