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
bcf0b4cb
Commit
bcf0b4cb
authored
Apr 23, 2014
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Xtt command 'show message' added
parent
627871a5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
56 additions
and
17 deletions
+56
-17
src/doc/man/en_us/man_opg.dat
src/doc/man/en_us/man_opg.dat
+28
-16
src/doc/man/sv_se/man_opg.dat
src/doc/man/sv_se/man_opg.dat
+12
-0
xtt/lib/xtt/src/xtt_xnav_command.cpp
xtt/lib/xtt/src/xtt_xnav_command.cpp
+16
-1
No files found.
src/doc/man/en_us/man_opg.dat
View file @
bcf0b4cb
...
...
@@ -1525,22 +1525,22 @@ Xtt commands
add parameter<t>Add an attribute to a picture <LINK> add parameter
add menu <t>Add a menu item to a xtt menu <LINK> add menu
call method <t>Call a xtt method for an object <LINK> call method
call method <t>Call a xtt method for an object
<LINK> call method
check method <t>Call a xtt method filter for an object <LINK> check method
collect <t>Add an attribute to collect list <LINK> collect
collect show<t>Show the collect list <LINK> collect show
collect clear<t>Clear the collect list <LINK> collect clear
collect clear<t>Clear the collect list
<LINK> collect clear
collect remove<t>Remove an attribute from the collect list <LINK> collect remove
collect open<t>Open a stored collect window <LINK> collect open
close alarmlist <t>Close alarmlist <LINK> close alarmlist
close eventlist <t>Close eventlist <LINK> close eventlist
close graph <t>Close a graph <LINK> close graph
close multiview <t>Close a multiview <LINK> close multiview
close navigator <t>Close the navigator <LINK> close navigator
close navigator <t>Close the navigator
<LINK> close navigator
create item <t>Create a menu item in the Xtt menu <LINK> create item
create opmenuitem <t>Create a menu item in the operator window menu <LINK> create opmenuitem
crossreference<t>Show crossreferenses <LINK> crossreference
define <t>Define a symbol <LINK> define
crossreference<t>Show crossreferenses
<LINK> crossreference
define <t>Define a symbol
<LINK> define
delete item <t>Delete a menu item in the Xtt menu <LINK> delete item
delete opmenuitem <t>Delete a menu item in the operator window menu <LINK> delete opmenuitem
eventlist <t>Handle the eventlist <LINK> eventlist
...
...
@@ -1554,34 +1554,35 @@ read object <t>Read the content of an object from file <LINK> read object
search <t>Search for an object or a string <LINK> search
set advanceduser<t>Set advanced user <LINK> set advanceduser
set display<t>Set format of display for selected attribute <LINK> set display
set folder <t>Set a folder in a tabbed window.
<LINK> set folder
set parameter<t>Set the value of an attribute <LINK> set parameter
set folder <t>Set a folder in a tabbed window. <LINK> set folder
set parameter<t>Set the value of an attribute
<LINK> set parameter
set subwindow<t>View a graph in a Ge window object. <LINK> set subwindow
setup <t>Xtt setup <LINK> setup
show version<t>Show xtt version <LINK> show version
show version<t>Show xtt version
<LINK> show version
show symbol <t>Show a symbol <LINK> show symbol
show plcpgm <t>Show PlcPgm objects <LINK> show plcpgm
show plcthreads<t>Show PlcThread objects <LINK> show plcthreads
show links <t>Show links <LINK> show links
show logfiles<t>Show rtt loggfiles <LINK> show logfiles
show subsrv <t>Show subscription server <LINK> show subsrv
show subcli <t>Show subscription client <LINK> show subcli
show subsrv <t>Show subscription server
<LINK> show subsrv
show subcli <t>Show subscription client
<LINK> show subcli
show device <t>Show devices <LINK> show device
show remnode<t>Show RemNode objects <LINK> show remnode
show remtrans<t>Show RemTrans objects <LINK> show remtrans
show remtrans<t>Show RemTrans objects
<LINK> show remtrans
show database<t>Show the runtime database <LINK> show database
show file <t>Show files <LINK> show file
show graph <t>Show graph-files <LINK> show graph
show time <t>Show current time <LINK> show time
show default<t>Show default directory <LINK> show default
show children<t>Show the children of an object <LINK> show children
show graph <t>Show graph-files <LINK> show graph
show time <t>Show current time <LINK> show time
show default<t>Show default directory <LINK> show default
show children<t>Show the children of an object <LINK> show children
show message<t>Show a message <LINK> show message
show objectlist<t>Show all objects of a specific class<LINK> show objectlist
show objid <t>Show object identity <LINK> show objid
show parameter<t>Show an object attribute <LINK> show parameter
show logging<t>Show a logging entry <LINK> show logging
show eventlist<t>Show the event list <LINK> show eventlist
show alarmlist<t>Show the alarm list <LINK> show alarmlist
show user <t>Show current user <LINK> show user
show user <t>Show current user
<LINK> show user
sound <t>Play a sound defined by a sound object <LINK> sound
store <t>Store an attribute list in a file <LINK> store
write object <t>Write the content of an object to file <LINK> write object
...
...
@@ -2548,6 +2549,17 @@ Show the current user and his privileges.
<B>xtt> show user
</TOPIC>
<TOPIC> show message <style> function
Command show message
Open a message window.
<B>xtt> show message /text= [/title=]
/text <t>Message text.
/title <t>Window title.
</TOPIC>
<TOPIC> show objectlist <style> function
Command show objectlist
...
...
src/doc/man/sv_se/man_opg.dat
View file @
bcf0b4cb
...
...
@@ -1590,6 +1590,7 @@ show graph <t>Visa graf-filer <LINK> show graph
show time <t>Visa aktuell tid <LINK> show time
show default<t>Visa default katalog <LINK> show default
show children<t>Visa ett objekts barn <LINK> show children
show message<t>Visa ett meddelande <LINK> show message
show objectlist<t>Visa alla objects av en specifik klass<LINK> show objectlist
show objid <t>Visa ett objekts identitet <LINK> show objid
show parameter<t>Visa ett objektsattribut <LINK> show parameter
...
...
@@ -1990,6 +1991,17 @@ logout <LINK> logout
show user <LINK> show user
</TOPIC>
<TOPIC> show message <style> function
Command show message
Öppna ett fönster med ett meddelande.
<B>xtt> show message /text= [/title=]
/text <t>Meddelande.
/title <t>Titel på fönstret.
</TOPIC>
<TOPIC> show objectlist <style> function
Command show objectlist
...
...
xtt/lib/xtt/src/xtt_xnav_command.cpp
View file @
bcf0b4cb
...
...
@@ -263,7 +263,7 @@ dcli_tCmdTable xnav_command_table[] = {
"/OPTION"
,
"/ENTRY"
,
"/NEW"
,
"/TITLE"
,
"/WINDOW"
,
"/ALARMVIEW"
,
"/WIDTH"
,
"/HEIGHT"
,
"/XPOSITION"
,
"/YPOSITION"
,
"/FULLSCREEN"
,
"/MAXIMIZE"
,
"/FULLMAXIMIZE"
,
"/SORT"
,
""
}
"/SORT"
,
"
/TEXT"
,
"
"
}
},
{
"OPEN"
,
...
...
@@ -2280,6 +2280,21 @@ static int xnav_show_func( void *client_data,
}
}
}
else
if
(
cdh_NoCaseStrncmp
(
arg1_str
,
"MESSAGE"
,
strlen
(
arg1_str
))
==
0
)
{
char
text_str
[
256
];
char
title_str
[
256
];
if
(
EVEN
(
dcli_get_qualifier
(
"/TEXT"
,
text_str
,
sizeof
(
text_str
))))
{
xnav
->
message
(
'E'
,
"Syntax error"
);
return
XNAV__SUCCESS
;
}
if
(
EVEN
(
dcli_get_qualifier
(
"/TITLE"
,
title_str
,
sizeof
(
title_str
))))
strncpy
(
title_str
,
Lng
::
translate
(
"Message"
),
sizeof
(
title_str
));
xnav
->
wow
->
DisplayText
(
title_str
,
text_str
);
}
else
if
(
cdh_NoCaseStrncmp
(
arg1_str
,
"VOLUMES"
,
strlen
(
arg1_str
))
==
0
)
{
/* Command is "SHOW VOLUMES" */
...
...
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