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
fd271b41
Commit
fd271b41
authored
Sep 11, 2008
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correction of previous bugfix for Value dynamics
parent
ef8252c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
18 deletions
+1
-18
xtt/lib/ge/src/ge_dyn.cpp
xtt/lib/ge/src/ge_dyn.cpp
+1
-18
No files found.
xtt/lib/ge/src/ge_dyn.cpp
View file @
fd271b41
/*
* Proview $Id: ge_dyn.cpp,v 1.6
6 2008-09-05 14:08:00
claes Exp $
* Proview $Id: ge_dyn.cpp,v 1.6
7 2008-09-11 06:03:42
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -3738,23 +3738,6 @@ int GeValue::scan( grow_tObject object)
*
(
pwr_tNetStatus
*
)
p
=
PWR__NETTIMEOUT
;
}
if
(
!
first_scan
)
{
switch
(
annot_typeid
)
{
case
pwr_eType_String
:
if
(
strncmp
(
old_value
,
(
char
*
)
p
,
size
)
==
0
)
// No change since last time
return
1
;
break
;
default:
if
(
memcmp
(
&
old_value
,
p
,
size
)
==
0
)
// No change since last time
return
1
;
}
}
else
first_scan
=
false
;
switch
(
annot_typeid
)
{
case
pwr_eType_Float32
:
{
pwr_tFloat32
val
=
*
(
pwr_tFloat32
*
)
p
;
...
...
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