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
01df0c6b
Commit
01df0c6b
authored
Jun 19, 2020
by
张博
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://172.16.10.76/station/amos-station-module-view
into developer
parents
3d5d149c
055ea2b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
statistical.scss
...ts/3dviewConvertor/styles/view/panoramic/statistical.scss
+1
-0
View3D.js
mods/components/3dviewConvertor/view/View3D.js
+5
-4
No files found.
mods/components/3dviewConvertor/styles/view/panoramic/statistical.scss
View file @
01df0c6b
...
@@ -159,6 +159,7 @@
...
@@ -159,6 +159,7 @@
padding-top
:
7px
;
padding-top
:
7px
;
cursor
:
pointer
;
cursor
:
pointer
;
border-bottom
:
1px
solid
rgba
(
196
,
86
,
86
,
0
.3
);
border-bottom
:
1px
solid
rgba
(
196
,
86
,
86
,
0
.3
);
user-select
:
none
;
}
}
}
}
}
}
...
...
mods/components/3dviewConvertor/view/View3D.js
View file @
01df0c6b
...
@@ -23,7 +23,8 @@ import {
...
@@ -23,7 +23,8 @@ import {
tirggerTransTopic
,
tirggerTransTopic
,
cacheObjsSave
,
cacheObjsSave
,
flyToSubView
,
flyToSubView
,
convertMarkerType
convertMarkerType
,
showSelectMarkerPoint
}
from
'./dataProcessor'
;
}
from
'./dataProcessor'
;
import
{
import
{
dealTroubleMarkers
,
dealTroubleMarkers
,
...
@@ -260,7 +261,6 @@ class View3D extends Component {
...
@@ -260,7 +261,6 @@ class View3D extends Component {
}
}
_registerEvents
=
()
=>
{
_registerEvents
=
()
=>
{
this
.
r3d
.
on
(
'dbclick'
,
evt
=>
{
this
.
r3d
.
on
(
'dbclick'
,
evt
=>
{
if
(
evt
.
button
!==
0
)
{
if
(
evt
.
button
!==
0
)
{
return
;
return
;
...
@@ -305,7 +305,6 @@ class View3D extends Component {
...
@@ -305,7 +305,6 @@ class View3D extends Component {
if
(
isControllerEvent
(
topic
))
{
if
(
isControllerEvent
(
topic
))
{
executeView3dCMD
(
this
,
topic
,
data
);
executeView3dCMD
(
this
,
topic
,
data
);
}
else
if
(
isManualOperate
(
topic
))
{
}
else
if
(
isManualOperate
(
topic
))
{
parseManual
(
this
,
topic
,
data
);
parseManual
(
this
,
topic
,
data
);
}
else
if
(
topic
===
eventTopics
.
show_fire_equip
)
{
}
else
if
(
topic
===
eventTopics
.
show_fire_equip
)
{
this
.
asyncLoadMarkerData
(
'fireResource'
);
this
.
asyncLoadMarkerData
(
'fireResource'
);
...
@@ -313,6 +312,8 @@ class View3D extends Component {
...
@@ -313,6 +312,8 @@ class View3D extends Component {
this
.
viewFreshInit
();
this
.
viewFreshInit
();
}
else
if
(
topic
===
eventTopics
.
exceptionAreas_fresh
)
{
}
else
if
(
topic
===
eventTopics
.
exceptionAreas_fresh
)
{
this
.
initExceptionAreasData
();
this
.
initExceptionAreasData
();
}
else
if
(
topic
===
eventTopics
.
safety_db_select
)
{
showSelectMarkerPoint
(
this
,
data
.
target
);
}
}
});
});
};
};
...
@@ -1889,7 +1890,7 @@ class View3D extends Component {
...
@@ -1889,7 +1890,7 @@ class View3D extends Component {
>
>
{
startAsyncLoad
&&
this
.
multLoadWorkerObjContent
(
asyncModels
)}
{
startAsyncLoad
&&
this
.
multLoadWorkerObjContent
(
asyncModels
)}
{
isEditMode
&&
pageType
===
'region'
?
''
:
{
isEditMode
&&
pageType
===
'region'
?
''
:
isOutterView
&&
<
PointsPool
showRightPanelOnclick
=
{
this
.
showRightPanelOnclick
}
markers
=
{
markers
}
isEditMode
=
{
isEditMode
}
selectPoints
=
{
selectPoints
}
updateMarker
=
{
this
.
updateMarker
}
planStarted
=
{
alarmStarted
}
stagePilot
=
{
this
.
stagePilot
}
positionCtl
=
{
this
.
positionCtl
}
addMarker
=
{
this
.
addMarker
}
ref
=
{
node
=>
this
.
pointsPool
=
node
}
/>
}
isOutterView
&&
<
PointsPool
showRightPanelOnclick
=
{
this
.
showRightPanelOnclick
}
markers
=
{
markers
}
isEditMode
=
{
isEditMode
}
selectPoints
=
{
selectPoints
}
updateMarker
=
{
this
.
updateMarker
}
planStarted
=
{
alarmStarted
}
stagePilot
=
{
this
.
stagePilot
}
positionCtl
=
{
this
.
positionCtl
}
addMarker
=
{
this
.
addMarker
}
focusObject
=
{
this
.
focusObject
}
/>
}
{
fireTruckRoute
&&
<
FatLine
{...
lineData
.
fatLineConf
}
linePath
=
{
JSON
.
parse
(
fireTruckRoute
)}
visible
=
{
showFireTruckRoute
}
/>
}
{
fireTruckRoute
&&
<
FatLine
{...
lineData
.
fatLineConf
}
linePath
=
{
JSON
.
parse
(
fireTruckRoute
)}
visible
=
{
showFireTruckRoute
}
/>
}
<
FlameFire
position
=
{
firePosition
}
width
=
{
10
}
height
=
{
20
}
depth
=
{
8
}
sliceSpacing
=
{
1
}
visible
=
{
planStarted
}
/
>
<
FlameFire
position
=
{
firePosition
}
width
=
{
10
}
height
=
{
20
}
depth
=
{
8
}
sliceSpacing
=
{
1
}
visible
=
{
planStarted
}
/
>
{
isEditMode
&&
this
.
renderAreas
()}
{
isEditMode
&&
this
.
renderAreas
()}
...
...
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