123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342 |
- <xml xmlns="http://www.w3.org/1999/xhtml" type="IoT">
- <block type="ai_lcd_screeninit" id="C?v(YEe$x4G?o*-U1IXH" x="-41" y="-121">
- <field name="isScreen">False</field>
- <next>
- <block type="speech_recognition_phonetic_to_pinyin_set_param" id="beR@IXi^|e:8A*ZQ$Ab`">
- <mutation items="3"></mutation>
- <value name="PINYIN0">
- <shadow type="math_number" id="sSW{nt9}P2HD-OKV6;@@">
- <field name="NUM">0</field>
- </shadow>
- <block type="set_pinyin_dict_create_with_items_insert" id="B~[y+uuI/Q0vw_u|*p+N">
- <mutation items="2"></mutation>
- <field name="KEY0">lan</field>
- <field name="toneADD00">2</field>
- <field name="KEY1">se</field>
- <field name="toneADD11">4</field>
- </block>
- </value>
- <value name="PINYIN1">
- <block type="set_pinyin_dict_create_with_items_insert" id="Mv}V~t=chVlBm0EqARVg">
- <mutation items="2"></mutation>
- <field name="KEY0">hong</field>
- <field name="toneADD00">2</field>
- <field name="KEY1">se</field>
- <field name="toneADD11">4</field>
- </block>
- </value>
- <value name="PINYIN2">
- <block type="set_pinyin_dict_create_with_items_insert" id="aLW;6^iyFA3~ICZ5)jl1">
- <mutation items="4"></mutation>
- <field name="KEY0">ke</field>
- <field name="toneADD00">3</field>
- <field name="KEY1">ke</field>
- <field name="toneADD11">3</field>
- <field name="KEY2">le</field>
- <field name="toneADD22">4</field>
- <field name="KEY3">bo</field>
- <field name="toneADD33">2</field>
- </block>
- </value>
- <next>
- <block type="variables_set" id="WSmEYt/(HX?o,Y#gNvwj">
- <field name="VAR">result</field>
- <value name="VALUE">
- <shadow type="math_number" id=".DK!ahw4Ed1Lc*M^l0m3">
- <field name="NUM">0</field>
- </shadow>
- </value>
- <next>
- <block type="controls_repeat_forever" id="0S4PQ7RZrwVxZluTFo3`">
- <statement name="DO">
- <block type="ai_lcd_textcarvas" id="FowY2RJ$va-MK0)%o-JO">
- <value name="POSA">
- <block type="lcd_set_position" id="VL~x/q{h`o+yy5ia[Z71">
- <value name="POSX">
- <shadow type="math_number" id="4MvR_f+ZdN/|}%YBO38n">
- <field name="NUM">0</field>
- </shadow>
- </value>
- <value name="POSY">
- <shadow type="math_number" id="k*HP/WXNc-rbIULY{.O0">
- <field name="NUM">40</field>
- </shadow>
- </value>
- </block>
- </value>
- <value name="CONTENT">
- <shadow type="text" id="(UZa4B_$dDg@:mv9$HsW">
- <field name="TEXT">请对准麦克风说出指令</field>
- </shadow>
- </value>
- <value name="COLOR">
- <block type="lcd_set_color" id="~xda6KM=P2kbz=;m%Ur~">
- <field name="COLOR">#ffffff</field>
- </block>
- </value>
- <value name="Scale">
- <shadow type="math_number" id="f2b/:OgJ?9YV7I@q3RwI">
- <field name="NUM">1</field>
- </shadow>
- </value>
- <next>
- <block type="ai_lcd_showcarvas_set_display" id="2Sd7ec^Y_rHTMmKUwPQQ">
- <next>
- <block type="speech_recognition_phonetic_to_pinyin_start_recognition" id="[LP!G2AAi3Y}w(L!D`x:">
- <next>
- <block type="variables_set" id="@Q32)Jhyr04A#a*By}3`">
- <field name="VAR">result</field>
- <value name="VALUE">
- <shadow type="math_number" id="l,hx;u|etG$-Te+kh(fo">
- <field name="NUM">0</field>
- </shadow>
- <block type="text_join" id="N!Cro42O|y}y,=kcSi8L">
- <mutation items="1"></mutation>
- <value name="ADD0">
- <block type="speech_recognition_phonetic_to_pinyin_get_result" id="I_-egLU1p7Tc:FW2Og1M"></block>
- </value>
- </block>
- </value>
- <next>
- <block type="controls_if" id="w#0fR7m);2oA)a{DKW7h">
- <mutation elseif="2"></mutation>
- <value name="IF0">
- <block type="logic_compare" id="*u)PSU?]SIDmkc=pls[T">
- <field name="OP">EQ</field>
- <value name="A">
- <block type="variables_get" id="ief{i$NHmanu-y!q8VPv">
- <field name="VAR">result</field>
- </block>
- </value>
- <value name="B">
- <block type="set_pinyin_dict_create_with_items_insert" id="s!n|]$bR.APlANDcsV$b">
- <mutation items="2"></mutation>
- <field name="KEY0">lan</field>
- <field name="toneADD00">2</field>
- <field name="KEY1">se</field>
- <field name="toneADD11">4</field>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO0">
- <block type="ai_lcd_clearcanvas" id="G6dP_S5Ac,*3WbL}Uo(?">
- <next>
- <block type="ai_lcd_draw_rectangle" id="y6ISPDuy?~9m-1i9cq#~">
- <field name="rect_type">fillrect</field>
- <value name="POSA">
- <block type="lcd_set_position" id="Th?A$4N{WTz/Ns-G+;PL">
- <value name="POSX">
- <shadow type="math_number" id="d_-@m1f/e0UKT$=:P,nu">
- <field name="NUM">0</field>
- </shadow>
- </value>
- <value name="POSY">
- <shadow type="math_number" id="HgmVjW3WbhTyS$0=l4,0">
- <field name="NUM">0</field>
- </shadow>
- </value>
- </block>
- </value>
- <value name="POSB">
- <block type="lcd_set_width_height" id="J3jNp|/]Mydt`xkG{X@,">
- <value name="WIDTH">
- <shadow type="math_number" id="Dt*X:9S18Dh.uaQqZVN2">
- <field name="NUM">320</field>
- </shadow>
- </value>
- <value name="HEIGHT">
- <shadow type="math_number" id="lkdvr1hVxii8VsMq%R%D">
- <field name="NUM">240</field>
- </shadow>
- </value>
- </block>
- </value>
- <value name="COLOR">
- <block type="lcd_set_color" id="3}o-{00O~lshqL:JtGto">
- <field name="COLOR">#33ccff</field>
- </block>
- </value>
- </block>
- </next>
- </block>
- </statement>
- <value name="IF1">
- <block type="logic_compare" id="F6!pRkJI|AoE{|AY`DuH">
- <field name="OP">EQ</field>
- <value name="A">
- <block type="variables_get" id=":MMUgcrV3T.3/N91}JkA">
- <field name="VAR">result</field>
- </block>
- </value>
- <value name="B">
- <block type="set_pinyin_dict_create_with_items_insert" id="K@s0Cv||q]Gfg~V$|!^:">
- <mutation items="2"></mutation>
- <field name="KEY0">hong</field>
- <field name="toneADD00">2</field>
- <field name="KEY1">se</field>
- <field name="toneADD11">4</field>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO1">
- <block type="ai_lcd_clearcanvas" id="AalG0XjX9?6F~YL7zjsA">
- <next>
- <block type="ai_lcd_draw_rectangle" id="olyyZMT*(hV1^=z#A4Xu">
- <field name="rect_type">fillrect</field>
- <value name="POSA">
- <block type="lcd_set_position" id="L%P0v2PP5R]5@^|z3.0K">
- <value name="POSX">
- <shadow type="math_number" id="[8P.zIx?9+iP9IPdMCO!">
- <field name="NUM">0</field>
- </shadow>
- </value>
- <value name="POSY">
- <shadow type="math_number" id="=(b78fW%Fdk6z{bjY7Rl">
- <field name="NUM">0</field>
- </shadow>
- </value>
- </block>
- </value>
- <value name="POSB">
- <block type="lcd_set_width_height" id="]tsUwf28nu)Lkc=JER_W">
- <value name="WIDTH">
- <shadow type="math_number" id="=fL8^F!WY2i;bbqaBX#V">
- <field name="NUM">320</field>
- </shadow>
- </value>
- <value name="HEIGHT">
- <shadow type="math_number" id="@=g%1jIzNn0pZ#a**IQ^">
- <field name="NUM">240</field>
- </shadow>
- </value>
- </block>
- </value>
- <value name="COLOR">
- <block type="lcd_set_color" id="#iT)$MwWOL]5zRrv:Uy?">
- <field name="COLOR">#ff6666</field>
- </block>
- </value>
- </block>
- </next>
- </block>
- </statement>
- <value name="IF2">
- <block type="logic_compare" id="Fed*J5k-Cumfz5~W`rrs">
- <field name="OP">EQ</field>
- <value name="A">
- <block type="variables_get" id="yPs+x#;w(RSmdBXs/m|`">
- <field name="VAR">result</field>
- </block>
- </value>
- <value name="B">
- <block type="set_pinyin_dict_create_with_items_insert" id="r$MT:4B42QT@N`^,mVz$">
- <mutation items="4"></mutation>
- <field name="KEY0">ke</field>
- <field name="toneADD00">3</field>
- <field name="KEY1">ke</field>
- <field name="toneADD11">3</field>
- <field name="KEY2">le</field>
- <field name="toneADD22">4</field>
- <field name="KEY3">bo</field>
- <field name="toneADD33">2</field>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO2">
- <block type="ai_lcd_clearcanvas" id="S+zF/yK_)R]I`rmmKJNQ">
- <next>
- <block type="ai_lcd_draw_rectangle" id="}%}nWsLQ?V+$]lC)T?m@">
- <field name="rect_type">fillrect</field>
- <value name="POSA">
- <block type="lcd_set_position" id="o|p/CyiJD9aW];A^g$xJ">
- <value name="POSX">
- <shadow type="math_number" id="Q?nA{Ndd:A$syIHJwJs;">
- <field name="NUM">0</field>
- </shadow>
- </value>
- <value name="POSY">
- <shadow type="math_number" id="cv``q0AiZROSFL2e;bz.">
- <field name="NUM">0</field>
- </shadow>
- </value>
- </block>
- </value>
- <value name="POSB">
- <block type="lcd_set_width_height" id="xLnPf7C)D+2ZT|?[S0=o">
- <value name="WIDTH">
- <shadow type="math_number" id="w/Z,2R;(8Uuw6Je8`X*V">
- <field name="NUM">320</field>
- </shadow>
- </value>
- <value name="HEIGHT">
- <shadow type="math_number" id="tr/TM!P|G}vOGjA/l|W=">
- <field name="NUM">240</field>
- </shadow>
- </value>
- </block>
- </value>
- <value name="COLOR">
- <block type="lcd_set_color" id="0G$xF6XDfI(u{CM^ci_u">
- <field name="COLOR">#000000</field>
- </block>
- </value>
- <next>
- <block type="ai_lcd_draw_image_on_canvas" id="=eL/hMFlcSLYsbaH~:|@">
- <value name="image_path">
- <block type="v831_img_text" id="1Pop$oraX*2Q-l6Rw4sq">
- <value name="save_path">
- <shadow type="text" id="1zzCH41$ft^YZ]QeRcm,">
- <field name="TEXT">/root/preset/img/cocorobo_text.jpg</field>
- </shadow>
- </value>
- </block>
- </value>
- <value name="scale_y">
- <block type="lcd_set_position" id="FP7d)GOTTkMF?=Ktsw]r">
- <value name="POSX">
- <shadow type="math_number" id="G;WqsGtoi3,C|t*x)X#V">
- <field name="NUM">80</field>
- </shadow>
- </value>
- <value name="POSY">
- <shadow type="math_number" id=";5@+Ft=8K$R1yaqArGbI">
- <field name="NUM">100</field>
- </shadow>
- </value>
- </block>
- </value>
- <value name="alpha">
- <shadow type="math_number" id="fY8UEH1qj0a{J[DLV8Y.">
- <field name="NUM">1</field>
- </shadow>
- </value>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- <next>
- <block type="ai_lcd_showcarvas_set_display" id="HLzGPHV2^#sJ2veU.qwE"></block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </xml>
|