Commit 11a2952a authored by Bernardo Quaresma Dias's avatar Bernardo Quaresma Dias
Browse files

Inclusão de versão e atualização de dependências para lib-blocos 3_0

INSTMPA-933
parent 3238c132
......@@ -2,7 +2,7 @@ include 'lib-equips-1_4.mpam'
include 'lib-painel-2_1.mpam'
include 'lib-utils-1_1.mpam'
include 'lib-time-1_2.mpam'
include 'lib-blocos-2_2.mpam'
include 'lib-blocos-3_0.mpam'
include 'lib-fuzzy-1_0.mpam'
class{ id = "mod_antigolf_act", name = "Anti-Golfadas: Atuação", group = "Anti-Golfadas",
......@@ -427,7 +427,7 @@ class{ id = "mod_antigolf_diag_osc_global", name = "Anti-Golfadas: Diag. de Osc.
results = {
},
code = [===[ function(self)
self.b_media_p:iniciar()
self.b_media_p:apagar()
self.antigolf_cav.calc_pos_deseja_otm = nil
self.calc_amp_osc = -1
......@@ -465,8 +465,8 @@ class{ id = "mod_antigolf_diag_osc_local", name = "Anti-Golfadas: Diag. de Osc.
results = {
},
code = [===[ function(self)
self.b_media_p:iniciar()
self.b_media_std_p:iniciar()
self.b_media_p:apagar()
self.b_media_std_p:apagar()
self.tmr_atualizacao:iniciar()
self.antigolf_cav.calc_pos_deseja_otm = nil
......
include('lib-blocos-2_2.mpam')
include('lib-blocos-3_0.mpam')
--include('lib-sisinj-1_0.mpam')
class{ id = "aut_srus", name = "Automação de Partida/Parada de SRUs", group = "SRU",
......
......@@ -4301,7 +4301,7 @@ Diagrams = {
variables = {},
classid = "bloco_filtro",
objname = "filtr_pv",
member = "iniciar",
member = "apagar",
operation = "call",
},
xmin = 1080,
......
......@@ -2,7 +2,7 @@ include 'lib-access-1_0.mpam'
include 'lib-utils-1_1.mpam'
include 'lib-plc-1_3.mpam'
include 'lib-painel-2_1.mpam'
include 'lib-blocos-2_2.mpam'
include 'lib-blocos-3_0.mpam'
class{ id = "mod_bandas", name = "Módulo de Controle por Bandas", group = "Controle por Bandas",
bases = {},
......
include('lib-equips-1_1.mpam')
include('lib-list-1_8.mpam')
include('lib-blocos-2_2.mpam')
include('lib-painel-2_1.mpam')
include('lib-diag-1_1.mpam')
include('lib-condicao-1_1.mpam')
......
This diff is collapsed.
......@@ -5,7 +5,7 @@ include("lib-os-1_2.mpam")
include("lib-equips-1_4.mpam")
include("lib-params-1_1.mpam")
include("lib-compressor-2_1.mpam")
include("lib-blocos-2_2.mpam")
include("lib-blocos-3_0.mpam")
class{ id = "aux_otmgl_brsiop_src", name = "Otm. G. L. BR-SiOP: Fonte de Dados", group = "Otimizao de Gas-Lift via BR-SiOP",
bases = {}, abstract = true,
......
include('lib-list-1_8.mpam')
include('lib-blocos-2_2.mpam')
include('lib-blocos-3_0.mpam')
class{ id = "REAL_POINT_DIAG", name = "Diagnóstico de Ponto Real", group = "Diagnósticos",
bases = { "REAL_POINT" }, description =
......@@ -48,7 +48,7 @@ class{ id = "REAL_POINT_DIAG", name = "Diagn
},
code = [===[ function(self)
for b, bloco in ipairs(self.blocos_calculo) do
bloco:iniciar()
bloco:apagar()
end
end ]===],
},
......
......@@ -478,7 +478,7 @@ Diagrams = {
variables = {},
classid = "bloco_filtro",
objname = "filtro_sp_calc",
member = "iniciar",
member = "apagar",
operation = "call",
},
xmin = 640,
......
......@@ -2,7 +2,7 @@ include('lib-plc-1_3.mpam')
include("lib-condicao-1_2.mpam")
include("lib-equips-1_4.mpam")
include("lib-painel-2_1.mpam")
include("lib-blocos-2_2.mpam")
include("lib-blocos-3_0.mpam")
--$ctrl_pressao
......
......@@ -2974,7 +2974,7 @@ Diagrams = {
variables = {},
classid = "bloco_media",
objname = "media_lvl",
member = "iniciar",
member = "apagar",
operation = "call",
},
xmin = 4200,
......
include('lib-controle-2_0.mpam')
include('lib-utils-1_1.mpam')
include('lib-blocos-2_2.mpam')
include('lib-blocos-3_0.mpam')
include('lib-condicao-1_1.mpam')
include('lib-valvula-1_1.mpam')
include('lib-tanque-1_1.mpam')
......
include('lib-blocos-2_2.mpam')
include('lib-blocos-3_0.mpam')
include('lib-utils-1_1.mpam')
include('lib-controle-2_0.mpam')
include('lib-valvula-1_1.mpam')
......
......@@ -118,7 +118,7 @@ Diagrams = {
variables = {},
classid = "bloco_media",
objname = "janela_mv",
member = "iniciar",
member = "apagar",
operation = "call",
},
xmin = 3300,
......@@ -183,7 +183,7 @@ Diagrams = {
variables = {},
classid = "bloco_media",
objname = "media_mv",
member = "iniciar",
member = "apagar",
operation = "call",
},
xmin = 3300,
......@@ -288,7 +288,7 @@ Diagrams = {
variables = {},
classid = "bloco_media",
objname = "janela_pv",
member = "iniciar",
member = "apagar",
operation = "call",
},
xmin = 3300,
......
......@@ -3,7 +3,7 @@ include('lib-fuzzy-1_0.mpam')
include('lib-tstcomm-1_0.mpam')
include('lib-params-1_0.mpam')
include('lib-condicao-1_1.mpam')
include('lib-blocos-2_2.mpam')
include('lib-blocos-3_0.mpam')
include('lib-time-1_2.mpam')
include('lib-painel-2_1.mpam')
......
......@@ -3954,7 +3954,7 @@ Diagrams = {
variables = {},
classid = "bloco_filtro",
objname = "filtro",
member = "iniciar",
member = "apagar",
operation = "call",
},
xmin = 1080,
......
include('lib-blocos-2_2.mpam')
include('lib-blocos-3_0.mpam')
include('lib-utils-1_1.mpam')
include('lib-controle-2_0.mpam')
include('lib-valvula-1_1.mpam')
......
include('lib-blocos-2_2.mpam')
include('lib-blocos-3_0.mpam')
class{ id = "NMPC_MPA_REAL_POINT", name = "Ponto Real NMPC/MPA", group = "Pontos Estendidos",
isPoint = true,
......
include('lib-controle-2_0.mpam')
include('lib-list-1_8.mpam')
include('lib-blocos-2_2.mpam')
include('lib-plc-1_3.mpam')
class{ id = "seletor", group = "Classes Abstratas",
......
......@@ -2,7 +2,6 @@ include('lib-sru-1_0.mpam')
include('lib-condicao-1_1.mpam')
include('lib-plc-1_3.mpam')
include('lib-equips-1_4.mpam')
include('lib-blocos-2_2.mpam')
include('lib-flotador-6_0.mpam')
class{ id = "sistema_injecao", name = "Sistema de Injeo", group = "Sistema de Injeo",
......
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