|
@@ -24,13 +24,13 @@ public class Constant {
|
|
public static String rwd_url;
|
|
public static String rwd_url;
|
|
public static String zkt_monitor_url;
|
|
public static String zkt_monitor_url;
|
|
public static String physical_world;
|
|
public static String physical_world;
|
|
- public static boolean physical_world_download_enable;
|
|
|
|
|
|
+ public static boolean physical_world_refresh_enable;
|
|
public static String zkt_physical_world;
|
|
public static String zkt_physical_world;
|
|
- public static boolean zkt_physical_world_download_enable;
|
|
|
|
|
|
+ public static boolean zkt_physical_world_refresh_enable;
|
|
public static String ibms_physical_world;
|
|
public static String ibms_physical_world;
|
|
- public static boolean ibms_physical_world_download_enable;
|
|
|
|
|
|
+ public static boolean ibms_physical_world_refresh_enable;
|
|
public static String config;
|
|
public static String config;
|
|
- public static boolean config_download_enable;
|
|
|
|
|
|
+ public static boolean config_refresh_enable;
|
|
public static String iot_websocket_url;
|
|
public static String iot_websocket_url;
|
|
public static String iot_collect_url;
|
|
public static String iot_collect_url;
|
|
public static String iot_project_url;
|
|
public static String iot_project_url;
|
|
@@ -96,25 +96,25 @@ public class Constant {
|
|
if (iter.hasNext()) {
|
|
if (iter.hasNext()) {
|
|
element = (Element) iter.next();
|
|
element = (Element) iter.next();
|
|
physical_world = element.attribute("path").getValue();
|
|
physical_world = element.attribute("path").getValue();
|
|
- physical_world_download_enable = Boolean.parseBoolean(element.attribute("download_enable").getValue());
|
|
|
|
|
|
+ physical_world_refresh_enable = Boolean.parseBoolean(element.attribute("refresh_enable").getValue());
|
|
}
|
|
}
|
|
iter = document.selectNodes("/root/zkt_physical_world").iterator();
|
|
iter = document.selectNodes("/root/zkt_physical_world").iterator();
|
|
if (iter.hasNext()) {
|
|
if (iter.hasNext()) {
|
|
element = (Element) iter.next();
|
|
element = (Element) iter.next();
|
|
zkt_physical_world = element.attribute("path").getValue();
|
|
zkt_physical_world = element.attribute("path").getValue();
|
|
- zkt_physical_world_download_enable = Boolean.parseBoolean(element.attribute("download_enable").getValue());
|
|
|
|
|
|
+ zkt_physical_world_refresh_enable = Boolean.parseBoolean(element.attribute("refresh_enable").getValue());
|
|
}
|
|
}
|
|
iter = document.selectNodes("/root/ibms_physical_world").iterator();
|
|
iter = document.selectNodes("/root/ibms_physical_world").iterator();
|
|
if (iter.hasNext()) {
|
|
if (iter.hasNext()) {
|
|
element = (Element) iter.next();
|
|
element = (Element) iter.next();
|
|
ibms_physical_world = element.attribute("path").getValue();
|
|
ibms_physical_world = element.attribute("path").getValue();
|
|
- ibms_physical_world_download_enable = Boolean.parseBoolean(element.attribute("download_enable").getValue());
|
|
|
|
|
|
+ ibms_physical_world_refresh_enable = Boolean.parseBoolean(element.attribute("refresh_enable").getValue());
|
|
}
|
|
}
|
|
iter = document.selectNodes("/root/config").iterator();
|
|
iter = document.selectNodes("/root/config").iterator();
|
|
if (iter.hasNext()) {
|
|
if (iter.hasNext()) {
|
|
element = (Element) iter.next();
|
|
element = (Element) iter.next();
|
|
config = element.attribute("path").getValue();
|
|
config = element.attribute("path").getValue();
|
|
- config_download_enable = Boolean.parseBoolean(element.attribute("download_enable").getValue());
|
|
|
|
|
|
+ config_refresh_enable = Boolean.parseBoolean(element.attribute("refresh_enable").getValue());
|
|
}
|
|
}
|
|
|
|
|
|
iter = document.selectNodes("/root/iot_websocket").iterator();
|
|
iter = document.selectNodes("/root/iot_websocket").iterator();
|