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
977f2ae9
Commit
977f2ae9
authored
Apr 28, 2017
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wb, list for reference object added
parent
61debc06
Changes
42
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
42 changed files
with
1569 additions
and
24 deletions
+1569
-24
bcomp/wbl/bcomp/src/basecomponent.wb_load
bcomp/wbl/bcomp/src/basecomponent.wb_load
+39
-3
src/exe/co_convert/src/cnv_wbltoh.cpp
src/exe/co_convert/src/cnv_wbltoh.cpp
+1
-0
src/exp/inc/src/pwr.h
src/exp/inc/src/pwr.h
+15
-0
src/exp/inc/src/pwr_class.h
src/exp/inc/src/pwr_class.h
+2
-0
src/wbl/pwrb/src/pwrb_c_ai.wb_load
src/wbl/pwrb/src/pwrb_c_ai.wb_load
+21
-0
src/wbl/pwrb/src/pwrb_c_ao.wb_load
src/wbl/pwrb/src/pwrb_c_ao.wb_load
+21
-0
src/wbl/pwrb/src/pwrb_c_av.wb_load
src/wbl/pwrb/src/pwrb_c_av.wb_load
+15
-0
src/wbl/pwrb/src/pwrb_c_cameraposition.wb_load
src/wbl/pwrb/src/pwrb_c_cameraposition.wb_load
+7
-1
src/wbl/pwrb/src/pwrb_c_classvolumeload.wb_load
src/wbl/pwrb/src/pwrb_c_classvolumeload.wb_load
+6
-0
src/wbl/pwrb/src/pwrb_c_constav.wb_load
src/wbl/pwrb/src/pwrb_c_constav.wb_load
+6
-0
src/wbl/pwrb/src/pwrb_c_constiv.wb_load
src/wbl/pwrb/src/pwrb_c_constiv.wb_load
+6
-0
src/wbl/pwrb/src/pwrb_c_di.wb_load
src/wbl/pwrb/src/pwrb_c_di.wb_load
+21
-0
src/wbl/pwrb/src/pwrb_c_do.wb_load
src/wbl/pwrb/src/pwrb_c_do.wb_load
+21
-0
src/wbl/pwrb/src/pwrb_c_dv.wb_load
src/wbl/pwrb/src/pwrb_c_dv.wb_load
+15
-0
src/wbl/pwrb/src/pwrb_c_ii.wb_load
src/wbl/pwrb/src/pwrb_c_ii.wb_load
+21
-0
src/wbl/pwrb/src/pwrb_c_io.wb_load
src/wbl/pwrb/src/pwrb_c_io.wb_load
+21
-0
src/wbl/pwrb/src/pwrb_c_iv.wb_load
src/wbl/pwrb/src/pwrb_c_iv.wb_load
+15
-0
src/wbl/pwrb/src/pwrb_c_mode.wb_load
src/wbl/pwrb/src/pwrb_c_mode.wb_load
+6
-0
src/wbl/pwrb/src/pwrb_c_opplace.wb_load
src/wbl/pwrb/src/pwrb_c_opplace.wb_load
+22
-0
src/wbl/pwrb/src/pwrb_c_pid.wb_load
src/wbl/pwrb/src/pwrb_c_pid.wb_load
+6
-0
src/wbl/pwrb/src/pwrb_c_plcpgm.wb_load
src/wbl/pwrb/src/pwrb_c_plcpgm.wb_load
+6
-0
src/wbl/pwrb/src/pwrb_c_po.wb_load
src/wbl/pwrb/src/pwrb_c_po.wb_load
+21
-0
src/wbl/pwrb/src/pwrb_c_rootvolumeload.wb_load
src/wbl/pwrb/src/pwrb_c_rootvolumeload.wb_load
+6
-0
src/wbl/pwrb/src/pwrb_c_sevhist.wb_load
src/wbl/pwrb/src/pwrb_c_sevhist.wb_load
+6
-0
src/wbl/pwrb/src/pwrb_c_sevhistobject.wb_load
src/wbl/pwrb/src/pwrb_c_sevhistobject.wb_load
+6
-0
src/wbl/pwrb/src/pwrb_c_sharedvolumeload.wb_load
src/wbl/pwrb/src/pwrb_c_sharedvolumeload.wb_load
+6
-0
src/wbl/pwrb/src/pwrb_c_subvolumeload.wb_load
src/wbl/pwrb/src/pwrb_c_subvolumeload.wb_load
+6
-0
src/wbl/pwrs/src/pwrs_c_attribute.wb_load
src/wbl/pwrs/src/pwrs_c_attribute.wb_load
+7
-0
src/wbl/pwrs/src/pwrs_c_referencelist.wb_load
src/wbl/pwrs/src/pwrs_c_referencelist.wb_load
+83
-0
src/wbl/pwrs/src/pwrs_c_typedef.wb_load
src/wbl/pwrs/src/pwrs_c_typedef.wb_load
+6
-0
src/wbl/pwrs/src/pwrs_td_reflistfiltermask.wb_load
src/wbl/pwrs/src/pwrs_td_reflistfiltermask.wb_load
+137
-0
ssabox/wbl/mcomp/src/ssabox.wb_load
ssabox/wbl/mcomp/src/ssabox.wb_load
+44
-9
wb/exp/wb/src/pwr_wb_palette.cnf
wb/exp/wb/src/pwr_wb_palette.cnf
+2
-1
wb/lib/wb/src/wb_vrepced.cpp
wb/lib/wb/src/wb_vrepced.cpp
+3
-0
wb/lib/wb/src/wb_vrepmem.cpp
wb/lib/wb/src/wb_vrepmem.cpp
+3
-0
wb/lib/wb/src/wb_wattnav.cpp
wb/lib/wb/src/wb_wattnav.cpp
+11
-0
wb/lib/wb/src/wb_wblnode.cpp
wb/lib/wb/src/wb_wblnode.cpp
+27
-0
wb/lib/wb/src/wb_wnav.cpp
wb/lib/wb/src/wb_wnav.cpp
+48
-0
wb/lib/wb/src/wb_wnav_brow.cpp
wb/lib/wb/src/wb_wnav_brow.cpp
+12
-0
wb/lib/wb/src/wb_wnav_brow.h
wb/lib/wb/src/wb_wnav_brow.h
+1
-0
wb/lib/wb/src/wb_wnav_item.cpp
wb/lib/wb/src/wb_wnav_item.cpp
+817
-9
wb/lib/wb/src/wb_wnav_item.h
wb/lib/wb/src/wb_wnav_item.h
+24
-1
No files found.
bcomp/wbl/bcomp/src/basecomponent.wb_load
View file @
977f2ae9
Volume BaseComponent $ClassVolume 0.0.0.10
Body SysBody 01-JAN-1970 01:00:00.00
Attr NextOix = "_X1183
2
"
Attr NextOix = "_X1183
8
"
Attr NextCix = "_X210"
Attr NextTix[0] = "_X23"
EndBody
...
...
@@ -51231,7 +51231,8 @@ and no Auto/Man button."
!*/
Object Description $Attribute 36 10-FEB-2017 16:03:55.71
Body SysBody 10-FEB-2017 16:04:00.30
Attr Flags = 16777216
Attr PgmName = "Description"
Attr Size = 80
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
...
...
@@ -51702,6 +51703,12 @@ and no Auto/Man button."
EndBody
EndObject
EndObject
Object PidObjDid $ReferenceList 11833 25-APR-2017 14:56:17.87
Body SysBody 25-APR-2017 14:57:16.83
Attr ObjectClass[0] = "BaseComponent:Class-CompPID"
Attr Filter = 145
EndBody
EndObject
Object Template CompModePID 2187034624 01-JAN-1970 01:00:00.00
Body RtBody 27-MAY-2016 11:22:01.11
Attr OpMod = 1
...
...
@@ -52022,7 +52029,8 @@ and no Auto/Man button."
!*/
Object Description $Attribute 60 10-FEB-2017 16:01:42.72
Body SysBody 10-FEB-2017 16:02:12.63
Attr Flags = 16777216
Attr PgmName = "Description"
Attr Size = 80
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
...
...
@@ -52733,6 +52741,12 @@ and no Auto/Man button."
EndBody
EndObject
EndObject
Object ModeObjDid $ReferenceList 11834 25-APR-2017 14:56:55.43
Body SysBody 25-APR-2017 14:57:09.57
Attr ObjectClass[0] = "BaseComponent:Class-CompModePID"
Attr Filter = 145
EndBody
EndObject
Object Template CompPID 2187558912 01-JAN-1970 01:00:00.00
Body RtBody 27-MAY-2016 13:25:33.60
Attr PidAlg = 3
...
...
@@ -53653,6 +53667,12 @@ and no Auto/Man button."
EndBody
EndObject
EndObject
Object ModeObjDid $ReferenceList 11835 25-APR-2017 14:57:51.00
Body SysBody 25-APR-2017 14:58:18.62
Attr ObjectClass[0] = "BaseComponent:Class-CompModeIMC"
Attr Filter = 145
EndBody
EndObject
Object Template CompIMC 2199879680 23-MAY-2016 13:37:22.00
Body RtBody 26-MAY-2016 11:06:10.27
Attr Description = "IMC Controller"
...
...
@@ -54161,6 +54181,12 @@ and no Auto/Man button."
EndBody
EndObject
EndObject
Object ImcObjDid $ReferenceList 11836 25-APR-2017 15:10:00.31
Body SysBody 25-APR-2017 14:58:59.75
Attr ObjectClass[0] = "BaseComponent:Class-CompIMC"
Attr Filter = 145
EndBody
EndObject
Object Template CompModeIMC 2200403968 23-MAY-2016 13:37:22.00
Body RtBody 26-MAY-2016 11:06:34.45
Attr Description = "IMC Mode Handler"
...
...
@@ -172962,6 +172988,11 @@ OA2 = A4 + (OA1 - 5) / 90 * (A3 - A4);"
EndBody
EndObject
EndObject
Object ThreadObject $ReferenceList 11837 25-APR-2017 15:01:16.71
Body SysBody 25-APR-2017 15:01:35.35
Attr ObjectClass[0] = "pwrb:Class-PlcThread"
EndBody
EndObject
Object ConfiguratorPoson $Menu 8409 26-SEP-2007 17:20:21.53
Object Pointed $Menu 8410 26-SEP-2007 17:20:21.53
Object Connect $MenuButton 8411 26-SEP-2007 17:20:21.53
...
...
@@ -173135,6 +173166,11 @@ OA2 = A4 + (OA1 - 5) / 90 * (A3 - A4);"
EndBody
EndObject
EndObject
Object ThreadObject $ReferenceList 11838 25-APR-2017 15:01:59.02
Body SysBody 25-APR-2017 15:02:03.58
Attr ObjectClass[0] = "pwrb:Class-PlcThread"
EndBody
EndObject
Object ConfiguratorPoson $Menu 8406 26-SEP-2007 17:18:40.49
Object Pointed $Menu 8407 26-SEP-2007 17:18:40.49
Object Connect $MenuButton 8408 26-SEP-2007 17:18:40.49
src/exe/co_convert/src/cnv_wbltoh.cpp
View file @
977f2ae9
...
...
@@ -968,6 +968,7 @@ int CnvWblToH::cixstr_to_classid( char *cix_str, pwr_tClassId *cid)
{
"pwr_eCix_ExternVolume"
,
pwr_eCix_ExternVolume
},
{
"pwr_eCix_Hier"
,
pwr_eCix_Hier
},
{
"pwr_eCix_Security"
,
pwr_eCix_Security
},
{
"pwr_eCix_ReferenceList"
,
pwr_eCix_ReferenceList
},
{
""
,
0
}};
found
=
0
;
...
...
src/exp/inc/src/pwr.h
View file @
977f2ae9
...
...
@@ -515,6 +515,21 @@ typedef pwr_tEnum pwr_tOpSysEnum; //!< Operating system enum.
*/
typedef
pwr_tMask
pwr_tOpSysMask
;
//!< Operating system Mask.
/*_*
@aref reflistlfiltermask RefListFilterMask
*/
typedef
enum
{
pwr_mRefListFilterMask_CurrentVolume
=
1
,
pwr_mRefListFilterMask_AllVolumes
=
2
,
pwr_mRefListFilterMask_RootVolume
=
4
,
pwr_mRefListFilterMask_SharedVolume
=
8
,
pwr_mRefListFilterMask_Siblings
=
16
,
pwr_mRefListFilterMask_AttrObjects
=
32
,
pwr_mRefListFilterMask_PwrsVolume
=
64
,
pwr_mRefListFilterMask_Other
=
128
}
pwr_mRefListFilterMask
;
typedef
pwr_tMask
pwr_tRefListFilterMask
;
//!< Reference list filter Mask.
/*_*
@aref attrrefflag AttrRefFlag
...
...
src/exp/inc/src/pwr_class.h
View file @
977f2ae9
...
...
@@ -313,6 +313,7 @@ typedef enum {
pwr_eCix_ClassLost
=
67
,
pwr_eCix_Security
=
68
,
pwr_eCix_DetachedClassVolume
=
69
,
pwr_eCix_ReferenceList
=
70
,
pwr_eCix_
}
pwr_eCix
;
...
...
@@ -386,6 +387,7 @@ typedef enum {
pwr_eClass_ClassLost
=
pwr_ClassId
(
pwr_eCix_ClassLost
),
pwr_eClass_Security
=
pwr_ClassId
(
pwr_eCix_Security
),
pwr_eClass_DetachedClassVolume
=
pwr_ClassId
(
pwr_eCix_DetachedClassVolume
),
pwr_eClass_ReferenceList
=
pwr_ClassId
(
pwr_eCix_ReferenceList
),
pwr_eClass_
}
pwr_eClass
;
...
...
src/wbl/pwrb/src/pwrb_c_ai.wb_load
View file @
977f2ae9
...
...
@@ -315,6 +315,27 @@ SObject pwrb:Class
EndObject
Object Template Ai
EndObject
Object DefGraph $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_XttGraph
Attr ObjectClass[1] = pwr_cClass_XttMultiView
Attr ObjectClass[2] = pwr_cClass_XttCamera
Attr Filter = 129
EndBody
EndObject
Object DefTrend $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_DsTrendCurve
Attr ObjectClass[1] = pwr_cClass_DsTrend
Attr Filter = 161
EndBody
EndObject
Object SigChanCon $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_ChanAi
Attr Filter = 33
EndBody
EndObject
Object ConfiguratorPoson $Menu
Object Pointed $Menu
Object Connect $MenuButton
...
...
src/wbl/pwrb/src/pwrb_c_ao.wb_load
View file @
977f2ae9
...
...
@@ -267,6 +267,27 @@ SObject pwrb:Class
EndObject
Object Template Ao
EndObject
Object DefGraph $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_XttGraph
Attr ObjectClass[1] = pwr_cClass_XttMultiView
Attr ObjectClass[2] = pwr_cClass_XttCamera
Attr Filter = 1
EndBody
EndObject
Object DefTrend $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_DsTrendCurve
Attr ObjectClass[1] = pwr_cClass_DsTrend
Attr Filter = 129
EndBody
EndObject
Object SigChanCon $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_ChanAi
Attr Filter = 161
EndBody
EndObject
Object ConfiguratorPoson $Menu
Object Pointed $Menu
Object Connect $MenuButton
...
...
src/wbl/pwrb/src/pwrb_c_av.wb_load
View file @
977f2ae9
...
...
@@ -238,6 +238,21 @@ SObject pwrb:Class
EndBody
EndObject
EndObject
Object DefGraph $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_XttGraph
Attr ObjectClass[1] = pwr_cClass_XttMultiView
Attr ObjectClass[2] = pwr_cClass_XttCamera
Attr Filter = 1
EndBody
EndObject
Object DefTrend $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_DsTrendCurve
Attr ObjectClass[1] = pwr_cClass_DsTrend
Attr Filter = 161
EndBody
EndObject
Object ConfiguratorPoson $Menu
Object Pointed $Menu
Object ConnectGraph $MenuButton
...
...
src/wbl/pwrb/src/pwrb_c_cameraposition.wb_load
View file @
977f2ae9
...
...
@@ -52,7 +52,7 @@ SObject pwrb:Class
Attr StructName = "CameraPosition"
EndBody
!/**
! Xtt
Video
object for the camera.
! Xtt
Camera
object for the camera.
!*/
Object VideoObject $Attribute 1
Body SysBody
...
...
@@ -90,6 +90,12 @@ SObject pwrb:Class
EndBody
EndObject
EndObject
Object VideoObject $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_XttCamera
Attr Filter = 1
EndBody
EndObject
EndObject
EndSObject
...
...
src/wbl/pwrb/src/pwrb_c_classvolumeload.wb_load
View file @
977f2ae9
...
...
@@ -74,5 +74,11 @@ SObject pwrb:Class
EndBody
EndObject
EndObject
Object ObjectName $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_ClassVolumeConfig
Attr Filter = 1
EndBody
EndObject
EndObject
EndSObject
src/wbl/pwrb/src/pwrb_c_constav.wb_load
View file @
977f2ae9
...
...
@@ -128,5 +128,11 @@ SObject pwrb:Class
EndBody
EndObject
EndObject
Object DefGraph $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_XttGraph
Attr Filter = 1
EndBody
EndObject
EndObject
EndSObject
src/wbl/pwrb/src/pwrb_c_constiv.wb_load
View file @
977f2ae9
...
...
@@ -119,5 +119,11 @@ SObject pwrb:Class
EndBody
EndObject
EndObject
Object DefGraph $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_XttGraph
Attr Filter = 1
EndBody
EndObject
EndObject
EndSObject
src/wbl/pwrb/src/pwrb_c_di.wb_load
View file @
977f2ae9
...
...
@@ -272,6 +272,27 @@ SObject pwrb:Class
EndObject
Object Template Di
EndObject
Object DefGraph $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_XttGraph
Attr ObjectClass[1] = pwr_cClass_XttMultiView
Attr ObjectClass[2] = pwr_cClass_XttCamera
Attr Filter = 129
EndBody
EndObject
Object DefTrend $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_DsTrendCurve
Attr ObjectClass[1] = pwr_cClass_DsTrend
Attr Filter = 161
EndBody
EndObject
Object SigChanCon $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_ChanDi
Attr Filter = 33
EndBody
EndObject
Object ConfiguratorPoson $Menu
Object Pointed $Menu
Object Connect $MenuButton
...
...
src/wbl/pwrb/src/pwrb_c_do.wb_load
View file @
977f2ae9
...
...
@@ -228,6 +228,27 @@ SObject pwrb:Class
EndObject
Object Template Do
EndObject
Object DefGraph $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_XttGraph
Attr ObjectClass[1] = pwr_cClass_XttMultiView
Attr ObjectClass[2] = pwr_cClass_XttCamera
Attr Filter = 1
EndBody
EndObject
Object DefTrend $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_DsTrendCurve
Attr ObjectClass[1] = pwr_cClass_DsTrend
Attr Filter = 129
EndBody
EndObject
Object SigChanCon $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_ChanDo
Attr Filter = 161
EndBody
EndObject
Object ConfiguratorPoson $Menu
Object Pointed $Menu
Object Connect $MenuButton
...
...
src/wbl/pwrb/src/pwrb_c_dv.wb_load
View file @
977f2ae9
...
...
@@ -208,6 +208,21 @@ SObject pwrb:Class
EndBody
EndObject
EndObject
Object DefGraph $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_XttGraph
Attr ObjectClass[1] = pwr_cClass_XttMultiView
Attr ObjectClass[2] = pwr_cClass_XttCamera
Attr Filter = 129
EndBody
EndObject
Object DefTrend $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_DsTrendCurve
Attr ObjectClass[1] = pwr_cClass_DsTrend
Attr Filter = 161
EndBody
EndObject
Object ConfiguratorPoson $Menu
Object Pointed $Menu
Object ConnectGraph $MenuButton
...
...
src/wbl/pwrb/src/pwrb_c_ii.wb_load
View file @
977f2ae9
...
...
@@ -228,6 +228,27 @@ SObject pwrb:Class
EndBody
EndObject
EndObject
Object DefGraph $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_XttGraph
Attr ObjectClass[1] = pwr_cClass_XttMultiView
Attr ObjectClass[2] = pwr_cClass_XttCamera
Attr Filter = 1
EndBody
EndObject
Object DefTrend $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_DsTrendCurve
Attr ObjectClass[1] = pwr_cClass_DsTrend
Attr Filter = 129
EndBody
EndObject
Object SigChanCon $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_ChanIi
Attr Filter = 161
EndBody
EndObject
Object ConfiguratorPoson $Menu
Object Pointed $Menu
Object Connect $MenuButton
...
...
src/wbl/pwrb/src/pwrb_c_io.wb_load
View file @
977f2ae9
...
...
@@ -225,6 +225,27 @@ SObject pwrb:Class
EndBody
EndObject
EndObject
Object DefGraph $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_XttGraph
Attr ObjectClass[1] = pwr_cClass_XttMultiView
Attr ObjectClass[2] = pwr_cClass_XttCamera
Attr Filter = 1
EndBody
EndObject
Object DefTrend $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_DsTrendCurve
Attr ObjectClass[1] = pwr_cClass_DsTrend
Attr Filter = 129
EndBody
EndObject
Object SigChanCon $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_ChanIo
Attr Filter = 161
EndBody
EndObject
Object ConfiguratorPoson $Menu
Object Pointed $Menu
Object Connect $MenuButton
...
...
src/wbl/pwrb/src/pwrb_c_iv.wb_load
View file @
977f2ae9
...
...
@@ -215,6 +215,21 @@ SObject pwrb:Class
EndBody
EndObject
EndObject
Object DefGraph $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_XttGraph
Attr ObjectClass[1] = pwr_cClass_XttMultiView
Attr ObjectClass[2] = pwr_cClass_XttCamera
Attr Filter = 1
EndBody
EndObject
Object DefTrend $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_DsTrendCurve
Attr ObjectClass[1] = pwr_cClass_DsTrend
Attr Filter = 161
EndBody
EndObject
Object ConfiguratorPoson $Menu
Object Pointed $Menu
Object ConnectGraph $MenuButton
...
...
src/wbl/pwrb/src/pwrb_c_mode.wb_load
View file @
977f2ae9
...
...
@@ -546,6 +546,12 @@ SObject pwrb:Class
Attr debugpar = ""
EndBody
EndObject
Object PidObjDId $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_pid
Attr Filter = 145
EndBody
EndObject
Object Template Mode
Body RtBody
Attr OpMod = 1
...
...
src/wbl/pwrb/src/pwrb_c_opplace.wb_load
View file @
977f2ae9
...
...
@@ -368,6 +368,28 @@ SObject pwrb:Class
Attr MaxNoOfEvents = 500
EndBody
EndObject
Object FastAvail $ReferenceList
Body SysBody
Attr ObjectClass[0] = "pwr_cClass_XttGraph"
Attr ObjectClass[1] = "pwr_cClass_XttMultiView"
Attr ObjectClass[2] = "pwr_cClass_XttCamera"
Attr Filter = 137
EndBody
EndObject
Object AutoStart $ReferenceList
Body SysBody
Attr ObjectClass[0] = "pwr_cClass_XttGraph"
Attr ObjectClass[1] = "pwr_cClass_XttMultiView"
Attr ObjectClass[2] = "pwr_cClass_XttCamera"
Attr Filter = 137
EndBody
EndObject
Object AlarmView $ReferenceList
Body SysBody
Attr ObjectClass[0] = "pwr_cClass_AlarmView"
Attr Filter = 137
EndBody
EndObject
Object PostCreate $DbCallBack
Body SysBody
Attr MethodName = "OpPlace-PostCreate"
...
...
src/wbl/pwrb/src/pwrb_c_pid.wb_load
View file @
977f2ae9
...
...
@@ -1033,6 +1033,12 @@ SObject pwrb:Class
Attr debugpar = ""
EndBody
EndObject
Object ModeObjDId $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_mode
Attr Filter = 145
EndBody
EndObject
Object Template PID
Body RtBody
Attr PidAlg = 3
...
...
src/wbl/pwrb/src/pwrb_c_plcpgm.wb_load
View file @
977f2ae9
...
...
@@ -189,6 +189,12 @@ SObject pwrb:Class
Attr MethodName = "PlcPgm-AnteAdopt"
EndBody
EndObject
Object ThreadObject $ReferenceList
Body SysBody
Attr ObjectClass[0] = "pwrb:Class-PlcThread"
Attr Filter = 1
EndBody
EndObject
Object NavigatorPosnn $Menu
Object Pointed $Menu
Object OpenProgram $MenuButton
...
...
src/wbl/pwrb/src/pwrb_c_po.wb_load
View file @
977f2ae9
...
...
@@ -283,6 +283,27 @@ SObject pwrb:Class
EndObject
Object Template Po
EndObject
Object DefGraph $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_XttGraph
Attr ObjectClass[1] = pwr_cClass_XttMultiView
Attr ObjectClass[2] = pwr_cClass_XttCamera
Attr Filter = 1
EndBody
EndObject
Object DefTrend $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_DsTrendCurve
Attr ObjectClass[1] = pwr_cClass_DsTrend
Attr Filter = 129
EndBody
EndObject
Object SigChanCon $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_ChanDo
Attr Filter = 161
EndBody
EndObject
Object ConfiguratorPoson $Menu
Object Pointed $Menu
Object Connect $MenuButton
...
...
src/wbl/pwrb/src/pwrb_c_rootvolumeload.wb_load
View file @
977f2ae9
...
...
@@ -69,5 +69,11 @@ SObject pwrb:Class
EndBody
EndObject
EndObject
Object ObjectName $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_RootVolumeConfig
Attr Filter = 1
EndBody
EndObject
EndObject
EndSObject
src/wbl/pwrb/src/pwrb_c_sevhist.wb_load
View file @
977f2ae9
...
...
@@ -166,6 +166,12 @@ SObject pwrb:Class
Attr Options = 4
EndBody
EndObject
Object ThreadObject $ReferenceList
Body SysBody
Attr ObjectClass[0] = "pwrb:Class-SevHistThread"
Attr Filter = 1
EndBody
EndObject
Object PostCreate $DbCallBack
Body SysBody
Attr MethodName = "SevHist-PostCreate"
...
...
src/wbl/pwrb/src/pwrb_c_sevhistobject.wb_load
View file @
977f2ae9
...
...
@@ -161,6 +161,12 @@ SObject pwrb:Class
Attr Options = 4
EndBody
EndObject
Object ThreadObject $ReferenceList
Body SysBody
Attr ObjectClass[0] = "pwrb:Class-SevHistThread"
Attr Filter = 1
EndBody
EndObject
Object PostCreate $DbCallBack
Body SysBody
Attr MethodName = "SevHistObject-PostCreate"
...
...
src/wbl/pwrb/src/pwrb_c_sharedvolumeload.wb_load
View file @
977f2ae9
...
...
@@ -56,5 +56,11 @@ SObject pwrb:Class
EndBody
EndObject
EndObject
Object ObjectName $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_SharedVolumeConfig
Attr Filter = 1
EndBody
EndObject
EndObject
EndSObject
src/wbl/pwrb/src/pwrb_c_subvolumeload.wb_load
View file @
977f2ae9
...
...
@@ -57,5 +57,11 @@ SObject pwrb:Class
EndBody
EndObject
EndObject
Object ObjectName $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_SubVolumeConfig
Attr Filter = 1
EndBody
EndObject
EndObject
EndSObject
src/wbl/pwrs/src/pwrs_c_attribute.wb_load
View file @
977f2ae9
...
...
@@ -238,6 +238,13 @@ SObject pwrs:Class
Attr Elements = 1
EndBody
EndObject
Object TypeRef pwr_eClass_ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_eClass_Type
Attr ObjectClass[1] = pwr_eClass_TypeDef
Attr Filter = 193
EndBody
EndObject
Object AnteCreate $DbCallBack
Body SysBody
Attr MethodName = "$Attribute-AnteCreate"
...
...
src/wbl/pwrs/src/pwrs_c_referencelist.wb_load
0 → 100644
View file @
977f2ae9
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrs_c_referencelist.wb_load -- Defines the class ReferenceList.
!
SObject pwrs:Class
!/**
! @Group ClassDefinition
! Definition of a list of alternatives for Objid and AttrRef
! attributes.
! Positioned in a classvolume under a $ClassDef object.
!
!*/
!
Object $ReferenceList $ClassDef pwr_eCix_ReferenceList
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_SysBody
Attr Flags |= pwr_mClassDef_System
Attr Flags |= pwr_mClassDef_DevOnly
EndBody
Object SysBody $ObjBodyDef 1
Body SysBody
Attr StructName = "ReferenceList"
EndBody
!/**
! Class(es) of referenced objects in list.
!*/
Object ObjectClass $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$ClassId"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 5
EndBody
EndObject
!/**
! Filter
!*/
Object Filter $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$RefListFilterMask"
EndBody
EndObject
EndObject
Object Template $ReferenceList
Body SysBody
Attr Filter = 1
EndBody
EndObject
EndObject
EndSObject
src/wbl/pwrs/src/pwrs_c_typedef.wb_load
View file @
977f2ae9
...
...
@@ -107,5 +107,11 @@ SObject pwrs:Class
EndBody
EndObject
EndObject
Object TypeRef pwr_eClass_ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_eClass_Type
Attr Filter = 192
EndBody
EndObject
EndObject
EndSObject
src/wbl/pwrs/src/pwrs_td_reflistfiltermask.wb_load
0 → 100644
View file @
977f2ae9
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2017 SSAB EMEA AB.
!
! This file is part of Proview.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrs_td_reflistfiltermask.wb_load -- Defines the type RefListFilterMask
!
SObject pwrs:Type
!/**
! @Version 1.0
! @Code pwr.h
! @Group DerivedTypes,Types
! Proview ReferenceList filter bitmask. Derived from Mask.
!
! @b See also
! @classlink Mask pwrs_mask.html
!*/
Object $RefListFilterMask $TypeDef 27
Body SysBody
Attr TypeRef = "pwrs:Type-$Mask"
Attr PgmName = "RefListFilterMask"
EndBody
!/**
! List references in current volume
!*/
Object CurrentVolume $Bit
Body SysBody
Attr PgmName = "CurrentVolume"
Attr Text = "CurrentVolume"
Attr Value = 1
EndBody
EndObject
!/**
! List references in all volumes
!*/
Object AllVolumes $Bit
Body SysBody
Attr PgmName = "AllVolumes"
Attr Text = "AllVolumes"
Attr Value = 2
EndBody
EndObject
!/**
! List references in root volume
!*/
Object RootVolume $Bit
Body SysBody
Attr PgmName = "RootVolume"
Attr Text = "RootVolume"
Attr Value = 4
EndBody
EndObject
!/**
! List references in root volume
!*/
Object SharedVolumes $Bit
Body SysBody
Attr PgmName = "SharedVolumes"
Attr Text = "SharedVolumes"
Attr Value = 8
EndBody
EndObject
!/**
! List references that are siblings
!*/
Object Siblings $Bit
Body SysBody
Attr PgmName = "Siblings"
Attr Text = "Siblings"
Attr Value = 16
EndBody
EndObject
!/**
! List references that are attribute objects
!*/
Object AttrObjects $Bit
Body SysBody
Attr PgmName = "AttrObjects"
Attr Text = "AttrObjects"
Attr Value = 32
EndBody
EndObject
!/**
! List references in volume pwrs
!*/
Object PwrsVolume $Bit
Body SysBody
Attr PgmName = "PwrsVolume"
Attr Text = "PwrsVolume"
Attr Value = 64
EndBody
EndObject
!/**
! Add 'Other' entry
!*/
Object Other $Bit
Body SysBody
Attr PgmName = "Other"
Attr Text = "Other"
Attr Value = 128
EndBody
EndObject
EndObject
EndSObject
ssabox/wbl/mcomp/src/ssabox.wb_load
View file @
977f2ae9
Volume SsabOx $ClassVolume 0.0.250.5
Body SysBody 01-JAN-1970 01:00:00.00
Attr NextOix = "_X2
57
"
Attr NextOix = "_X2
64
"
Attr NextCix = "_X33"
Attr NextTix[0] = "_X5"
EndBody
...
...
@@ -187,7 +187,7 @@ Volume SsabOx $ClassVolume 0.0.250.5
Object Super $Attribute 1 06-OCT-2005 14:45:53.00
Body SysBody 01-JAN-1970 01:00:00.00
Attr PgmName = "Super"
Attr Size = 24
32
Attr Size = 24
40
Attr Flags = 393216
Attr TypeRef = "BaseComponent:Class-BaseSafetySwitch"
EndBody
...
...
@@ -294,10 +294,10 @@ Volume SsabOx $ClassVolume 0.0.250.5
! @Summary QBUS address of the card.
! QBUS address of the card.
! The value is set with address switches on the card.
! Note
!
The value in RegAddress is a decimal value
! NoteThe value in RegAddress is a decimal value
!
! Card number Octal address Decimal Address
!
!
! Ai1 167000 4189696
! Ai2 167100 4189760
! Ai3 167200 4189824
...
...
@@ -306,7 +306,7 @@ Volume SsabOx $ClassVolume 0.0.250.5
! Ai6 167500 4190016
! Ai7 167600 4190080
! Ai8 167700 4190144
!
!
! Ao1 176210 4193416
! Ao2 176220 4193424
! Ao3 176230 4193432
...
...
@@ -332,7 +332,7 @@ Volume SsabOx $ClassVolume 0.0.250.5
! from the current position of the object in the rack. If the
! positions is changed the settings can be updated with the SetAddress
! method in the popup menu.
!
!
! The settings are presented with an integer value, and leading zeros
! are missing.
!*/
...
...
@@ -391,6 +391,11 @@ Volume SsabOx $ClassVolume 0.0.250.5
Attr Process = 1
EndBody
EndObject
Object ThreadObject $ReferenceList 258 25-APR-2017 15:14:05.32
Body SysBody 25-APR-2017 15:14:16.89
Attr ObjectClass[0] = "pwrb:Class-PlcThread"
EndBody
EndObject
Object ConfiguratorPoson $Menu 2 06-OCT-2005 14:45:53.00
Object Pointed $Menu 3 06-OCT-2005 14:45:53.00
Object Connect $MenuButton 4 06-OCT-2005 14:45:53.00
...
...
@@ -617,7 +622,7 @@ Volume SsabOx $ClassVolume 0.0.250.5
! from the current position of the object in the rack. If the
! positions is changed the settings can be updated with the SetAddress
! method in the popup menu.
!
!
! The settings are presented with an integer value, and leading zeros
! are missing.
!*/
...
...
@@ -723,6 +728,11 @@ Volume SsabOx $ClassVolume 0.0.250.5
Attr MethodName = "Ssab_BaseDiCard-PostCreate"
EndBody
EndObject
Object ThreadObject $ReferenceList 259 25-APR-2017 15:14:47.31
Body SysBody 25-APR-2017 15:14:51.01
Attr ObjectClass[0] = "pwrb:Class-PlcThread"
EndBody
EndObject
Object Template Ssab_BaseDiCard 2148499456 06-OCT-2005 14:45:53.00
Body RtBody 01-JAN-1970 01:00:00.00
Attr ErrorSoftLimit = 15
...
...
@@ -943,7 +953,7 @@ Volume SsabOx $ClassVolume 0.0.250.5
! from the current position of the object in the rack. If the
! positions is changed the settings can be updated with the SetAddress
! method in the popup menu.
!
!
! The settings are presented with an integer value, and leading zeros
! are missing.
!*/
...
...
@@ -1110,6 +1120,11 @@ Volume SsabOx $ClassVolume 0.0.250.5
Attr MethodName = "Ssab_BaseDoCard-PostCreate"
EndBody
EndObject
Object ThreadObject $ReferenceList 260 25-APR-2017 15:15:08.98
Body SysBody 25-APR-2017 15:15:12.13
Attr ObjectClass[0] = "pwrb:Class-PlcThread"
EndBody
EndObject
Object Template Ssab_BaseDoCard 2148761600 06-OCT-2005 14:45:53.00
Body RtBody 01-JAN-1970 01:00:00.00
Attr ErrorSoftLimit = 15
...
...
@@ -1392,6 +1407,11 @@ Volume SsabOx $ClassVolume 0.0.250.5
Attr MethodName = "BaseIOCard-PostCreate"
EndBody
EndObject
Object ThreadObject $ReferenceList 261 25-APR-2017 15:15:34.33
Body SysBody 25-APR-2017 15:15:36.83
Attr ObjectClass[0] = "pwrb:Class-PlcThread"
EndBody
EndObject
Object Template Ssab_BaseMCard 2155839488 01-JAN-1970 01:00:00.00
Body RtBody 01-JAN-1970 01:00:00.00
EndBody
...
...
@@ -4852,7 +4872,7 @@ Volume SsabOx $ClassVolume 0.0.250.5
! from the current position of the object in the rack. If the
! positions is changed the settings can be updated with the SetAddress
! method in the popup menu.
!
!
! The settings are presented with an integer value, and leading zeros
! are missing.
!*/
...
...
@@ -4939,6 +4959,11 @@ Volume SsabOx $ClassVolume 0.0.250.5
EndBody
EndObject
EndObject
Object ThreadObject $ReferenceList 264 25-APR-2017 15:17:02.85
Body SysBody 25-APR-2017 15:17:05.69
Attr ObjectClass[0] = "pwrb:Class-PlcThread"
EndBody
EndObject
Object Template Ssab_CO4uP 2150072320 06-OCT-2005 14:45:53.00
Body RtBody 01-JAN-1970 01:00:00.00
Attr ConvMask = 65535
...
...
@@ -5256,6 +5281,11 @@ Volume SsabOx $ClassVolume 0.0.250.5
EndBody
EndObject
EndObject
Object ThreadObject $ReferenceList 263 25-APR-2017 15:16:32.52
Body SysBody 25-APR-2017 15:16:34.82
Attr ObjectClass[0] = "pwrb:Class-PlcThread"
EndBody
EndObject
Object IoMethods $RtMethod 163 25-MAR-2009 10:50:23.12
Object IoCardInit $Method 164 25-MAR-2009 10:52:00.36
Body SysBody 30-MAR-2009 13:49:05.19
...
...
@@ -9047,6 +9077,11 @@ Volume SsabOx $ClassVolume 0.0.250.5
EndBody
EndObject
EndObject
Object ThreadObject $ReferenceList 262 25-APR-2017 15:16:06.50
Body SysBody 25-APR-2017 15:16:08.71
Attr ObjectClass[0] = "pwrb:Class-PlcThread"
EndBody
EndObject
Object IoMethods $RtMethod 153 10-FEB-2006 16:02:06.68
Object IoRackInit $Method 154 10-FEB-2006 16:02:06.68
Body SysBody 10-FEB-2006 16:02:28.88
...
...
wb/exp/wb/src/pwr_wb_palette.cnf
View file @
977f2ae9
...
...
@@ -486,7 +486,7 @@ palette NavigatorPalette
class OpPlace
class XttGraph
class XttMultiView
class Xtt
Video
class Xtt
Camera
class WebBrowserConfig
class OpPlaceWeb
class WebGraph
...
...
@@ -549,6 +549,7 @@ palette ClassNavigatorPalette
class $GraphPlcNode
class $Input
class $Intern
class $ReferenceList
class $ObjBodyDef
class $ObjXRef
class $Output
...
...
wb/lib/wb/src/wb_vrepced.cpp
View file @
977f2ae9
...
...
@@ -740,6 +740,7 @@ bool wb_vrepced::classeditorCheck( ldh_eDest dest_code, wb_orep *dest, pwr_tCid
case
pwr_eClass_Method
:
case
pwr_eClass_DbCallBack
:
case
pwr_eClass_Object
:
case
pwr_eClass_ReferenceList
:
case
pwr_cClass_PlcTemplate
:
break
;
default:
...
...
@@ -1099,6 +1100,8 @@ bool wb_vrepced::classeditorCheckMove( wb_orep *o, ldh_eDest dest_code,
case
pwr_eClass_RtMethod
:
case
pwr_eClass_Method
:
case
pwr_eClass_DbCallBack
:
case
pwr_eClass_Object
:
case
pwr_eClass_ReferenceList
:
case
pwr_cClass_PlcTemplate
:
break
;
default:
...
...
wb/lib/wb/src/wb_vrepmem.cpp
View file @
977f2ae9
...
...
@@ -2399,6 +2399,7 @@ bool wb_vrepmem::classeditorCheck( ldh_eDest dest_code, mem_object *dest, pwr_tC
case
pwr_eClass_Method
:
case
pwr_eClass_DbCallBack
:
case
pwr_eClass_Object
:
case
pwr_eClass_ReferenceList
:
case
pwr_cClass_PlcTemplate
:
break
;
default:
...
...
@@ -2701,6 +2702,8 @@ bool wb_vrepmem::classeditorCheckMove( mem_object *memo, ldh_eDest dest_code,
case
pwr_eClass_RtMethod
:
case
pwr_eClass_Method
:
case
pwr_eClass_DbCallBack
:
case
pwr_eClass_Object
:
case
pwr_eClass_ReferenceList
:
case
pwr_cClass_PlcTemplate
:
break
;
default:
...
...
wb/lib/wb/src/wb_wattnav.cpp
View file @
977f2ae9
...
...
@@ -486,6 +486,17 @@ int WAttNav::brow_cb( FlowCtx *ctx, flow_tEvent event)
((
WItemMask
*
)
item
)
->
set
(
!
value
);
break
;
}
case
wnav_eItemType_EnumObject
:
{
int
value
;
if
(
!
wattnav
->
advanced_user
)
break
;
brow_GetRadiobutton
(
node_list
[
0
],
0
,
&
value
);
if
(
!
value
)
((
WItemEnumObject
*
)
item
)
->
set
();
break
;
}
default:
;
}
...
...
wb/lib/wb/src/wb_wblnode.cpp
View file @
977f2ae9
...
...
@@ -48,6 +48,8 @@
#include "wb_dbs.h"
#include "wb_name.h"
#include "wb_treeimport.h"
#include "pwr_baseclasses.h"
#include "pwr_basecomponentclasses.h"
/* Datatypes */
static
wbl_sSym
datatypes
[]
=
...
...
@@ -270,6 +272,31 @@ static wbl_sSym classes[] =
,{
"pwr_eCix_ClassLost"
,
pwr_eCix_ClassLost
}
,{
"pwr_eClass_Security"
,
pwr_eClass_Security
}
,{
"pwr_eCix_Security"
,
pwr_eCix_Security
}
,{
"pwr_eClass_ReferenceList"
,
pwr_eClass_ReferenceList
}
,{
"pwr_eCix_ReferenceList"
,
pwr_eCix_ReferenceList
}
,{
"pwr_cClass_ChanDi"
,
pwr_cClass_ChanDi
}
,{
"pwr_cClass_ChanDo"
,
pwr_cClass_ChanDo
}
,{
"pwr_cClass_ChanAi"
,
pwr_cClass_ChanAi
}
,{
"pwr_cClass_ChanAi"
,
pwr_cClass_ChanAo
}
,{
"pwr_cClass_ChanIi"
,
pwr_cClass_ChanIi
}
,{
"pwr_cClass_ChanIo"
,
pwr_cClass_ChanIo
}
,{
"pwr_cClass_RootVolumeConfig"
,
pwr_cClass_RootVolumeConfig
}
,{
"pwr_cClass_ClassVolumeConfig"
,
pwr_cClass_ClassVolumeConfig
}
,{
"pwr_cClass_SharedVolumeConfig"
,
pwr_cClass_SharedVolumeConfig
}
,{
"pwr_cClass_SubVolumeConfig"
,
pwr_cClass_SubVolumeConfig
}
,{
"pwr_cClass_pid"
,
pwr_cClass_pid
}
,{
"pwr_cClass_mode"
,
pwr_cClass_mode
}
,{
"pwr_cClass_XttGraph"
,
pwr_cClass_XttGraph
}
,{
"pwr_cClass_XttCamera"
,
pwr_cClass_XttCamera
}
,{
"pwr_cClass_XttMultiView"
,
pwr_cClass_XttMultiView
}
,{
"pwr_cClass_AlarmView"
,
pwr_cClass_AlarmView
}
,{
"pwr_cClass_DsTrend"
,
pwr_cClass_DsTrend
}
,{
"pwr_cClass_DsTrendCurve"
,
pwr_cClass_DsTrendCurve
}
,{
"BaseComponent:Class-CompModePID"
,
pwr_cClass_CompModePID
}
,{
"BaseComponent:Class-CompPID"
,
pwr_cClass_CompPID
}
,{
"BaseComponent:Class-CompModeIMC"
,
pwr_cClass_CompModeIMC
}
,{
"BaseComponent:Class-CompIMC"
,
pwr_cClass_CompIMC
}
,{
0
,
0
}
};
...
...
wb/lib/wb/src/wb_wnav.cpp
View file @
977f2ae9
...
...
@@ -1404,6 +1404,12 @@ int WNav::brow_cb( FlowCtx *ctx, flow_tEvent event)
(
wnav
->
change_value_cb
)(
wnav
->
parent_ctx
);
break
;
case
wnav_eItemType_ObjectName
:
sts
=
((
WItemObjectName
*
)
item
)
->
open_children
(
0
,
0
);
if
(
ODD
(
sts
))
break
;
if
(
wnav
->
gbl
.
advanced_user
&&
wnav
->
change_value_cb
)
(
wnav
->
change_value_cb
)(
wnav
->
parent_ctx
);
break
;
case
wnav_eItemType_Local
:
if
(
wnav
->
gbl
.
advanced_user
&&
wnav
->
change_value_cb
)
(
wnav
->
change_value_cb
)(
wnav
->
parent_ctx
);
...
...
@@ -1441,6 +1447,22 @@ int WNav::brow_cb( FlowCtx *ctx, flow_tEvent event)
((
WItemMask
*
)
item
)
->
set
(
!
value
);
break
;
}
case
wnav_eItemType_EnumObject
:
{
int
value
;
if
(
!
wnav
->
gbl
.
advanced_user
)
break
;
brow_GetRadiobutton
(
node_list
[
0
],
0
,
&
value
);
if
(
!
value
)
{
sts
=
((
WItemEnumObject
*
)
item
)
->
set
();
if
(
sts
==
WNAV__NOCHILDREN
)
{
if
(
wnav
->
gbl
.
advanced_user
&&
wnav
->
change_value_cb
)
(
wnav
->
change_value_cb
)(
wnav
->
parent_ctx
);
}
}
break
;
}
default:
;
}
...
...
@@ -1501,6 +1523,9 @@ int WNav::brow_cb( FlowCtx *ctx, flow_tEvent event)
case
wnav_eItemType_AttrObject
:
((
WItemAttrObject
*
)
item
)
->
close
(
0
,
0
);
break
;
case
wnav_eItemType_ObjectName
:
((
WItemObjectName
*
)
item
)
->
close
(
0
,
0
);
break
;
case
wnav_eItemType_Menu
:
((
WItemMenu
*
)
item
)
->
close
(
wnav
,
0
,
0
);
break
;
...
...
@@ -1982,6 +2007,12 @@ int WNav::brow_cb( FlowCtx *ctx, flow_tEvent event)
case
wnav_eItemType_Mask
:
((
WItemMask
*
)
item
)
->
set
(
event
->
radiobutton
.
value
);
break
;
case
wnav_eItemType_EnumObject
:
sts
=
((
WItemEnumObject
*
)
item
)
->
set
();
if
(
sts
==
WNAV__NOCHILDREN
)
if
(
wnav
->
gbl
.
advanced_user
&&
wnav
->
change_value_cb
)
(
wnav
->
change_value_cb
)(
wnav
->
parent_ctx
);
break
;
default:
;
}
...
...
@@ -2934,6 +2965,9 @@ void WNav::ldh_refresh( pwr_tObjid new_open)
case
wnav_eItemType_AttrObject
:
strcpy
(
open_attr
[
open_cnt
],
object_item
->
name
);
break
;
case
wnav_eItemType_ObjectName
:
strcpy
(
open_attr
[
open_cnt
],
object_item
->
name
);
break
;
default:
;
}
...
...
@@ -2971,6 +3005,7 @@ void WNav::ldh_refresh( pwr_tObjid new_open)
case
wnav_eItemType_AttrArrayElem
:
case
wnav_eItemType_Enum
:
case
wnav_eItemType_Mask
:
case
wnav_eItemType_EnumObject
:
strcpy
(
&
sel_attr
[
i
*
80
],
item_sel
->
name
);
break
;
default:
...
...
@@ -2997,6 +3032,7 @@ void WNav::ldh_refresh( pwr_tObjid new_open)
case
wnav_eItemType_AttrArrayElem
:
case
wnav_eItemType_Enum
:
case
wnav_eItemType_Mask
:
case
wnav_eItemType_EnumObject
:
strcpy
(
last_sel_attr
,
item_sel
->
name
);
break
;
default:
...
...
@@ -3023,6 +3059,7 @@ void WNav::ldh_refresh( pwr_tObjid new_open)
case
wnav_eItemType_AttrArrayElem
:
case
wnav_eItemType_Enum
:
case
wnav_eItemType_Mask
:
case
wnav_eItemType_EnumObject
:
strcpy
(
prev_sel_attr
,
item_sel
->
name
);
break
;
default:
...
...
@@ -3124,6 +3161,14 @@ void WNav::ldh_refresh( pwr_tObjid new_open)
found
=
1
;
}
break
;
case
wnav_eItemType_ObjectName
:
if
(
cdh_ObjidIsEqual
(
open_objid
[
i
],
object_item
->
objid
))
{
if
(
open_type
[
i
]
&
wnav_mOpen_Children
)
((
WItemObjectName
*
)
object_item
)
->
open_children
(
0
,
0
);
found
=
1
;
}
break
;
default:
;
}
...
...
@@ -3158,6 +3203,7 @@ void WNav::ldh_refresh( pwr_tObjid new_open)
case
wnav_eItemType_AttrArrayElem
:
case
wnav_eItemType_Enum
:
case
wnav_eItemType_Mask
:
case
wnav_eItemType_EnumObject
:
if
(
strcmp
(
&
sel_attr
[
i
*
80
],
object_item
->
name
)
==
0
)
found
=
1
;
break
;
...
...
@@ -3199,6 +3245,7 @@ void WNav::ldh_refresh( pwr_tObjid new_open)
case
wnav_eItemType_AttrArrayElem
:
case
wnav_eItemType_Enum
:
case
wnav_eItemType_Mask
:
case
wnav_eItemType_EnumObject
:
if
(
strcmp
(
last_sel_attr
,
object_item
->
name
)
==
0
)
found
=
1
;
break
;
...
...
@@ -3234,6 +3281,7 @@ void WNav::ldh_refresh( pwr_tObjid new_open)
case
wnav_eItemType_AttrArrayElem
:
case
wnav_eItemType_Enum
:
case
wnav_eItemType_Mask
:
case
wnav_eItemType_EnumObject
:
if
(
strcmp
(
prev_sel_attr
,
object_item
->
name
)
==
0
)
found
=
1
;
break
;
...
...
wb/lib/wb/src/wb_wnav_brow.cpp
View file @
977f2ae9
...
...
@@ -1225,6 +1225,18 @@ void WNavBrow::create_nodeclasses()
0
);
brow_AddFrame
(
nc_enum
,
0
,
0
,
20
,
0.83
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create attribute nodeclass
brow_CreateNodeClass
(
ctx
,
"NavigatorEnumObject"
,
flow_eNodeGroup_Common
,
&
nc_enumobject
);
brow_AddRadiobutton
(
nc_enumobject
,
2
,
0.03
,
0.7
,
0.7
,
0
,
flow_eDrawType_Line
,
1
);
brow_AddAnnotPixmap
(
nc_enumobject
,
0
,
0.2
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnotPixmap
(
nc_enumobject
,
1
,
1.1
,
0.1
,
flow_eDrawType_Line
,
2
,
0
);
brow_AddAnnot
(
nc_enumobject
,
4
,
0.6
,
0
,
flow_eDrawType_TextHelvetica
,
2
,
flow_eAnnotType_OneLine
,
0
);
brow_AddFrame
(
nc_enumobject
,
0
,
0
,
20
,
0.83
,
flow_eDrawType_LineGray
,
-
1
,
1
);
// Create table nodeclass
brow_CreateNodeClass
(
ctx
,
"NavigatorTable"
,
...
...
wb/lib/wb/src/wb_wnav_brow.h
View file @
977f2ae9
...
...
@@ -110,6 +110,7 @@ class WNavBrow {
brow_tNodeClass
nc_header
;
brow_tNodeClass
nc_headerlarge
;
brow_tNodeClass
nc_table_header
;
brow_tNodeClass
nc_enumobject
;
flow_sAnnotPixmap
*
pixmap_leaf
;
flow_sAnnotPixmap
*
pixmap_map
;
flow_sAnnotPixmap
*
pixmap_openmap
;
...
...
wb/lib/wb/src/wb_wnav_item.cpp
View file @
977f2ae9
This diff is collapsed.
Click to expand it.
wb/lib/wb/src/wb_wnav_item.h
View file @
977f2ae9
...
...
@@ -77,7 +77,8 @@ typedef enum {
wnav_eItemType_Text
,
wnav_eItemType_Crossref
,
wnav_eItemType_DocBlock
,
wnav_eItemType_ObjectModTime
wnav_eItemType_ObjectModTime
,
wnav_eItemType_EnumObject
}
wnav_eItemType
;
typedef
enum
{
...
...
@@ -204,6 +205,8 @@ class WItemObjectName : public WItem {
WNavBrow
*
brow
;
ldh_tSesContext
ldhses
;
int
open_children
(
double
x
,
double
y
);
int
close
(
double
x
,
double
y
);
int
update
();
int
get_value
(
char
**
value
);
// The value should be freed with free
};
...
...
@@ -457,6 +460,26 @@ class WItemMask : public WItemBaseAttr {
int
set
(
int
set_value
);
};
class
WItemEnumObject
:
public
WItemBaseAttr
{
public:
WItemEnumObject
(
WNavBrow
*
item_brow
,
ldh_tSesContext
item_ldhses
,
pwr_tObjid
item_objid
,
char
*
attr_enum_name
,
char
*
attr_name
,
int
attr_type_id
,
pwr_tTid
attr_tid
,
int
attr_size
,
int
attr_flags
,
char
*
attr_body
,
void
*
item_enum_value
,
int
item_is_element
,
int
item_element
,
int
item_idx
,
brow_tNode
dest
,
flow_eDest
dest_code
);
pwr_tOName
enum_name
;
pwr_tAttrRef
enum_aref
;
pwr_tString80
enum_string
;
int
is_element
;
int
element
;
int
update
();
int
set
();
};
#if defined __cplusplus
}
#endif
...
...
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