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
828dc2a8
Commit
828dc2a8
authored
Mar 30, 2015
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ge dynamic DigFourShift and subgraphs trafficlight2 and 3 added
parent
914dc05d
Changes
20
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
3847 additions
and
2 deletions
+3847
-2
xtt/lib/ge/src/ge_attrnav.cpp
xtt/lib/ge/src/ge_attrnav.cpp
+1
-0
xtt/lib/ge/src/ge_dyn.cpp
xtt/lib/ge/src/ge_dyn.cpp
+255
-0
xtt/lib/ge/src/ge_dyn.h
xtt/lib/ge/src/ge_dyn.h
+59
-2
xtt/lib/ge/src/pwr_ge_setup.dat
xtt/lib/ge/src/pwr_ge_setup.dat
+2
-0
xtt/lib/ge/src/pwr_trafficlight2.pwg
xtt/lib/ge/src/pwr_trafficlight2.pwg
+303
-0
xtt/lib/ge/src/pwr_trafficlight2.pwsg
xtt/lib/ge/src/pwr_trafficlight2.pwsg
+225
-0
xtt/lib/ge/src/pwr_trafficlight2__p2.pwg
xtt/lib/ge/src/pwr_trafficlight2__p2.pwg
+303
-0
xtt/lib/ge/src/pwr_trafficlight2__p2.pwsg
xtt/lib/ge/src/pwr_trafficlight2__p2.pwsg
+225
-0
xtt/lib/ge/src/pwr_trafficlight2__p3.pwg
xtt/lib/ge/src/pwr_trafficlight2__p3.pwg
+280
-0
xtt/lib/ge/src/pwr_trafficlight2__p3.pwsg
xtt/lib/ge/src/pwr_trafficlight2__p3.pwsg
+202
-0
xtt/lib/ge/src/pwr_trafficlight2__p4.pwg
xtt/lib/ge/src/pwr_trafficlight2__p4.pwg
+229
-0
xtt/lib/ge/src/pwr_trafficlight2__p4.pwsg
xtt/lib/ge/src/pwr_trafficlight2__p4.pwsg
+151
-0
xtt/lib/ge/src/pwr_trafficlight3.pwg
xtt/lib/ge/src/pwr_trafficlight3.pwg
+252
-0
xtt/lib/ge/src/pwr_trafficlight3.pwsg
xtt/lib/ge/src/pwr_trafficlight3.pwsg
+174
-0
xtt/lib/ge/src/pwr_trafficlight3__p2.pwg
xtt/lib/ge/src/pwr_trafficlight3__p2.pwg
+303
-0
xtt/lib/ge/src/pwr_trafficlight3__p2.pwsg
xtt/lib/ge/src/pwr_trafficlight3__p2.pwsg
+225
-0
xtt/lib/ge/src/pwr_trafficlight3__p3.pwg
xtt/lib/ge/src/pwr_trafficlight3__p3.pwg
+229
-0
xtt/lib/ge/src/pwr_trafficlight3__p3.pwsg
xtt/lib/ge/src/pwr_trafficlight3__p3.pwsg
+151
-0
xtt/lib/ge/src/pwr_trafficlight3__p4.pwg
xtt/lib/ge/src/pwr_trafficlight3__p4.pwg
+178
-0
xtt/lib/ge/src/pwr_trafficlight3__p4.pwsg
xtt/lib/ge/src/pwr_trafficlight3__p4.pwsg
+100
-0
No files found.
xtt/lib/ge/src/ge_attrnav.cpp
View file @
828dc2a8
...
@@ -112,6 +112,7 @@ static attrnav_sEnumElement elem_dyn_type1[] = {
...
@@ -112,6 +112,7 @@ static attrnav_sEnumElement elem_dyn_type1[] = {
static
attrnav_sEnumElement
elem_dyn_type2
[]
=
{
static
attrnav_sEnumElement
elem_dyn_type2
[]
=
{
{
(
unsigned
int
)
ge_mDynType2_DigTextColor
,
"DigTextColor"
},
{
(
unsigned
int
)
ge_mDynType2_DigTextColor
,
"DigTextColor"
},
{
(
unsigned
int
)
ge_mDynType2_TimeoutColor
,
"TimeoutColor"
},
{
(
unsigned
int
)
ge_mDynType2_TimeoutColor
,
"TimeoutColor"
},
{
(
unsigned
int
)
ge_mDynType2_DigFourShift
,
"DigFourShift"
},
{
0
,
""
}};
{
0
,
""
}};
static
attrnav_sEnumElement
elem_dyn_type1_tone
[]
=
{
static
attrnav_sEnumElement
elem_dyn_type1_tone
[]
=
{
...
...
xtt/lib/ge/src/ge_dyn.cpp
View file @
828dc2a8
...
@@ -457,6 +457,8 @@ GeDyn::GeDyn( const GeDyn& x) :
...
@@ -457,6 +457,8 @@ GeDyn::GeDyn( const GeDyn& x) :
e
=
new
GeDigTextColor
((
const
GeDigTextColor
&
)
*
elem
);
break
;
e
=
new
GeDigTextColor
((
const
GeDigTextColor
&
)
*
elem
);
break
;
case
ge_mDynType2_TimeoutColor
:
case
ge_mDynType2_TimeoutColor
:
e
=
new
GeTimeoutColor
((
const
GeTimeoutColor
&
)
*
elem
);
break
;
e
=
new
GeTimeoutColor
((
const
GeTimeoutColor
&
)
*
elem
);
break
;
case
ge_mDynType2_DigFourShift
:
e
=
new
GeDigFourShift
((
const
GeDigFourShift
&
)
*
elem
);
break
;
default:
;
default:
;
}
}
switch
(
elem
->
action_type1
)
{
switch
(
elem
->
action_type1
)
{
...
@@ -587,6 +589,7 @@ void GeDyn::open( ifstream& fp)
...
@@ -587,6 +589,7 @@ void GeDyn::open( ifstream& fp)
case
ge_eSave_Move
:
e
=
(
GeDynElem
*
)
new
GeMove
(
this
);
break
;
case
ge_eSave_Move
:
e
=
(
GeDynElem
*
)
new
GeMove
(
this
);
break
;
case
ge_eSave_AnalogShift
:
e
=
(
GeDynElem
*
)
new
GeAnalogShift
(
this
);
break
;
case
ge_eSave_AnalogShift
:
e
=
(
GeDynElem
*
)
new
GeAnalogShift
(
this
);
break
;
case
ge_eSave_DigShift
:
e
=
(
GeDynElem
*
)
new
GeDigShift
(
this
);
break
;
case
ge_eSave_DigShift
:
e
=
(
GeDynElem
*
)
new
GeDigShift
(
this
);
break
;
case
ge_eSave_DigFourShift
:
e
=
(
GeDynElem
*
)
new
GeDigFourShift
(
this
);
break
;
case
ge_eSave_Animation
:
e
=
(
GeDynElem
*
)
new
GeAnimation
(
this
);
break
;
case
ge_eSave_Animation
:
e
=
(
GeDynElem
*
)
new
GeAnimation
(
this
);
break
;
case
ge_eSave_Video
:
e
=
(
GeDynElem
*
)
new
GeVideo
(
this
);
break
;
case
ge_eSave_Video
:
e
=
(
GeDynElem
*
)
new
GeVideo
(
this
);
break
;
case
ge_eSave_Bar
:
e
=
(
GeDynElem
*
)
new
GeBar
(
this
);
break
;
case
ge_eSave_Bar
:
e
=
(
GeDynElem
*
)
new
GeBar
(
this
);
break
;
...
@@ -1530,6 +1533,9 @@ GeDynElem *GeDyn::create_dyn2_element( int mask, int instance)
...
@@ -1530,6 +1533,9 @@ GeDynElem *GeDyn::create_dyn2_element( int mask, int instance)
case
ge_mDynType2_TimeoutColor
:
case
ge_mDynType2_TimeoutColor
:
e
=
(
GeDynElem
*
)
new
GeTimeoutColor
(
this
);
e
=
(
GeDynElem
*
)
new
GeTimeoutColor
(
this
);
break
;
break
;
case
ge_mDynType2_DigFourShift
:
e
=
(
GeDynElem
*
)
new
GeDigFourShift
(
this
);
break
;
default:
;
default:
;
}
}
return
e
;
return
e
;
...
@@ -1721,6 +1727,9 @@ GeDynElem *GeDyn::copy_element( GeDynElem& x)
...
@@ -1721,6 +1727,9 @@ GeDynElem *GeDyn::copy_element( GeDynElem& x)
case
ge_mDynType2_TimeoutColor
:
case
ge_mDynType2_TimeoutColor
:
e
=
(
GeDynElem
*
)
new
GeTimeoutColor
((
GeTimeoutColor
&
)
x
);
e
=
(
GeDynElem
*
)
new
GeTimeoutColor
((
GeTimeoutColor
&
)
x
);
break
;
break
;
case
ge_mDynType2_DigFourShift
:
e
=
(
GeDynElem
*
)
new
GeDigFourShift
((
GeDigFourShift
&
)
x
);
break
;
default:
;
default:
;
}
}
}
}
...
@@ -6290,6 +6299,252 @@ int GeDigShift::export_java( grow_tObject object, ofstream& fp, bool first, char
...
@@ -6290,6 +6299,252 @@ int GeDigShift::export_java( grow_tObject object, ofstream& fp, bool first, char
return
1
;
return
1
;
}
}
void
GeDigFourShift
::
get_attributes
(
attr_sItem
*
attrinfo
,
int
*
item_count
)
{
int
i
=
*
item_count
;
strcpy
(
attrinfo
[
i
].
name
,
"DigFourShift.Attribute1"
);
attrinfo
[
i
].
value
=
attribute1
;
attrinfo
[
i
].
type
=
glow_eType_String
;
attrinfo
[
i
++
].
size
=
sizeof
(
attribute1
);
strcpy
(
attrinfo
[
i
].
name
,
"DigFourShift.Attribute2"
);
attrinfo
[
i
].
value
=
attribute2
;
attrinfo
[
i
].
type
=
glow_eType_String
;
attrinfo
[
i
++
].
size
=
sizeof
(
attribute2
);
strcpy
(
attrinfo
[
i
].
name
,
"DigFourShift.Attribute3"
);
attrinfo
[
i
].
value
=
attribute3
;
attrinfo
[
i
].
type
=
glow_eType_String
;
attrinfo
[
i
++
].
size
=
sizeof
(
attribute3
);
*
item_count
=
i
;
}
void
GeDigFourShift
::
set_attribute
(
grow_tObject
object
,
const
char
*
attr_name
,
int
*
cnt
)
{
(
*
cnt
)
--
;
if
(
*
cnt
==
0
)
{
char
msg
[
200
];
strncpy
(
attribute1
,
attr_name
,
sizeof
(
attribute1
));
snprintf
(
msg
,
sizeof
(
msg
),
"DigFourShift.Attribute1 = %s"
,
attr_name
);
msg
[
sizeof
(
msg
)
-
1
]
=
0
;
dyn
->
graph
->
message
(
'I'
,
msg
);
}
}
void
GeDigFourShift
::
replace_attribute
(
char
*
from
,
char
*
to
,
int
*
cnt
,
int
strict
)
{
GeDyn
::
replace_attribute
(
attribute1
,
sizeof
(
attribute1
),
from
,
to
,
cnt
,
strict
);
GeDyn
::
replace_attribute
(
attribute2
,
sizeof
(
attribute2
),
from
,
to
,
cnt
,
strict
);
GeDyn
::
replace_attribute
(
attribute3
,
sizeof
(
attribute3
),
from
,
to
,
cnt
,
strict
);
}
void
GeDigFourShift
::
save
(
ofstream
&
fp
)
{
fp
<<
int
(
ge_eSave_DigFourShift
)
<<
endl
;
fp
<<
int
(
ge_eSave_DigFourShift_attribute1
)
<<
FSPACE
<<
attribute1
<<
endl
;
fp
<<
int
(
ge_eSave_DigFourShift_attribute2
)
<<
FSPACE
<<
attribute2
<<
endl
;
fp
<<
int
(
ge_eSave_DigFourShift_attribute3
)
<<
FSPACE
<<
attribute3
<<
endl
;
fp
<<
int
(
ge_eSave_End
)
<<
endl
;
}
void
GeDigFourShift
::
open
(
ifstream
&
fp
)
{
int
type
;
int
end_found
=
0
;
char
dummy
[
40
];
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GeDigFourShift:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
ge_eSave_DigFourShift
:
break
;
case
ge_eSave_DigFourShift_attribute1
:
fp
.
get
();
fp
.
getline
(
attribute1
,
sizeof
(
attribute1
));
break
;
case
ge_eSave_DigFourShift_attribute2
:
fp
.
get
();
fp
.
getline
(
attribute2
,
sizeof
(
attribute2
));
break
;
case
ge_eSave_DigFourShift_attribute3
:
fp
.
get
();
fp
.
getline
(
attribute3
,
sizeof
(
attribute3
));
break
;
case
ge_eSave_End
:
end_found
=
1
;
break
;
default:
cout
<<
"GeDigFourShift:open syntax error"
<<
endl
;
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
}
if
(
end_found
)
break
;
}
}
int
GeDigFourShift
::
connect
(
grow_tObject
object
,
glow_sTraceData
*
trace_data
)
{
int
attr_type
,
attr_size
;
pwr_tAName
parsed_name
;
int
sts
;
size1
=
4
;
p1
=
0
;
db1
=
dyn
->
parse_attr_name
(
attribute1
,
parsed_name
,
&
inverted1
,
&
attr_type
,
&
attr_size
);
if
(
strcmp
(
parsed_name
,
""
)
==
0
)
return
1
;
get_bit
(
parsed_name
,
attr_type
,
&
bitmask1
);
a_typeid1
=
attr_type
;
switch
(
db1
)
{
case
graph_eDatabase_Gdh
:
sts
=
dyn
->
graph
->
ref_object_info
(
dyn
->
cycle
,
parsed_name
,
(
void
**
)
&
p1
,
&
subid1
,
size1
);
if
(
EVEN
(
sts
))
return
sts
;
break
;
case
graph_eDatabase_Ccm
:
sts
=
dyn
->
graph
->
ccm_ref_variable
(
parsed_name
,
attr_type
,
(
void
**
)
&
p1
);
if
(
EVEN
(
sts
))
return
sts
;
break
;
default:
;
}
size2
=
4
;
p2
=
0
;
db2
=
dyn
->
parse_attr_name
(
attribute2
,
parsed_name
,
&
inverted2
,
&
attr_type
,
&
attr_size
);
if
(
strcmp
(
parsed_name
,
""
)
==
0
)
return
1
;
get_bit
(
parsed_name
,
attr_type
,
&
bitmask2
);
a_typeid2
=
attr_type
;
switch
(
db2
)
{
case
graph_eDatabase_Gdh
:
sts
=
dyn
->
graph
->
ref_object_info
(
dyn
->
cycle
,
parsed_name
,
(
void
**
)
&
p2
,
&
subid2
,
size2
);
if
(
EVEN
(
sts
))
return
sts
;
break
;
case
graph_eDatabase_Ccm
:
sts
=
dyn
->
graph
->
ccm_ref_variable
(
parsed_name
,
attr_type
,
(
void
**
)
&
p2
);
if
(
EVEN
(
sts
))
return
sts
;
break
;
default:
;
}
size3
=
4
;
p3
=
0
;
db3
=
dyn
->
parse_attr_name
(
attribute3
,
parsed_name
,
&
inverted3
,
&
attr_type
,
&
attr_size
);
if
(
strcmp
(
parsed_name
,
""
)
==
0
)
return
1
;
get_bit
(
parsed_name
,
attr_type
,
&
bitmask3
);
a_typeid3
=
attr_type
;
switch
(
db3
)
{
case
graph_eDatabase_Gdh
:
sts
=
dyn
->
graph
->
ref_object_info
(
dyn
->
cycle
,
parsed_name
,
(
void
**
)
&
p3
,
&
subid3
,
size3
);
if
(
EVEN
(
sts
))
return
sts
;
break
;
case
graph_eDatabase_Ccm
:
sts
=
dyn
->
graph
->
ccm_ref_variable
(
parsed_name
,
attr_type
,
(
void
**
)
&
p3
);
if
(
EVEN
(
sts
))
return
sts
;
break
;
default:
;
}
trace_data
->
p
=
&
pdummy
;
first_scan
=
true
;
return
1
;
}
int
GeDigFourShift
::
disconnect
(
grow_tObject
object
)
{
if
(
p1
&&
db1
==
graph_eDatabase_Gdh
)
gdh_UnrefObjectInfo
(
subid1
);
if
(
p2
&&
db2
==
graph_eDatabase_Gdh
)
gdh_UnrefObjectInfo
(
subid2
);
if
(
p3
&&
db3
==
graph_eDatabase_Gdh
)
gdh_UnrefObjectInfo
(
subid3
);
p1
=
0
;
p2
=
0
;
p3
=
0
;
return
1
;
}
int
GeDigFourShift
::
scan
(
grow_tObject
object
)
{
pwr_tBoolean
val1
,
val2
,
val3
;
if
(
p1
)
{
if
(
!
get_dig
(
&
val1
,
p1
,
a_typeid1
,
bitmask1
))
return
1
;
if
(
inverted1
)
val1
=
!
val1
;
}
else
val1
=
0
;
if
(
p2
)
{
if
(
!
get_dig
(
&
val2
,
p2
,
a_typeid2
,
bitmask2
))
return
1
;
if
(
inverted2
)
val2
=
!
val2
;
}
else
val2
=
0
;
if
(
p3
)
{
if
(
!
get_dig
(
&
val3
,
p3
,
a_typeid3
,
bitmask3
))
return
1
;
if
(
inverted3
)
val3
=
!
val3
;
}
else
val3
=
0
;
if
(
!
first_scan
)
{
if
(
old_value1
==
val1
&&
old_value2
==
val2
&&
old_value3
==
val3
)
{
// No change since last time
return
1
;
}
}
else
first_scan
=
false
;
if
(
val3
)
grow_SetObjectNodeClassByIndex
(
object
,
2
);
else
if
(
val2
)
grow_SetObjectNodeClassByIndex
(
object
,
1
);
else
if
(
val1
)
grow_SetObjectFirstNodeClass
(
object
);
else
grow_SetObjectLastNodeClass
(
object
);
old_value1
=
val1
;
old_value2
=
val2
;
old_value3
=
val3
;
return
1
;
}
int
GeDigFourShift
::
export_java
(
grow_tObject
object
,
ofstream
&
fp
,
bool
first
,
char
*
var_name
)
{
return
1
;
}
void
GeAnimation
::
get_attributes
(
attr_sItem
*
attrinfo
,
int
*
item_count
)
void
GeAnimation
::
get_attributes
(
attr_sItem
*
attrinfo
,
int
*
item_count
)
{
{
int
i
=
*
item_count
;
int
i
=
*
item_count
;
...
...
xtt/lib/ge/src/ge_dyn.h
View file @
828dc2a8
...
@@ -140,6 +140,7 @@
...
@@ -140,6 +140,7 @@
ge_eDynPrio_Move
,
ge_eDynPrio_Move
,
ge_eDynPrio_AnalogShift
,
ge_eDynPrio_AnalogShift
,
ge_eDynPrio_DigShift
,
ge_eDynPrio_DigShift
,
ge_eDynPrio_DigFourShift
,
ge_eDynPrio_Animation
,
ge_eDynPrio_Animation
,
ge_eDynPrio_Bar
,
ge_eDynPrio_Bar
,
ge_eDynPrio_Trend
,
ge_eDynPrio_Trend
,
...
@@ -221,7 +222,8 @@
...
@@ -221,7 +222,8 @@
ge_mDynType2_No
=
0
,
ge_mDynType2_No
=
0
,
ge_mDynType2_Axis
=
1
<<
0
,
ge_mDynType2_Axis
=
1
<<
0
,
ge_mDynType2_DigTextColor
=
1
<<
1
,
ge_mDynType2_DigTextColor
=
1
<<
1
,
ge_mDynType2_TimeoutColor
=
1
<<
2
ge_mDynType2_TimeoutColor
=
1
<<
2
,
ge_mDynType2_DigFourShift
=
1
<<
3
}
ge_mDynType2
;
}
ge_mDynType2
;
//! Action types.
//! Action types.
...
@@ -235,7 +237,7 @@
...
@@ -235,7 +237,7 @@
ge_mActionType1_StoDig
=
1
<<
5
,
ge_mActionType1_StoDig
=
1
<<
5
,
ge_mActionType1_Command
=
1
<<
6
,
ge_mActionType1_Command
=
1
<<
6
,
ge_mActionType1_CommandDoubleClick
=
1
<<
7
,
ge_mActionType1_CommandDoubleClick
=
1
<<
7
,
ge_mActionType1_Confirm
=
1
<<
8
,
ge_mActionType1_Confirm
=
1
<<
8
,
ge_mActionType1_IncrAnalog
=
1
<<
9
,
ge_mActionType1_IncrAnalog
=
1
<<
9
,
ge_mActionType1_RadioButton
=
1
<<
10
,
ge_mActionType1_RadioButton
=
1
<<
10
,
ge_mActionType1_Slider
=
1
<<
11
,
ge_mActionType1_Slider
=
1
<<
11
,
...
@@ -332,6 +334,7 @@
...
@@ -332,6 +334,7 @@
ge_eSave_Axis
=
38
,
ge_eSave_Axis
=
38
,
ge_eSave_DigTextColor
=
39
,
ge_eSave_DigTextColor
=
39
,
ge_eSave_TimeoutColor
=
40
,
ge_eSave_TimeoutColor
=
40
,
ge_eSave_DigFourShift
=
41
,
ge_eSave_PopupMenu
=
50
,
ge_eSave_PopupMenu
=
50
,
ge_eSave_SetDig
=
51
,
ge_eSave_SetDig
=
51
,
ge_eSave_ResetDig
=
52
,
ge_eSave_ResetDig
=
52
,
...
@@ -539,6 +542,9 @@
...
@@ -539,6 +542,9 @@
ge_eSave_DigTextColor_color
=
3901
,
ge_eSave_DigTextColor_color
=
3901
,
ge_eSave_TimeoutColor_time
=
4000
,
ge_eSave_TimeoutColor_time
=
4000
,
ge_eSave_TimeoutColor_color
=
4001
,
ge_eSave_TimeoutColor_color
=
4001
,
ge_eSave_DigFourShift_attribute1
=
4100
,
ge_eSave_DigFourShift_attribute2
=
4101
,
ge_eSave_DigFourShift_attribute3
=
4102
,
ge_eSave_PopupMenu_ref_object
=
5000
,
ge_eSave_PopupMenu_ref_object
=
5000
,
ge_eSave_SetDig_attribute
=
5100
,
ge_eSave_SetDig_attribute
=
5100
,
ge_eSave_SetDig_instance
=
5101
,
ge_eSave_SetDig_instance
=
5101
,
...
@@ -1602,6 +1608,57 @@ class GeDigShift : public GeDynElem {
...
@@ -1602,6 +1608,57 @@ class GeDigShift : public GeDynElem {
};
};
//! Shift between four pages in the subgraph (first, second, third and last).
class
GeDigFourShift
:
public
GeDynElem
{
public:
pwr_tAName
attribute1
;
pwr_tAName
attribute2
;
pwr_tAName
attribute3
;
pwr_tBoolean
*
p1
;
pwr_tSubid
subid1
;
int
size1
;
graph_eDatabase
db1
;
int
inverted1
;
pwr_tBoolean
old_value1
;
int
a_typeid1
;
unsigned
int
bitmask1
;
pwr_tBoolean
*
p2
;
pwr_tSubid
subid2
;
int
size2
;
graph_eDatabase
db2
;
int
inverted2
;
pwr_tBoolean
old_value2
;
int
a_typeid2
;
unsigned
int
bitmask2
;
pwr_tBoolean
*
p3
;
pwr_tSubid
subid3
;
int
size3
;
graph_eDatabase
db3
;
int
inverted3
;
pwr_tBoolean
old_value3
;
int
a_typeid3
;
unsigned
int
bitmask3
;
bool
first_scan
;
GeDigFourShift
(
GeDyn
*
e_dyn
)
:
GeDynElem
(
e_dyn
,
ge_mDynType1_No
,
ge_mDynType2_DigFourShift
,
ge_mActionType1_No
,
ge_mActionType2_No
,
ge_eDynPrio_DigFourShift
)
{
strcpy
(
attribute1
,
""
);
strcpy
(
attribute2
,
""
);
strcpy
(
attribute3
,
""
);}
GeDigFourShift
(
const
GeDigFourShift
&
x
)
:
GeDynElem
(
x
.
dyn
,
x
.
dyn_type1
,
x
.
dyn_type2
,
x
.
action_type1
,
x
.
action_type2
,
x
.
prio
)
{
strcpy
(
attribute1
,
x
.
attribute1
);
strcpy
(
attribute2
,
x
.
attribute2
);
strcpy
(
attribute3
,
x
.
attribute3
);}
void
get_attributes
(
attr_sItem
*
attrinfo
,
int
*
item_count
);
void
save
(
ofstream
&
fp
);
void
open
(
ifstream
&
fp
);
int
connect
(
grow_tObject
object
,
glow_sTraceData
*
trace_data
);
int
disconnect
(
grow_tObject
object
);
int
scan
(
grow_tObject
object
);
void
set_attribute
(
grow_tObject
object
,
const
char
*
attr_name
,
int
*
cnt
);
void
replace_attribute
(
char
*
from
,
char
*
to
,
int
*
cnt
,
int
strict
);
int
export_java
(
grow_tObject
object
,
ofstream
&
fp
,
bool
first
,
char
*
var_name
);
};
//! Different types of animations.
//! Different types of animations.
class
GeAnimation
:
public
GeDynElem
{
class
GeAnimation
:
public
GeDynElem
{
public:
public:
...
...
xtt/lib/ge/src/pwr_ge_setup.dat
View file @
828dc2a8
...
@@ -122,6 +122,8 @@ menu Indicators
...
@@ -122,6 +122,8 @@ menu Indicators
subgraph IndSquareMetalFrame pwr_exe:pwr_indsquaremetalframe.pwsg 5
subgraph IndSquareMetalFrame pwr_exe:pwr_indsquaremetalframe.pwsg 5
subgraph IndRoundMetalFrame pwr_exe:pwr_indroundmetalframe.pwsg 6
subgraph IndRoundMetalFrame pwr_exe:pwr_indroundmetalframe.pwsg 6
subgraph TrafficLight pwr_exe:pwr_trafficlight.pwsg 36
subgraph TrafficLight pwr_exe:pwr_trafficlight.pwsg 36
subgraph TrafficLight2 pwr_exe:pwr_trafficlight2.pwsg 36
subgraph TrafficLight3 pwr_exe:pwr_trafficlight3.pwsg 6
}
}
menu Values
menu Values
{
{
...
...
xtt/lib/ge/src/pwr_trafficlight2.pwg
0 → 100644
View file @
828dc2a8
0! DefaultWidth 0
0! DefaultHeight 0
199
!/**
! TrafficLight
! Group Process
!
! <image> pwr_trafficlight_gs.gif
!
! <h1>Description
! Trafficlight with the colors green for OK, yellow for
! warning and red for fault.
!
! <h1>Default dynamics
! DigLowColor <link>GeDynDigLowColor, ,$pwr_lang/man_geref.dat
! DigWarning <link>GeDynDigWarning, ,$pwr_lang/man_geref.dat
! DigError <link>GeDynDigError, ,$pwr_lang/man_geref.dat
!
!*/
1
100 115.574
135 115.574
101 20
102 -136
103 -122
104 21.4448
136 21.4448
105 100
106 -25
107 -22
108 2
109 0
110 2
111 0
116 0
117 0
118 135
119 112
120 1
121 Claes context
122 0
126 0.1
127 0.1
128 0
129 0.3
130 1.5
131 0.8
132 3
133 2
137 4510
138 3
139 2
140 2
134
22
2200 0
2201 4
2202 pwr_trafficlight2
2203 300
2205 0
2204
2206 0
2207
2208
2209 0
2210 0
2211 0
2212 0
2213 4
2214
pwrp_pop:
pwrp_exe:
ssab_exe:
pwr_exe:
2215 0
2246 8
2236 0
2247 0
2216 0
2221 0
2237 0
2238 0
2239 0
2240 0
2241 0
2242 0
2217 0
2218 0
2219 1
2220
2230 0
2231 0
2222 pwr_trafficlight2__p2
2223 1
2224 0.5
2232 0.5
2225 0.5
2226 0
2227
2228 0
2229 0
2233 1
2234 1
2235 0
2243 0
2248 0
2245 0
2244
1
100 1
105 0
101 1
106 0
102 33619964
103 0
99
99
123
2
99
124
2
99
125
2
19
1904 O0
1900 2
1901 0
1902 2
1903 0
1908 27
1909 28
1910 28
1911 0
1915 0
1913 7
1916 2
1914 0
1918 0
1919 1
1920 0
1917 0
1921 0
1922 4
1923 0
1907 0
1906
1905
5
500 27
501 1
504 1
505 1
502
7
700 0
701 0
99
503
7
700 2
701 2
99
99
1912
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0
2806 0
99
99
24
2404 O1
2400 1.74541
2401 0.254591
2402 1.72544
2403 0.274557
2408 0
2409 293
2410 293
2411 0
2415 0
2413 8
2416 2
2414 0
2417 1
2421 0
2418 0
2419 4
2420 1
2422 0
2407 0
2406
2405
8
802 0
803 1
800 0
801 360
806 1
804
7
700 0.279528
701 0.292839
99
805
7
700 1.77035
701 1.74372
99
99
2412
28
2800 1
2801 0
2802 -0.024937
2803 0
2804 1
2805 -0.0182816
2806 0
99
99
26
2604 O3
2600 1.5334
2601 0.491347
2602 1.52235
2603 0.6
2605
25
2500 289
2501 1
2503 1
2504 0
2502
2
7
700 0.453131
701 1.04687
99
7
700 0.653131
701 0.846869
99
7
700 0.94532
701 1.17657
99
7
700 1.37044
701 0.603607
99
7
700 1.49518
701 0.670213
99
7
700 0.917305
701 1.52596
99
7
700 0.453131
701 1.04687
99
99
99
2608 289
2609 288
2610 288
2611 0
2616 0
2614 5
2617 2
2615 0
2618 1
2607 0
2606
2612
28
2800 1
2801 0
2802 0.0382163
2803 0
2804 1
2805 -0.00360659
2806 0
99
2613 0
2619 0
2620 0
2621 0
2622 0
2623 0
2624 4
2625 1
99
99
99
xtt/lib/ge/src/pwr_trafficlight2.pwsg
0 → 100644
View file @
828dc2a8
123
2
3
300 pwr_trafficlight2
301
2
19
1904 O0
1900 2
1901 0
1902 2
1903 0
1908 27
1909 28
1910 28
1911 0
1915 0
1913 7
1916 2
1914 0
1918 0
1919 1
1920 0
1917 0
1921 0
1922 4
1923 0
1907 0
1906
1905
5
500 27
501 1
504 1
505 1
502
7
700 0
701 0
99
503
7
700 2
701 2
99
99
1912
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0
2806 0
99
99
24
2404 O1
2400 1.74541
2401 0.254591
2402 1.72544
2403 0.274557
2408 0
2409 293
2410 293
2411 0
2415 0
2413 8
2416 2
2414 0
2417 1
2421 0
2418 0
2419 4
2420 1
2422 0
2407 0
2406
2405
8
802 0
803 1
800 0
801 360
806 1
804
7
700 0.279528
701 0.292839
99
805
7
700 1.77035
701 1.74372
99
99
2412
28
2800 1
2801 0
2802 -0.024937
2803 0
2804 1
2805 -0.0182816
2806 0
99
99
26
2604 O3
2600 1.5334
2601 0.491347
2602 1.52235
2603 0.6
2605
25
2500 289
2501 1
2503 1
2504 0
2502
2
7
700 0.453131
701 1.04687
99
7
700 0.653131
701 0.846869
99
7
700 0.94532
701 1.17657
99
7
700 1.37044
701 0.603607
99
7
700 1.49518
701 0.670213
99
7
700 0.917305
701 1.52596
99
7
700 0.453131
701 1.04687
99
99
99
2608 289
2609 288
2610 288
2611 0
2616 0
2614 5
2617 2
2615 0
2618 1
2607 0
2606
2612
28
2800 1
2801 0
2802 0.0382163
2803 0
2804 1
2805 -0.00360659
2806 0
99
2613 0
2619 0
2620 0
2621 0
2622 0
2623 0
2624 4
2625 1
99
99
302 0
305 0
306
307
304 0
303
308 0
330 8
321 0
331 0
309 0
313 0
322 0
323 0
324 0
325 0
326 0
327 0
310 0
311 0
312
314 pwr_trafficlight2__p2
315 1
316 1
317 0
318 0
319 0
320 0
328 0
332 0
329
1
100 1
105 0
101 1
106 0
102 33619964
103 0
99
99
99
99
xtt/lib/ge/src/pwr_trafficlight2__p2.pwg
0 → 100644
View file @
828dc2a8
0! DefaultWidth 0
0! DefaultHeight 0
199
!/**
! TrafficLight
! Group Process
!
! <image> pwr_trafficlight_gs.gif
!
! <h1>Description
! Trafficlight with the colors green for OK, yellow for
! warning and red for fault.
!
! <h1>Default dynamics
! DigLowColor <link>GeDynDigLowColor, ,$pwr_lang/man_geref.dat
! DigWarning <link>GeDynDigWarning, ,$pwr_lang/man_geref.dat
! DigError <link>GeDynDigError, ,$pwr_lang/man_geref.dat
!
!*/
1
100 115.574
135 115.574
101 20
102 -136
103 -122
104 21.4448
136 21.4448
105 100
106 -25
107 -22
108 2
109 0
110 2
111 0
116 0
117 0
118 135
119 112
120 1
121 Claes context
122 0
126 0.1
127 0.1
128 0
129 0.3
130 1.5
131 0.8
132 3
133 2
137 4510
138 3
139 2
140 2
134
22
2200 0
2201 7
2202 pwr_trafficlight2__p2
2203 300
2205 0
2204
2206 0
2207
2208
2209 0
2210 0
2211 0
2212 0
2213 4
2214
pwrp_pop:
pwrp_exe:
ssab_exe:
pwr_exe:
2215 0
2246 8
2236 0
2247 0
2216 0
2221 0
2237 0
2238 0
2239 0
2240 0
2241 0
2242 0
2217 0
2218 0
2219 1
2220
2230 0
2231 0
2222 pwr_trafficlight2__p3
2223 1
2224 0.5
2232 0.5
2225 0.5
2226 0
2227
2228 0
2229 0
2233 1
2234 1
2235 0
2243 0
2248 0
2245 0
2244
1
100 1
105 0
101 1
106 0
102 33619964
103 0
99
99
123
2
99
124
2
99
125
2
19
1904 O0
1900 2
1901 0
1902 2
1903 0
1908 27
1909 28
1910 28
1911 0
1915 0
1913 7
1916 2
1914 0
1918 0
1919 1
1920 0
1917 0
1921 0
1922 4
1923 0
1907 0
1906
1905
5
500 27
501 1
504 1
505 1
502
7
700 0
701 0
99
503
7
700 2
701 2
99
99
1912
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0
2806 0
99
99
24
2404 O1
2400 1.74541
2401 0.254591
2402 1.72544
2403 0.274557
2408 0
2409 116
2410 116
2411 0
2415 0
2413 8
2416 2
2414 0
2417 1
2421 0
2418 0
2419 4
2420 1
2422 0
2407 0
2406
2405
8
802 0
803 1
800 0
801 360
806 1
804
7
700 0.279528
701 0.292839
99
805
7
700 1.77035
701 1.74372
99
99
2412
28
2800 1
2801 0
2802 -0.024937
2803 0
2804 1
2805 -0.0182816
2806 0
99
99
26
2604 O6
2600 1.6827
2601 0.325957
2602 1.45
2603 0.3
2605
25
2500 177
2501 1
2503 1
2504 0
2502
2
7
700 0.95
701 0.3
99
7
700 0.325957
701 1.3173
99
7
700 0.4
701 1.45
99
7
700 1.6
701 1.45
99
7
700 1.6827
701 1.32596
99
7
700 1.1
701 0.3
99
7
700 0.95
701 0.3
99
99
99
2608 177
2609 114
2610 114
2611 0
2616 0
2614 5
2617 2
2615 0
2618 1
2607 0
2606
2612
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0
2806 0
99
2613 0
2619 0
2620 0
2621 0
2622 0
2623 0
2624 4
2625 1
99
99
99
xtt/lib/ge/src/pwr_trafficlight2__p2.pwsg
0 → 100644
View file @
828dc2a8
123
2
3
300 pwr_trafficlight2__p2
301
2
19
1904 O0
1900 2
1901 0
1902 2
1903 0
1908 27
1909 28
1910 28
1911 0
1915 0
1913 7
1916 2
1914 0
1918 0
1919 1
1920 0
1917 0
1921 0
1922 4
1923 0
1907 0
1906
1905
5
500 27
501 1
504 1
505 1
502
7
700 0
701 0
99
503
7
700 2
701 2
99
99
1912
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0
2806 0
99
99
24
2404 O1
2400 1.74541
2401 0.254591
2402 1.72544
2403 0.274557
2408 0
2409 116
2410 116
2411 0
2415 0
2413 8
2416 2
2414 0
2417 1
2421 0
2418 0
2419 4
2420 1
2422 0
2407 0
2406
2405
8
802 0
803 1
800 0
801 360
806 1
804
7
700 0.279528
701 0.292839
99
805
7
700 1.77035
701 1.74372
99
99
2412
28
2800 1
2801 0
2802 -0.024937
2803 0
2804 1
2805 -0.0182816
2806 0
99
99
26
2604 O6
2600 1.6827
2601 0.325957
2602 1.45
2603 0.3
2605
25
2500 177
2501 1
2503 1
2504 0
2502
2
7
700 0.95
701 0.3
99
7
700 0.325957
701 1.3173
99
7
700 0.4
701 1.45
99
7
700 1.6
701 1.45
99
7
700 1.6827
701 1.32596
99
7
700 1.1
701 0.3
99
7
700 0.95
701 0.3
99
99
99
2608 177
2609 114
2610 114
2611 0
2616 0
2614 5
2617 2
2615 0
2618 1
2607 0
2606
2612
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0
2806 0
99
2613 0
2619 0
2620 0
2621 0
2622 0
2623 0
2624 4
2625 1
99
99
302 0
305 0
306
307
304 0
303
308 0
330 8
321 0
331 0
309 0
313 0
322 0
323 0
324 0
325 0
326 0
327 0
310 0
311 0
312
314 pwr_trafficlight2__p3
315 1
316 1
317 0
318 0
319 0
320 0
328 0
332 0
329
1
100 1
105 0
101 1
106 0
102 33619964
103 0
99
99
99
99
xtt/lib/ge/src/pwr_trafficlight2__p3.pwg
0 → 100644
View file @
828dc2a8
0! DefaultWidth 0
0! DefaultHeight 0
199
!/**
! TrafficLight
! Group Process
!
! <image> pwr_trafficlight_gs.gif
!
! <h1>Description
! Trafficlight with the colors green for OK, yellow for
! warning and red for fault.
!
! <h1>Default dynamics
! DigLowColor <link>GeDynDigLowColor, ,$pwr_lang/man_geref.dat
! DigWarning <link>GeDynDigWarning, ,$pwr_lang/man_geref.dat
! DigError <link>GeDynDigError, ,$pwr_lang/man_geref.dat
!
!*/
1
100 115.574
135 115.574
101 20
102 -136
103 -122
104 21.4448
136 21.4448
105 100
106 -25
107 -22
108 2
109 0
110 2
111 0
116 0
117 0
118 135
119 112
120 1
121 Claes context
122 0
126 0.1
127 0.1
128 0
129 0.3
130 1.5
131 0.8
132 3
133 2
137 4510
138 3
139 2
140 2
134
22
2200 0
2201 8
2202 pwr_trafficlight2__p3
2203 300
2205 0
2204
2206 0
2207
2208
2209 0
2210 0
2211 0
2212 0
2213 4
2214
pwrp_pop:
pwrp_exe:
ssab_exe:
pwr_exe:
2215 0
2246 8
2236 0
2247 0
2216 0
2221 0
2237 0
2238 0
2239 0
2240 0
2241 0
2242 0
2217 0
2218 0
2219 1
2220
2230 0
2231 0
2222 pwr_trafficlight2__p4
2223 1
2224 0.5
2232 0.5
2225 0.5
2226 0
2227
2228 0
2229 0
2233 1
2234 1
2235 0
2243 0
2248 0
2245 0
2244
1
100 1
105 0
101 1
106 0
102 33619964
103 0
99
99
123
2
99
124
2
99
125
2
19
1904 O0
1900 2
1901 0
1902 2
1903 0
1908 27
1909 28
1910 28
1911 0
1915 0
1913 7
1916 2
1914 0
1918 0
1919 1
1920 0
1917 0
1921 0
1922 4
1923 0
1907 0
1906
1905
5
500 27
501 1
504 1
505 1
502
7
700 0
701 0
99
503
7
700 2
701 2
99
99
1912
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0
2806 0
99
99
24
2404 O1
2400 1.74541
2401 0.254591
2402 1.72544
2403 0.274557
2408 0
2409 175
2410 175
2411 0
2415 0
2413 8
2416 2
2414 0
2417 1
2421 0
2418 0
2419 4
2420 1
2422 0
2407 0
2406
2405
8
802 0
803 1
800 0
801 360
806 1
804
7
700 0.279528
701 0.292839
99
805
7
700 1.77035
701 1.74372
99
99
2412
28
2800 1
2801 0
2802 -0.024937
2803 0
2804 1
2805 -0.0182816
2806 0
99
99
19
1904 O7
1900 1.6
1901 0.4
1902 1.23461
1903 0.83461
1908 177
1909 178
1910 178
1911 0
1915 0
1913 5
1916 2
1914 0
1918 0
1919 0
1920 0
1917 1
1921 0
1922 4
1923 1
1907 0
1906
1905
5
500 177
501 1
504 1
505 1
502
7
700 0.4
701 0.8
99
503
7
700 1.6
701 1.2
99
99
1912
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0.0346097
2806 0
99
99
99
99
xtt/lib/ge/src/pwr_trafficlight2__p3.pwsg
0 → 100644
View file @
828dc2a8
123
2
3
300 pwr_trafficlight2__p3
301
2
19
1904 O0
1900 2
1901 0
1902 2
1903 0
1908 27
1909 28
1910 28
1911 0
1915 0
1913 7
1916 2
1914 0
1918 0
1919 1
1920 0
1917 0
1921 0
1922 4
1923 0
1907 0
1906
1905
5
500 27
501 1
504 1
505 1
502
7
700 0
701 0
99
503
7
700 2
701 2
99
99
1912
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0
2806 0
99
99
24
2404 O1
2400 1.74541
2401 0.254591
2402 1.72544
2403 0.274557
2408 0
2409 175
2410 175
2411 0
2415 0
2413 8
2416 2
2414 0
2417 1
2421 0
2418 0
2419 4
2420 1
2422 0
2407 0
2406
2405
8
802 0
803 1
800 0
801 360
806 1
804
7
700 0.279528
701 0.292839
99
805
7
700 1.77035
701 1.74372
99
99
2412
28
2800 1
2801 0
2802 -0.024937
2803 0
2804 1
2805 -0.0182816
2806 0
99
99
19
1904 O7
1900 1.6
1901 0.4
1902 1.23461
1903 0.83461
1908 177
1909 178
1910 178
1911 0
1915 0
1913 5
1916 2
1914 0
1918 0
1919 0
1920 0
1917 1
1921 0
1922 4
1923 1
1907 0
1906
1905
5
500 177
501 1
504 1
505 1
502
7
700 0.4
701 0.8
99
503
7
700 1.6
701 1.2
99
99
1912
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0.0346097
2806 0
99
99
99
302 0
305 0
306
307
304 0
303
308 0
330 8
321 0
331 0
309 0
313 0
322 0
323 0
324 0
325 0
326 0
327 0
310 0
311 0
312
314 pwr_trafficlight2__p4
315 1
316 1
317 0
318 0
319 0
320 0
328 0
332 0
329
1
100 1
105 0
101 1
106 0
102 33619964
103 0
99
99
99
99
xtt/lib/ge/src/pwr_trafficlight2__p4.pwg
0 → 100644
View file @
828dc2a8
0! DefaultWidth 0
0! DefaultHeight 0
199
!/**
! TrafficLight
! Group Process
!
! <image> pwr_trafficlight_gs.gif
!
! <h1>Description
! Trafficlight with the colors green for OK, yellow for
! warning and red for fault.
!
! <h1>Default dynamics
! DigLowColor <link>GeDynDigLowColor, ,$pwr_lang/man_geref.dat
! DigWarning <link>GeDynDigWarning, ,$pwr_lang/man_geref.dat
! DigError <link>GeDynDigError, ,$pwr_lang/man_geref.dat
!
!*/
1
100 115.574
135 115.574
101 20
102 -136
103 -122
104 21.4448
136 21.4448
105 100
106 -25
107 -22
108 2
109 0
110 2
111 0
116 0
117 0
118 135
119 112
120 1
121 Claes context
122 0
126 0.1
127 0.1
128 0
129 0.3
130 1.5
131 0.8
132 3
133 2
137 4510
138 3
139 2
140 2
134
22
2200 0
2201 8
2202 pwr_trafficlight2__p4
2203 300
2205 0
2204
2206 0
2207
2208
2209 0
2210 0
2211 0
2212 0
2213 4
2214
pwrp_pop:
pwrp_exe:
ssab_exe:
pwr_exe:
2215 0
2246 8
2236 0
2247 0
2216 0
2221 0
2237 0
2238 0
2239 0
2240 0
2241 0
2242 0
2217 0
2218 0
2219 1
2220
2230 0
2231 0
2222
2223 1
2224 0.5
2232 0.5
2225 0.5
2226 0
2227
2228 0
2229 0
2233 1
2234 1
2235 0
2243 0
2248 0
2245 0
2244
1
100 1
105 0
101 1
106 0
102 33619964
103 0
99
99
123
2
99
124
2
99
125
2
19
1904 O0
1900 2
1901 0
1902 2
1903 0
1908 27
1909 28
1910 28
1911 0
1915 0
1913 7
1916 2
1914 0
1918 0
1919 1
1920 0
1917 0
1921 0
1922 4
1923 0
1907 0
1906
1905
5
500 27
501 1
504 1
505 1
502
7
700 0
701 0
99
503
7
700 2
701 2
99
99
1912
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0
2806 0
99
99
24
2404 O1
2400 1.74541
2401 0.254591
2402 1.72544
2403 0.274557
2408 0
2409 59
2410 59
2411 0
2415 0
2413 8
2416 2
2414 0
2417 1
2421 0
2418 0
2419 4
2420 1
2422 0
2407 0
2406
2405
8
802 0
803 1
800 0
801 360
806 1
804
7
700 0.279528
701 0.292839
99
805
7
700 1.77035
701 1.74372
99
99
2412
28
2800 1
2801 0
2802 -0.024937
2803 0
2804 1
2805 -0.0182816
2806 0
99
99
99
99
xtt/lib/ge/src/pwr_trafficlight2__p4.pwsg
0 → 100644
View file @
828dc2a8
123
2
3
300 pwr_trafficlight2__p4
301
2
19
1904 O0
1900 2
1901 0
1902 2
1903 0
1908 27
1909 28
1910 28
1911 0
1915 0
1913 7
1916 2
1914 0
1918 0
1919 1
1920 0
1917 0
1921 0
1922 4
1923 0
1907 0
1906
1905
5
500 27
501 1
504 1
505 1
502
7
700 0
701 0
99
503
7
700 2
701 2
99
99
1912
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0
2806 0
99
99
24
2404 O1
2400 1.74541
2401 0.254591
2402 1.72544
2403 0.274557
2408 0
2409 59
2410 59
2411 0
2415 0
2413 8
2416 2
2414 0
2417 1
2421 0
2418 0
2419 4
2420 1
2422 0
2407 0
2406
2405
8
802 0
803 1
800 0
801 360
806 1
804
7
700 0.279528
701 0.292839
99
805
7
700 1.77035
701 1.74372
99
99
2412
28
2800 1
2801 0
2802 -0.024937
2803 0
2804 1
2805 -0.0182816
2806 0
99
99
99
302 0
305 0
306
307
304 0
303
308 0
330 8
321 0
331 0
309 0
313 0
322 0
323 0
324 0
325 0
326 0
327 0
310 0
311 0
312
314
315 1
316 1
317 0
318 0
319 0
320 0
328 0
332 0
329
1
100 1
105 0
101 1
106 0
102 33619964
103 0
99
99
99
99
xtt/lib/ge/src/pwr_trafficlight3.pwg
0 → 100644
View file @
828dc2a8
0! DefaultWidth 0
0! DefaultHeight 0
199
!/**
! TrafficLight
! Group Process
!
! <image> pwr_trafficlight_gs.gif
!
! <h1>Description
! Trafficlight with the colors green for OK, yellow for
! warning and red for fault.
!
! <h1>Default dynamics
! DigLowColor <link>GeDynDigLowColor, ,$pwr_lang/man_geref.dat
! DigWarning <link>GeDynDigWarning, ,$pwr_lang/man_geref.dat
! DigError <link>GeDynDigError, ,$pwr_lang/man_geref.dat
!
!*/
1
100 115.574
135 115.574
101 20
102 -136
103 -122
104 21.4448
136 21.4448
105 100
106 -25
107 -22
108 1.74541
109 0.254591
110 1.72544
111 0.274557
116 0
117 0
118 135
119 112
120 1
121 Claes context
122 0
126 0.1
127 0.1
128 0
129 0.3
130 1.5
131 0.8
132 3
133 2
137 4510
138 3
139 2
140 2
134
22
2200 0
2201 4
2202 pwr_trafficlight3
2203 300
2205 0
2204
2206 0
2207
2208
2209 0
2210 0
2211 0
2212 0
2213 4
2214
pwrp_pop:
pwrp_exe:
ssab_exe:
pwr_exe:
2215 0
2246 8
2236 0
2247 0
2216 0
2221 0
2237 0
2238 0
2239 0
2240 0
2241 0
2242 0
2217 0
2218 0
2219 1
2220
2230 0
2231 0
2222 pwr_trafficlight3__p2
2223 1
2224 0.5
2232 0.5
2225 0.5
2226 0
2227
2228 0
2229 0
2233 1
2234 1
2235 0
2243 0
2248 0
2245 0
2244
1
100 1
105 0
101 1
106 0
102 33619964
103 0
99
99
123
2
99
124
2
99
125
2
24
2404 O1
2400 1.74541
2401 0.254591
2402 1.72544
2403 0.274557
2408 0
2409 293
2410 293
2411 1
2415 0
2413 8
2416 2
2414 0
2417 0
2421 0
2418 0
2419 4
2420 0
2422 0
2407 0
2406
2405
8
802 0
803 1
800 0
801 360
806 1
804
7
700 0.279528
701 0.292839
99
805
7
700 1.77035
701 1.74372
99
99
2412
28
2800 1
2801 0
2802 -0.024937
2803 0
2804 1
2805 -0.0182816
2806 0
99
99
26
2604 O3
2600 1.5334
2601 0.491347
2602 1.52235
2603 0.6
2605
25
2500 289
2501 1
2503 1
2504 0
2502
2
7
700 0.453131
701 1.04687
99
7
700 0.653131
701 0.846869
99
7
700 0.94532
701 1.17657
99
7
700 1.37044
701 0.603607
99
7
700 1.49518
701 0.670213
99
7
700 0.917305
701 1.52596
99
7
700 0.453131
701 1.04687
99
99
99
2608 289
2609 288
2610 288
2611 0
2616 0
2614 5
2617 2
2615 0
2618 1
2607 0
2606
2612
28
2800 1
2801 0
2802 0.0382163
2803 0
2804 1
2805 -0.00360659
2806 0
99
2613 0
2619 0
2620 0
2621 0
2622 0
2623 0
2624 4
2625 1
99
99
99
xtt/lib/ge/src/pwr_trafficlight3.pwsg
0 → 100644
View file @
828dc2a8
123
2
3
300 pwr_trafficlight3
301
2
24
2404 O1
2400 1.74541
2401 0.254591
2402 1.72544
2403 0.274557
2408 0
2409 293
2410 293
2411 1
2415 0
2413 8
2416 2
2414 0
2417 0
2421 0
2418 0
2419 4
2420 0
2422 0
2407 0
2406
2405
8
802 0
803 1
800 0
801 360
806 1
804
7
700 0.279528
701 0.292839
99
805
7
700 1.77035
701 1.74372
99
99
2412
28
2800 1
2801 0
2802 -0.024937
2803 0
2804 1
2805 -0.0182816
2806 0
99
99
26
2604 O3
2600 1.5334
2601 0.491347
2602 1.52235
2603 0.6
2605
25
2500 289
2501 1
2503 1
2504 0
2502
2
7
700 0.453131
701 1.04687
99
7
700 0.653131
701 0.846869
99
7
700 0.94532
701 1.17657
99
7
700 1.37044
701 0.603607
99
7
700 1.49518
701 0.670213
99
7
700 0.917305
701 1.52596
99
7
700 0.453131
701 1.04687
99
99
99
2608 289
2609 288
2610 288
2611 0
2616 0
2614 5
2617 2
2615 0
2618 1
2607 0
2606
2612
28
2800 1
2801 0
2802 0.0382163
2803 0
2804 1
2805 -0.00360659
2806 0
99
2613 0
2619 0
2620 0
2621 0
2622 0
2623 0
2624 4
2625 1
99
99
302 0
305 0
306
307
304 0
303
308 0
330 8
321 0
331 0
309 0
313 0
322 0
323 0
324 0
325 0
326 0
327 0
310 0
311 0
312
314 pwr_trafficlight3__p2
315 1
316 1
317 0
318 0
319 0
320 0
328 0
332 0
329
1
100 1
105 0
101 1
106 0
102 33619964
103 0
99
99
99
99
xtt/lib/ge/src/pwr_trafficlight3__p2.pwg
0 → 100644
View file @
828dc2a8
0! DefaultWidth 0
0! DefaultHeight 0
199
!/**
! TrafficLight
! Group Process
!
! <image> pwr_trafficlight_gs.gif
!
! <h1>Description
! Trafficlight with the colors green for OK, yellow for
! warning and red for fault.
!
! <h1>Default dynamics
! DigLowColor <link>GeDynDigLowColor, ,$pwr_lang/man_geref.dat
! DigWarning <link>GeDynDigWarning, ,$pwr_lang/man_geref.dat
! DigError <link>GeDynDigError, ,$pwr_lang/man_geref.dat
!
!*/
1
100 92.2565
135 92.2565
101 20
102 -211
103 -167
104 17.1182
136 17.1182
105 100
106 -39
107 -30
108 1.74541
109 0.25459
110 1.72544
111 0.274557
116 0
117 0
118 135
119 112
120 1
121 Claes context
122 0
126 0.1
127 0.1
128 0
129 0.3
130 1.5
131 0.8
132 3
133 2
137 4510
138 3
139 2
140 2
134
22
2200 0
2201 9
2202 pwr_trafficlight3__p2
2203 300
2205 0
2204
2206 0
2207
2208
2209 0
2210 0
2211 0
2212 0
2213 4
2214
pwrp_pop:
pwrp_exe:
ssab_exe:
pwr_exe:
2215 0
2246 8
2236 0
2247 0
2216 0
2221 0
2237 0
2238 0
2239 0
2240 0
2241 0
2242 0
2217 0
2218 0
2219 1
2220
2230 0
2231 0
2222 pwr_trafficlight3__p3
2223 1
2224 0.5
2232 0.5
2225 0.5
2226 0
2227
2228 0
2229 0
2233 1
2234 1
2235 0
2243 0
2248 0
2245 0
2244
1
100 1
105 0
101 1
106 0
102 33619964
103 0
99
99
123
2
99
124
2
99
125
2
24
2404 O1
2400 1.74541
2401 0.254591
2402 1.72544
2403 0.274557
2408 0
2409 116
2410 116
2411 0
2415 0
2413 8
2416 2
2414 0
2417 1
2421 0
2418 0
2419 4
2420 1
2422 0
2407 0
2406
2405
8
802 0
803 1
800 0
801 360
806 1
804
7
700 0.279528
701 0.292839
99
805
7
700 1.77035
701 1.74372
99
99
2412
28
2800 1
2801 0
2802 -0.024937
2803 0
2804 1
2805 -0.0182816
2806 0
99
99
26
2604 O6
2600 1.6827
2601 0.325957
2602 1.45
2603 0.3
2605
25
2500 177
2501 1
2503 1
2504 0
2502
2
7
700 0.95
701 0.3
99
7
700 0.325957
701 1.3173
99
7
700 0.4
701 1.45
99
7
700 1.6
701 1.45
99
7
700 1.6827
701 1.32596
99
7
700 1.1
701 0.3
99
7
700 0.95
701 0.3
99
99
99
2608 177
2609 114
2610 114
2611 0
2616 0
2614 5
2617 2
2615 0
2618 1
2607 0
2606
2612
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0
2806 0
99
2613 0
2619 0
2620 0
2621 0
2622 0
2623 0
2624 4
2625 1
99
24
2404 O8
2400 1.74541
2401 0.254589
2402 1.72544
2403 0.274558
2408 0
2409 116
2410 116
2411 1
2415 0
2413 8
2416 2
2414 0
2417 1
2421 0
2418 0
2419 4
2420 1
2422 0
2407 0
2406
2405
8
802 0
803 1
800 0
801 360
806 0
804
7
700 0.279528
701 0.292839
99
805
7
700 1.77035
701 1.74372
99
99
2412
28
2800 1
2801 0
2802 -0.0249385
2803 0
2804 1
2805 -0.018281
2806 0
99
99
99
99
xtt/lib/ge/src/pwr_trafficlight3__p2.pwsg
0 → 100644
View file @
828dc2a8
123
2
3
300 pwr_trafficlight3__p2
301
2
24
2404 O1
2400 1.74541
2401 0.254591
2402 1.72544
2403 0.274557
2408 0
2409 116
2410 116
2411 0
2415 0
2413 8
2416 2
2414 0
2417 1
2421 0
2418 0
2419 4
2420 1
2422 0
2407 0
2406
2405
8
802 0
803 1
800 0
801 360
806 1
804
7
700 0.279528
701 0.292839
99
805
7
700 1.77035
701 1.74372
99
99
2412
28
2800 1
2801 0
2802 -0.024937
2803 0
2804 1
2805 -0.0182816
2806 0
99
99
26
2604 O6
2600 1.6827
2601 0.325957
2602 1.45
2603 0.3
2605
25
2500 177
2501 1
2503 1
2504 0
2502
2
7
700 0.95
701 0.3
99
7
700 0.325957
701 1.3173
99
7
700 0.4
701 1.45
99
7
700 1.6
701 1.45
99
7
700 1.6827
701 1.32596
99
7
700 1.1
701 0.3
99
7
700 0.95
701 0.3
99
99
99
2608 177
2609 114
2610 114
2611 0
2616 0
2614 5
2617 2
2615 0
2618 1
2607 0
2606
2612
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0
2806 0
99
2613 0
2619 0
2620 0
2621 0
2622 0
2623 0
2624 4
2625 1
99
24
2404 O8
2400 1.74541
2401 0.254589
2402 1.72544
2403 0.274558
2408 0
2409 116
2410 116
2411 1
2415 0
2413 8
2416 2
2414 0
2417 1
2421 0
2418 0
2419 4
2420 1
2422 0
2407 0
2406
2405
8
802 0
803 1
800 0
801 360
806 0
804
7
700 0.279528
701 0.292839
99
805
7
700 1.77035
701 1.74372
99
99
2412
28
2800 1
2801 0
2802 -0.0249385
2803 0
2804 1
2805 -0.018281
2806 0
99
99
99
302 0
305 0
306
307
304 0
303
308 0
330 8
321 0
331 0
309 0
313 0
322 0
323 0
324 0
325 0
326 0
327 0
310 0
311 0
312
314 pwr_trafficlight3__p3
315 1
316 1
317 0
318 0
319 0
320 0
328 0
332 0
329
1
100 1
105 0
101 1
106 0
102 33619964
103 0
99
99
99
99
xtt/lib/ge/src/pwr_trafficlight3__p3.pwg
0 → 100644
View file @
828dc2a8
0! DefaultWidth 0
0! DefaultHeight 0
199
!/**
! TrafficLight
! Group Process
!
! <image> pwr_trafficlight_gs.gif
!
! <h1>Description
! Trafficlight with the colors green for OK, yellow for
! warning and red for fault.
!
! <h1>Default dynamics
! DigLowColor <link>GeDynDigLowColor, ,$pwr_lang/man_geref.dat
! DigWarning <link>GeDynDigWarning, ,$pwr_lang/man_geref.dat
! DigError <link>GeDynDigError, ,$pwr_lang/man_geref.dat
!
!*/
1
100 115.574
135 115.574
101 20
102 -136
103 -122
104 21.4448
136 21.4448
105 100
106 -25
107 -22
108 1.74541
109 0.254591
110 1.72544
111 0.274557
116 0
117 0
118 135
119 112
120 1
121 Claes context
122 0
126 0.1
127 0.1
128 0
129 0.3
130 1.5
131 0.8
132 3
133 2
137 4510
138 3
139 2
140 2
134
22
2200 0
2201 8
2202 pwr_trafficlight3__p3
2203 300
2205 0
2204
2206 0
2207
2208
2209 0
2210 0
2211 0
2212 0
2213 4
2214
pwrp_pop:
pwrp_exe:
ssab_exe:
pwr_exe:
2215 0
2246 8
2236 0
2247 0
2216 0
2221 0
2237 0
2238 0
2239 0
2240 0
2241 0
2242 0
2217 0
2218 0
2219 1
2220
2230 0
2231 0
2222 pwr_trafficlight3__p4
2223 1
2224 0.5
2232 0.5
2225 0.5
2226 0
2227
2228 0
2229 0
2233 1
2234 1
2235 0
2243 0
2248 0
2245 0
2244
1
100 1
105 0
101 1
106 0
102 33619964
103 0
99
99
123
2
99
124
2
99
125
2
24
2404 O1
2400 1.74541
2401 0.254591
2402 1.72544
2403 0.274557
2408 0
2409 175
2410 175
2411 1
2415 0
2413 8
2416 2
2414 0
2417 1
2421 0
2418 0
2419 4
2420 1
2422 0
2407 0
2406
2405
8
802 0
803 1
800 0
801 360
806 1
804
7
700 0.279528
701 0.292839
99
805
7
700 1.77035
701 1.74372
99
99
2412
28
2800 1
2801 0
2802 -0.024937
2803 0
2804 1
2805 -0.0182816
2806 0
99
99
19
1904 O7
1900 1.6
1901 0.4
1902 1.23461
1903 0.83461
1908 177
1909 178
1910 178
1911 0
1915 0
1913 5
1916 2
1914 0
1918 0
1919 0
1920 0
1917 1
1921 0
1922 4
1923 1
1907 0
1906
1905
5
500 177
501 1
504 1
505 1
502
7
700 0.4
701 0.8
99
503
7
700 1.6
701 1.2
99
99
1912
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0.0346097
2806 0
99
99
99
99
xtt/lib/ge/src/pwr_trafficlight3__p3.pwsg
0 → 100644
View file @
828dc2a8
123
2
3
300 pwr_trafficlight3__p3
301
2
24
2404 O1
2400 1.74541
2401 0.254591
2402 1.72544
2403 0.274557
2408 0
2409 175
2410 175
2411 1
2415 0
2413 8
2416 2
2414 0
2417 1
2421 0
2418 0
2419 4
2420 1
2422 0
2407 0
2406
2405
8
802 0
803 1
800 0
801 360
806 1
804
7
700 0.279528
701 0.292839
99
805
7
700 1.77035
701 1.74372
99
99
2412
28
2800 1
2801 0
2802 -0.024937
2803 0
2804 1
2805 -0.0182816
2806 0
99
99
19
1904 O7
1900 1.6
1901 0.4
1902 1.23461
1903 0.83461
1908 177
1909 178
1910 178
1911 0
1915 0
1913 5
1916 2
1914 0
1918 0
1919 0
1920 0
1917 1
1921 0
1922 4
1923 1
1907 0
1906
1905
5
500 177
501 1
504 1
505 1
502
7
700 0.4
701 0.8
99
503
7
700 1.6
701 1.2
99
99
1912
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0.0346097
2806 0
99
99
99
302 0
305 0
306
307
304 0
303
308 0
330 8
321 0
331 0
309 0
313 0
322 0
323 0
324 0
325 0
326 0
327 0
310 0
311 0
312
314 pwr_trafficlight3__p4
315 1
316 1
317 0
318 0
319 0
320 0
328 0
332 0
329
1
100 1
105 0
101 1
106 0
102 33619964
103 0
99
99
99
99
xtt/lib/ge/src/pwr_trafficlight3__p4.pwg
0 → 100644
View file @
828dc2a8
0! DefaultWidth 0
0! DefaultHeight 0
199
!/**
! TrafficLight
! Group Process
!
! <image> pwr_trafficlight_gs.gif
!
! <h1>Description
! Trafficlight with the colors green for OK, yellow for
! warning and red for fault.
!
! <h1>Default dynamics
! DigLowColor <link>GeDynDigLowColor, ,$pwr_lang/man_geref.dat
! DigWarning <link>GeDynDigWarning, ,$pwr_lang/man_geref.dat
! DigError <link>GeDynDigError, ,$pwr_lang/man_geref.dat
!
!*/
1
100 115.574
135 115.574
101 20
102 -136
103 -122
104 21.4448
136 21.4448
105 100
106 -25
107 -22
108 1.74541
109 0.254591
110 1.72544
111 0.274557
116 0
117 0
118 135
119 112
120 1
121 Claes context
122 0
126 0.1
127 0.1
128 0
129 0.3
130 1.5
131 0.8
132 3
133 2
137 4510
138 3
139 2
140 2
134
22
2200 0
2201 8
2202 pwr_trafficlight3__p4
2203 300
2205 0
2204
2206 0
2207
2208
2209 0
2210 0
2211 0
2212 0
2213 4
2214
pwrp_pop:
pwrp_exe:
ssab_exe:
pwr_exe:
2215 0
2246 8
2236 0
2247 0
2216 0
2221 0
2237 0
2238 0
2239 0
2240 0
2241 0
2242 0
2217 0
2218 0
2219 1
2220
2230 0
2231 0
2222
2223 1
2224 0.5
2232 0.5
2225 0.5
2226 0
2227
2228 0
2229 0
2233 1
2234 1
2235 0
2243 0
2248 0
2245 0
2244
1
100 1
105 0
101 1
106 0
102 33619964
103 0
99
99
123
2
99
124
2
99
125
2
24
2404 O1
2400 1.74541
2401 0.254591
2402 1.72544
2403 0.274557
2408 0
2409 59
2410 59
2411 1
2415 0
2413 8
2416 2
2414 0
2417 1
2421 0
2418 0
2419 4
2420 0
2422 0
2407 0
2406
2405
8
802 0
803 1
800 0
801 360
806 1
804
7
700 0.279528
701 0.292839
99
805
7
700 1.77035
701 1.74372
99
99
2412
28
2800 1
2801 0
2802 -0.024937
2803 0
2804 1
2805 -0.0182816
2806 0
99
99
99
99
xtt/lib/ge/src/pwr_trafficlight3__p4.pwsg
0 → 100644
View file @
828dc2a8
123
2
3
300 pwr_trafficlight3__p4
301
2
24
2404 O1
2400 1.74541
2401 0.254591
2402 1.72544
2403 0.274557
2408 0
2409 59
2410 59
2411 1
2415 0
2413 8
2416 2
2414 0
2417 1
2421 0
2418 0
2419 4
2420 0
2422 0
2407 0
2406
2405
8
802 0
803 1
800 0
801 360
806 1
804
7
700 0.279528
701 0.292839
99
805
7
700 1.77035
701 1.74372
99
99
2412
28
2800 1
2801 0
2802 -0.024937
2803 0
2804 1
2805 -0.0182816
2806 0
99
99
99
302 0
305 0
306
307
304 0
303
308 0
330 8
321 0
331 0
309 0
313 0
322 0
323 0
324 0
325 0
326 0
327 0
310 0
311 0
312
314
315 1
316 1
317 0
318 0
319 0
320 0
328 0
332 0
329
1
100 1
105 0
101 1
106 0
102 33619964
103 0
99
99
99
99
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