Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpa
libs
pucrio-tecgraf
Commits
43c1db65
Commit
43c1db65
authored
Nov 10, 2021
by
Bernardo Quaresma Dias
Browse files
Atualização de ponte de reconexão
INSTMPA-933
parent
068f3389
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib-reconnect-3_0.mpad
View file @
43c1db65
...
...
@@ -2,9 +2,9 @@
-- Copyright (C) 2003-2021 Tecgraf/PUC-Rio, PETROBRAS S/A
-- Instituto Tecgraf <mpa@tecgraf.puc-rio.br>
-- Arquivo gerado pelo programa MPA
-- Verso: 6.
5
-- Verso: 6.
7
-- Arquivo: lib-reconnect.mpad
-- Data:
28/04
/2021 1
5
:0
1:59
-- Data:
10/11
/2021 1
0
:0
8:38
-- =============================================================================
MPA_5_0 = true
...
...
@@ -369,8 +369,8 @@ Diagrams = {
},
y = {
4160,
4
2
60,
4
6
60,
4
1
60,
4
7
60,
4760,
},
},
...
...
lib-reconnect-3_0.mpam
View file @
43c1db65
...
...
@@ -42,9 +42,13 @@ func{ id = "reconnect_bridge", name = "Reconectar Ponte",
return ret
end
else
local restart = pt_bridge.bridge.restart
local bridge = pt_bridge.bridge
while(bridge.__object) do
bridge = bridge.__object
end
local restart = bridge.restart
if restart then
ok, ret = pcall(restart,
pt_bridge.
bridge)
ok, ret = pcall(restart, bridge)
if not ok then return ret end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment