Files
mixly3-server/mixly/boards/default/micropython_esp32s3/examples/MixGo Sant/学期7/2-3-2 智能药盒-多次提醒.mix

1 line
11 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<xml version="Mixly 3.0 rc0" board="Python ESP32-S3@元控自强SANT" shown="block"><block type="onboard_RTC_settime_string" id="$CI6N,.xI1X^3k+-KmoU" x="-1580" y="-414"><value name="CONTENT"><shadow type="tuple_input" id="fRCDF[3nFwCp+|2s3w~H"><field name="CONTENT">2025,5,27,20,34,4</field></shadow></value><next><block type="variables_set" id="v;SEbYN8c*^AI8DQ`-S:"><field name="VAR">每天吃药时间1</field><value name="VALUE"><block type="tuple_create_with_text_return" id="kS-QIg`Bs]2jOF2_=J5o"><field name="TEXT">20,34,8</field></block></value><next><block type="variables_set" id="rHvmfwo78sLuE*w)9#.L"><field name="VAR">每天吃药时间2</field><value name="VALUE"><block type="tuple_create_with_text_return" id="!hs_8nT}A|9:u1BbHN_."><field name="TEXT">20,34,14</field></block></value><next><block type="controls_whileUntil" id="#v.8v9p{5m#Fk`,Kx@}k"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="(_wEds|6{Ncow]@-k3/I"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="variables_set" id=",$+kmRZP/p6As2Gi1[zD"><field name="VAR">mytup</field><value name="VALUE"><block type="onboard_RTC_get_time" id="pZ:7#KWa=:NcBHOk?[EO"></block></value><next><block type="display_show_image_or_string_delay" id="iwK{k?{Qh|(8ksa0zjSO"><field name="center">True</field><value name="data"><shadow type="text" id="ELRS}R~3fY;d}^6/K62^"><field name="TEXT">Mixly</field></shadow><block type="text_format_noreturn" id="!Wy#pc,+kQ281@e3c^Oh" inline="false"><mutation items="3"></mutation><value name="VAR"><shadow type="text" id="l6wcT+2wt4u4Qymn|b2_"><field name="TEXT">{}:{}:{}</field></shadow></value><value name="ADD0"><block type="number_to_text" id="3?FWWR03*+MS)Q6)gXk["><value name="VAR"><shadow type="variables_get" id="cU=7h$?uJB+]t8kF(F#J"><field name="VAR">x</field></shadow><block type="tuple_getIndex" id="B{5c[Ch)cYtV78rldt`t"><value name="TUP"><shadow type="variables_get" id="5$Nd*ba.!a_J*0oLJ8zd"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="pCIA8kZ,+8E$?v9/6pp^"><field name="NUM">3</field></shadow></value></block></value></block></value><value name="ADD1"><block type="number_to_text" id="[Z5z6U0=_M=stD@oOG_|"><value name="VAR"><shadow type="variables_get" id="7HW8Y@!^rqQIGUn/k_Ud"><field name="VAR">x</field></shadow><block type="tuple_getIndex" id="fq_D~Ui,Z[R=Ft4NBU,s"><value name="TUP"><shadow type="variables_get" id="sjQJ7,W_y=:!y8k+ju$+"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="$d,iuEgEjd-Z|DSU!60#"><field name="NUM">4</field></shadow></value></block></value></block></value><value name="ADD2"><block type="number_to_text" id="~W:IB`q)562*qK$4}z.="><value name="VAR"><shadow type="variables_get" id="#C9VV+TvzRn+]p_P:gD*"><field name="VAR">x</field></shadow><block type="tuple_getIndex" id="1/q_waIAqJ|iaF`E6tl)"><value name="TUP"><shadow type="variables_get" id="wiUcY2tmMI`h`F.PyJYB"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id=",1]H=aF6cs`U4HfK95p)"><field name="NUM">5</field></shadow></value></block></value></block></value></block></value><value name="space"><shadow type="math_number" id="]oGZX7)XirD=X$93_f:L"><field name="NUM">0</field></shadow></value><value name="boolean"><shadow type="logic_boolean" id="@N_Z.Jb{iXVdP2^BC[s?"><field name="BOOL">TRUE</field></shadow></value><next><block type="controls_delay_new" id=";$fVg8k3C$,AG(a;oHQ)"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="/n+]d9gZ#ji+[YNCwIWy"><field name="NUM">1</field></shadow></value><next><block type="controls_if" id="pwr6UA5yrQSCX}_:P+@*"><value name="IF0"><block type="logic_operation" id="QsCWf.]kZ5o(sn$io6a{" inline="false"><field name="OP">OR</field><value name="A"><block type="logic_operation" id="f~(u]KSB^GM=/Ai[w;~P" inline="false"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="$vi4r40Q4f@~-]$@+j3k"><field name="OP">EQ</field><value name="A"><block type="tuple_getIndex" id="P5($FCU6Bg+vik,]ZFm{"><value name="TUP"><shadow type="variables_get" id="BkNesL]-RvQw:YWHzDv["><field name="VAR">mytup</field></shadow><block type="variables_get" id="lZIFJ5+#bihp/0H3)pnB"><field name="VAR">每天吃药时间1</field></block></value><value name="AT"><shadow type="math_number" id="}(v^xPmt8K=Uleem?vF,"><field name="NUM">0</field></shadow></value></block></value><value name="B"><block type="tuple_getIndex" id="0D54ymrKy3sJa^fpV6Ac"><value name="TUP"><shadow type="variables_get" id="DT*-!8|Z:~(sbuTv!5uM"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="Jpwlm!K^t)rRza[T2+t)"><field name="NUM">3</field></shadow></value></block></value></block></value><value name="B"><block type="logic_operation" id="*H2(t|J{p6(u+AgBAQ-9" inline="false"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="t:F-cL,8]47WT$E27(#C"><field name="OP">EQ</field><value name="A"><block type="tuple_getIndex" id="]$_jDYa+fD#azwNw7Ncz"><value name="TUP"><shadow type="variables_get" id="3IN$~3^LmPffB?EtOl}E"><field name="VAR">mytup</field></shadow><block type="variables_get" id="_fm*DphyB?BLiP|-4JiS"><field name="VAR">每天吃药时间1</field></block></value><value name="AT"><shadow type="math_number" id="OW!tVz_8{WCwUhOkXo^]"><field name="NUM">1</field></shadow></value></block></value><value name="B"><block type="tuple_getIndex" id="hy`F:;SnLfKh^Ibj8BE4"><value name="TUP"><shadow type="variables_get" id="AwIESZ0H@?i!mD|xyQJl"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="9fX`wdP_-4Kt|FzkXW$q"><field name="NUM">4</field></shadow></value></block></value></block></value><value name="B"><block type="logic_compare" id="bgncmtF2/:@6MTi;_8a!"><field name="OP">EQ</field><value name="A"><block type="tuple_getIndex" id="vp+=KZkg9M[dRPhsJe+V"><value name="TUP"><shadow type="variables_get" id="L4Ptz0fGFcnsmjYiO8Bq"><field name="VAR">mytup</field></shadow><block type="variables_get" id="yUt1I5-QdopyvOn~xirl"><field name="VAR">每天吃药时间1</field></block></value><value name="AT"><shadow type="math_number" id="^C+^x:Ib7/(B+r34?jrq"><field name="NUM">2</field></shadow></value></block></value><value name="B"><block type="tuple_getIndex" id="Duk0dUL0S{Qg:eZtMZ;P"><value name="TUP"><shadow type="variables_get" id="fU9rd7()C7hzZgk,O.eU"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="5`o@gSDF).@U{Z@Xuak0"><field name="NUM">5</field></shadow></value></block></value></block></value></block></value></block></value><value name="B"><block type="logic_operation" id="Yl:!BntdMwF2-Tr;`Y(H" inline="false"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="=AV1BCWYY)vFD;6Y6pK_"><field name="OP">EQ</field><value name="A"><block type="tuple_getIndex" id="$1raCn+@s9?k~ID9HR}5"><value name="TUP"><shadow type="variables_get" id="BkNesL]-RvQw:YWHzDv["><field name="VAR">mytup</field></shadow><block type="variables_get" id="zu[opbadt{KdAvIv4|k!"><field name="VAR">每天吃药时间1</field></block></value><value name="AT"><shadow type="math_number" id="t#OhwZyYE}Annol2P!io"><field name="NUM">0</field></shadow></value></block></value><value name="B"><block type="tuple_getIndex" id="j:_[FLEZ3OL;zlxj[=6P"><value name="TUP"><shadow type="variables_get" id="|G-/0_y,~MZWTj][[~-6"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="Gb;wgez^H$L8uQ/rF+#U"><field name="NUM">3</field></shadow></value></block></value></block></value><value name="B"><block type="logic_operation" id="CU!.z_n1AwNq4#)QI2Yw" inline="false"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="0uU~J,{[,Uk;|UJv3Der"><field name="OP">EQ</field><value name="A"><block type="tuple_getIndex" id="]|p{p#UDc+dam7E)4n)+"><value name="TUP"><shadow type="variables_get" id="3IN$~3^LmPffB?EtOl}E"><field name="VAR">mytup</field></shadow><block type="variables_get" id="3GnG:f*J=,^IE{N!7JOh"><field name="VAR">每天吃药时间1</field></block></value><value name="AT"><shadow type="math_number" id="`#@GeiVOL)=jQSAI,3pC"><field name="NUM">1</field></shadow></value></block></value><value name="B"><block type="tuple_getIndex" id="l?N}*DQcz^^6OM2pv]NU"><value name="TUP"><shadow type="variables_get" id="@+n:+K(6m{Btp:vx-6*,"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="ZfULAYRSQ8?NhJ?mWLlq"><field name="NUM">4</field></shadow></value></block></value></block></value><value name="B"><block type="logic_compare" id="D/v5Jwfy,2[pp-p*eLN*"><field name="OP">EQ</field><value name="A"><block type="tuple_getIndex" id="BV4du;}|,D*NeH7K5S_*"><value name="TUP"><shadow type="variables_get" id="L4Ptz0fGFcnsmjYiO8Bq"><field name="VAR">mytup</field></shadow><block type="variables_get" id="(,s3Gw8tgZsm;t[~ygKH"><field name="VAR">每天吃药时间1</field></block></value><value name="AT"><shadow type="math_number" id="Z~Ch][zZVZ5d^HW|95Cx"><field name="NUM">2</field></shadow></value></block></value><value name="B"><block type="tuple_getIndex" id="G5wv)~WGaDxR[zH`f=iO"><value name="TUP"><shadow type="variables_get" id="HjcaDd17DLIxQC(]o`=b"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="VZ?8I6rBBd+{96g|aQa)"><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="ZF{u48;}].[S}S?9,aK*"><field name="center">True</field><value name="data"><shadow type="text" id=",1b!^Zqc^,w5K6Rdwb}D"><field name="TEXT">该吃药了</field></shadow></value><value name="space"><shadow type="math_number" id="*Bu,CCSP|kGm7Zmv}4UY"><field name="NUM">0</field></shadow></value><value name="boolean"><shadow type="logic_boolean" id="/X=3CAD9ly!CK6U;,#}M"><field name="BOOL">TRUE</field></shadow></value><next><block type="esp32_onboard_music_play_list" id="Sq234NhUYt8ZV8P=inyh"><value name="LIST"><shadow type="pins_playlist" id="*vGL6)hy+|4iA!eJCC1`"><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>{}</config><code>aW1wb3J0IHJ0Y3RpbWUKaW1wb3J0IHRpbWUKZnJvbSBtaXhnb19zYW50IGltcG9ydCBvbmJvYXJkX3RmdApmcm9tIG1peGdvX3NhbnQgaW1wb3J0IG9uYm9hcmRfbXVzaWMKCnJ0Y3RpbWUuc2V0dGltZSgoMjAyNSw1LDI3LDIwLDM0LDQpKQrmr4/lpKnlkIPoja/ml7bpl7QxID0gKDIwLDM0LDgpCuavj+WkqeWQg+iNr+aXtumXtDIgPSAoMjAsMzQsMTQpCndoaWxlIFRydWU6CiAgICBteXR1cCA9IHRpbWUubG9jYWx0aW1lKCkKICAgIG9uYm9hcmRfdGZ0LnNob3dzKCd7fTp7fTp7fScuZm9ybWF0KHN0cihteXR1cFszXSksIHN0cihteXR1cFs0XSksIHN0cihteXR1cFs1XSkpLCBzcGFjZT0wLCBjZW50ZXI9VHJ1ZSxzeW5jPVRydWUpCiAgICB0aW1lLnNsZWVwKDEpCiAgICBpZiAo5q+P5aSp5ZCD6I2v5pe26Ze0MVswXSA9PSBteXR1cFszXSBhbmQgKOavj+WkqeWQg+iNr+aXtumXtDFbMV0gPT0gbXl0dXBbNF0gYW5kIOavj+WkqeWQg+iNr+aXtumXtDFbMl0gPT0gbXl0dXBbNV0pKSBvciAo5q+P5aSp5ZCD6I2v5pe26Ze0MVswXSA9PSBteXR1cFszXSBhbmQgKOavj+WkqeWQg+iNr+aXtumXtDFbMV0gPT0gbXl0dXBbNF0gYW5kIOavj+WkqeWQg+iNr+aXtumXtDFbMl0gPT0gbXl0dXBbNV0pKToKICAgICAgICBvbmJvYXJkX3RmdC5zaG93cygn6K+l5ZCD6I2v5LqGJywgc3BhY2U9MCwgY2VudGVyPVRydWUsc3luYz1UcnVlKQogICAgICAgIG9uYm9hcmRfbXVzaWMucGxheShvbmJvYXJkX211c2ljLkRBREFEQURVTSkK</code>