物联网平台 +Web 组态
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1.3 KiB

2 years ago
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ page import="com.lp.cfg.ProConfig" %>
<%@ page import="com.lp.common.Code" %>
<%@ page import="com.lp.common.CodeIot" %>
<script>
var basePath = "<%=basePath%>" ;
var localUrl = basePath + "/service";
var imgUrl = "<%=ProConfig.IMAGE_DOMAIN%>";
var base_domain="http://"+window.location.host+"<%=basePath%>";
var userKey= "${user.user_key}";
var websocket_url = 'ws://' + window.location.host + '<%=ProConfig.PROJECT_NAME%>/service/websocket';
var videoUrl = "<%=ProConfig.VIDEO_DOMAIN%>";
var status_code = {
'OK' : <%=Code.ResponseCode.SystemCode.OK%> ,
'NO_DATA':<%=Code.ResponseCode.SystemCode.NO_DATA%>
}
var device_status = {
'OPEN': <%=CodeIot.DEVICE_STATUS_VALUE.DEVICE_OPEN%>,
'CLOSE': <%=CodeIot.DEVICE_STATUS_VALUE.DEVICE_CLOSE%>
};
var vf = [118, 101, 114, 115, 105, 111, 110, 58, 48, 46, 51, 46, 57, 46, 49, 32, 44, 32, 231, 137, 136, 230, 157, 131, 230, 137, 128, 230, 156,
137, 239, 188, 154, 233, 184, 191, 229, 144, 141, 231, 137, 169, 232, 129, 148, 239, 188, 155, 232, 129, 148, 231, 179, 187, 230, 150,
185, 229, 188, 143, 239, 188, 154, 81, 81, 50, 50, 50, 52, 51, 49, 51, 56, 49, 49];
</script>
<title><%=ProConfig.PROJECT_NAME%></title>