Commit 766b083d authored by Bernardo Quaresma Dias's avatar Bernardo Quaresma Dias
Browse files

Inclusão de biblioteca de modelos list para ponto com acordo

+ correção no nome nas funções de obtenção de máximo e minimo de lista
+ atualização de versão de biblioteca de lita usada

INSTMPA-916
parent 7532b4a1
include 'lib-list-1_2.mpam'
class{ id = "AGREED_REAL_POINT", name = "Ponto Real com Acordo", group = "Pontos Estendidos",
isPoint = true,
bases = { "REAL_POINT" },
......@@ -57,6 +59,8 @@ class{ id = "AGREED_REAL_POINT", name = "Ponto Real com Acordo", group = "Pontos
else
remover = total - remover
end
else
remover = 0
end
local med = average(vals)
......@@ -71,9 +75,9 @@ class{ id = "AGREED_REAL_POINT", name = "Ponto Real com Acordo", group = "Pontos
if self.operacao == 'med' then
ret = calcular_mediana(vals)
elseif self.operacao == 'min' then
ret = informa_menor(vals)
ret = minimo(vals)
elseif self.operacao == 'max' then
ret = informa_maior(vals)
ret = maximo(vals)
else
ret = average(vals)
end
......
include('lib-equips-1_1.mpam')
include('lib-list-1_1.mpam')
include('lib-list-1_2.mpam')
include('lib-blocos-1_1.mpam')
include('lib-painel-1_1.mpam')
include('lib-diag-1_1.mpam')
......
include('lib-list-1_1.mpam')
include('lib-list-1_2.mpam')
class{ id = "bloco_calculo", group = "Classes Abstratas",
bases = {},
......
include('lib-list-1_1.mpam')
include('lib-list-1_2.mpam')
include('lib-blocos-1_1.mpam')
class{ id = "REAL_POINT_DIAG", name = "Diagnóstico de Ponto Real", group = "Diagnósticos",
......
include('lib-list-1_1.mpam')
include('lib-list-1_2.mpam')
include('lib-blocos-1_1.mpam')
class{ id = "REAL_POINT_DIAG", name = "Diagnóstico de Ponto Real", group = "Diagnósticos",
......
include('lib-list-1_1.mpam')
include('lib-list-1_2.mpam')
include('lib-painel-1_1.mpam')
......
include('lib-list-1_1.mpam')
include('lib-list-1_2.mpam')
--Registro geral
code = (code or '')..[====[
......
include('lib-list-1_1.mpam')
include('lib-list-1_2.mpam')
--Registro geral
code = (code or '')..[====[
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment