{"id":146010,"student_id":1981,"content":"{\"files\":{\"src/appinventor/ai_appinventor/IND104/Screen1.bky\":\"\\u003cxml xmlns=\\\"http://www.w3.org/1999/xhtml\\\"\\u003e\\n \\u003cblock type=\\\"procedures_defreturn\\\" id=\\\"^`3a5SKv{_7a{P/X{n73\\\" x=\\\"-298\\\" y=\\\"-87\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003ewater\\u003c/field\\u003e\\n \\u003ccomment pinned=\\\"false\\\" h=\\\"43\\\" w=\\\"240\\\"\\u003e依酒精濃度換算公式取得稀釋水量\\u003c/comment\\u003e\\n \\u003cvalue name=\\\"RETURN\\\"\\u003e\\n \\u003cblock type=\\\"math_subtract\\\" id=\\\"+@82eFq:A^.BO\\\\!2vWrGS\\\"\\u003e\\n \\u003cvalue name=\\\"A\\\"\\u003e\\n \\u003cblock type=\\\"math_multiply\\\" id=\\\"MSmSV8oF.#VDe3s3T\\\\!`D\\\"\\u003e\\n \\u003cmutation items=\\\"2\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cvalue name=\\\"NUM0\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"*2vgQXei@xk~o\\\\!__+:@m\\\"\\u003e\\n \\u003cmutation component_type=\\\"TextBox\\\" set_or_get=\\\"get\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"TextBoxInAlcohol\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eTextBoxInAlcohol\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"NUM1\\\"\\u003e\\n \\u003cblock type=\\\"math_division\\\" id=\\\"t7QHZ3lJ5V0Pwe\\\\!xRM3B\\\"\\u003e\\n \\u003cvalue name=\\\"A\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"V7YtMyTP3ppiV[4h%*EG\\\"\\u003e\\n \\u003cmutation component_type=\\\"TextBox\\\" set_or_get=\\\"get\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"TextBoxInWater\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eTextBoxInWater\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"B\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"/m90)gq~Ov05SJMq/QHy\\\"\\u003e\\n \\u003cmutation component_type=\\\"TextBox\\\" set_or_get=\\\"get\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"TextBoxOutAlcohol\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eTextBoxOutAlcohol\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"B\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\":(}/kcCg`1bv@hBt*:VN\\\"\\u003e\\n \\u003cmutation component_type=\\\"TextBox\\\" set_or_get=\\\"get\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"TextBoxInWater\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eTextBoxInWater\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"component_event\\\" id=\\\"B8Gw~%4ljeH@EL3S50hG\\\" x=\\\"-262\\\" y=\\\"68\\\"\\u003e\\n \\u003cmutation component_type=\\\"Button\\\" instance_name=\\\"Button1\\\" event_name=\\\"Click\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eButton1\\u003c/field\\u003e\\n \\u003cstatement name=\\\"DO\\\"\\u003e\\n \\u003cblock type=\\\"controls_if\\\" id=\\\"{ec%xpAj?OGbO)bb]=1r\\\"\\u003e\\n \\u003cmutation else=\\\"1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cvalue name=\\\"IF0\\\"\\u003e\\n \\u003cblock type=\\\"logic_operation\\\" id=\\\"=WLo3UagzN(=xg1vl}a2\\\" inline=\\\"false\\\"\\u003e\\n \\u003cfield name=\\\"OP\\\"\\u003eAND\\u003c/field\\u003e\\n \\u003cvalue name=\\\"A\\\"\\u003e\\n \\u003cblock type=\\\"logic_negate\\\" id=\\\")]/tM)-Yva%*2M6DEl37\\\"\\u003e\\n \\u003cvalue name=\\\"BOOL\\\"\\u003e\\n \\u003cblock type=\\\"text_isEmpty\\\" id=\\\"ZD(+ra^Cs?rY;;B_u({W\\\"\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"8;tP)@7]?MDfS})Z+eAD\\\"\\u003e\\n \\u003cmutation component_type=\\\"TextBox\\\" set_or_get=\\\"get\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"TextBoxInAlcohol\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eTextBoxInAlcohol\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"B\\\"\\u003e\\n \\u003cblock type=\\\"logic_operation\\\" id=\\\"pz#q\\\\!e6M;6+WJQP`9PJM\\\" inline=\\\"false\\\"\\u003e\\n \\u003cfield name=\\\"OP\\\"\\u003eAND\\u003c/field\\u003e\\n \\u003cvalue name=\\\"A\\\"\\u003e\\n \\u003cblock type=\\\"logic_negate\\\" id=\\\"9fUL#Fa3Zig#%Q-hZnRu\\\"\\u003e\\n \\u003cvalue name=\\\"BOOL\\\"\\u003e\\n \\u003cblock type=\\\"text_isEmpty\\\" id=\\\"l2ell6@({vlq]%V@U5:k\\\"\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"d/dme+WcJL]duYaTB3$j\\\"\\u003e\\n \\u003cmutation component_type=\\\"TextBox\\\" set_or_get=\\\"get\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"TextBoxInWater\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eTextBoxInWater\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"B\\\"\\u003e\\n \\u003cblock type=\\\"logic_negate\\\" id=\\\"`N7hU^HxE~E6Z,*Fa[hH\\\"\\u003e\\n \\u003cvalue name=\\\"BOOL\\\"\\u003e\\n \\u003cblock type=\\\"text_isEmpty\\\" id=\\\"AEXfRanch2/V,)Z[(8zN\\\"\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"CWg,xfNiU(aa5Du;zcVz\\\"\\u003e\\n \\u003cmutation component_type=\\\"TextBox\\\" set_or_get=\\\"get\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"TextBoxOutAlcohol\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eTextBoxOutAlcohol\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cstatement name=\\\"DO0\\\"\\u003e\\n \\u003cblock type=\\\"controls_if\\\" id=\\\"(/cRr^8xXM#S@V\\\\!0,r#I\\\"\\u003e\\n \\u003cmutation else=\\\"1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003ccomment pinned=\\\"true\\\" h=\\\"56\\\" w=\\\"127\\\"\\u003e判斷原始酒精濃度是否大於稀釋後酒精濃度\\u003c/comment\\u003e\\n \\u003cvalue name=\\\"IF0\\\"\\u003e\\n \\u003cblock type=\\\"math_compare\\\" id=\\\"~DDrMw$G]RkKAQR!1;SR\\\"\\u003e\\n \\u003cfield name=\\\"OP\\\"\\u003eGT\\u003c/field\\u003e\\n \\u003cvalue name=\\\"A\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\")I094pis!!wI7=8wCR_+\\\"\\u003e\\n \\u003cmutation component_type=\\\"TextBox\\\" set_or_get=\\\"get\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"TextBoxInAlcohol\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eTextBoxInAlcohol\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"B\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"T.0qvx,5KJB%~JW.`^be\\\"\\u003e\\n \\u003cmutation component_type=\\\"TextBox\\\" set_or_get=\\\"get\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"TextBoxOutAlcohol\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eTextBoxOutAlcohol\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cstatement name=\\\"DO0\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"?#M_X4QBC8rq?v`?Ov7%\\\"\\u003e\\n \\u003cmutation component_type=\\\"Label\\\" set_or_get=\\\"set\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"Label3\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eLabel3\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"text_join\\\" id=\\\"Z}^aQx{T@ube9!74Fi^?\\\"\\u003e\\n \\u003cmutation items=\\\"3\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003ccomment pinned=\\\"false\\\" h=\\\"35\\\" w=\\\"123\\\"\\u003e取得已計算好的水量\\u003c/comment\\u003e\\n \\u003cvalue name=\\\"ADD0\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"\\\\!5[#8sF{Yp-W#N}JQ{9J\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e需要水量 \\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD1\\\"\\u003e\\n \\u003cblock type=\\\"math_floor\\\" id=\\\"o2,Z#Ibk}(jO.gNGLQSN\\\"\\u003e\\n \\u003cfield name=\\\"OP\\\"\\u003eFLOOR\\u003c/field\\u003e\\n \\u003cvalue name=\\\"NUM\\\"\\u003e\\n \\u003cblock type=\\\"procedures_callreturn\\\" id=\\\"1je0:TANbB[JM%z+nMoU\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation name=\\\"water\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"PROCNAME\\\"\\u003ewater\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD2\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"TW^/beYk,/8]nIr?NleX\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e ml\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"jA!4%]RTrTl+owZQH#c[\\\"\\u003e\\n \\u003cmutation component_type=\\\"Label\\\" set_or_get=\\\"set\\\" property_name=\\\"TextColor\\\" is_generic=\\\"false\\\" instance_name=\\\"Label3\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eLabel3\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eTextColor\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003cstatement name=\\\"ELSE\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"zf(1Y\\\\!9Kor+NZ21W_$1?\\\"\\u003e\\n \\u003cmutation component_type=\\\"Label\\\" set_or_get=\\\"set\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"Label3\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eLabel3\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"4dxK:8a==5/j.k4~h;Rp\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_method\\\" id=\\\"~S3OP:?r5T+%.\\\\!V4H*I5\\\"\\u003e\\n \\u003cmutation component_type=\\\"Notifier\\\" method_name=\\\"ShowAlert\\\" is_generic=\\\"false\\\" instance_name=\\\"Notifier1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eNotifier1\\u003c/field\\u003e\\n \\u003cvalue name=\\\"ARG0\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"8{CeMJrrI\\\\!7^@Fjzwt#f\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e稀釋濃度錯誤\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003cstatement name=\\\"ELSE\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"\\\\!!#AUb8h*QMor7\\\\!HiopJ\\\"\\u003e\\n \\u003cmutation component_type=\\\"Label\\\" set_or_get=\\\"set\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"Label3\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eLabel3\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"gEt.c~Yiqc!guq.O=jb\\\\!\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_method\\\" id=\\\"P8*F\\\\!J]0%ja@UO)xX-gF\\\"\\u003e\\n \\u003cmutation component_type=\\\"Notifier\\\" method_name=\\\"ShowAlert\\\" is_generic=\\\"false\\\" instance_name=\\\"Notifier1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eNotifier1\\u003c/field\\u003e\\n \\u003cvalue name=\\\"ARG0\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"miJ%9n^,E+w;cK_lD=Wx\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e資料未輸入完整\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cyacodeblocks ya-version=\\\"167\\\" language-version=\\\"21\\\"\\u003e\\u003c/yacodeblocks\\u003e\\n\\u003c/xml\\u003e\",\"src/appinventor/ai_appinventor/IND104/Screen1.scm\":\"#|\\n$JSON\\n{\\\"authURL\\\":[\\\"localhost\\\",\\\"koding.school\\\"],\\\"YaVersion\\\":\\\"167\\\",\\\"Source\\\":\\\"Form\\\",\\\"Properties\\\":{\\\"$Name\\\":\\\"Screen1\\\",\\\"$Type\\\":\\\"Form\\\",\\\"$Version\\\":\\\"23\\\",\\\"AccentColor\\\":\\\"\\u0026HFFFFC800\\\",\\\"AppName\\\":\\\"IND104\\\",\\\"Title\\\":\\\"Alcohol\\\",\\\"Uuid\\\":\\\"0\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"HorizontalArrangement1\\\",\\\"$Type\\\":\\\"HorizontalArrangement\\\",\\\"$Version\\\":\\\"3\\\",\\\"Width\\\":\\\"-2\\\",\\\"Uuid\\\":\\\"-1579472063\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"Label1\\\",\\\"$Type\\\":\\\"Label\\\",\\\"$Version\\\":\\\"4\\\",\\\"FontSize\\\":\\\"18\\\",\\\"Text\\\":\\\"\\\\u9152\\\\u7cbe\\\\u6fc3\\\\u5ea6\\\",\\\"Uuid\\\":\\\"-374763703\\\"},{\\\"$Name\\\":\\\"TextBoxInAlcohol\\\",\\\"$Type\\\":\\\"TextBox\\\",\\\"$Version\\\":\\\"5\\\",\\\"FontSize\\\":\\\"18\\\",\\\"Width\\\":\\\"-2\\\",\\\"NumbersOnly\\\":\\\"True\\\",\\\"Uuid\\\":\\\"-1352001886\\\"},{\\\"$Name\\\":\\\"Label6\\\",\\\"$Type\\\":\\\"Label\\\",\\\"$Version\\\":\\\"4\\\",\\\"FontSize\\\":\\\"18\\\",\\\"Text\\\":\\\"%\\\\uff0c\\\",\\\"Uuid\\\":\\\"-870829370\\\"},{\\\"$Name\\\":\\\"Label2\\\",\\\"$Type\\\":\\\"Label\\\",\\\"$Version\\\":\\\"4\\\",\\\"FontSize\\\":\\\"18\\\",\\\"Text\\\":\\\"\\\\u9152\\\\u7cbe\\\\u91cf\\\",\\\"Uuid\\\":\\\"-732914057\\\"},{\\\"$Name\\\":\\\"TextBoxInWater\\\",\\\"$Type\\\":\\\"TextBox\\\",\\\"$Version\\\":\\\"5\\\",\\\"FontSize\\\":\\\"18\\\",\\\"Width\\\":\\\"-2\\\",\\\"NumbersOnly\\\":\\\"True\\\",\\\"Uuid\\\":\\\"-1522146971\\\"},{\\\"$Name\\\":\\\"Label7\\\",\\\"$Type\\\":\\\"Label\\\",\\\"$Version\\\":\\\"4\\\",\\\"FontSize\\\":\\\"18\\\",\\\"Text\\\":\\\"ml\\\",\\\"Uuid\\\":\\\"402170129\\\"}]},{\\\"$Name\\\":\\\"HorizontalArrangement2\\\",\\\"$Type\\\":\\\"HorizontalArrangement\\\",\\\"$Version\\\":\\\"3\\\",\\\"Width\\\":\\\"-2\\\",\\\"Uuid\\\":\\\"1170921206\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"Label4\\\",\\\"$Type\\\":\\\"Label\\\",\\\"$Version\\\":\\\"4\\\",\\\"FontSize\\\":\\\"18\\\",\\\"Text\\\":\\\"\\\\u6b32\\\\u7a00\\\\u91cb\\\\u70ba\\\\u9152\\\\u7cbe\\\\u6fc3\\\\u5ea6\\\",\\\"Uuid\\\":\\\"2126520933\\\"},{\\\"$Name\\\":\\\"TextBoxOutAlcohol\\\",\\\"$Type\\\":\\\"TextBox\\\",\\\"$Version\\\":\\\"5\\\",\\\"FontSize\\\":\\\"18\\\",\\\"Width\\\":\\\"-2\\\",\\\"NumbersOnly\\\":\\\"True\\\",\\\"Uuid\\\":\\\"654253366\\\"},{\\\"$Name\\\":\\\"Label5\\\",\\\"$Type\\\":\\\"Label\\\",\\\"$Version\\\":\\\"4\\\",\\\"FontSize\\\":\\\"18\\\",\\\"Text\\\":\\\"%\\\\u7684\\\\u9152\\\\u7cbe\\\",\\\"Uuid\\\":\\\"-1811953169\\\"}]},{\\\"$Name\\\":\\\"Button1\\\",\\\"$Type\\\":\\\"Button\\\",\\\"$Version\\\":\\\"6\\\",\\\"FontSize\\\":\\\"18\\\",\\\"Width\\\":\\\"-2\\\",\\\"Text\\\":\\\"\\\\u8a08\\\\u7b97\\\\u6c34\\\\u91cf\\\",\\\"Uuid\\\":\\\"-421185954\\\"},{\\\"$Name\\\":\\\"Label3\\\",\\\"$Type\\\":\\\"Label\\\",\\\"$Version\\\":\\\"4\\\",\\\"FontSize\\\":\\\"18\\\",\\\"TextColor\\\":\\\"\\u0026HFFFF0000\\\",\\\"Uuid\\\":\\\"1471094525\\\"},{\\\"$Name\\\":\\\"Image1\\\",\\\"$Type\\\":\\\"Image\\\",\\\"$Version\\\":\\\"3\\\",\\\"Height\\\":\\\"-2\\\",\\\"Width\\\":\\\"-2\\\",\\\"Picture\\\":\\\"alcohol.jpg\\\",\\\"ScalePictureToFit\\\":\\\"True\\\",\\\"Uuid\\\":\\\"2057255428\\\"},{\\\"$Name\\\":\\\"Notifier1\\\",\\\"$Type\\\":\\\"Notifier\\\",\\\"$Version\\\":\\\"4\\\",\\\"Uuid\\\":\\\"-82644984\\\"}]}}\\n|#\",\"src/appinventor/ai_appinventor/IND104/Screen1.yail\":\"#|\\n$Source $Yail\\n|#\\n\\n(define-form appinventor.ai_appinventor.IND104.Screen1 Screen1)\\n(require \\u003ccom.google.youngandroid.runtime\\u003e)\\n\\n(def (p$water ) (call-yail-primitive - (*list-for-runtime* (call-yail-primitive * (*list-for-runtime* (get-property 'TextBoxInAlcohol 'Text) (call-yail-primitive yail-divide (*list-for-runtime* (get-property 'TextBoxInWater 'Text) (get-property 'TextBoxOutAlcohol 'Text)) '(number number) \\\"yail-divide\\\") ) '(number number ) \\\"*\\\") (get-property 'TextBoxInWater 'Text)) '(number number) \\\"-\\\"))\\n;;; Screen1\\n\\n(do-after-form-creation (set-and-coerce-property! 'Screen1 'AccentColor #xFFFFC800 'number)\\n (set-and-coerce-property! 'Screen1 'AppName \\\"IND104\\\" 'text)\\n (set-and-coerce-property! 'Screen1 'Title \\\"Alcohol\\\" 'text)\\n)\\n\\n;;; HorizontalArrangement1\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.HorizontalArrangement HorizontalArrangement1 \\n(set-and-coerce-property! 'HorizontalArrangement1 'Width -2 'number)\\n\\n)\\n\\n;;; Label1\\n\\n(add-component HorizontalArrangement1 com.google.appinventor.components.runtime.Label Label1 \\n(set-and-coerce-property! 'Label1 'FontSize 18 'number)\\n\\n(set-and-coerce-property! 'Label1 'Text \\\"\\\\u9152\\\\u7cbe\\\\u6fc3\\\\u5ea6\\\" 'text)\\n\\n)\\n\\n;;; TextBoxInAlcohol\\n\\n(add-component HorizontalArrangement1 com.google.appinventor.components.runtime.TextBox TextBoxInAlcohol \\n(set-and-coerce-property! 'TextBoxInAlcohol 'FontSize 18 'number)\\n\\n(set-and-coerce-property! 'TextBoxInAlcohol 'Width -2 'number)\\n\\n(set-and-coerce-property! 'TextBoxInAlcohol 'NumbersOnly #t 'boolean)\\n\\n)\\n\\n;;; Label6\\n\\n(add-component HorizontalArrangement1 com.google.appinventor.components.runtime.Label Label6 \\n(set-and-coerce-property! 'Label6 'FontSize 18 'number)\\n\\n(set-and-coerce-property! 'Label6 'Text \\\"%\\\\uff0c\\\" 'text)\\n\\n)\\n\\n;;; Label2\\n\\n(add-component HorizontalArrangement1 com.google.appinventor.components.runtime.Label Label2 \\n(set-and-coerce-property! 'Label2 'FontSize 18 'number)\\n\\n(set-and-coerce-property! 'Label2 'Text \\\"\\\\u9152\\\\u7cbe\\\\u91cf\\\" 'text)\\n\\n)\\n\\n;;; TextBoxInWater\\n\\n(add-component HorizontalArrangement1 com.google.appinventor.components.runtime.TextBox TextBoxInWater \\n(set-and-coerce-property! 'TextBoxInWater 'FontSize 18 'number)\\n\\n(set-and-coerce-property! 'TextBoxInWater 'Width -2 'number)\\n\\n(set-and-coerce-property! 'TextBoxInWater 'NumbersOnly #t 'boolean)\\n\\n)\\n\\n;;; Label7\\n\\n(add-component HorizontalArrangement1 com.google.appinventor.components.runtime.Label Label7 \\n(set-and-coerce-property! 'Label7 'FontSize 18 'number)\\n\\n(set-and-coerce-property! 'Label7 'Text \\\"ml\\\" 'text)\\n\\n)\\n\\n;;; HorizontalArrangement2\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.HorizontalArrangement HorizontalArrangement2 \\n(set-and-coerce-property! 'HorizontalArrangement2 'Width -2 'number)\\n\\n)\\n\\n;;; Label4\\n\\n(add-component HorizontalArrangement2 com.google.appinventor.components.runtime.Label Label4 \\n(set-and-coerce-property! 'Label4 'FontSize 18 'number)\\n\\n(set-and-coerce-property! 'Label4 'Text \\\"\\\\u6b32\\\\u7a00\\\\u91cb\\\\u70ba\\\\u9152\\\\u7cbe\\\\u6fc3\\\\u5ea6\\\" 'text)\\n\\n)\\n\\n;;; TextBoxOutAlcohol\\n\\n(add-component HorizontalArrangement2 com.google.appinventor.components.runtime.TextBox TextBoxOutAlcohol \\n(set-and-coerce-property! 'TextBoxOutAlcohol 'FontSize 18 'number)\\n\\n(set-and-coerce-property! 'TextBoxOutAlcohol 'Width -2 'number)\\n\\n(set-and-coerce-property! 'TextBoxOutAlcohol 'NumbersOnly #t 'boolean)\\n\\n)\\n\\n;;; Label5\\n\\n(add-component HorizontalArrangement2 com.google.appinventor.components.runtime.Label Label5 \\n(set-and-coerce-property! 'Label5 'FontSize 18 'number)\\n\\n(set-and-coerce-property! 'Label5 'Text \\\"%\\\\u7684\\\\u9152\\\\u7cbe\\\" 'text)\\n\\n)\\n\\n;;; Button1\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.Button Button1 \\n(set-and-coerce-property! 'Button1 'FontSize 18 'number)\\n\\n(set-and-coerce-property! 'Button1 'Width -2 'number)\\n\\n(set-and-coerce-property! 'Button1 'Text \\\"\\\\u8a08\\\\u7b97\\\\u6c34\\\\u91cf\\\" 'text)\\n\\n)\\n\\n(define-event Button1 Click()(set-this-form)\\n (if (and-delayed (call-yail-primitive yail-not (*list-for-runtime* (call-yail-primitive string-empty? (*list-for-runtime* (get-property 'TextBoxInAlcohol 'Text)) '(text) \\\"is text empty?\\\")) '(boolean) \\\"not\\\") (and-delayed (call-yail-primitive yail-not (*list-for-runtime* (call-yail-primitive string-empty? (*list-for-runtime* (get-property 'TextBoxInWater 'Text)) '(text) \\\"is text empty?\\\")) '(boolean) \\\"not\\\") (call-yail-primitive yail-not (*list-for-runtime* (call-yail-primitive string-empty? (*list-for-runtime* (get-property 'TextBoxOutAlcohol 'Text)) '(text) \\\"is text empty?\\\")) '(boolean) \\\"not\\\"))) (begin (if (call-yail-primitive \\u003e (*list-for-runtime* (get-property 'TextBoxInAlcohol 'Text) (get-property 'TextBoxOutAlcohol 'Text)) '(number number) \\\"\\u003e\\\") (begin (set-and-coerce-property! 'Label3 'Text (call-yail-primitive string-append (*list-for-runtime* \\\"\\\\u9700\\\\u8981\\\\u6c34\\\\u91cf \\\" (call-yail-primitive yail-floor (*list-for-runtime* ((get-var p$water) )) '(number) \\\"floor\\\") \\\" ml\\\" ) '(text text text ) \\\"join\\\") 'text)(set-and-coerce-property! 'Label3 'TextColor -65536 'number)) (begin (set-and-coerce-property! 'Label3 'Text \\\"\\\" 'text)(call-component-method 'Notifier1 'ShowAlert (*list-for-runtime* \\\"\\\\u7a00\\\\u91cb\\\\u6fc3\\\\u5ea6\\\\u932f\\\\u8aa4\\\") '(text))))) (begin (set-and-coerce-property! 'Label3 'Text \\\"\\\" 'text)(call-component-method 'Notifier1 'ShowAlert (*list-for-runtime* \\\"\\\\u8cc7\\\\u6599\\\\u672a\\\\u8f38\\\\u5165\\\\u5b8c\\\\u6574\\\") '(text)))))\\n;;; Label3\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.Label Label3 \\n(set-and-coerce-property! 'Label3 'FontSize 18 'number)\\n\\n(set-and-coerce-property! 'Label3 'TextColor #xFFFF0000 'number)\\n\\n)\\n\\n;;; Image1\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.Image Image1 \\n(set-and-coerce-property! 'Image1 'Height -2 'number)\\n\\n(set-and-coerce-property! 'Image1 'Width -2 'number)\\n\\n(set-and-coerce-property! 'Image1 'Picture \\\"alcohol.jpg\\\" 'text)\\n\\n(set-and-coerce-property! 'Image1 'ScalePictureToFit #t 'boolean)\\n\\n)\\n\\n;;; Notifier1\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.Notifier Notifier1 \\n)\\n\\n(init-runtime)\"},\"settings\":\"{\\\"SimpleSettings\\\":{\\\"AccentColor\\\":\\\"\\u0026HFFFFC800\\\",\\\"ActionBar\\\":\\\"False\\\",\\\"AppName\\\":\\\"IND104\\\",\\\"Icon\\\":\\\"\\\",\\\"PhoneTablet\\\":\\\"False\\\",\\\"PrimaryColor\\\":\\\"\\u0026HFF3F51B5\\\",\\\"PrimaryColorDark\\\":\\\"\\u0026HFF303F9F\\\",\\\"ShowHiddenComponents\\\":\\\"False\\\",\\\"ShowListsAsJson\\\":\\\"False\\\",\\\"Sizing\\\":\\\"Fixed\\\",\\\"Theme\\\":\\\"Classic\\\",\\\"TutorialURL\\\":\\\"\\\",\\\"UsesLocation\\\":\\\"False\\\",\\\"VersionCode\\\":\\\"1\\\",\\\"VersionName\\\":\\\"1.0\\\"}}\"}","created_at":"2020-05-03T13:07:32.662+08:00","updated_at":"2020-05-13T17:58:45.851+08:00","name":"IND104","language":"appinventor","screenshot":{"url":null},"parent_id":127500,"plugin":null,"description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":65,"hashid":"wdks2k4y","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":2565163,"file_name":"alcohol.jpg","project_id":146010,"asset_id":212502,"created_at":"2020-05-13T17:58:33.097+08:00","updated_at":"2020-05-13T17:58:33.097+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦