Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-station-module-view
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
station
amos-station-module-view
Commits
6a99df55
Commit
6a99df55
authored
Aug 05, 2020
by
高东东
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置文件
parent
f492eb2d
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
22 deletions
+9
-22
amos.config.js
amos.config.js
+2
-15
urlConsts.js
mods/components/3dviewConvertor/consts/urlConsts.js
+5
-5
wsUrlConsts.js
mods/components/3dviewConvertor/consts/wsUrlConsts.js
+1
-1
LayerPool.js
mods/components/3dviewConvertor/view/LayerPool.js
+1
-1
No files found.
amos.config.js
View file @
6a99df55
...
...
@@ -7,25 +7,12 @@
Amos
.
config
=
{
// 普通http
httpURI
:
{
// 三维模型 uri 地址
objModelURI
:
'/a3dres'
,
// 根url
// baseURI: 'http://172.16.11.30:9008/',
baseURI
:
'http://172.16.3.63:8083/'
,
// convertorURI: 'http://172.16.3.122:8083/',
convertorURI
:
'http://172.16.3.63:8083/'
,
patrolURI
:
'http://172.16.3.63:9000/'
,
rulesConfigURI
:
'http://172.16.10.91:8080/'
,
// plugin URI
pluginURI
:
'http://172.16.11.40:8099/'
,
studioURI
:
'http://172.16.11.40:8099/'
baseURI
:
'http://172.16.3.63:10005/'
},
// websocket 地址
wsURI
:
{
pluginURI
:
'ws://172.16.11.40:10600/'
,
studioURI
:
'ws://172.16.11.40:10600/'
,
securityBaseURI
:
'ws://172.16.10.91:10600/'
,
convertorView3dURI
:
'ws://172.16.10.91:10600/'
,
baseURI
:
'ws://172.16.11.40:10600/'
,
ruleURI
:
'ws://172.16.3.77:8083/'
},
// 外部链接地址
...
...
mods/components/3dviewConvertor/consts/urlConsts.js
View file @
6a99df55
...
...
@@ -2,13 +2,13 @@ import * as endConf from 'amos-processor/lib/config/endconf';
const
completePrefix
=
endConf
.
completePrefix
;
const
AmosConfig
=
endConf
.
AmosConfig
;
const
convertorURI
=
AmosConfig
.
httpURI
.
convertor
URI
;
const
convertorURI
=
AmosConfig
.
httpURI
.
base
URI
;
// 三维视图
const
view3dURI
=
AmosConfig
.
httpURI
.
convertor
URI
;
const
patrolURI
=
AmosConfig
.
httpURI
.
patrol
URI
;
const
baseURI
=
AmosConfig
.
httpURI
.
convertor
URI
;
const
view3dURI
=
AmosConfig
.
httpURI
.
base
URI
;
const
patrolURI
=
AmosConfig
.
httpURI
.
base
URI
;
const
baseURI
=
AmosConfig
.
httpURI
.
base
URI
;
//规则
const
ruleURI
=
AmosConfig
.
httpURI
.
rulesConfig
URI
;
const
ruleURI
=
AmosConfig
.
httpURI
.
base
URI
;
export
const
ConvertorURI
=
convertorURI
;
...
...
mods/components/3dviewConvertor/consts/wsUrlConsts.js
View file @
6a99df55
...
...
@@ -7,7 +7,7 @@ const completePrefix = endConf.completePrefix;
const
AmosConfig
=
endConf
.
AmosConfig
;
const
convertorView3dURI
=
AmosConfig
.
wsURI
.
convertorView3d
URI
;
const
convertorView3dURI
=
AmosConfig
.
wsURI
.
base
URI
;
const
ruleURI
=
AmosConfig
.
wsURI
.
ruleURI
;
const
getToken
=
()
=>
{
...
...
mods/components/3dviewConvertor/view/LayerPool.js
View file @
6a99df55
...
...
@@ -95,7 +95,7 @@ class LayerPool extends Component {
const
{
detailPos
,
recordPos
,
setupPos
,
operatePos
,
monitorPos
,
waterPos
,
displayDetail
,
planStarted
,
fireResourceData
}
=
this
.
state
;
const
{
animationProps
,
planStart
,
planQuit
}
=
this
.
props
;
let
detailTop
=
planStarted
?
detailPos
.
top
:
detailPos
.
planStartTop
;
let
wsURL
=
AmosConfig
.
wsURI
.
securityB
aseURI
+
'plan'
;
let
wsURL
=
AmosConfig
.
wsURI
.
b
aseURI
+
'plan'
;
return
(
<
div
className
=
"layer-pool"
>
<
AmosWebSocket
ref
=
{
node
=>
this
.
aws
=
node
}
url
=
{
wsURL
}
onMessage
=
{
this
.
handleData
}
reconnect
debug
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment