by @Lua Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_67320278_e2b1_4a9e_afd2_548becb5e4e4"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"energia","lengthValue2":"5","id":"id_8c1c9d6c_45ef_4f8d_87d4_6389ed534463","initValue":"1"},{"@type":"Input","name":"energia","id":"id_750f3902_fd06_484d_93a3_39e2eb0c74f1","prompt":null},{"newline":true,"@type":"Output","id":"id_5976c04d_ef57_4d1f_af5a_d538238ad726","value":"\"si no hay energia termina el proceso\""},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"botonmenostemperatura","lengthValue2":"5","id":"id_3ab92fe7_f3df_452a_8bd8_825f8a8acc4c","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"botonmastemperatura","lengthValue2":"5","id":"id_a00081dc_fa87_4d8b_a5b5_b5ab6d8c5f6e","initValue":"0"},{"@type":"Input","name":"botonmastemperatura","id":"id_ce895209_8614_4ecf_bba3_469f300648d5","prompt":null},{"falseBlock":{"statements":[{"@type":"Input","name":"botonmenostemperatura","id":"id_08745589_888d_4b1e_96e8_428fc52625eb","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_dd64b582_18d9_4da5_b1ec_f57e274ee894","value":"\"volver a preguntar por el boton de mas temperatura\"\""}],"id":"id_4238c74b_f96d_46af_badf_49d7e0940ab2"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_841f926f_0e1f_4184_900f_bafb7f6d7ecd","value":"\"prender el enfriador\""}],"id":"id_65b31d33_adcf_4069_9401_8341429989e3"},"condition":"botonpresionado==1","@type":"If","id":"id_ea060998_6255_44ba_ace6_82a7c2ea565e"}],"id":"id_e30ad0e3_04ce_4a79_a74d_b00a1880212f"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_e6f28b07_84ea_4b82_9ebb_4a835105ce37","value":"\"prender el calentador\""}],"id":"id_04374d8b_4d62_4cbd_aa58_499d377cea52"},"condition":"botonmastemperatura==1","@type":"If","id":"id_7e986be6_ae31_416b_b2b9_456c70463da1"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"temperaturadeseada","lengthValue2":"5","id":"id_4e64b77e_e89d_43cb_90d8_c5874a5bf9fd","initValue":"0"},{"@type":"Input","name":"temperaturadeseada","id":"id_77828462_0e96_4cfa_8e29_e841fe011406","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_76e92318_38e8_432d_ae1d_6563b999ce36","value":"\"corregir temperatura\""}],"id":"id_cea68cba_28d7_46a2_9bd5_c0150569bce0"},"trueBlock":{"statements":[],"id":"id_a7392d35_9b60_4a06_b5bb_9047cc6fb510"},"condition":"temperaturadeseada==1","@type":"If","id":"id_9bce618f_e3ea_4a54_9c00_9d8ed635f3f9"},{"@type":"Return","id":"id_a879486a_5b75_4dfa_9148_a2808890d44b","maybeValue":null}],"parameters":[]},"id":"id_2ec5fb62_10b7_49b3_a53f_4c3312e9a6d9","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":806}