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
ad7db411
Commit
ad7db411
authored
Jan 17, 2008
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dataname not reseted when object moved
parent
fcd6c1b7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
13 deletions
+7
-13
wb/lib/wb/src/wb_c_asup.cpp
wb/lib/wb/src/wb_c_asup.cpp
+2
-4
wb/lib/wb/src/wb_c_dsfast.cpp
wb/lib/wb/src/wb_c_dsfast.cpp
+2
-4
wb/lib/wb/src/wb_c_dstrend.cpp
wb/lib/wb/src/wb_c_dstrend.cpp
+3
-5
No files found.
wb/lib/wb/src/wb_c_asup.cpp
View file @
ad7db411
/*
/*
* Proview $Id: wb_c_asup.cpp,v 1.
1 2007-01-04 07:29:02
claes Exp $
* Proview $Id: wb_c_asup.cpp,v 1.
2 2008-01-17 14:20:48
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
* Copyright (C) 2005 SSAB Oxelsund AB.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
...
@@ -83,9 +83,7 @@ PostMove (
...
@@ -83,9 +83,7 @@ PostMove (
sts
=
ldh_NameToAttrRef
(
Session
,
Name
,
&
Attribute
);
sts
=
ldh_NameToAttrRef
(
Session
,
Name
,
&
Attribute
);
if
(
EVEN
(
sts
))
{
if
(
EVEN
(
sts
))
return
PWRB__SUCCESS
;
memset
(
&
Attribute
,
0
,
sizeof
(
Attribute
));
}
sts
=
ldh_SetObjectPar
(
Session
,
Object
,
"RtBody"
,
"Attribute"
,
sts
=
ldh_SetObjectPar
(
Session
,
Object
,
"RtBody"
,
"Attribute"
,
(
char
*
)
&
Attribute
,
sizeof
(
Attribute
));
(
char
*
)
&
Attribute
,
sizeof
(
Attribute
));
...
...
wb/lib/wb/src/wb_c_dsfast.cpp
View file @
ad7db411
/*
/*
* Proview $Id: wb_c_dsfast.cpp,v 1.
1 2007-01-04 07:29:03
claes Exp $
* Proview $Id: wb_c_dsfast.cpp,v 1.
2 2008-01-17 14:20:48
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
* Copyright (C) 2005 SSAB Oxelsund AB.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
...
@@ -92,9 +92,7 @@ static pwr_tStatus PostMove (
...
@@ -92,9 +92,7 @@ static pwr_tStatus PostMove (
strcat
(
Name
,
".ActualValue"
);
strcat
(
Name
,
".ActualValue"
);
sts
=
ldh_NameToAttrRef
(
Session
,
Name
,
&
Attribute
);
sts
=
ldh_NameToAttrRef
(
Session
,
Name
,
&
Attribute
);
if
(
EVEN
(
sts
))
{
if
(
EVEN
(
sts
))
return
PWRB__SUCCESS
;
memset
(
&
Attribute
,
0
,
sizeof
(
Attribute
));
}
sts
=
ldh_SetObjectPar
(
Session
,
Object
,
"RtBody"
,
"DataName"
,
(
char
*
)
&
Attribute
,
sts
=
ldh_SetObjectPar
(
Session
,
Object
,
"RtBody"
,
"DataName"
,
(
char
*
)
&
Attribute
,
sizeof
(
Attribute
));
sizeof
(
Attribute
));
...
...
wb/lib/wb/src/wb_c_dstrend.cpp
View file @
ad7db411
/*
/*
* Proview $Id: wb_c_dstrend.cpp,v 1.
1 2007-01-04 07:29:03
claes Exp $
* Proview $Id: wb_c_dstrend.cpp,v 1.
2 2008-01-17 14:20:48
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
* Copyright (C) 2005 SSAB Oxelsund AB.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
...
@@ -81,7 +81,7 @@ static pwr_tStatus PostMove (
...
@@ -81,7 +81,7 @@ static pwr_tStatus PostMove (
pwr_sAttrRef
Attribute
;
pwr_sAttrRef
Attribute
;
/*
/*
If father of
ASup
has an "ActualValue" attribute, then make this ASup
If father of
DsTrend
has an "ActualValue" attribute, then make this ASup
refer to this attribute.
refer to this attribute.
*/
*/
...
@@ -92,9 +92,7 @@ static pwr_tStatus PostMove (
...
@@ -92,9 +92,7 @@ static pwr_tStatus PostMove (
strcat
(
Name
,
".ActualValue"
);
strcat
(
Name
,
".ActualValue"
);
sts
=
ldh_NameToAttrRef
(
Session
,
Name
,
&
Attribute
);
sts
=
ldh_NameToAttrRef
(
Session
,
Name
,
&
Attribute
);
if
(
EVEN
(
sts
))
{
if
(
EVEN
(
sts
))
return
PWRB__SUCCESS
;
memset
(
&
Attribute
,
0
,
sizeof
(
Attribute
));
}
sts
=
ldh_SetObjectPar
(
Session
,
Object
,
"RtBody"
,
"DataName"
,
(
char
*
)
&
Attribute
,
sts
=
ldh_SetObjectPar
(
Session
,
Object
,
"RtBody"
,
"DataName"
,
(
char
*
)
&
Attribute
,
sizeof
(
Attribute
));
sizeof
(
Attribute
));
...
...
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