45 lines
No EOL
1.4 KiB
JavaScript
45 lines
No EOL
1.4 KiB
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.escopo3aereo1 = void 0;
|
|
const resposta_1 = require("../../../../resposta");
|
|
const listas_1 = require("../../../ListasFatoresEmissao/listas");
|
|
const interfaces_1 = require("../../../interfaces");
|
|
exports.escopo3aereo1 = {
|
|
escopo: "Escopo3",
|
|
idTipoFonte: "escopo3aereo1",
|
|
descricao: "(Upstream)Transporte Aéreo por aeroportos de origem e destino",
|
|
estruturaCadastro: [
|
|
{
|
|
idCampo: "descricao",
|
|
descricao: "Registro da viagem",
|
|
tipo: interfaces_1.tiposCamposGee.texto,
|
|
},
|
|
{
|
|
idCampo: "partida",
|
|
descricao: "Partida",
|
|
tipo: interfaces_1.tiposCamposGee.opcoes,
|
|
opcoes: listas_1.listaCombuAereo,
|
|
},
|
|
{
|
|
idCampo: "chegada",
|
|
descricao: "Chegada",
|
|
tipo: interfaces_1.tiposCamposGee.opcoes,
|
|
opcoes: listas_1.listaCombuAereo,
|
|
},
|
|
],
|
|
estruturaRegistro: [
|
|
{
|
|
campo: "carga",
|
|
descricao: "Carga transportada (tonelada)",
|
|
tipo: interfaces_1.tiposCamposGee.numero,
|
|
},
|
|
],
|
|
formula: ({ reg }) => {
|
|
const carga = reg.carga;
|
|
const carbono = 1 * carga;
|
|
const bio = 0;
|
|
//Arredondamento para duas casas do valor
|
|
return resposta_1.respostaCM.addResultado([carbono, bio]);
|
|
},
|
|
};
|
|
//# sourceMappingURL=aereo1.js.map
|