1 line
11 KiB
XML
1 line
11 KiB
XML
<xml version="Mixly 3.0 rc0" board="Python ESP32-C5@元控自立(SOWL)" shown="block"><block type="onboard_RTC_settime_string" id="w;8i(dGZ4qiwjGHt`Fy=" x="-1580" y="-414"><value name="CONTENT"><shadow type="tuple_input" id="V:Oyl(4xEC=o(9h}f2C`"><field name="CONTENT">2025,5,27,20,34,4</field></shadow></value><next><block type="variables_set" id="AgDtq|rHxfBg:(l7J/qM"><field name="VAR">每天吃药时间1</field><value name="VALUE"><block type="tuple_create_with_text_return" id="31^-TblMk:~n(I`,;xY("><field name="TEXT">20,34,8</field></block></value><next><block type="variables_set" id="=htO#)[!edHuJo!(TyIS"><field name="VAR">每天吃药时间2</field><value name="VALUE"><block type="tuple_create_with_text_return" id="00pHN)g*YW,VN0+!rKTQ"><field name="TEXT">20,34,14</field></block></value><next><block type="controls_whileUntil" id="MrCGplY/ocaxczplhGO+"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="Iy}R)[KynJqGE}7Gx:B{"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="variables_set" id="Ej?oIeSH?):_*eYdz5t."><field name="VAR">mytup</field><value name="VALUE"><block type="onboard_RTC_get_time" id="1ECdT(ZgLL(lQp:RSvat"></block></value><next><block type="display_show_image_or_string_delay" id="R]pCjCzMqyVnAgFzIY?L"><field name="center">True</field><value name="data"><shadow type="text" id="4_Pj(p6_H+04LorK5,~!"><field name="TEXT">Mixly</field></shadow><block type="text_format_noreturn" id="hpUS`VYYMy_FrlIqm`#!" inline="false"><mutation items="3"></mutation><value name="VAR"><shadow type="text" id="-=@VH)nrrIy3.~rniV]`"><field name="TEXT">{}:{}:{}</field></shadow></value><value name="ADD0"><block type="number_to_text" id="ly[m]NO]:EJ70Tsq?0)2"><value name="VAR"><shadow type="variables_get" id="qFarr9.J9jD+g^UA]SGV"><field name="VAR">x</field></shadow><block type="tuple_getIndex" id="dK]0V1rsNG~HL4J0@l:7"><value name="TUP"><shadow type="variables_get" id="WV/Tre-rw+t-YRC_E81g"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="3z~zy=oAFqVD5lxb!700"><field name="NUM">3</field></shadow></value></block></value></block></value><value name="ADD1"><block type="number_to_text" id="_(0-#fcs:X;HpNW9Trh4"><value name="VAR"><shadow type="variables_get" id="-HHyieq(rXHV!zIY2E{_"><field name="VAR">x</field></shadow><block type="tuple_getIndex" id="s-$Adwy~LzBcMkc}c/.}"><value name="TUP"><shadow type="variables_get" id="m4r*WWCLsi5tAqAKe*#N"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="k0?$:r0*p)(:7Y_v]fb}"><field name="NUM">4</field></shadow></value></block></value></block></value><value name="ADD2"><block type="number_to_text" id="#k]wTv9aMv_*_MeZq22s"><value name="VAR"><shadow type="variables_get" id="Q[{~i~kWXk!EQhPR]Yj~"><field name="VAR">x</field></shadow><block type="tuple_getIndex" id="y:)G/]U.qGjt,NqRa6xv"><value name="TUP"><shadow type="variables_get" id="dxQL[fVp@9ukC5B^x`D1"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="[u5J.;W?.(l]L0a)OxLR"><field name="NUM">5</field></shadow></value></block></value></block></value></block></value><value name="space"><shadow type="math_number" id="OGzjNR}$k?w);$@^p(tq"><field name="NUM">0</field></shadow></value><value name="boolean"><shadow type="logic_boolean" id="(*YOjSykbs*cq8;e!0Mi"><field name="BOOL">TRUE</field></shadow></value><next><block type="controls_delay_new" id="~q/?`GV^ujIGdE(=OC}A"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="vDTEm|96beU(hfvCXZ]="><field name="NUM">1</field></shadow></value><next><block type="controls_if" id="-LB(F7DH4:S},h+sP95N"><value name="IF0"><block type="logic_operation" id="b.Z$A-n/#h|l8e;hK$S#" inline="false"><field name="OP">OR</field><value name="A"><block type="logic_operation" id="Xv25JY]t9kr0z1oxV76;" inline="false"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="nPzMyk{*/KamiU!/h#y*"><field name="OP">EQ</field><value name="A"><block type="tuple_getIndex" id="~#yTJeu9P*lZA7p9)$U|"><value name="TUP"><shadow type="variables_get" id="Z?O$|AMpaQ=9mI4s_s9U"><field name="VAR">mytup</field></shadow><block type="variables_get" id="qg.:Vit2OX~2yck0cK*j"><field name="VAR">每天吃药时间1</field></block></value><value name="AT"><shadow type="math_number" id="sO:|bK1)a!.lN#v[JzsN"><field name="NUM">0</field></shadow></value></block></value><value name="B"><block type="tuple_getIndex" id="W)@n1n5iLD~Ay1fRSW`}"><value name="TUP"><shadow type="variables_get" id="0|(bD$nl4W8yo+AJ--i/"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="TM|Q(M|YJDj}(l}_ll`J"><field name="NUM">3</field></shadow></value></block></value></block></value><value name="B"><block type="logic_operation" id=".^BVk)hPA=vDxtKEVNV|" inline="false"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="pB~i:)B5cVPx1[scmNu6"><field name="OP">EQ</field><value name="A"><block type="tuple_getIndex" id="G_lCU3F|6[P$r=kv7`NW"><value name="TUP"><shadow type="variables_get" id="!xLH]^rLh1R{;{(kdfjr"><field name="VAR">mytup</field></shadow><block type="variables_get" id="!E1jg,(c];?_fqQEqS4@"><field name="VAR">每天吃药时间1</field></block></value><value name="AT"><shadow type="math_number" id="c^QWYW~YxAr,1u`Na/E5"><field name="NUM">1</field></shadow></value></block></value><value name="B"><block type="tuple_getIndex" id="(toJ4NVO-hLp+f;P+x(N"><value name="TUP"><shadow type="variables_get" id="wLz1jVk$=j_K^YN2=?-d"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="m9Cz~[BGP:,0{|W=`f_C"><field name="NUM">4</field></shadow></value></block></value></block></value><value name="B"><block type="logic_compare" id="UINb,cQ6Yw)M,}4;oEEt"><field name="OP">EQ</field><value name="A"><block type="tuple_getIndex" id="D.O)[~0w^$LA]TeZzgaO"><value name="TUP"><shadow type="variables_get" id="uID_=Ao1BR}T7nDSLjmY"><field name="VAR">mytup</field></shadow><block type="variables_get" id="xSk,D!Ci*!hM?KBxDP3?"><field name="VAR">每天吃药时间1</field></block></value><value name="AT"><shadow type="math_number" id="Lc?t@d,l^4M:OHu=9O?8"><field name="NUM">2</field></shadow></value></block></value><value name="B"><block type="tuple_getIndex" id="]obQpX*HX9,nB7EP}(|P"><value name="TUP"><shadow type="variables_get" id="}+Eg8.}1*(l1v17W=I#8"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="c/Q{O)0}vGP#Y]}D4MOV"><field name="NUM">5</field></shadow></value></block></value></block></value></block></value></block></value><value name="B"><block type="logic_operation" id="!8n;m8DU2DxAMK2Og5{F" inline="false"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="K#0[rF@`5=?#u}TLQ.sP"><field name="OP">EQ</field><value name="A"><block type="tuple_getIndex" id="[;U7t^+;s?B6iZ}BI#qt"><value name="TUP"><shadow type="variables_get" id="91X[bMr}L]Iy{5uslz!Y"><field name="VAR">mytup</field></shadow><block type="variables_get" id="G+!)KH2OH(zEe+aXtlXh"><field name="VAR">每天吃药时间1</field></block></value><value name="AT"><shadow type="math_number" id="IWX~E5:X?]qKlo1btQUI"><field name="NUM">0</field></shadow></value></block></value><value name="B"><block type="tuple_getIndex" id="lo5ZCe^7-.h5G7=DFm+O"><value name="TUP"><shadow type="variables_get" id="60/iB(wQ~2fu0GkNCs)x"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="?RqCz|OQ/N~ogpAxNKei"><field name="NUM">3</field></shadow></value></block></value></block></value><value name="B"><block type="logic_operation" id="R@SD5r!ea8k`H[50Qc;D" inline="false"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="ORT(tfIIxF;:r[RmK`Kr"><field name="OP">EQ</field><value name="A"><block type="tuple_getIndex" id="[J0J!s?rGSgV:quCv*39"><value name="TUP"><shadow type="variables_get" id="jo7U/cesRc/Qs4(yx7HI"><field name="VAR">mytup</field></shadow><block type="variables_get" id="34(wOdn1;!:nx-ya.Id|"><field name="VAR">每天吃药时间1</field></block></value><value name="AT"><shadow type="math_number" id="s3O$6eCod;dc9jyWdcm?"><field name="NUM">1</field></shadow></value></block></value><value name="B"><block type="tuple_getIndex" id="/a1M?.Bi63DqoWrof_wk"><value name="TUP"><shadow type="variables_get" id="tL/(zQ3u4u~hQR];c+Y|"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="(#P?t{HbEMH_L65;yl*0"><field name="NUM">4</field></shadow></value></block></value></block></value><value name="B"><block type="logic_compare" id="zbB4Mi/w~OIHT]eZ7d_4"><field name="OP">EQ</field><value name="A"><block type="tuple_getIndex" id="XhJuDwttp=^v;swbmx4#"><value name="TUP"><shadow type="variables_get" id="Rv1;Y28r`*XLT5xH=Q~x"><field name="VAR">mytup</field></shadow><block type="variables_get" id="#x4?!~ub=uB^,bzhwWk)"><field name="VAR">每天吃药时间1</field></block></value><value name="AT"><shadow type="math_number" id=")D^n(Qo~9O47|]xk|T_A"><field name="NUM">2</field></shadow></value></block></value><value name="B"><block type="tuple_getIndex" id="2s,D5C=fh1)}4oaAfj-j"><value name="TUP"><shadow type="variables_get" id="AQ)M.W6}k2;n;,)RO~u;"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="~Px7,itx8)V`H.E$f#[o"><field name="NUM">5</field></shadow></value></block></value></block></value></block></value></block></value></block></value><statement name="DO0"><block type="display_show_image_or_string_delay" id="fe^=1E#fQT*+Y=qv*ihc"><field name="center">True</field><value name="data"><shadow type="text" id="TuBU^3di#v=BjUE-(apc"><field name="TEXT">该吃药了</field></shadow></value><value name="space"><shadow type="math_number" id="*NIO{FZaX-Ruqov1lz+1"><field name="NUM">0</field></shadow></value><value name="boolean"><shadow type="logic_boolean" id="a$+tUsSA?CQ,0PNFwU3L"><field name="BOOL">TRUE</field></shadow></value><next><block type="esp32_onboard_music_play_list" id="PMj!T]GKb~nHfXK@;b/7"><value name="LIST"><shadow type="pins_playlist" id=";Na7h_E{Z}UVQdBXQJDe"><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></next></block></xml><config>{"BurnSpeed":{"key":"921600","label":"921600"}}</config><code>aW1wb3J0IHJ0Y3RpbWUKaW1wb3J0IHRpbWUKZnJvbSBtaXhnb19zb3dsIGltcG9ydCBvbmJvYXJkX3RmdApmcm9tIG1peGdvX3Nvd2wgaW1wb3J0IG9uYm9hcmRfbXVzaWMKCgpydGN0aW1lLnNldHRpbWUoKDIwMjUsNSwyNywyMCwzNCw0KSkK5q+P5aSp5ZCD6I2v5pe26Ze0MSA9ICgyMCwzNCw4KQrmr4/lpKnlkIPoja/ml7bpl7QyID0gKDIwLDM0LDE0KQp3aGlsZSBUcnVlOgogICAgbXl0dXAgPSB0aW1lLmxvY2FsdGltZSgpCiAgICBvbmJvYXJkX3RmdC5zaG93cygne306e306e30nLmZvcm1hdChzdHIobXl0dXBbM10pLCBzdHIobXl0dXBbNF0pLCBzdHIobXl0dXBbNV0pKSwgc3BhY2U9MCwgY2VudGVyPVRydWUsc3luYz1UcnVlKQogICAgdGltZS5zbGVlcCgxKQogICAgaWYgKOavj+WkqeWQg+iNr+aXtumXtDFbMF0gPT0gbXl0dXBbM10gYW5kICjmr4/lpKnlkIPoja/ml7bpl7QxWzFdID09IG15dHVwWzRdIGFuZCDmr4/lpKnlkIPoja/ml7bpl7QxWzJdID09IG15dHVwWzVdKSkgb3IgKOavj+WkqeWQg+iNr+aXtumXtDFbMF0gPT0gbXl0dXBbM10gYW5kICjmr4/lpKnlkIPoja/ml7bpl7QxWzFdID09IG15dHVwWzRdIGFuZCDmr4/lpKnlkIPoja/ml7bpl7QxWzJdID09IG15dHVwWzVdKSk6CiAgICAgICAgb25ib2FyZF90ZnQuc2hvd3MoJ+ivpeWQg+iNr+S6hicsIHNwYWNlPTAsIGNlbnRlcj1UcnVlLHN5bmM9VHJ1ZSkKICAgICAgICBvbmJvYXJkX211c2ljLnBsYXkob25ib2FyZF9tdXNpYy5EQURBREFEVU0pCg==</code> |