Skip to content
Snippets Groups Projects
Commit 2703b0b8 authored by Victor Picussa's avatar Victor Picussa
Browse files

[v.1.10.1]Readd convert

parent b7e0e3c4
No related branches found
No related tags found
1 merge request!200[v.1.10.1]Readd convert
Pipeline #20248 failed
Showing with 659 additions and 0 deletions
/*
Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
This file is part of simcaq-node.
simcaq-node is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
simcaq-node is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with simcaq-node. If not, see <https://www.gnu.org/licenses/>.
*/
module.exports = function academicLevel(id) {
switch (id) {
case 1:
return 'Bacharelado';
case 2:
return 'Licenciatura';
case 3:
return 'Tecnológico';
default:
return 'Não classificada';
}
};
/*
Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
This file is part of simcaq-node.
simcaq-node is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
simcaq-node is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with simcaq-node. If not, see <https://www.gnu.org/licenses/>.
*/
module.exports = function ethnicGroupIES(id) {
switch (id) {
case 0:
return 'Aluno não quis declarar cor/raça';
case 1:
return 'Branca';
case 2:
return 'Preta';
case 3:
return 'Parda';
case 4:
return 'Amarela';
case 5:
return 'Indígena';
default:
return 'Não dispõe da informação (Não resposta)';
}
};
/*
Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
This file is part of simcaq-node.
simcaq-node is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
simcaq-node is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with simcaq-node. If not, see <https://www.gnu.org/licenses/>.
*/
module.exports = function ethnicGroupTeacherIES(id) {
switch (id) {
case 0:
return 'Docente não quis declarar cor/raça';
case 1:
return 'Branca';
case 2:
return 'Preta';
case 3:
return 'Parda';
case 4:
return 'Amarela';
case 5:
return 'Indígena';
default:
return 'Não dispõe da informação (Não resposta)';
}
};
/*
Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
This file is part of simcaq-node.
simcaq-node is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
simcaq-node is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with simcaq-node. If not, see <https://www.gnu.org/licenses/>.
*/
module.exports = function genderIES(id) {
switch(id) {
case 1:
return 'Feminino';
case 2:
return 'Masculino';
}
};
/*
Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
This file is part of simcaq-node.
simcaq-node is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
simcaq-node is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with simcaq-node. If not, see <https://www.gnu.org/licenses/>.
*/
module.exports = function ocdeDetailed(id) {
switch (id) {
case 142:
return 'Ciências da educação';
case 144:
return 'Formação de professor da educação básica';
case 145:
return 'Formação de professor de matérias específicas';
case 146:
return 'Formação de professor de disciplinas profissionais';
case 210:
return 'Artes (cursos gerais)';
case 211:
return 'Belas artes';
case 212:
return 'Música e artes cênicas';
case 213:
return 'Técnicas audiovisuais e produção de mídia';
case 214:
return 'Design e estilismo';
case 215:
return 'Artesanato';
case 220:
return 'Humanidades e letras (cursos gerais)';
case 221:
return 'Religião e teologia';
case 222:
return 'Línguas e culturas estrangeiras';
case 223:
return 'Língua materna (vernácula)';
case 225:
return 'História e arqueologia';
case 226:
return 'Filosofia e ética';
case 310:
return 'Ciências sociais e comportamentais (cursos gerais)';
case 311:
return 'Psicologia';
case 312:
return 'Sociologia e estudos culturais';
case 313:
return 'Ciência política e educação cívica';
case 314:
return 'Economia';
case 321:
return 'Jornalismo e reportagem';
case 322:
return 'Biblioteconomia, informação, arquivos';
case 340:
return 'Comércio e administração (cursos gerais)';
case 341:
return 'Vendas em atacado e varejo';
case 342:
return 'Marketing e publicidade';
case 343:
return 'Finanças, bancos, seguros';
case 344:
return 'Contabilidade e tributação';
case 345:
return 'Gerenciamento e administração';
case 346:
return 'Secretariado e trabalhos de escritório';
case 380:
return 'Direito';
case 420:
return 'Ciências (cursos gerais)';
case 421:
return 'Biologia e bioquímica';
case 422:
return 'Ciências ambientais';
case 440:
return 'Ciências físicas (cursos gerais)';
case 441:
return 'Física';
case 442:
return 'Química';
case 443:
return 'Ciências da terra';
case 461:
return 'Matemática';
case 462:
return 'Estatística';
case 481:
return 'Ciência da computação';
case 482:
return 'Uso do computador';
case 483:
return 'Processamento da informação';
case 520:
return 'Engenharia e profissões de engenharia (cursos gerais)';
case 521:
return 'Engenharia mecânica e metalurgia (trabalhos com metais)';
case 522:
return 'Eletricidade e energia';
case 523:
return 'Eletrônica e automação';
case 524:
return 'Química e engenharia de processos';
case 525:
return 'Veículos a motor, construção naval e aeronáutica';
case 540:
return 'Fabricação e processamento (cursos gerais)';
case 541:
return 'Processamento de alimentos';
case 542:
return 'Têxteis, roupas, calçados, couros';
case 543:
return 'Materiais (madeira, papel, plástico, vidro)';
case 544:
return 'Mineração e extração';
case 581:
return 'Arquitetura e urbanismo';
case 582:
return 'Engenharia civil e de construção';
case 621:
return 'Produção agrícola e pecuária';
case 622:
return 'Horticultura';
case 623:
return 'Engenharia florestal - silvicultura';
case 624:
return 'Recursos pesqueiros';
case 641:
return 'Veterinária';
case 720:
return 'Saúde (cursos gerais)';
case 721:
return 'Medicina';
case 723:
return 'Enfermagem e atenção primária (assistência básica)';
case 724:
return 'Odontologia';
case 725:
return 'Tecnologias de diagnóstico e tratamento médico';
case 726:
return 'Terapia e reabilitação';
case 727:
return 'Farmácia';
case 762:
return 'Serviço social e orientação';
case 811:
return 'Hotelaria, restaurantes e serviços de alimentação';
case 812:
return 'Viagens, turismo e lazer';
case 813:
return 'Esportes';
case 814:
return 'Ciências domésticas';
case 815:
return 'Serviços de beleza';
case 840:
return 'Transportes e serviços (cursos gerais)';
case 850:
return 'Proteção ambiental (cursos gerais)';
case 861:
return 'Proteção de pessoas e de propriedades';
case 862:
return 'Saúde e segurança do trabalho';
case 863:
return 'Setor militar e de defesa';
default:
return 'Não classificada';
}
};
\ No newline at end of file
/*
Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
This file is part of simcaq-node.
simcaq-node is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
simcaq-node is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with simcaq-node. If not, see <https://www.gnu.org/licenses/>.
*/
module.exports = function ocdeGeral(id) {
switch (id) {
case 0:
return 'Área básica';
case 1:
return 'Educação';
case 2:
return 'Humanidades e artes';
case 3:
return 'Ciências sociais, negócios e direitor';
case 4:
return 'Ciências, matemática e computação';
case 5:
return 'Engenharia, produção e construção';
case 6:
return 'Agricultura e veterinária';
case 7:
return 'Saúde e bem estar social';
case 8:
return 'Serviços';
default:
return 'Não classificada';
}
};
/*
Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
This file is part of simcaq-node.
simcaq-node is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
simcaq-node is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with simcaq-node. If not, see <https://www.gnu.org/licenses/>.
*/
module.exports = function ocdeSpecific(id) {
switch (id) {
case 1:
return 'Área básica de cursos';
case 14:
return 'Formação de professor e ciências da educação';
case 21:
return 'Artes';
case 22:
return 'Humanidades e letras';
case 31:
return 'Ciências sociais e comportamentais';
case 32:
return 'Jornalismo e informação';
case 34:
return 'Comércio e administração';
case 38:
return 'Direito';
case 42:
return 'Ciências';
case 44:
return 'Ciências físicas';
case 48:
return 'Computação';
case 52:
return 'Engenharia e profissões correlatas';
case 54:
return 'Produção e processamento';
case 58:
return 'Arquitetura e construção';
case 62:
return 'Agricultura, florestas e recursos pasqueiros';
case 64:
return 'Veterinária';
case 72:
return 'Saúde';
case 76:
return 'Serviço social';
case 81:
return 'Serviços pessoais';
case 84:
return 'Serviços de transportes (cursos gerais)';
case 85:
return 'Proteção ambiental';
case 86:
return 'Serviços de segurança';
default:
return 'Não classificada';
}
};
/*
Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
This file is part of simcaq-node.
simcaq-node is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
simcaq-node is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with simcaq-node. If not, see <https://www.gnu.org/licenses/>.
*/
module.exports = function studentDeficiency(id) {
switch (id) {
case 1:
return 'Pública';
case 2:
return 'Privada';
default:
return 'Não classificado';
}
};
/*
Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
This file is part of simcaq-node.
simcaq-node is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
simcaq-node is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with simcaq-node. If not, see <https://www.gnu.org/licenses/>.
*/
module.exports = function studentDeficiency(id) {
switch (id) {
case 0:
return 'Não';
case 1:
return 'Sim';
default:
return 'Não classificado'
}
};
/*
Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
This file is part of simcaq-node.
simcaq-node is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
simcaq-node is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with simcaq-node. If not, see <https://www.gnu.org/licenses/>.
*/
module.exports = function teacherSchooling(id) {
switch (id) {
case 1:
return 'Sem graduação';
case 2:
return 'graduação';
case 3:
return 'Especialização';
case 4:
return 'Mestrado';
case 5:
return 'Doutorado';
}
};
/*
Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
This file is part of simcaq-node.
simcaq-node is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
simcaq-node is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with simcaq-node. If not, see <https://www.gnu.org/licenses/>.
*/
module.exports = function teacherSituation(id) {
switch (id) {
case 1:
return 'Em exercício';
case 2:
return 'Afastado para qualificação';
case 3:
return 'Afastado para exercício em outros órgãos/entidades';
case 4:
return 'Afastado por outros motivos';
case 5:
return 'Afastado para tratamento de saúde';
case 6:
return 'Falecido';
}
};
/*
Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
This file is part of simcaq-node.
simcaq-node is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
simcaq-node is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with simcaq-node. If not, see <https://www.gnu.org/licenses/>.
*/
module.exports = function upperEducationMod(id) {
switch (id) {
case 1:
return 'Presencial';
case 2:
return 'A Distância';
default:
return 'Não classificada';
}
};
/*
Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
This file is part of simcaq-node.
simcaq-node is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
simcaq-node is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with simcaq-node. If not, see <https://www.gnu.org/licenses/>.
*/
module.exports = function upperTurn(id) {
switch (id) {
case 1:
return 'Matutino';
case 2:
return 'Vespertino';
case 3:
return 'Noturno';
case 4:
return 'Integral';
default:
return 'Não aplicavel (Ead)';
}
};
/*
Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
This file is part of simcaq-node.
simcaq-node is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
simcaq-node is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with simcaq-node. If not, see <https://www.gnu.org/licenses/>.
*/
module.exports = function workRegime(id) {
switch (id) {
case 1:
return 'Tempo Integral com dedicação exclusiva';
case 2:
return 'Tempo Integral sem dedicação exclusiva';
case 3:
return 'Tempo Parcial';
case 4:
return 'Horista';
}
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment