Commit b6afecb1 authored by zhengjiangtao's avatar zhengjiangtao

增加科技处ping ip websocket

parent 5d420329
......@@ -28,7 +28,8 @@ export default {
sbTopoURI: completePrefix(baseURI, 'shebei'),//设备监控拓扑图消息
towMapURI: completePrefix(baseURI, 'gj'),//GPS轨迹坐标消息
aisleURI: completePrefix(baseURI, 'aisleAlarm'), //首页地图通道消息
planTaskURI: completePrefix(baseURI, 'plantask') //巡检推送消息(刷新支付业务和巡检计划执行情况)
planTaskURI: completePrefix(baseURI, 'plantask') ,//巡检推送消息(刷新支付业务和巡检计划执行情况)
technologyIpURI: completePrefix(baseURI, 'technologyIp'), //科技处设备ping IP
};
export const completeToken = (url) => {
......
......@@ -248,13 +248,13 @@ class FinancialCityLan extends Component {
console.log(topologyData);
return (
<div className="financialCityLan-wrapper">
{/* <AmosWebSocket
<AmosWebSocket
ref={node => this.aws = node}
url={SysWsURL.financialCityLanURI}
url={SysWsURL.technologyIpURI}
onMessage={this.handleData}
reconnect
debug
/> */}
/>
<div className="financialCityLan-header">
<div className="financialCityLan-view">
<div className={classnames('left-view', { 'left-active-view': activeView === 'left' })}>
......
......@@ -356,13 +356,13 @@ class VirtualCloudPlatform extends Component {
console.log(topologyData);
return (
<div className="virtualCloudPlatform-wrapper">
{/* <AmosWebSocket
<AmosWebSocket
ref={node => this.aws = node}
url={SysWsURL.virtualCloudPlatformURI}
url={SysWsURL.technologyIpURI}
onMessage={this.handleData}
reconnect
debug
/> */}
/>
<div className="virtualCloudPlatform-header">
<div className="virtualCloudPlatform-view">
<div className={classnames('left-view', { 'left-active-view': activeView === 'left' })}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment