Commit 8bf40d61 authored by Bernardo Quaresma Dias's avatar Bernardo Quaresma Dias
Browse files

Inclusão de monitoração de saturação de mv de água

INSTMPA-1287
parent a31c4d3a
......@@ -4,7 +4,7 @@
-- Arquivo gerado pelo programa MPA
-- Verso: 6.5
-- Arquivo: lib-otmflot.mpad
-- Data: 21/04/2021 10:36:42
-- Data: 23/04/2021 17:59:24
-- =============================================================================
MPA_5_0 = true
......@@ -1864,6 +1864,15 @@ Diagrams = {
is_arg = true,
is_ret = false,
},
{
name = "mon_mvagua",
type = "mod_otmflot_monMVAgua",
list = false,
value = nil,
comment = nil,
is_arg = true,
is_ret = false,
},
{
name = "flotador",
type = "equip_flotador",
......@@ -1903,9 +1912,9 @@ Diagrams = {
operation = "call",
},
xmin = 3920,
ymin = 3640,
ymin = 4040,
xmax = 4120,
ymax = 3760,
ymax = 4160,
},
{
type = "Jump",
......@@ -1982,7 +1991,7 @@ Diagrams = {
{
type = "Jump",
description = "step",
x = 4860,
x = 5140,
y = 3100,
r = 40,
},
......@@ -2019,10 +2028,10 @@ Diagrams = {
member = "iniciar",
operation = "call",
},
xmin = 4480,
ymin = 4040,
xmax = 4680,
ymax = 4160,
xmin = 3920,
ymin = 3840,
xmax = 4120,
ymax = 3960,
},
{
type = "Choice",
......@@ -2059,9 +2068,9 @@ Diagrams = {
member = "ind_inicio_pescoco",
operation = "write",
},
xmin = 4760,
xmin = 5040,
ymin = 3240,
xmax = 4960,
xmax = 5240,
ymax = 3360,
},
{
......@@ -2122,7 +2131,7 @@ Diagrams = {
},
{
type = "Jump",
description = "sp_agua",
description = "eval",
x = 3740,
y = 3100,
r = 40,
......@@ -2136,7 +2145,7 @@ Diagrams = {
},
{
type = "Jump",
description = "sp_agua",
description = "eval",
x = 4020,
y = 4300,
r = 40,
......@@ -2211,10 +2220,10 @@ Diagrams = {
member = "ret_mon_mv",
operation = "get",
},
xmin = 3920,
ymin = 4040,
xmax = 4120,
ymax = 4160,
xmin = 3360,
ymin = 3440,
xmax = 3560,
ymax = 3560,
},
{
type = "Command",
......@@ -2236,10 +2245,10 @@ Diagrams = {
false,
},
},
xmin = 4480,
ymin = 3640,
xmax = 4680,
ymax = 3760,
xmin = 5040,
ymin = 4040,
xmax = 5240,
ymax = 4160,
},
{
type = "Command",
......@@ -2351,10 +2360,10 @@ Diagrams = {
false,
},
},
xmin = 4480,
ymin = 3840,
xmax = 4680,
ymax = 3960,
xmin = 4760,
ymin = 4040,
xmax = 4960,
ymax = 4160,
},
{
type = "Command",
......@@ -2464,10 +2473,10 @@ Diagrams = {
false,
},
},
xmin = 4480,
ymin = 3440,
xmax = 4680,
ymax = 3560,
xmin = 5040,
ymin = 3840,
xmax = 5240,
ymax = 3960,
},
{
type = "Command",
......@@ -2485,9 +2494,9 @@ Diagrams = {
},
functionid = "list_concat",
},
xmin = 4760,
xmin = 5040,
ymin = 3640,
xmax = 4960,
xmax = 5240,
ymax = 3760,
},
{
......@@ -2506,21 +2515,21 @@ Diagrams = {
member = "registrar",
operation = "call",
},
xmin = 4760,
xmin = 5040,
ymin = 3440,
xmax = 4960,
xmax = 5240,
ymax = 3560,
},
{
type = "Command",
description = "{garante}\nflotador e\nmon_mvoleo",
description = "{garante}\n$parameter_2\nparametros",
action = {
_switch = "DIAGRAMCALL",
beforemsg = nil,
aftermsg = nil,
expressions = {
"{cav_pesc;flotador,mon_mvoleo}",
"3",
"{cav_pesc;flotador,mon_mvoleo,mon_mvagua}",
"4",
},
variables = {},
diagramid = "{{{aux/assertList}}}",
......@@ -2570,10 +2579,10 @@ Diagrams = {
false,
},
},
xmin = 4200,
ymin = 4040,
xmax = 4400,
ymax = 4160,
xmin = 3920,
ymin = 3640,
xmax = 4120,
ymax = 3760,
},
{
type = "Command",
......@@ -2658,10 +2667,10 @@ Diagrams = {
false,
},
},
xmin = 4200,
ymin = 3840,
xmax = 4400,
ymax = 3960,
xmin = 3920,
ymin = 3240,
xmax = 4120,
ymax = 3360,
},
{
type = "Command",
......@@ -2683,10 +2692,10 @@ Diagrams = {
false,
},
},
xmin = 3920,
ymin = 3840,
xmax = 4120,
ymax = 3960,
xmin = 4200,
ymin = 3240,
xmax = 4400,
ymax = 3360,
},
{
type = "Command",
......@@ -2704,10 +2713,10 @@ Diagrams = {
},
functionid = "list_concat",
},
xmin = 4200,
ymin = 3640,
xmax = 4400,
ymax = 3760,
xmin = 4480,
ymin = 4040,
xmax = 4680,
ymax = 4160,
},
{
type = "Command",
......@@ -2725,10 +2734,10 @@ Diagrams = {
member = "registrar",
operation = "call",
},
xmin = 4200,
ymin = 3440,
xmax = 4400,
ymax = 3560,
xmin = 4480,
ymin = 3840,
xmax = 4680,
ymax = 3960,
},
{
type = "Command",
......@@ -2751,10 +2760,10 @@ Diagrams = {
diagramid = "{OtmFlot/actCtrlSP}",
operation = "call",
},
xmin = 4200,
ymin = 3240,
xmax = 4400,
ymax = 3360,
xmin = 4480,
ymin = 3640,
xmax = 4680,
ymax = 3760,
},
{
type = "Choice",
......@@ -2785,15 +2794,15 @@ Diagrams = {
{
type = "Jump",
description = "act",
x = 4860,
x = 4580,
y = 4300,
r = 40,
},
{
type = "Jump",
description = "step",
x = 4020,
y = 3500,
x = 4300,
y = 4100,
r = 40,
},
{
......@@ -2815,6 +2824,27 @@ Diagrams = {
xmax = 3280,
ymax = 3360,
},
{
type = "Command",
description = "informa\n$result\n[$object]",
action = {
_switch = "OBJECTCALL",
beforemsg = nil,
aftermsg = nil,
expressions = {},
variables = {
"sat_mvagua",
},
classid = "mod_otmflot_monMVAgua",
objname = "mon_mvagua",
member = "ret_sat",
operation = "get",
},
xmin = 3360,
ymin = 3240,
xmax = 3560,
ymax = 3360,
},
{
type = "Choice",
description = nil,
......@@ -2823,7 +2853,7 @@ Diagrams = {
beforemsg = nil,
aftermsg = nil,
expressions = {
"sp_agua_calc\n~= nil",
"sat_mvagua\n~= 'inf'",
},
variables = {},
types = {
......@@ -2833,10 +2863,54 @@ Diagrams = {
false,
},
},
xmin = 4760,
ymin = 4040,
xmax = 4960,
ymax = 4160,
xmin = 4200,
ymin = 3640,
xmax = 4400,
ymax = 3760,
},
{
type = "Choice",
description = nil,
action = {
_switch = "EXPRESSION",
beforemsg = nil,
aftermsg = nil,
expressions = {
"sat_mvagua\n~= 'sup'",
},
variables = {},
types = {
"BOOLEAN",
},
islist = {
false,
},
},
xmin = 3920,
ymin = 3440,
xmax = 4120,
ymax = 3560,
},
{
type = "Jump",
description = "track",
x = 4860,
y = 4320,
r = 40,
},
{
type = "Jump",
description = "track",
x = 4300,
y = 3500,
r = 40,
},
{
type = "Jump",
description = "track",
x = 4580,
y = 3100,
r = 40,
},
},
Links = {
......@@ -2844,14 +2918,14 @@ Diagrams = {
type = "Link",
description = "V",
from = 1,
to = 45,
to = 9,
x = {
4020,
4300,
4020,
},
y = {
3700,
3700,
4100,
3900,
},
},
{
......@@ -2861,11 +2935,11 @@ Diagrams = {
to = 51,
x = {
4020,
4020,
4300,
},
y = {
3700,
3500,
4100,
4100,
},
},
{
......@@ -2998,11 +3072,11 @@ Diagrams = {
from = 34,
to = 35,
x = {
4580,
4860,
5140,
5140,
},
y = {
3500,
3900,
3700,
},
},
......@@ -3065,29 +3139,29 @@ Diagrams = {
{
type = "Link",
description = nil,
from = 18,
from = 32,
to = 23,
x = {
4020,
4020,
3460,
3460,
},
y = {
4300,
4100,
3700,
3500,
},
},
{
type = "Link",
description = nil,
from = 23,
to = 39,
to = 53,
x = {
4020,
4300,
3460,
3460,
},
y = {
4100,
4100,
3500,
3300,
},
},
{
......@@ -3110,12 +3184,12 @@ Diagrams = {
from = 24,
to = 34,
x = {
4580,
4580,
5140,
5140,
},
y = {
3700,
3500,
4100,
3900,
},
},
{
......@@ -3208,11 +3282,11 @@ Diagrams = {
from = 29,
to = 30,
x = {
4580,
4860,
4860,
},
y = {
3900,
4100,
3900,
},
},
......@@ -3222,12 +3296,12 @@ Diagrams = {
from = 29,
to = 24,
x = {
4580,
4580,
4860,
5140,
},
y = {
3900,
3700,
4100,
4100,
},
},
{
......@@ -3247,7 +3321,7 @@ Diagrams = {
{
type = "Link",
description = nil,
from = 32,
from = 53,
to = 31,
x = {
3460,
......@@ -3256,8 +3330,8 @@ Diagrams = {
3740,
},
y = {
3700,
3800,
3300,
3400,
4000,
4100,
},
......@@ -3283,11 +3357,11 @@ Diagrams = {
to = 24,
x = {
4860,
4580,
5140,
},
y = {
3900,
3700,
4100,
},
},
{
......@@ -3296,8 +3370,8 @@ Diagrams = {
from = 35,
to = 36,
x = {
4860,
4860,
5140,
5140,
},
y = {
3700,
......@@ -3310,8 +3384,8 @@ Diagrams = {
from = 36,
to = 11,
x = {
4860,
4860,
5140,
5140,
},
y = {
3500,
......@@ -3392,28 +3466,28 @@ Diagrams = {
type = "Link",
description = "V",
from = 39,
to = 43,
to = 55,
x = {
4300,
4300,
4020,
4020,
},
y = {
4100,
3900,
3700,
3500,
},
},
{
type = "Link",
description = "F",
from = 39,
to = 44,
to = 54,
x = {
4300,
4020,
4300,
},
y = {
4100,
3900,
3700,
3700,
},
},
{
......@@ -3422,26 +3496,26 @@ Diagrams = {
from = 43,
to = 44,
x = {
4300,
4020,
4300,
},
y = {
3900,
3900,
3300,
3300,
},
},
{
type = "Link",
description = nil,
from = 44,
to = 1,
to = 49,
x = {
4020,
4020,
4300,
4300,
},
y = {
3900,
3700,
3300,
3100,
},
},
{
......@@ -3450,12 +3524,12 @@ Diagrams = {
from = 45,
to = 46,
x = {
4300,
4300,
4580,
4580,
},
y = {
3700,
3500,
4100,
3900,
},
},
{
......@@ -3464,25 +3538,25 @@ Diagrams = {
from = 46,
to = 47,
x = {
4300,
4300,
4580,
4580,
},