3 Star 7 Fork 15

狮偶 / testing

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
changeState.xs 2.96 KB
一键复制 编辑 原始数据 按行查看 历史
杜天微 提交于 2021-09-22 09:28 . 增加数据集绘制图表测试
{"formatVersion":1,"fsms":[{"variables":[],"startState":0,"states":[{"code":"<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"on_event\" id=\"}9yuhE:x|gBw81Xx*qHG\" x=\"0\" y=\"0\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" eventname=\"Start\" style=\"event_blocks\"></mutation><next><block type=\"text_print\" id=\"aRXrBA#By3V5TBY)4PW9\"><value name=\"TEXT\"><shadow type=\"text\" id=\"[+rBGaYypP2fxo|X;YSf\"><field name=\"TEXT\">text</field></shadow><block type=\"typed_procedure_call\" id=\"7oQR;DpSp-10=ilVIgD{\"><mutation xmlns=\"\">%7B%22returnType%22:%7B%22name%22:%22Integer%22,%22blockId%22:%22_?!P5%5D$=%5BL215KyWv%60@4%22,%22$__type%22:%22StructFieldType%22%7D,%22args%22:%5B%5D%7D</mutation><field name=\"MODULE\"></field><field name=\"METHOD\">a</field></block></value><next><block type=\"typed_procedure_call\" id=\"{y;BRJ]]wcr4Qz.=h`1[\"><mutation xmlns=\"\">%7B%22returnType%22:null,%22args%22:%5B%5D%7D</mutation><field name=\"MODULE\"></field><field name=\"METHOD\">b</field></block></next></block></next></block><block type=\"typed_procedures\" id=\"qB#WeD0pah;mCYp{(,lx\" x=\"392\" y=\"0\"><mutation xmlns=\"\">%5B%5D</mutation><field name=\"NAME\">a</field><value name=\"RETURN\"><block type=\"struct_base_type\" id=\"_?!P5]$=[L215KyWv`@4\"><field name=\"TYPE\">Integer</field></block></value><next><block type=\"text_print\" id=\"-[_nTHM#~uZlx0$t2@Z^\"><value name=\"TEXT\"><shadow type=\"text\" id=\"R3AaY$=!|?oN^T]UW.6Q\"><field name=\"TEXT\">a</field></shadow></value><next><block type=\"method_return\" id=\"z[$RZrI@WW|eDhx2sj*#\"><mutation xmlns=\"\">%5B%22Integer%22%5D</mutation><value name=\"VALUE\"><block type=\"math_integer\" id=\"Y`hL.]iv98+G#5}(Y+3f\"><field name=\"NUM\">7</field></block></value></block></next></block></next></block><block type=\"typed_procedures\" id=\"AFR0:qQ|Akd$t4pY2@BG\" x=\"657\" y=\"0\"><mutation xmlns=\"\">%5B%5D</mutation><field name=\"NAME\">b</field><next><block type=\"text_print\" id=\"3[p+LA+,x#jCl6lb%(aT\"><value name=\"TEXT\"><shadow type=\"text\" id=\"$X6DE8$_!2RQ4|Z|@ppb\"><field name=\"TEXT\">b</field></shadow></value><next><block type=\"change_state\" id=\"`j2nGi[;z)s%}z*?omdZ\"><field name=\"VALUE\">状态_1</field></block></next></block></next></block></xml>","comment":"状态","variables":[],"type":"state","name":"状态"},{"code":"<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"on_event\" id=\"((Zz%3?Fe[Q(|g`zd^7j\" x=\"16\" y=\"8\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" eventname=\"Start\" style=\"event_blocks\"></mutation><next><block type=\"text_print\" id=\"j/mFIG*QF}[B57:yYSy~\"><value name=\"TEXT\"><shadow type=\"text\" id=\"o,uF[?VWh};?U#~qmoK9\"><field name=\"TEXT\">状态1</field></shadow></value></block></next></block></xml>","comment":"状态","variables":[],"type":"state","name":"状态_1"}],"function":[],"comment":"状态机","type":"fsm","name":"Main"}],"structs":[],"functions":[],"depends":[],"type":"src","typeLimit":"","comment":"","env":[],"name":"Start"}
1
https://gitee.com/openblock/testing.git
git@gitee.com:openblock/testing.git
openblock
testing
testing
master

搜索帮助