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
87d2ba36
Commit
87d2ba36
authored
Feb 06, 2017
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Java Table fix for not defined table attributes
parent
b8ab858c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
java/jpwr/jopg/src/Dyn.java
java/jpwr/jopg/src/Dyn.java
+12
-0
No files found.
java/jpwr/jopg/src/Dyn.java
View file @
87d2ba36
...
@@ -7771,6 +7771,8 @@ public class Dyn {
...
@@ -7771,6 +7771,8 @@ public class Dyn {
switch
(
type_id
[
i
])
{
switch
(
type_id
[
i
])
{
case
Pwr
.
eType_Float32
:
{
case
Pwr
.
eType_Float32
:
{
float
[]
val
=
dyn
.
graph
.
getGdh
().
getObjectRefInfoFloatArray
(
p
[
i
],
elements
[
i
]);
float
[]
val
=
dyn
.
graph
.
getGdh
().
getObjectRefInfoFloatArray
(
p
[
i
],
elements
[
i
]);
if
(
val
==
null
)
break
;
for
(
int
j
=
0
;
j
<
Math
.
min
(
elements
[
i
],
val
.
length
);
j
++)
{
for
(
int
j
=
0
;
j
<
Math
.
min
(
elements
[
i
],
val
.
length
);
j
++)
{
if
(
oldValueF
[
i
][
j
]
!=
val
[
j
]
||
firstScan
)
{
if
(
oldValueF
[
i
][
j
]
!=
val
[
j
]
||
firstScan
)
{
sb
=
cFormat
[
i
].
format
(
val
[
j
],
sb
);
sb
=
cFormat
[
i
].
format
(
val
[
j
],
sb
);
...
@@ -7782,6 +7784,8 @@ public class Dyn {
...
@@ -7782,6 +7784,8 @@ public class Dyn {
}
}
case
Pwr
.
eType_Boolean
:
{
case
Pwr
.
eType_Boolean
:
{
boolean
[]
val
=
dyn
.
graph
.
getGdh
().
getObjectRefInfoBooleanArray
(
p
[
i
],
elements
[
i
]);
boolean
[]
val
=
dyn
.
graph
.
getGdh
().
getObjectRefInfoBooleanArray
(
p
[
i
],
elements
[
i
]);
if
(
val
==
null
)
break
;
for
(
int
j
=
0
;
j
<
Math
.
min
(
elements
[
i
],
val
.
length
);
j
++)
{
for
(
int
j
=
0
;
j
<
Math
.
min
(
elements
[
i
],
val
.
length
);
j
++)
{
if
(
firstScan
||
oldValueB
[
i
][
j
]
!=
val
[
j
])
{
if
(
firstScan
||
oldValueB
[
i
][
j
]
!=
val
[
j
])
{
if
(
val
[
j
])
if
(
val
[
j
])
...
@@ -7801,6 +7805,8 @@ public class Dyn {
...
@@ -7801,6 +7805,8 @@ public class Dyn {
case
Pwr
.
eType_UInt16
:
case
Pwr
.
eType_UInt16
:
case
Pwr
.
eType_UInt8
:
{
case
Pwr
.
eType_UInt8
:
{
int
[]
val
=
dyn
.
graph
.
getGdh
().
getObjectRefInfoIntArray
(
p
[
i
],
elements
[
i
]);
int
[]
val
=
dyn
.
graph
.
getGdh
().
getObjectRefInfoIntArray
(
p
[
i
],
elements
[
i
]);
if
(
val
==
null
)
break
;
for
(
int
j
=
0
;
j
<
Math
.
min
(
elements
[
i
],
val
.
length
);
j
++)
{
for
(
int
j
=
0
;
j
<
Math
.
min
(
elements
[
i
],
val
.
length
);
j
++)
{
if
(
oldValueI
[
i
][
j
]
!=
val
[
j
]
||
firstScan
)
{
if
(
oldValueI
[
i
][
j
]
!=
val
[
j
]
||
firstScan
)
{
sb
=
cFormat
[
i
].
format
(
val
[
j
],
sb
);
sb
=
cFormat
[
i
].
format
(
val
[
j
],
sb
);
...
@@ -7817,6 +7823,8 @@ public class Dyn {
...
@@ -7817,6 +7823,8 @@ public class Dyn {
case
Pwr
.
eType_DeltaTime
:
{
case
Pwr
.
eType_DeltaTime
:
{
String
[]
val
=
dyn
.
graph
.
getGdh
().
getObjectRefInfoStringArray
(
p
[
i
],
type_id
[
i
],
String
[]
val
=
dyn
.
graph
.
getGdh
().
getObjectRefInfoStringArray
(
p
[
i
],
type_id
[
i
],
size
[
i
],
elements
[
i
]);
size
[
i
],
elements
[
i
]);
if
(
val
==
null
)
break
;
for
(
int
j
=
0
;
j
<
Math
.
min
(
elements
[
i
],
val
.
length
);
j
++)
{
for
(
int
j
=
0
;
j
<
Math
.
min
(
elements
[
i
],
val
.
length
);
j
++)
{
if
(
firstScan
||
!
oldValueS
[
i
][
j
].
equals
(
val
[
j
]))
{
if
(
firstScan
||
!
oldValueS
[
i
][
j
].
equals
(
val
[
j
]))
{
switch
(
type_id
[
i
])
{
switch
(
type_id
[
i
])
{
...
@@ -7844,6 +7852,8 @@ public class Dyn {
...
@@ -7844,6 +7852,8 @@ public class Dyn {
}
}
case
GraphIfc
.
eType_Bit
:
{
case
GraphIfc
.
eType_Bit
:
{
int
[]
val
=
dyn
.
graph
.
getGdh
().
getObjectRefInfoIntArray
(
p
[
i
],
elements
[
i
]);
int
[]
val
=
dyn
.
graph
.
getGdh
().
getObjectRefInfoIntArray
(
p
[
i
],
elements
[
i
]);
if
(
val
==
null
)
break
;
for
(
int
j
=
0
;
j
<
Math
.
min
(
elements
[
i
],
val
.
length
);
j
++)
{
for
(
int
j
=
0
;
j
<
Math
.
min
(
elements
[
i
],
val
.
length
);
j
++)
{
boolean
bitval
=
((
bitmask
[
i
]
&
val
[
j
])
!=
0
);
boolean
bitval
=
((
bitmask
[
i
]
&
val
[
j
])
!=
0
);
if
(
oldValueB
[
i
][
j
]
!=
bitval
||
firstScan
)
{
if
(
oldValueB
[
i
][
j
]
!=
bitval
||
firstScan
)
{
...
@@ -7938,6 +7948,8 @@ public class Dyn {
...
@@ -7938,6 +7948,8 @@ public class Dyn {
if
(
sel_p
[
i
]
==
0
)
if
(
sel_p
[
i
]
==
0
)
continue
;
continue
;
boolean
[]
val
=
dyn
.
graph
.
getGdh
().
getObjectRefInfoBooleanArray
(
sel_p
[
i
],
sel_elements
[
i
]);
boolean
[]
val
=
dyn
.
graph
.
getGdh
().
getObjectRefInfoBooleanArray
(
sel_p
[
i
],
sel_elements
[
i
]);
if
(
val
==
null
)
continue
;
for
(
int
j
=
0
;
j
<
sel_elements
[
i
];
j
++)
{
for
(
int
j
=
0
;
j
<
sel_elements
[
i
];
j
++)
{
if
(
val
[
j
])
{
if
(
val
[
j
])
{
sel_found
=
true
;
sel_found
=
true
;
...
...
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