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
f2410197
Commit
f2410197
authored
Jun 15, 2006
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show device table on attribute object channels and signals
parent
5e4fc084
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
214 additions
and
78 deletions
+214
-78
xtt/lib/xtt/src/xtt_item.cpp
xtt/lib/xtt/src/xtt_item.cpp
+5
-5
xtt/lib/xtt/src/xtt_item.h
xtt/lib/xtt/src/xtt_item.h
+2
-2
xtt/lib/xtt/src/xtt_xnav.h
xtt/lib/xtt/src/xtt_xnav.h
+2
-2
xtt/lib/xtt/src/xtt_xnav_tables.cpp
xtt/lib/xtt/src/xtt_xnav_tables.cpp
+205
-69
No files found.
xtt/lib/xtt/src/xtt_item.cpp
View file @
f2410197
/*
* Proview $Id: xtt_item.cpp,v 1.1
5 2005-12-06 10:52:08
claes Exp $
* Proview $Id: xtt_item.cpp,v 1.1
6 2006-06-15 12:17:40
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -1836,10 +1836,10 @@ int ItemChannel::open_children( XNavBrow *brow, double x, double y)
XNav
*
xnav
=
(
XNav
*
)
brow
->
userdata
;
if
(
cdh_ObjidIsNull
(
objid
))
if
(
cdh_ObjidIsNull
(
objid
)
||
cdh_ObjidIsNull
(
signal_aref
.
Objid
)
)
return
1
;
return
xnav
->
show_object
(
signal_objid
,
node
);
return
xnav
->
show_object
(
&
signal_aref
,
node
);
}
int
ItemChannel
::
open_crossref
(
XNavBrow
*
brow
,
double
x
,
double
y
)
...
...
@@ -1855,7 +1855,7 @@ int ItemChannel::open_crossref( XNavBrow *brow, double x, double y)
else
xnav
=
0
;
if
(
cdh_ObjidIsNull
(
signal_
o
bjid
))
if
(
cdh_ObjidIsNull
(
signal_
aref
.
O
bjid
))
return
1
;
if
(
!
is_root
)
...
...
@@ -1882,7 +1882,7 @@ int ItemChannel::open_crossref( XNavBrow *brow, double x, double y)
crossref_exist
=
0
;
brow_SetNodraw
(
brow
->
ctx
);
sts
=
gdh_
ObjidToName
(
signal_objid
,
signal_name
,
sizeof
(
signal_name
),
sts
=
gdh_
AttrrefToName
(
&
signal_aref
,
signal_name
,
sizeof
(
signal_name
),
cdh_mNName
);
sts
=
xnav_crr_signal
(
brow
,
NULL
,
signal_name
,
node
);
...
...
xtt/lib/xtt/src/xtt_item.h
View file @
f2410197
/*
* Proview $Id: xtt_item.h,v 1.1
1 2006-05-21 22:30:50 lw
Exp $
* Proview $Id: xtt_item.h,v 1.1
2 2006-06-15 12:17:40 claes
Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -419,7 +419,7 @@ class ItemChannel : public ItemTable {
tab_change_value_idx
,
tab_min_limit
,
tab_max_limit
,
relative_pos
,
dest
,
dest_code
)
{
type
=
xnav_eItemType_Channel
;};
pwr_t
Objid
signal_objid
;
pwr_t
AttrRef
signal_aref
;
int
open_children
(
XNavBrow
*
brow
,
double
x
,
double
y
);
int
open_crossref
(
XNavBrow
*
brow
,
double
x
,
double
y
);
};
...
...
xtt/lib/xtt/src/xtt_xnav.h
View file @
f2410197
/*
* Proview $Id: xtt_xnav.h,v 1.1
7 2006-04-12 12:19:08
claes Exp $
* Proview $Id: xtt_xnav.h,v 1.1
8 2006-06-15 12:17:40
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -440,7 +440,7 @@ class XNav {
int
show_subcli
();
int
show_device
();
int
show_channels
(
pwr_tObjid
card_objid
);
int
show_object
(
pwr_t
Objid
objid
,
brow_tNode
node
);
int
show_object
(
pwr_t
AttrRef
*
oarp
,
brow_tNode
node
);
int
show_remnode
();
int
show_remtrans
(
pwr_tObjid
remnode_objid
);
int
show_plcpgm
();
...
...
xtt/lib/xtt/src/xtt_xnav_tables.cpp
View file @
f2410197
This diff is collapsed.
Click to expand it.
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