From b13b6684a3c43f6cbef13848b5e8ec1785f08ea3 Mon Sep 17 00:00:00 2001 From: geun <1416geun@naver.com> Date: Mon, 30 Oct 2023 11:50:37 +0900 Subject: [PATCH] =?UTF-8?q?notam=20=EC=A0=95=EB=B3=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/custom.css | 12 ++- src/views/control/main/ControlMain.js | 143 +++++++++++++++++++++++++- 2 files changed, 153 insertions(+), 2 deletions(-) diff --git a/src/assets/css/custom.css b/src/assets/css/custom.css index 2ec7c80..8f02fe5 100644 --- a/src/assets/css/custom.css +++ b/src/assets/css/custom.css @@ -1089,4 +1089,14 @@ caption {overflow: hidden; line-height: 0;text-indent: -2000px;} .coords-box-scroll .etc{margin:0 6px} .coords-box + .coords-box{margin-left:1rem} .right-btn{display: flex; align-items: center;} -.right-btn .etc-txt{font-weight:400;margin-right:1rem;} \ No newline at end of file +.right-btn .etc-txt{font-weight:400;margin-right:1rem;} + +.notam-btn{width:20px;height:20px;padding:0;position:absolute;} +.notam-info{height:600px;overflow:auto;} +.notam-modal table{margin:1rem 0;border:1px solid #ddd;} +.notam-modal table tr th, .notam-modal table tr td{padding:0.4rem 0.8rem;vertical-align:middle;} +.notam-modal table thead tr{border-bottom:1px solid #ddd;} +.notam-modal table thead tr th{font-weight:500;border:0;background:#f4f4f4;font-size:0.875rem;border-right:1px solid #ddd;text-align:center} +.notam-modal table tbody tr{border-bottom:1px solid #ddd;} +.notam-modal table tbody tr th{font-weight:500;background:#f4f4f4;font-size:0.875rem;border-right:1px solid #ddd;min-width:150px;text-align:center;} +.notam-modal table tbody tr td{border:0;background:#fff;font-size:0.875rem;} \ No newline at end of file diff --git a/src/views/control/main/ControlMain.js b/src/views/control/main/ControlMain.js index d40740d..6064745 100644 --- a/src/views/control/main/ControlMain.js +++ b/src/views/control/main/ControlMain.js @@ -18,7 +18,14 @@ import { import { AiOutlinePoweroff, AiOutlineExclamation } from 'react-icons/ai'; import { IoAlertOutline } from 'react-icons/io5'; import { ReactComponent as DroneMenuIcon } from '../../../assets/images/drone_menu_icon.svg'; -import { Card, Button } from 'reactstrap'; +import { + Card, + Button, + Modal, + ModalHeader, + ModalBody, + ModalFooter +} from 'reactstrap'; import ControlAlarmNotice from '../alarm/ControlAlarmNotice'; import ControlReportList from '../report/ControlReportList'; import ControlReportDetail from '../report/ControlReportDetail'; @@ -165,6 +172,8 @@ const ControlMain = () => { } }; + const [centeredModal, setCenteredModal] = useState(false); + return ( <> @@ -297,6 +306,137 @@ const ControlMain = () => { + + setCenteredModal(!centeredModal)} + className='modal-dialog-centered modal-lg notam-modal' + > + setCenteredModal(!centeredModal)}> + NOTAM 정보 + + +
+ Z0638/23 +
+ GG RKZZNAXX +
+ 250712 RKRRYNYX +
+ (Z0638/23 NOTAMN +
+ Q)RKRR/QWMLW/IV/BO/AW/000/002/3735N12647E005 +
+ A)RKSS
+ B)2310011000
+ C)2310281200 +
+ D)01 08 14 17 25 28 1000-1200 +
+ E)FIREWORKS WILL TAKE PLACE AS FLW : A CIRCLE RADIUS 100M CENTERED + ON 373547N1264720E +
+ F)SFC G)200FT AMSL) +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
항목내용
NOTAM번호Z0638/23신규
비행정보구역인천비행정보구역(RKRR)
QCODE + 미사일, 총포, 로켓발사 일어날 예정이다(특정 상황 및 내용 + 표기)(QWMLW) +
비행방식계기비행(IFR) 및 시계비행(VFR)
목적PIB포함, 항공기운항
적용범위비행장, 항행경고
고도지표면 ~ 200FT
지리참조기준점(위치)[북위]37도35분 [동경]126도47분
반경서울/김포 국제 공항(RKSS)
B항목(발효일시) + 국제표준시 23년 10월01일 10시00분(한국표준시 23년 10월01일 + 19시00분) +
C항목(종료일시) + 국제표준시 23년 10월28일 12시00분(한국표준시 23년 10월28일 + 21시00분 +
D항목(일정)01 08 14 17 25 28 1000-1200
E항목(NOTAM 본문) + FIREWORKS WILL TAKE PLACE AS FLW : A CIRCLE RADIUS 100M + CENTERED ON 373547N1264720E +
F항목(하한)지표면(SFC)
G항목(상한)200FT AMSL
+
+
+ + + +
{/*
@@ -315,6 +455,7 @@ const ControlMain = () => {
*/}
+ {oepnReportList ? (