|
@@ -26,8 +26,10 @@ public class Constant {
|
|
|
public static String physical_world;
|
|
|
public static boolean physical_world_refresh_enable;
|
|
|
public static String zkt_physical_world;
|
|
|
+ public static boolean zkt_physical_world_enable;
|
|
|
public static boolean zkt_physical_world_refresh_enable;
|
|
|
public static String ibms_physical_world;
|
|
|
+ public static boolean ibms_physical_world_enable;
|
|
|
public static boolean ibms_physical_world_refresh_enable;
|
|
|
public static String config;
|
|
|
public static boolean config_refresh_enable;
|
|
@@ -102,12 +104,14 @@ public class Constant {
|
|
|
if (iter.hasNext()) {
|
|
|
element = (Element) iter.next();
|
|
|
zkt_physical_world = element.attribute("path").getValue();
|
|
|
+ zkt_physical_world_enable = Boolean.parseBoolean(element.attribute("enable").getValue());
|
|
|
zkt_physical_world_refresh_enable = Boolean.parseBoolean(element.attribute("refresh_enable").getValue());
|
|
|
}
|
|
|
iter = document.selectNodes("/root/ibms_physical_world").iterator();
|
|
|
if (iter.hasNext()) {
|
|
|
element = (Element) iter.next();
|
|
|
ibms_physical_world = element.attribute("path").getValue();
|
|
|
+ ibms_physical_world_enable = Boolean.parseBoolean(element.attribute("enable").getValue());
|
|
|
ibms_physical_world_refresh_enable = Boolean.parseBoolean(element.attribute("refresh_enable").getValue());
|
|
|
}
|
|
|
iter = document.selectNodes("/root/config").iterator();
|