|
@@ -57,13 +57,13 @@ public class ControlUtil {
|
|
for (String info_code : all_info_code.keySet()) {
|
|
for (String info_code : all_info_code.keySet()) {
|
|
boolean all_exist = true;
|
|
boolean all_exist = true;
|
|
boolean all_equal = true;
|
|
boolean all_equal = true;
|
|
- Integer first_info_value = null;
|
|
|
|
|
|
+ Object first_info_value = null;
|
|
for (SceneDataObject object : sdoList) {
|
|
for (SceneDataObject object : sdoList) {
|
|
if (!object.containsKey(info_code)) {
|
|
if (!object.containsKey(info_code)) {
|
|
all_exist = false;
|
|
all_exist = false;
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
- int info_value = (int) object.get(info_code).value_prim.value;
|
|
|
|
|
|
+ Object info_value = object.get(info_code).value_prim.value;
|
|
if (first_info_value == null) {
|
|
if (first_info_value == null) {
|
|
first_info_value = info_value;
|
|
first_info_value = info_value;
|
|
} else {
|
|
} else {
|