Commit 9b16c7fa authored by Bernardo Quaresma Dias's avatar Bernardo Quaresma Dias
Browse files

Revisões para implantação de otmflot em P-51

INSTMPA-1295
parent d5d74e06
......@@ -328,7 +328,7 @@ class{ id = "equip_flotador", name = "Flotador", group = "",
description = [[Tamanho percentual do pescoço do flotador.]],
},
{ id = "ind_fator_pescoco", name = "Fator do Pescoço", type = "REAL_POINT", access = "rw",
description = [[Fator idnicado para o pescoço.]],
description = [[Fator indicado para o pescoço.]],
},
{ id = "e_sdv", name = "Válvula SDV", type = "valvula_on_off", access = "g",
description = [[
......
......@@ -4,7 +4,7 @@
-- Arquivo gerado pelo programa MPA
-- Verso: 6.5
-- Arquivo: lib-otmflot.mpad
-- Data: 23/04/2021 17:59:24
-- Data: 11/05/2021 10:10:49
-- =============================================================================
MPA_5_0 = true
......@@ -1991,7 +1991,7 @@ Diagrams = {
{
type = "Jump",
description = "step",
x = 5140,
x = 5400,
y = 3100,
r = 40,
},
......@@ -2068,9 +2068,9 @@ Diagrams = {
member = "ind_inicio_pescoco",
operation = "write",
},
xmin = 5040,
xmin = 5300,
ymin = 3240,
xmax = 5240,
xmax = 5500,
ymax = 3360,
},
{
......@@ -2245,9 +2245,9 @@ Diagrams = {
false,
},
},
xmin = 5040,
xmin = 5300,
ymin = 4040,
xmax = 5240,
xmax = 5500,
ymax = 4160,
},
{
......@@ -2360,9 +2360,9 @@ Diagrams = {
false,
},
},
xmin = 4760,
xmin = 5020,
ymin = 4040,
xmax = 4960,
xmax = 5220,
ymax = 4160,
},
{
......@@ -2385,9 +2385,9 @@ Diagrams = {
false,
},
},
xmin = 4760,
xmin = 5020,
ymin = 3840,
xmax = 4960,
xmax = 5220,
ymax = 3960,
},
{
......@@ -2473,9 +2473,9 @@ Diagrams = {
false,
},
},
xmin = 5040,
xmin = 5300,
ymin = 3840,
xmax = 5240,
xmax = 5500,
ymax = 3960,
},
{
......@@ -2494,9 +2494,9 @@ Diagrams = {
},
functionid = "list_concat",
},
xmin = 5040,
xmin = 5300,
ymin = 3640,
xmax = 5240,
xmax = 5500,
ymax = 3760,
},
{
......@@ -2515,9 +2515,9 @@ Diagrams = {
member = "registrar",
operation = "call",
},
xmin = 5040,
xmin = 5300,
ymin = 3440,
xmax = 5240,
xmax = 5500,
ymax = 3560,
},
{
......@@ -2580,9 +2580,9 @@ Diagrams = {
},
},
xmin = 3920,
ymin = 3640,
ymin = 3440,
xmax = 4120,
ymax = 3760,
ymax = 3560,
},
{
type = "Command",
......@@ -2667,10 +2667,10 @@ Diagrams = {
false,
},
},
xmin = 3920,
ymin = 3240,
xmax = 4120,
ymax = 3360,
xmin = 4480,
ymin = 3440,
xmax = 4680,
ymax = 3560,
},
{
type = "Command",
......@@ -2692,10 +2692,10 @@ Diagrams = {
false,
},
},
xmin = 4200,
ymin = 3240,
xmax = 4400,
ymax = 3360,
xmin = 4740,
ymin = 4040,
xmax = 4940,
ymax = 4160,
},
{
type = "Command",
......@@ -2713,10 +2713,10 @@ Diagrams = {
},
functionid = "list_concat",
},
xmin = 4480,
ymin = 4040,
xmax = 4680,
ymax = 4160,
xmin = 4740,
ymin = 3840,
xmax = 4940,
ymax = 3960,
},
{
type = "Command",
......@@ -2734,10 +2734,10 @@ Diagrams = {
member = "registrar",
operation = "call",
},
xmin = 4480,
ymin = 3840,
xmax = 4680,
ymax = 3960,
xmin = 4740,
ymin = 3640,
xmax = 4940,
ymax = 3760,
},
{
type = "Command",
......@@ -2760,10 +2760,10 @@ Diagrams = {
diagramid = "{OtmFlot/actCtrlSP}",
operation = "call",
},
xmin = 4480,
ymin = 3640,
xmax = 4680,
ymax = 3760,
xmin = 4740,
ymin = 3440,
xmax = 4940,
ymax = 3560,
},
{
type = "Choice",
......@@ -2787,14 +2787,14 @@ Diagrams = {
{
type = "Jump",
description = "act",
x = 4300,
x = 4580,
y = 3100,
r = 40,
},
{
type = "Jump",
description = "act",
x = 4580,
x = 4840,
y = 4300,
r = 40,
},
......@@ -2863,10 +2863,10 @@ Diagrams = {
false,
},
},
xmin = 4200,
ymin = 3640,
xmax = 4400,
ymax = 3760,
xmin = 3920,
ymin = 3240,
xmax = 4120,
ymax = 3360,
},
{
type = "Choice",
......@@ -2886,29 +2886,61 @@ Diagrams = {
false,
},
},
xmin = 3920,
xmin = 4200,
ymin = 3440,
xmax = 4120,
xmax = 4400,
ymax = 3560,
},
{
type = "Jump",
description = "track",
x = 4860,
x = 5120,
y = 4320,
r = 40,
},
{
type = "Jump",
description = "track",
x = 4300,
y = 3500,
x = 4840,
y = 3100,
r = 40,
},
{
type = "Command",
description = "$variable\n= $expression",
action = {
_switch = "EXPRESSION",
beforemsg = nil,
aftermsg = nil,
expressions = {
"sp_agua",
},
variables = {
"sp_agua_calc",
},
types = {
"REAL",
},
islist = {
false,
},
},
xmin = 4200,
ymin = 3240,
xmax = 4400,
ymax = 3360,
},
{
type = "Jump",
description = "track",
x = 4580,
x = 4300,
y = 3100,
r = 40,
},
{
type = "Jump",
description = "act",
x = 4020,
y = 3100,
r = 40,
},
......@@ -3072,8 +3104,8 @@ Diagrams = {
from = 34,
to = 35,
x = {
5140,
5140,
5400,
5400,
},
y = {
3900,
......@@ -3184,8 +3216,8 @@ Diagrams = {
from = 24,
to = 34,
x = {
5140,
5140,
5400,
5400,
},
y = {
4100,
......@@ -3282,8 +3314,8 @@ Diagrams = {
from = 29,
to = 30,
x = {
4860,
4860,
5120,
5120,
},
y = {
4100,
......@@ -3296,8 +3328,8 @@ Diagrams = {
from = 29,
to = 24,
x = {
4860,
5140,
5120,
5400,
},
y = {
4100,
......@@ -3356,8 +3388,8 @@ Diagrams = {
from = 30,
to = 24,
x = {
4860,
5140,
5120,
5400,
},
y = {
3900,
......@@ -3370,8 +3402,8 @@ Diagrams = {
from = 35,
to = 36,
x = {
5140,
5140,
5400,
5400,
},
y = {
3700,
......@@ -3384,8 +3416,8 @@ Diagrams = {
from = 36,
to = 11,
x = {
5140,
5140,
5400,
5400,
},
y = {
3500,
......@@ -3469,10 +3501,10 @@ Diagrams = {
to = 55,
x = {
4020,
4020,
4300,
},
y = {
3700,
3500,
3500,
},
},
......@@ -3483,39 +3515,39 @@ Diagrams = {
to = 54,
x = {
4020,
4300,
4020,
},
y = {
3700,
3700,
3500,
3300,
},
},
{
type = "Link",
description = nil,
from = 43,
to = 44,
to = 49,
x = {
4020,
4300,
4580,
4580,
},
y = {
3300,
3300,
3500,
3100,
},
},
{
type = "Link",
description = nil,
from = 44,
to = 49,
to = 45,
x = {
4300,
4300,
4840,
4840,
},
y = {
3300,
3100,
4100,
3900,
},
},
{
......@@ -3524,12 +3556,12 @@ Diagrams = {
from = 45,
to = 46,
x = {
4580,
4580,
4840,
4840,
},
y = {
4100,
3900,
3700,
},
},
{
......@@ -3538,25 +3570,25 @@ Diagrams = {
from = 46,
to = 47,
x = {
4580,
4580,
4840,
4840,
},
y = {
3900,
3700,
3500,
},
},
{
type = "Link",
description = nil,
from = 47,
to = 58,
to = 57,
x = {
4580,
4580,
4840,
4840,
},
y = {
3700,
3500,
3100,
},
},
......@@ -3617,7 +3649,7 @@ Diagrams = {
},
y = {
3900,
3700,
3500,
},
},
{
......@@ -3626,8 +3658,8 @@ Diagrams = {
from = 11,
to = 7,
x = {
5140,
5140,
5400,
5400,
},
y = {
3300,
......@@ -3638,10 +3670,10 @@ Diagrams = {
type = "Link",
description = nil,
from = 50,
to = 45,
to = 44,
x = {
4580,
4580,
4840,
4840,
},
y = {
4300,
......@@ -3686,8 +3718,8 @@ Diagrams = {
from = 56,
to = 29,
x = {
4860,
4860,
5120,
5120,
},
y = {
4320,
......@@ -3700,58 +3732,54 @@ Diagrams = {
from = 55,
to = 43,
x = {
4020,
4020,
4300,
4580,
},
y = {
3500,
3300,
3500,
},
},
{
type = "Link",
description = "V",
from = 54,
to = 44,
to = 60,
x = {
4300,
4440,
4440,
4300,
4020,
4020,
},
y = {
3700,
3600,
3400,
3300,
3100,
},
},
{
type = "Link",
description = "F",
from = 55,
to = 57,
to = 58,
x = {
4020,
4300,
4300,
},
y = {
3500,
3500,
3300,
},
},
{
type = "Link",
description = "F",
from = 54,
to = 57,
to = 58,
x = {
4300,
4020,
4300,
},
y = {
3700,
3500,
3300,
3300,
},
},
{
......@@ -3768,6 +3796,20 @@ Diagrams = {
4100,
},
},
{
type = "Link",
description = nil,
from = 58,
to = 59,
x = {
4300,
4300,
},
y = {
3300,
3100,
},
},
},
Areas = {
{
......@@ -3789,15 +3831,15 @@ Diagrams = {
},
},
{
description = "avalia e calcula sp_agua",
description = "avalia monitoraes",
documentation = nil,
bgcolor = "255 255 200",
alignment = 4,
x = {
3900,
3900,
4420,
4420,
4700,
4700,
},
y = {
4200,
......@@ -3812,10 +3854,10 @@ Diagrams = {
bgcolor = "255 255 200",
alignment = 4,
x = {
4740,
4740,
5260,
5260,
5000,
5000,
5520,
5520,
},
y = {
4200,
......@@ -3830,10 +3872,10 @@ Diagrams = {
bgcolor = "255 255 200",
alignment = 5,
x = {
4460,
4460,
4700,
4700,
4720,
4720,
4960,
4960,
},
y = {
4200,
......@@ -5137,7 +5179,7 @@ Diagrams = {
beforemsg = nil,
aftermsg = nil,
expressions = {
"abs\n(mv_agua-bat_sup)\n< 0.1",
"mv_agua >=\nbat_sup - 0.1",
},
variables = {},