Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
cf044ba9
Commit
cf044ba9
authored
Mar 16, 2016
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wb command, distribute /package added, and /first in create object bugfix
parent
55da58f0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
4 deletions
+44
-4
src/doc/man/en_us/man_dg.dat
src/doc/man/en_us/man_dg.dat
+15
-0
src/doc/man/sv_se/man_dg.dat
src/doc/man/sv_se/man_dg.dat
+15
-0
wb/lib/wb/src/wb_wnav_command.cpp
wb/lib/wb/src/wb_wnav_command.cpp
+14
-4
No files found.
src/doc/man/en_us/man_dg.dat
View file @
cf044ba9
...
...
@@ -8924,6 +8924,7 @@ Commands
<b>delete volume<t>Delete a volume <LINK> delete volume
<b>disconnect <t>Disconnect signal and channel <LINK> disconnect
<b>display <t>Display a window <LINK> display
<b>distribute <t>Distribute to operator or process station <LINK> distribute
<b>edit <t>set edit mode <LINK> edit
<b>exit <t>close wtt <LINK> exit
<b>help <t>Display help <LINK> help help
...
...
@@ -9292,6 +9293,20 @@ Display plant or node hierarchy window (w1 or w2).
<B>wtt> display w2
</TOPIC>
<TOPIC> distribute <style> function
Command distribute
Distribute files to operator or process station.
Creates a distribution package, copies the package to
the station and unpacks the package.
<B>wtt> distribute /node= [/package]
/node <t>Node to distribute to.
/package <t>Only create package. The packaged is created but not copied.
</TOPIC>
<TOPIC> edit <style> function
Command edit
...
...
src/doc/man/sv_se/man_dg.dat
View file @
cf044ba9
...
...
@@ -8813,6 +8813,7 @@ Kommandon
<b>delete volume<t>Ta bort en volym <LINK> delete volume
<b>disconnect <t>Koppla ifrån signal och kanal <LINK> disconnect
<b>display <t>Visa ett fönster <LINK> display
<b>distribute <t>Distribuera till operatörs eller processtation <LINK> distribute
<b>edit <t>Sätt edit mod <LINK> edit
<b>exit <t>Stäng wtt <LINK> exit
<b>help <t>Visa hjälp <LINK> help help
...
...
@@ -9175,6 +9176,20 @@ Visa anl
<B>wtt> display w2
</TOPIC>
<TOPIC> distribute <style> function
Command distribute
Distribuerar filer till operatörs och processnoder.
Skapar ett distributions paket, kopierar paketet till
stationen och packar upp det.
<B>wtt> distribute /node= [/package]
/node <t>Nod att distribuera till.
/package <t>Skapar enbar ett paket. Paketet skapas men kopieras inte.
</TOPIC>
<TOPIC> edit <style> function
Kommando edit
...
...
wb/lib/wb/src/wb_wnav_command.cpp
View file @
cf044ba9
...
...
@@ -444,7 +444,7 @@ dcli_tCmdTable wnav_command_table[] = {
{
"DISTRIBUTE"
,
&
wnav_distribute_func
,
{
"/NODE"
,
""
}
{
"/NODE"
,
"
/PACKAGE"
,
"
"
}
},
{
"RELEASE"
,
...
...
@@ -4108,8 +4108,8 @@ static int wnav_create_func( void *client_data,
pwr_tStatus
sts
;
// Command is "CREATE OBJECT"
first
=
ODD
(
dcli_get_qualifier
(
"/FIRST"
,
0
,
0
));
last
=
ODD
(
dcli_get_qualifier
(
"/LAST"
,
0
,
0
));
first
=
ODD
(
dcli_get_qualifier
(
"/FIRST
CHILD
"
,
0
,
0
));
last
=
ODD
(
dcli_get_qualifier
(
"/LAST
CHILD
"
,
0
,
0
));
after
=
ODD
(
dcli_get_qualifier
(
"/AFTER"
,
0
,
0
));
before
=
ODD
(
dcli_get_qualifier
(
"/BEFORE"
,
0
,
0
));
...
...
@@ -4825,7 +4825,12 @@ static int wnav_save_func( void *client_data,
void
*
client_flag
)
{
WNav
*
wnav
=
(
WNav
*
)
client_data
;
int
sts
;
int
quiet
;
sts
=
wnav_wccm_get_ldhsession_cb
(
wnav
,
&
wnav
->
ldhses
);
if
(
EVEN
(
sts
))
return
sts
;
quiet
=
ODD
(
dcli_get_qualifier
(
"/QUIET"
,
0
,
0
));
...
...
@@ -4998,15 +5003,20 @@ static int wnav_distribute_func( void *client_data,
int
sts
;
char
*
node_ptr
;
char
node_str
[
80
];
int
package
;
bool
distribute
;
if
(
ODD
(
dcli_get_qualifier
(
"/NODE"
,
node_str
,
sizeof
(
node_str
))))
node_ptr
=
node_str
;
else
node_ptr
=
NULL
;
package
=
ODD
(
dcli_get_qualifier
(
"/PACKAGE"
,
0
,
0
));
distribute
=
package
?
false
:
true
;
sts
=
WNAV__SUCCESS
;
try
{
wb_pkg
*
pkg
=
new
wb_pkg
(
node_ptr
);
wb_pkg
*
pkg
=
new
wb_pkg
(
node_ptr
,
distribute
);
delete
pkg
;
}
catch
(
wb_error
&
e
)
{
...
...
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