Commit 752c3402 authored by Bernardo Quaresma Dias's avatar Bernardo Quaresma Dias
Browse files

Inclusão de versão incial de filtro de reinjeção

INSTMPA-1348
parent 4e95f37b
-- =============================================================================
-- Copyright (C) 2003-2021 Tecgraf/PUC-Rio, PETROBRAS S/A
-- Instituto Tecgraf <mpa@tecgraf.puc-rio.br>
-- Arquivo gerado pelo programa MPA
-- Verso: 6.8
-- Arquivo: lib-filtro_reinj.fc
-- Data: 21/12/2021 09:17:22
-- =============================================================================
MPA_5_0 = true
EXPANDED = {
true,
}
DisabledDiagrams = {
}
Diagrams = {
{
id = "FiltroReinj: Executar",
name = "FiltroReinj: Executar",
kind = "Flow",
description = nil,
isApplication = false,
globals = {
{
name = "agent",
type = "mod_agent",
list = false,
value = nil,
comment = nil,
is_arg = true,
is_ret = false,
},
},
errorFunction = nil,
haltDiagram = nil,
Nodes = {
{
type = "Command",
description = nil,
action = {
_switch = "DIAGRAMCALL",
beforemsg = nil,
aftermsg = nil,
expressions = {
"agent",
},
variables = {},
diagramid = "{FiltroReinj/evalStatus}",
operation = "call",
},
xmin = 5500,
ymin = 5300,
xmax = 5980,
ymax = 5420,
},
{
type = "Command",
description = nil,
action = {
_switch = "DIAGRAMCALL",
beforemsg = nil,
aftermsg = nil,
expressions = {
"agent",
},
variables = {},
diagramid = "{FiltroReinj/updtAction}",
operation = "call",
},
xmin = 5500,
ymin = 4900,
xmax = 5980,
ymax = 5020,
},
{
type = "Command",
description = nil,
action = {
_switch = "DIAGRAMCALL",
beforemsg = nil,
aftermsg = nil,
expressions = {
"agent",
},
variables = {},
diagramid = "{FiltroReinj/act}",
operation = "call",
},
xmin = 5500,
ymin = 4700,
xmax = 5980,
ymax = 4820,
},
{
type = "Command",
description = nil,
action = {
_switch = "DIAGRAMCALL",
beforemsg = nil,
aftermsg = nil,
expressions = {
"agent",
},
variables = {},
diagramid = "{FiltroReinj/evalDPFiltro}",
operation = "call",
},
xmin = 5500,
ymin = 5100,
xmax = 5980,
ymax = 5220,
},
{
type = "Command",
description = nil,
action = {
_switch = "DIAGRAMCALL",
beforemsg = nil,
aftermsg = nil,
expressions = {
"agent",
},
variables = {},
diagramid = "{FiltroReinj/init}",
operation = "call",
},
xmin = 5500,
ymin = 5500,
xmax = 5980,
ymax = 5620,
},
{
type = "Command",
description = nil,
action = {
_switch = "OBJECTCALL",
beforemsg = nil,
aftermsg = nil,
expressions = {},
variables = {},
classid = "mod_agent",
objname = "agent",
member = "wait_step",
operation = "call",
},
xmin = 5500,
ymin = 4300,
xmax = 5700,
ymax = 4420,
},
{
type = "Command",
description = nil,
action = {
_switch = "OBJECTCALL",
beforemsg = nil,
aftermsg = nil,
expressions = {},
variables = {
"dt",
},
classid = "mod_agent",
objname = "agent",
member = "get_dt",
operation = "call",
},
xmin = 5780,
ymin = 4300,
xmax = 5980,
ymax = 4420,
},
{
type = "Choice",
description = nil,
action = {
_switch = "EXPRESSION",
beforemsg = nil,
aftermsg = nil,
expressions = {
"app_id ==\n'filtro_reinj'",
},
variables = {},
types = {
"BOOLEAN",
},
islist = {
false,
},
},
xmin = 5220,
ymin = 5500,
xmax = 5420,
ymax = 5620,
},
{
type = "Command",
description = nil,
action = {
_switch = "OBJECTCALL",
beforemsg = nil,
aftermsg = nil,
expressions = {},
variables = {
"app_id",
},
classid = "mod_agent",
objname = "agent",
member = "app_id",
operation = "get",
},
xmin = 4940,
ymin = 5500,
xmax = 5140,
ymax = 5620,
},
{
type = "Command",
description = nil,
action = {
_switch = "DIAGRAMCALL",
beforemsg = nil,
aftermsg = nil,
expressions = {
"agent",
},
variables = {},
diagramid = "{FiltroReinj/log}",
operation = "call",
},
xmin = 5500,
ymin = 4500,
xmax = 5980,
ymax = 4620,
},
},
Links = {
{
type = "Link",
description = nil,
from = 1,
to = 4,
x = {
5740,
5740,
},
y = {
5360,
5160,
},
},
{
type = "Link",
description = nil,
from = 2,
to = 3,
x = {
5740,
5740,
},
y = {
4960,
4760,
},
},
{
type = "Link",
description = nil,
from = 5,
to = 1,
x = {
5740,
5740,
},
y = {
5560,
5360,
},
},
{
type = "Link",
description = nil,
from = 4,
to = 2,
x = {
5740,
5740,
},
y = {
5160,
4960,
},
},
{
type = "Link",
description = "V",
from = 8,
to = 5,
x = {
5320,
5740,
},
y = {
5560,
5560,
},
},
{
type = "Link",
description = nil,
from = 7,
to = 1,
x = {
5880,
6060,
6060,
5740,
},
y = {
4360,
4360,
5360,
5360,
},
},
{
type = "Link",
description = nil,
from = 3,
to = 10,
x = {
5740,
5740,
},
y = {
4760,
4560,
},
},
{
type = "Link",
description = nil,
from = 9,
to = 8,
x = {
5040,
5320,
},
y = {
5560,
5560,
},
},
{
type = "Link",
description = nil,
from = nil,
to = 9,
x = {
4860,
5040,
},
y = {
5560,
5560,
},
},
{
type = "Link",
description = nil,
from = 10,
to = 6,
x = {
5740,
5600,
5600,
},
y = {
4560,
4460,
4360,
},
},
{
type = "Link",
description = nil,
from = 6,
to = 7,
x = {
5600,
5880,
},
y = {
4360,
4360,
},
},
},
Areas = {
{
description = nil,
documentation = nil,
bgcolor = "255 255 200",
alignment = 5,
x = {
5480,
5480,
6000,
6000,
},
y = {
5460,
4480,
4480,
5460,
},
},
},
Hidden = {
},
},
{
id = "[[FILTROREINJ]]",
name = "[[FILTROREINJ]]",
kind = "Flow",
description = nil,
isApplication = true,
globals = {
},
errorFunction = nil,
haltDiagram = nil,
Nodes = {
{
type = "Foreach",
description = nil,
action = {
_switch = "CLASSITERATION",
variable = "agent",
index = nil,
classid = "mod_agent",
},
xmin = 4620,
ymin = 5280,
xmax = 4820,
ymax = 5400,
},
{
type = "Fork",
description = nil,
x = 4720,
y = 5140,
r = 40,
},
{
type = "Command",
description = nil,
action = {
_switch = "DIAGRAMCALL",
beforemsg = nil,
aftermsg = nil,
expressions = {
"agent",
},
variables = {},
diagramid = "FiltroReinj: Executar",
operation = "call",
},
xmin = 4900,
ymin = 5080,
xmax = 5100,
ymax = 5200,
},
},
Links = {
{
type = "Link",
description = nil,
from = nil,
to = 1,
x = {
4520,
4720,
},
y = {
5340,
5340,
},
},
{
type = "Link",
description = "I",
from = 1,
to = 2,
x = {
4720,
4720,
},
y = {
5340,
5140,
},
},
{
type = "Link",
description = nil,
from = 2,
to = 3,
x = {
4720,
5000,
},
y = {
5140,
5140,
},
},
},
Areas = {
},
Hidden = {
},
},
{
id = "{FiltroReinj/act}",
name = "{FiltroReinj/act}",
kind = "Flow",
description = nil,
isApplication = false,
globals = {
{
name = "agent",
type = "mod_agent",
list = false,
value = nil,
comment = nil,
is_arg = true,
is_ret = false,
},
},
errorFunction = nil,
haltDiagram = nil,
Nodes = {
{
type = "Command",
description = nil,
action = {
_switch = "OBJECTCALL",
beforemsg = nil,
aftermsg = nil,
expressions = {
"'sp_retrolavagem'",
},
variables = {
"act_sp_retrolav",
},
classid = "mod_agent",
objname = "agent",
member = "get_act",
operation = "call",
},
xmin = 4600,
ymin = 5060,
xmax = 4800,
ymax = 5180,
},
{
type = "Command",
description = nil,
action = {
_switch = "OBJECTCALL",
beforemsg = nil,
aftermsg = nil,
expressions = {},
variables = {
"pt_sp_retrolav",
},
classid = "agent_act",
objname = "act_sp_retrolav",
member = "cmd_act",
operation = "get",
},
xmin = 4600,
ymin = 4860,
xmax = 4800,
ymax = 4980,
},
{
type = "Command",
description = "$result =\n$Name\n$parameter_1\n[$object]",
action = {
_switch = "OBJECTCALL",
beforemsg = nil,
aftermsg = nil,
expressions = {
"'delta_sp'",
"nil",
},
variables = {
"delta_sp",
},
classid = "mod_agent",
objname = "agent",
member = "get_eval_action",
operation = "call",
},
xmin = 4880,
ymin = 4860,
xmax = 5080,
ymax = 4980,
},
{
type = "Command",
description = "$result =\n$Name\n$parameter_1\n[$object]",
action = {
_switch = "OBJECTCALL",
beforemsg = nil,
aftermsg = nil,
expressions = {
"'delta_sp'",
"delta_sp",
},
variables = {
"delta",
},
classid = "mod_agent",
objname = "agent",
member = "get_action_param",
operation = "call",
},
xmin = 4880,
ymin = 4660,
xmax = 5080,
ymax = 4780,
},
{
type = "Command",
description = nil,
action = {
_switch = "OBJECTCALL",
beforemsg = nil,
aftermsg = nil,
expressions = {},
variables = {
"sp_retrolav_min",
},
classid = "agent_act",
objname = "act_sp_retrolav",
member = "ind_val_min",
operation = "read",
},
xmin = 5160,
ymin = 5060,
xmax = 5360,
ymax = 5180,
},
{
type = "Command",
description = nil,
action = {