diff --git a/health/heart/eletro/prototipo2/1movimento.png b/health/heart/eletro/prototipo2/1movimento.png index cc24538..2f8399a 100644 Binary files a/health/heart/eletro/prototipo2/1movimento.png and b/health/heart/eletro/prototipo2/1movimento.png differ diff --git a/health/heart/eletro/prototipo2/1ondaP.png b/health/heart/eletro/prototipo2/1ondaP.png index 4e275a3..6c77f3c 100644 Binary files a/health/heart/eletro/prototipo2/1ondaP.png and b/health/heart/eletro/prototipo2/1ondaP.png differ diff --git a/health/heart/eletro/prototipo2/2movimento.png b/health/heart/eletro/prototipo2/2movimento.png index 12a6518..6b1cfd5 100644 Binary files a/health/heart/eletro/prototipo2/2movimento.png and b/health/heart/eletro/prototipo2/2movimento.png differ diff --git a/health/heart/eletro/prototipo2/2segmentoPR.png b/health/heart/eletro/prototipo2/2segmentoPR.png index e22ce15..f83a6ee 100644 Binary files a/health/heart/eletro/prototipo2/2segmentoPR.png and b/health/heart/eletro/prototipo2/2segmentoPR.png differ diff --git a/health/heart/eletro/prototipo2/3movimento.png b/health/heart/eletro/prototipo2/3movimento.png index 468b4ab..84d9ba6 100644 Binary files a/health/heart/eletro/prototipo2/3movimento.png and b/health/heart/eletro/prototipo2/3movimento.png differ diff --git a/health/heart/eletro/prototipo2/3ondaQRS.png b/health/heart/eletro/prototipo2/3ondaQRS.png index ba08c8f..bf962f5 100644 Binary files a/health/heart/eletro/prototipo2/3ondaQRS.png and b/health/heart/eletro/prototipo2/3ondaQRS.png differ diff --git a/health/heart/eletro/prototipo2/4segmentoST.png b/health/heart/eletro/prototipo2/4segmentoST.png new file mode 100644 index 0000000..bf962f5 Binary files /dev/null and b/health/heart/eletro/prototipo2/4segmentoST.png differ diff --git a/health/heart/eletro/prototipo2/4segmentoSTECG.png b/health/heart/eletro/prototipo2/4segmentoSTECG.png new file mode 100644 index 0000000..e91da4d Binary files /dev/null and b/health/heart/eletro/prototipo2/4segmentoSTECG.png differ diff --git a/health/heart/eletro/prototipo2/5movimento.png b/health/heart/eletro/prototipo2/5movimento.png new file mode 100644 index 0000000..51da9f1 Binary files /dev/null and b/health/heart/eletro/prototipo2/5movimento.png differ diff --git a/health/heart/eletro/prototipo2/5ondaT.png b/health/heart/eletro/prototipo2/5ondaT.png new file mode 100644 index 0000000..e9a20dc Binary files /dev/null and b/health/heart/eletro/prototipo2/5ondaT.png differ diff --git a/health/heart/eletro/prototipo2/5ondaTECG.png b/health/heart/eletro/prototipo2/5ondaTECG.png new file mode 100644 index 0000000..bb19296 Binary files /dev/null and b/health/heart/eletro/prototipo2/5ondaTECG.png differ diff --git a/health/heart/eletro/prototipo2/blocks.js b/health/heart/eletro/prototipo2/blocks.js index d954c1c..988b250 100644 --- a/health/heart/eletro/prototipo2/blocks.js +++ b/health/heart/eletro/prototipo2/blocks.js @@ -1,7 +1,7 @@ Blockly.Blocks['imagem_eletro'] = { init: function () { this.jsonInit({ - message0: '%1 %2', + message0: '%1', args0: [ { type: 'field_dropdown', @@ -10,13 +10,9 @@ Blockly.Blocks['imagem_eletro'] = { [{src: '1ondaP.png', width: 200, height: 200, alt: 'heart 1'}, 'heart1'], [{src: '2segmentoPR.png', width: 200, height: 200, alt: 'heart 2'}, 'heart2'], [{src: '3ondaQRS.png', width: 200, height: 200, alt: 'heart 3'}, 'heart3'], - [{src: '4ondaT.png', width: 200, height: 200, alt: 'heart 4'}, 'heart4'] + [{src: '4segmentoST.png', width: 200, height: 200, alt: 'heart 4'}, 'heart4'], + [{src: '5ondaT.png', width: 200, height: 200, alt: 'heart 4'}, 'heart5'] ] - }, - { - type: 'input_value', - name: 'mov', - check: 'Mov', } ], message1: 'estrutura: %1', @@ -45,9 +41,7 @@ Blockly.Blocks['imagem_eletro'] = { ], colour: 80, tooltip: 'Coração', - output: 'atvEle', - nextStatement: null, - previousStatement: null + output: 'atvEle' }) } } @@ -62,9 +56,9 @@ Blockly.Blocks['imagem_mov'] = { name: 'entity', options: [ [{src: '1movimento.png', width: 200, height: 200, alt: 'heart_mov 1'}, 'heart_mov1'], - [{src: '2movimento_segmentoPR.png', width: 200, height: 200, alt: 'heart_mov 2'}, 'heart_mov2'], - [{src: '2movimento.png', width: 200, height: 200, alt: 'heart_mov 3'}, 'heart_mov3'], - [{src: '3movimento.png', width: 200, height: 200, alt: 'heart_mov 4'}, 'heart_mov4'] + [{src: '2movimento.png', width: 200, height: 200, alt: 'heart_mov 2'}, 'heart_mov2'], + [{src: '3movimento.png', width: 200, height: 200, alt: 'heart_mov 3'}, 'heart_mov3'], + [{src: '5movimento.png', width: 200, height: 200, alt: 'heart_mov 4'}, 'heart_mov4'] ] } ], @@ -116,7 +110,7 @@ Blockly.Blocks['imagem_mov'] = { Blockly.Blocks['imagem_onda'] = { init: function () { this.jsonInit({ - message0: '%1 %2', + message0: '%1', args0: [ { type: 'field_dropdown', @@ -125,18 +119,42 @@ Blockly.Blocks['imagem_onda'] = { [{src: '1ondaPECG.png', width: 200, height: 200, alt: 'ecg 1'}, 'ecg1'], [{src: '2segmentoPRECG.png', width: 200, height: 200, alt: 'ecg 2'}, 'ecg2'], [{src: '3ondaQRSECG.png', width: 200, height: 200, alt: 'ecg 3'}, 'ecg3'], - [{src: '5segmentoSTECG.png', width: 200, height: 200, alt: 'ecg 5'}, 'ecg5'], - [{src: '4ondaTECG.png', width: 200, height: 200, alt: 'ecg 4'}, 'ecg4'] + [{src: '4segmentoSTECG.png', width: 200, height: 200, alt: 'ecg 4'}, 'ecg4'], + [{src: '5ondaTECG.png', width: 200, height: 200, alt: 'ecg 5'}, 'ecg5'] ] + } + ], + colour: 20, + tooltip: 'Eletro', + output: 'onda' + }) + } +} + +Blockly.Blocks['sequence'] = { + init: function () { + this.jsonInit({ + message0: '%1 onda %2 elétrico %3 mecânico', + args0: [ + { + type: 'input_value', + name: 'VAR', + check: 'onda', }, { type: 'input_value', - name: 'atvEle', + name: 'VAR', check: 'atvEle', + }, + { + type: 'input_value', + name: 'VAR', + check: 'Mov', } ], - colour: 20, - tooltip: 'Eletro' + colour: 500, + nextStatement: null, + previousStatement: null }) } -} \ No newline at end of file +} diff --git a/health/heart/eletro/prototipo2/dados.js b/health/heart/eletro/prototipo2/dados.js new file mode 100644 index 0000000..7f2376c --- /dev/null +++ b/health/heart/eletro/prototipo2/dados.js @@ -0,0 +1,113 @@ +{ + type: "eletrico"; + user: ""; + image: 1; + estrutura: "Sino atrial"; + eletrico: "Estímulo elétrico DISPARANDO ..." +} + +{ + type: "mecanico"; + user: ""; + image: 1; + estrutura: "Átrio"; + mecanico: "Contração atrial"; + fisio: "Envio de sangue sob pressão do átrio para ventrículos" +} + +{ + type: "onda"; + user: ""; + image: 1 +} + +{ + type: "conexao"; + user: ""; + onda: 1; + eletro: 1; + mec: 1; + anterior: null; + proxima: null; +} + +{ + type: "exercicio" + id_usuario: ""; + time: ""; + vez: 1; + conexoes: 5; + conexao1:{ + onda: 1; + eletro: 1; + mec: 1 + } + conexao2:{ + onda: 2; + eletro: 2; + mec: 2 + } + conexao3:{ + onda: 3; + eletro: 3; + mec: 3 + } + conexao4:{ + onda: 4; + eletro: 4; + mec: 4 + } + conexao5:{ + onda: 5; + eletro: 5; + mec: 5 + } +} + +{ + type: "resultado"; + id_usuario: ""; + time: ""; + vez: 1; + acertou: True; + tutor: False; + timeTutor: ""; +} + +{ + type: "video"; + id_usuario: ""; + time: ""; +} +{ + type: "preTeste"; + id_usuario: ""; + time: ""; + nota: 10; + q1: "E" + q2: "B" + q3: "A" + q4: "C" + q5: "D" + q6: "E" + q7: "A" + q8: "B" + q9: "C" + q10: "D" +} +{ + type: "posTeste"; + id_usuario: ""; + time: ""; + nota: 10; + q1: "E" + q2: "B" + q3: "A" + q4: "C" + q5: "D" + q6: "E" + q7: "A" + q8: "B" + q9: "C" + q10: "D" +} \ No newline at end of file diff --git a/health/heart/eletro/prototipo2/index.html b/health/heart/eletro/prototipo2/index.html index 27c02ea..6330752 100644 --- a/health/heart/eletro/prototipo2/index.html +++ b/health/heart/eletro/prototipo2/index.html @@ -9,10 +9,12 @@