-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcompressor-monitor-client_stickc.m5f
1 lines (1 loc) · 22.8 KB
/
compressor-monitor-client_stickc.m5f
1
{"components":[{"id":"_stickscreen","createTime":1677706167483,"name":"screen","x":0,"y":0,"width":120,"height":240,"backgroundColor":"#111111","backgroundImage":"","size":0,"screenType":"default","type":"screen"}],"type":"stick-C","versions":"Beta","units":[],"hats":[],"stamps":[],"blockly":"<variables><variable id=\"`Wjs|Kk*)ERsvh}3X6j,\">hasWarning</variable><variable id=\"Hl{-U?kJz#.rSBM;/nf5\">x</variable><variable id=\"Xzodxr}*fb~db3%BOV]o\">y</variable><variable id=\"QNzLG-mo}B(xwxJpx/,,\">width</variable><variable id=\"P1tFj`#[o,b8Q)=XqTdQ\">alertName</variable><variable id=\"FP,:VKaD~FtMSKXCL@L!\">text</variable><variable id=\"X$Y,t4^ijLl6kdFuHn2O\">alerts</variable><variable id=\"_SHWyy/IBjIr;6JJ0#-b\">data</variable><variable id=\"w%~8?6F[H#CM6?Z4swp`\">timeRemainingS</variable><variable id=\"ZIiFKaANsz0`/FXVL.q3\">timeRemainingSign</variable></variables><block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"-2410\" y=\"570\"><next><block type=\"wifi_connect\" id=\"bgAi:)N;4KAU{J1A]eC[\"><next><block type=\"screen_set_bgcolor\" id=\"oeZA^3Yj#A;hi(1p+bXe\"><field name=\"COLOR\">#000000</field><next><block type=\"screen_set_rotate\" id=\"IE$ea`gn#eM3HZV7tA.w\"><field name=\"ROTATE\">1</field><next><block type=\"lcd_setFont\" id=\"ea~)!,0fWOwn|j_sz4w.\"><field name=\"FONT_FAMILY\">FONT_DejaVu24</field><next><block type=\"procedures_callnoreturn\" id=\"I+aK]|}#{~4}NU?aErsO\"><mutation name=\"indicateWarning\"><arg name=\"hasWarning\"></arg></mutation><value name=\"ARG0\"><block type=\"logic_boolean\" id=\"jPtKF?2FCK]^QlVSUR{X\"><field name=\"BOOL\">TRUE</field></block></value><next><block type=\"lcd_rect\" id=\"T|lNy01Yx5;+:![rBqlq\"><field name=\"COLOR_TYPE\">fillcolor</field><field name=\"COLOR\">#ff6600</field><value name=\"X\"><shadow type=\"math_number\" id=\"?b61fn:6j:NvQ{C~(dwT\"><field name=\"NUM\">0</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\".$Rut=h6:,xg.|fD27zU\"><field name=\"NUM\">0</field></shadow></value><value name=\"WIDTH\"><shadow type=\"math_number\" id=\"PKIB3A-qS:zd]eAd4F*U\"><field name=\"NUM\">160</field></shadow></value><value name=\"HEIGHT\"><shadow type=\"math_number\" id=\"QCv`S-S7Psv1X`D0/1Dy\"><field name=\"NUM\">80</field></shadow></value><next><block type=\"lcd_print\" id=\"bLrQ.Nu[c3OR|J6R+dxH\"><field name=\"COLOR\">#000000</field><field name=\"ROTATE\">0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"#~{T`YiC^*ymjtLzZ1Py\"><field name=\"TEXT\">Connecting</field></shadow></value><value name=\"X\"><shadow type=\"math_number\" id=\"pO@3w:GEH(}z4}}gQbdL\"><field name=\"NUM\">10</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\",C(]:j9:czCvD,P*{(+7\"><field name=\"NUM\">10</field></shadow></value><next><block type=\"basic_on_loop\" id=\"Q~7:[_vXnX}?%Tlq#M:F\"><statement name=\"LOOP\"><block type=\"http_request\" id=\"OB7i::UXw8OMz1_!!jzV\"><field name=\"method\">GET</field><value name=\"url\"><shadow type=\"text\" id=\"$`4/W]97KcYqFbS$t9Ds\"><field name=\"TEXT\">http://192.168.15.247/api/getData</field></shadow></value><statement name=\"success\"><block type=\"variables_set\" id=\"R+yHO23d?7RKPY1N5`wu\"><field name=\"VAR\" id=\"_SHWyy/IBjIr;6JJ0#-b\">data</field><value name=\"VALUE\"><block type=\"loads_json\" id=\"NemrMs8$)X7M/Lx)wN(p\"><value name=\"JSON_VAR\"><block type=\"get_data\" id=\"b5S`8%S5SxiB^h5+VscE\"></block></value></block></value><next><block type=\"variables_set\" id=\"5522aUa/K0?XlEM557HG\"><field name=\"VAR\" id=\"X$Y,t4^ijLl6kdFuHn2O\">alerts</field><value name=\"VALUE\"><block type=\"get_map_key\" id=\"I6@]Dvt35aebaVjr9Nx3\"><value name=\"key\"><block type=\"text\" id=\"ma]N+Oeas(.Gv5KFST1]\"><field name=\"TEXT\">alerts</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"[vHnT!U~~JqKKqT9U?9p\"><field name=\"VAR\" id=\"_SHWyy/IBjIr;6JJ0#-b\">data</field></block></value></block></value><next><block type=\"controls_ifelse\" id=\"AF;aMCw66$.Blp1H=41=\"><value name=\"IF0\"><block type=\"logic_operation\" id=\"]qln[I9IzX33j8|K9FzW\"><field name=\"OP\">AND</field><value name=\"A\"><block type=\"logic_compare\" id=\"sCIU?fbU:@|uE-kpUzzw\"><field name=\"OP\">NEQ</field><value name=\"A\"><block type=\"get_map_key\" id=\"UZJc#fkfR0P126K8=@56\"><value name=\"key\"><block type=\"text\" id=\"*c1lm{F|aIzib8/WHzNZ\"><field name=\"TEXT\">timeUntilFullEstimateMs</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"VgQM:Ow!zZnH3aJmrnSo\"><field name=\"VAR\" id=\"_SHWyy/IBjIr;6JJ0#-b\">data</field></block></value></block></value><value name=\"B\"><block type=\"math_number\" id=\"EYufywa=Y~}z{WtGi|.x\"><field name=\"NUM\">-1</field></block></value></block></value><value name=\"B\"><block type=\"logic_compare\" id=\"2s@:U3vC_WmY,i}T*l3U\"><field name=\"OP\">LTE</field><value name=\"A\"><block type=\"get_map_key\" id=\"R(d9Fku9x_0nOC3vH^`i\"><value name=\"key\"><block type=\"text\" id=\"r*Yc)tLlYouh6b:sh_*X\"><field name=\"TEXT\">timeUntilFullEstimateMs</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"5Gw])U`ys~|_Zs?gG_a$\"><field name=\"VAR\" id=\"_SHWyy/IBjIr;6JJ0#-b\">data</field></block></value></block></value><value name=\"B\"><block type=\"get_map_key\" id=\"=jad180BATCOH!*j9)=^\"><value name=\"key\"><block type=\"text\" id=\"!]7i|s0Qyj[`P-I7UT4;\"><field name=\"TEXT\">timeUntilPurgeMs</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"nAdovy=0_L^fVuc_M*t]\"><field name=\"VAR\" id=\"_SHWyy/IBjIr;6JJ0#-b\">data</field></block></value></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"iSA=B[])G!NXNWDuK2t8\"><field name=\"VAR\" id=\"w%~8?6F[H#CM6?Z4swp`\">timeRemainingS</field><value name=\"VALUE\"><block type=\"math_arithmetic_arr\" id=\"l{_wBdUaKe1mh=wKBRQS\"><field name=\"OP\">DIVIDE</field><value name=\"A\"><block type=\"get_map_key\" id=\"y`SZ`x,v7~k@@fEq:}|1\"><value name=\"key\"><block type=\"text\" id=\"Oy4h_6pQxBOGl~fFPGVH\"><field name=\"TEXT\">timeUntilFullEstimateMs</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"-c-SPZ6k%,Rf[3VZoS,h\"><field name=\"VAR\" id=\"_SHWyy/IBjIr;6JJ0#-b\">data</field></block></value></block></value><value name=\"B\"><block type=\"math_number\" id=\"2!8$aB`@#mGlLb|%X+mq\"><field name=\"NUM\">1000</field></block></value></block></value></block></statement><statement name=\"ELSE\"><block type=\"variables_set\" id=\"=A;M`d/tdozcn]Oq#6b]\"><field name=\"VAR\" id=\"w%~8?6F[H#CM6?Z4swp`\">timeRemainingS</field><value name=\"VALUE\"><block type=\"math_arithmetic_arr\" id=\";v]c^Z]F{P=d5frd_tZZ\"><field name=\"OP\">DIVIDE</field><value name=\"A\"><block type=\"get_map_key\" id=\"krI.73GZsFf$),LKG:!c\"><value name=\"key\"><block type=\"text\" id=\"Cn`?;fDXuq._ukpln^ww\"><field name=\"TEXT\">timeUntilPurgeMs</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"!Cgmcj6S4S*avM*@mTGU\"><field name=\"VAR\" id=\"_SHWyy/IBjIr;6JJ0#-b\">data</field></block></value></block></value><value name=\"B\"><block type=\"math_number\" id=\")=e}v$9^iF16U//Cb@Jh\"><field name=\"NUM\">1000</field></block></value></block></value></block></statement><next><block type=\"procedures_callnoreturn\" id=\"a@p8#F79RgIrHzW3W3KA\"><mutation name=\"indicateWarning\"><arg name=\"hasWarning\"></arg></mutation><value name=\"ARG0\"><block type=\"logic_negate\" id=\"fn2Ro=t#5!ll|!zHzoe*\"><value name=\"BOOL\"><block type=\"lists_isEmpty\" id=\")tP5@oxYE0,$=.zHdgnu\"><value name=\"VALUE\"><block type=\"variables_get\" id=\"A(D,s$$:Z9#XrT+BT7Q=\"><field name=\"VAR\" id=\"X$Y,t4^ijLl6kdFuHn2O\">alerts</field></block></value></block></value></block></value><next><block type=\"procedures_callnoreturn\" id=\"/;!a~oG]z]u(T9ExZe0P\"><mutation name=\"displayMonitor\"><arg name=\"x\"></arg><arg name=\"y\"></arg><arg name=\"width\"></arg><arg name=\"alertName\"></arg><arg name=\"text\"></arg></mutation><value name=\"ARG0\"><block type=\"math_number\" id=\"yvr.X=.v|Q#w4Xr*gHd~\"><field name=\"NUM\">0</field></block></value><value name=\"ARG1\"><block type=\"math_number\" id=\"6@$H/;sT{xQ.+WR!F/`2\"><field name=\"NUM\">0</field></block></value><value name=\"ARG2\"><block type=\"math_number\" id=\"%5%_U5`+ec12n_~.6~Wa\"><field name=\"NUM\">137</field></block></value><value name=\"ARG3\"><block type=\"text\" id=\"4V=6,w*:oYD]L;u![-_V\"><field name=\"TEXT\">PRESSURE</field></block></value><value name=\"ARG4\"><block type=\"text_add\" id=\"X4(}}(=ZsAjA;BPo|pmF\"><value name=\"arg0\"><shadow type=\"text\"><field name=\"TEXT\">Result: </field></shadow><block type=\"text_math_split\" id=\"9~L}vLICsD/F@^O6wg9S\"><value name=\"arg0\"><block type=\"get_map_key\" id=\"mHO#5`T5Fx`zTv9GK9$#\"><value name=\"key\"><block type=\"text\" id=\"x?omga5[BONkhsn/d/{i\"><field name=\"TEXT\">pressureBar</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\";0aAi`pR*Kx]sQ8E!RaO\"><field name=\"VAR\" id=\"_SHWyy/IBjIr;6JJ0#-b\">data</field></block></value></block></value><value name=\"arg1\"><shadow type=\"math_number\" id=\"}n{|Q3kn*]Co^SERV/h}\"><field name=\"NUM\">1</field></shadow></value></block></value><value name=\"arg1\"><block type=\"text\" id=\"2a#0PP.$}]P=nbwyCc+v\"><field name=\"TEXT\"> bar</field></block></value></block></value><next><block type=\"controls_ifelse\" id=\"$,~[Fx75!e(w`D8-`$3$\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"h`7sX#dIQI0,qysD^1n7\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\"#A#hDFaZ}otl9RVr7-wS\"><field name=\"VAR\" id=\"w%~8?6F[H#CM6?Z4swp`\">timeRemainingS</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"$+:@%l;/i+%dCZ7dy{t_\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"M-ksPDMNIz0C#L8uq?e/\"><field name=\"VAR\" id=\"ZIiFKaANsz0`/FXVL.q3\">timeRemainingSign</field><value name=\"VALUE\"><block type=\"text\" id=\"DA~w8%HHASeF5=E}%PQH\"><field name=\"TEXT\">-</field></block></value></block></statement><statement name=\"ELSE\"><block type=\"variables_set\" id=\"CI-X~h$@,S_dzv22!W-1\"><field name=\"VAR\" id=\"ZIiFKaANsz0`/FXVL.q3\">timeRemainingSign</field><value name=\"VALUE\"><block type=\"text\" id=\"fxnZtzz/0C^SE0LVSVrS\"><field name=\"TEXT\"></field></block></value></block></statement><next><block type=\"procedures_callnoreturn\" id=\"]*2./m.J-o^7;PQ,w{i^\"><mutation name=\"displayMonitor\"><arg name=\"x\"></arg><arg name=\"y\"></arg><arg name=\"width\"></arg><arg name=\"alertName\"></arg><arg name=\"text\"></arg></mutation><value name=\"ARG0\"><block type=\"math_number\" id=\"u=^uc3Y](YBI*KzUgc0,\"><field name=\"NUM\">0</field></block></value><value name=\"ARG1\"><block type=\"math_number\" id=\"i:s.XStml8u;NrTXs39j\"><field name=\"NUM\">40</field></block></value><value name=\"ARG2\"><block type=\"math_number\" id=\"b[JB]iz3)d$f+`(bs/0a\"><field name=\"NUM\">137</field></block></value><value name=\"ARG3\"><block type=\"text\" id=\"vz:cs-V,9%4bKhI](SEc\"><field name=\"TEXT\">PURGE</field></block></value><value name=\"ARG4\"><block type=\"text_add\" id=\"yGx0S*^^(9U@!{|?DB}q\"><value name=\"arg0\"><shadow type=\"text\" disabled=\"true\"><field name=\"TEXT\"></field></shadow><block type=\"variables_get\" id=\"Kp/7^is16M5=S*QmA2w)\"><field name=\"VAR\" id=\"ZIiFKaANsz0`/FXVL.q3\">timeRemainingSign</field></block></value><value name=\"arg1\"><block type=\"text_add\" id=\"FLrT_yR1HVy/x@s;0}8b\"><value name=\"arg0\"><shadow type=\"text\" id=\"c~zKbM)q*`gX}Uy[w^^J\" disabled=\"true\"><field name=\"TEXT\"></field></shadow><block type=\"convent_int\" id=\"td6K3H6M7r;#a4?zDWnI\"><value name=\"VALUE\"><block type=\"math_arithmetic\" id=\"PI%C%~n[za9}!0o}Xn)`\"><field name=\"OP\">DIVIDE</field><value name=\"A\"><block type=\"math_single\" id=\"XI+Z#poPE5965iZ-bvIf\"><field name=\"OP\">ABS</field><value name=\"NUM\"><block type=\"variables_get\" id=\"yUx_oaMq*qe6.E[I@usL\"><field name=\"VAR\" id=\"w%~8?6F[H#CM6?Z4swp`\">timeRemainingS</field></block></value></block></value><value name=\"B\"><block type=\"math_number\" id=\"nwlV5B+-{p0eOc]cnMfG\"><field name=\"NUM\">60</field></block></value></block></value></block></value><value name=\"arg1\"><block type=\"text_add\" id=\"aFNA,}gR+,`!PaE0{yAn\"><value name=\"arg0\"><shadow type=\"text\" id=\"|J%y,(L|N%Ag-D;=qiA(\" disabled=\"true\"><field name=\"TEXT\"></field></shadow><block type=\"text\" id=\"hmR,ov^ZuzZlKLSG/4{T\"><field name=\"TEXT\">:</field></block></value><value name=\"arg1\"><block type=\"convent_int\" id=\"_F;f^j8w}MX8RPjzIv~S\"><value name=\"VALUE\"><block type=\"math_arithmetic\" id=\"iQ*,y;v@.+z$S0AyjpIE\"><field name=\"OP\">REMAINDER</field><value name=\"A\"><block type=\"math_single\" id=\"8wy0F2?=hyCGhtz@N/I_\"><field name=\"OP\">ABS</field><value name=\"NUM\"><block type=\"variables_get\" id=\"vNN/9=-ekd3GS2ak%@~_\"><field name=\"VAR\" id=\"w%~8?6F[H#CM6?Z4swp`\">timeRemainingS</field></block></value></block></value><value name=\"B\"><block type=\"math_number\" id=\"u,p])?``xh[^t*{m3=mq\"><field name=\"NUM\">60</field></block></value></block></value></block></value></block></value></block></value></block></value><next><block type=\"procedures_callnoreturn\" id=\"QgW@pg2hgTYYDr])7n6,\"><mutation name=\"displayMonitor\"><arg name=\"x\"></arg><arg name=\"y\"></arg><arg name=\"width\"></arg><arg name=\"alertName\"></arg><arg name=\"text\"></arg></mutation><value name=\"ARG0\"><block type=\"math_number\" id=\"ul*%UuPJ!1/F)4(A7exC\"><field name=\"NUM\">137</field></block></value><value name=\"ARG1\"><block type=\"math_number\" id=\"vq2f5cCfJK/fKq-aFYy^\"><field name=\"NUM\">0</field></block></value><value name=\"ARG2\"><block type=\"math_number\" id=\"8+[4(?r/!vK(a@x_pQEI\"><field name=\"NUM\">23</field></block></value><value name=\"ARG3\"><block type=\"text\" id=\"=`.{XveBS35kU1Duoo+e\"><field name=\"TEXT\">BATTERY</field></block></value><value name=\"ARG4\"><block type=\"text\" id=\"^~JtJ=`1=J##I;u`zj3}\"><field name=\"TEXT\">B</field></block></value><next><block type=\"procedures_callnoreturn\" id=\"Zz4}OibaHnMU?):#u:|7\"><mutation name=\"displayMonitor\"><arg name=\"x\"></arg><arg name=\"y\"></arg><arg name=\"width\"></arg><arg name=\"alertName\"></arg><arg name=\"text\"></arg></mutation><value name=\"ARG0\"><block type=\"math_number\" id=\"^(49Sg`wS9v:7;7kXWOA\"><field name=\"NUM\">137</field></block></value><value name=\"ARG1\"><block type=\"math_number\" id=\")(We-,p)`v,WXBzDQ9ed\"><field name=\"NUM\">40</field></block></value><value name=\"ARG2\"><block type=\"math_number\" id=\"N6w!QShWgJ@Clf1U/}vt\"><field name=\"NUM\">23</field></block></value><value name=\"ARG3\"><block type=\"text\" id=\"o/7Gn(8@)-(y~k}q$sX=\"><field name=\"TEXT\">IGNITION_OFF</field></block></value><value name=\"ARG4\"><block type=\"text\" id=\"MAMk1.E:,BtGmMb!c,}u\"><field name=\"TEXT\">I</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement><statement name=\"fail\"><block type=\"procedures_callnoreturn\" id=\"U=9),$L2.Iz!97A(jFO.\"><mutation name=\"indicateWarning\"><arg name=\"hasWarning\"></arg></mutation><value name=\"ARG0\"><block type=\"logic_boolean\" id=\"/d]v,2/O[_)T0+/4p!*B\"><field name=\"BOOL\">TRUE</field></block></value><next><block type=\"lcd_rect\" id=\"2ZsZHIpQ7pIF9r!Ye14z\"><field name=\"COLOR_TYPE\">fillcolor</field><field name=\"COLOR\">#ff0000</field><value name=\"X\"><shadow type=\"math_number\" id=\"7inc3cW$n#Ab7Y%$t?f|\"><field name=\"NUM\">0</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"@s%6Fh?4=7W}3sQK7tFf\"><field name=\"NUM\">0</field></shadow></value><value name=\"WIDTH\"><shadow type=\"math_number\" id=\"]_gOGP(R[6.}]aG-HnW$\"><field name=\"NUM\">160</field></shadow></value><value name=\"HEIGHT\"><shadow type=\"math_number\" id=\"#/5$Wv{Fnk$y*PZ*rjox\"><field name=\"NUM\">80</field></shadow></value><next><block type=\"lcd_print\" id=\"r8d@%w4^,i1.FgI}^[h2\"><field name=\"COLOR\">#000000</field><field name=\"ROTATE\">0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"fK6_!c:w|i]qaNngug.;\"><field name=\"TEXT\"></field></shadow><block type=\"text_add\" id=\"1qFH-K#|O!0L;MdCNP+w\"><value name=\"arg0\"><shadow type=\"text\" id=\"VX24:*bGplb|XH57:N#r\"><field name=\"TEXT\">Error: </field></shadow></value><value name=\"arg1\"><block type=\"get_status_code\" id=\"q$y_B{1F,liDL^-C3XhU\"></block></value></block></value><value name=\"X\"><shadow type=\"math_number\" id=\"r+uiZ@$|34kY9z9oUhhB\"><field name=\"NUM\">10</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"aG;!-p35){!.3QUmM{l_\"><field name=\"NUM\">10</field></shadow></value></block></next></block></next></block></statement><next><block type=\"timer_delay_ms\" id=\"~z2`$9Rxs!i`kPF8GEL,\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"Ip*An=C0^]h@jS]HL0sa\"><field name=\"NUM\">2000</field></shadow></value></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block><block type=\"procedures_defnoreturn\" id=\"NMr-3}{O$f,+IddT6!O9\" x=\"-3390\" y=\"850\"><mutation><arg name=\"hasWarning\" varid=\"`Wjs|Kk*)ERsvh}3X6j,\"></arg></mutation><field name=\"NAME\">indicateWarning</field><comment pinned=\"false\" h=\"80\" w=\"160\">Describe this function...</comment><statement name=\"STACK\"><block type=\"controls_ifelse\" id=\"LPS:k|p036PJtfazw5pp\"><value name=\"IF0\"><block type=\"variables_get\" id=\"dhPLMPZWx.%}oMAS|3O5\"><field name=\"VAR\" id=\"`Wjs|Kk*)ERsvh}3X6j,\">hasWarning</field></block></value><statement name=\"DO0\"><block type=\"m5ledon\" id=\"Mmk.(WBq[WcDh0H]?0Qp\"></block></statement><statement name=\"ELSE\"><block type=\"m5ledoff\" id=\"Ag^y4*JSqrG`)6W-9K,S\"></block></statement></block></statement></block><block type=\"procedures_defnoreturn\" id=\",LCrkuCrbVCroxv1,PGk\" x=\"-3410\" y=\"1170\"><mutation><arg name=\"x\" varid=\"Hl{-U?kJz#.rSBM;/nf5\"></arg><arg name=\"y\" varid=\"Xzodxr}*fb~db3%BOV]o\"></arg><arg name=\"width\" varid=\"QNzLG-mo}B(xwxJpx/,,\"></arg><arg name=\"alertName\" varid=\"P1tFj`#[o,b8Q)=XqTdQ\"></arg><arg name=\"text\" varid=\"FP,:VKaD~FtMSKXCL@L!\"></arg></mutation><field name=\"NAME\">displayMonitor</field><comment pinned=\"false\" h=\"80\" w=\"160\">Describe this function...</comment><statement name=\"STACK\"><block type=\"controls_ifelse\" id=\"=oy_|2l^N$7Hu+d20mLp\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"I!$%;z}bamYuj9){*sQe\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"lists_indexOf\" id=\"/ZB//4}lfCykN#$Q1OBS\"><field name=\"END\">FIRST</field><value name=\"VALUE\"><block type=\"variables_get\" id=\"#[_vvG^0SJ}7m#Z*!QNg\"><field name=\"VAR\" id=\"X$Y,t4^ijLl6kdFuHn2O\">alerts</field></block></value><value name=\"FIND\"><block type=\"variables_get\" id=\"A@hZGG5)Wm?iyF.Irhe@\"><field name=\"VAR\" id=\"P1tFj`#[o,b8Q)=XqTdQ\">alertName</field></block></value></block></value><value name=\"B\"><block type=\"math_number\" id=\"@1OpIg:[LyTn{*:`F{BQ\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO0\"><block type=\"lcd_rect\" id=\"I#Enq%g)Lk:`Ca|]g3~U\"><field name=\"COLOR_TYPE\">fillcolor</field><field name=\"COLOR\">#33ff33</field><value name=\"X\"><shadow type=\"math_number\" id=\"oA!hvHjZAQR(:~I%F~gF\"><field name=\"NUM\">0</field></shadow><block type=\"variables_get\" id=\"Zl?,v!?toluo1kMk^_Uz\"><field name=\"VAR\" id=\"Hl{-U?kJz#.rSBM;/nf5\">x</field></block></value><value name=\"Y\"><shadow type=\"math_number\" id=\")7u#?KCo-r!WWFnaDi#G\"><field name=\"NUM\">0</field></shadow><block type=\"variables_get\" id=\":WN$ZppH%^iVl.{fwzYF\"><field name=\"VAR\" id=\"Xzodxr}*fb~db3%BOV]o\">y</field></block></value><value name=\"WIDTH\"><shadow type=\"math_number\" id=\"6Ft~2GQgH7%l`nIqW}?a\"><field name=\"NUM\">137</field></shadow><block type=\"variables_get\" id=\"9stP?bLS,uQK:k+tC|kX\"><field name=\"VAR\" id=\"QNzLG-mo}B(xwxJpx/,,\">width</field></block></value><value name=\"HEIGHT\"><shadow type=\"math_number\" id=\"`wXK(/_,^QnWB.Y`@Kis\"><field name=\"NUM\">40</field></shadow></value></block></statement><statement name=\"ELSE\"><block type=\"lcd_rect\" id=\"7_+g@U`e{6g2al3*DD0e\"><field name=\"COLOR_TYPE\">fillcolor</field><field name=\"COLOR\">#ff0000</field><value name=\"X\"><shadow type=\"math_number\" id=\"/1lgXc9*,j8w6L)dRy[_\"><field name=\"NUM\">0</field></shadow><block type=\"variables_get\" id=\"5ahNZcx~C[i}IcT6RI0f\"><field name=\"VAR\" id=\"Hl{-U?kJz#.rSBM;/nf5\">x</field></block></value><value name=\"Y\"><shadow type=\"math_number\" id=\"9i3SKqziLI31W%!UY*rH\"><field name=\"NUM\">0</field></shadow><block type=\"variables_get\" id=\"L07HmnEdhaC#I[;$[-Yj\"><field name=\"VAR\" id=\"Xzodxr}*fb~db3%BOV]o\">y</field></block></value><value name=\"WIDTH\"><shadow type=\"math_number\" id=\"|0Q+2J(ns+ES@u[2`4|T\"><field name=\"NUM\">137</field></shadow><block type=\"variables_get\" id=\"Ma)dW`-#Co=;=s/r;szm\"><field name=\"VAR\" id=\"QNzLG-mo}B(xwxJpx/,,\">width</field></block></value><value name=\"HEIGHT\"><shadow type=\"math_number\" id=\"r:Sq]SC?%m^$[G.]{%#!\"><field name=\"NUM\">40</field></shadow></value></block></statement><next><block type=\"lcd_print\" id=\"3#Ntq0uhV{}G32w}2GQL\"><field name=\"COLOR\">#000000</field><field name=\"ROTATE\">0</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\"></field></shadow><block type=\"variables_get\" id=\"I]boj0J;VeDo6:W8Bniw\"><field name=\"VAR\" id=\"FP,:VKaD~FtMSKXCL@L!\">text</field></block></value><value name=\"X\"><shadow type=\"math_number\" id=\"%nZg(YWY2s9)=`ozh-31\"><field name=\"NUM\">10</field></shadow><block type=\"math_arithmetic\" id=\".HqD]24+zH0,RO?c9~y7\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"variables_get\" id=\"vLo8YfMQRtYL|W_~{2:F\"><field name=\"VAR\" id=\"Hl{-U?kJz#.rSBM;/nf5\">x</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"q[xToYHDNCydf)ISU|xZ\"><field name=\"NUM\">5</field></block></value></block></value><value name=\"Y\"><shadow type=\"math_number\" id=\"s-qNV)!h9umwN(f-:%)%\"><field name=\"NUM\">10</field></shadow><block type=\"math_arithmetic\" id=\"jDrXk;B[T(7Ulab%|0:=\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"variables_get\" id=\"x8x%.OBO|~~]r_!p,{tF\"><field name=\"VAR\" id=\"Xzodxr}*fb~db3%BOV]o\">y</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"e0L7f#17=3z8rJLB)Vds\"><field name=\"NUM\">10</field></block></value></block></value></block></next></block></statement></block>","Blockly.Remotes":[],"Blockly.RemotePlus":[{"id":"__title","blockId":"","createTime":1703661175623,"name":"M5RemoteTitle","dragAndDrop":false,"resizable":false,"options":{"minWidth":1,"minHeight":1,"maxWidth":6,"maxHeight":10,"defaultWidth":2,"defaultHeight":1},"w":2,"h":1,"bgColor":"#0080FF","color":"#fff","fontsize":"M","label":"M5Remote","interval":3000,"code":"","event":"","dataSource":"none","ezdataToken":"8KsHjEyhgqkDCUcZqG2Xg0oworxWk9Rx","topic":"","needShadow":false,"type":"title","x":0,"y":0}],"modules":[],"cbIdList_":[],"eventCBIdList_":[],"apikey":"F0385569","uuid":"60d9eaa3-c3e6-4f88-b42a-1110383c57d6"}