From e97a404960da3964475aebbef4ff069be2e4ccfc Mon Sep 17 00:00:00 2001
From: ChenZeping02609 <chenzeping02609@163.com>
Date: 星期三, 12 五月 2021 17:54:29 +0800
Subject: [PATCH] 修改问题,污染源
---
src/conf/Constants.js | 62 +++++++++++++++++++++++++++++++
1 files changed, 62 insertions(+), 0 deletions(-)
diff --git a/src/conf/Constants.js b/src/conf/Constants.js
index 0c173b0..1eb2734 100644
--- a/src/conf/Constants.js
+++ b/src/conf/Constants.js
@@ -3,3 +3,65 @@
LINE: 'line',
POLYGON: 'polygon'
}
+
+export const SERVICE_TYPE = {
+ WFS: 'wfs',
+ WMS: 'wms'
+}
+
+export const WFS_URL = 'http://xearth.cn:6240/geoserver/sewer/ows?service=WFS'
+export const PIPELINE_WFS = 'http://xearth.cn:8088/server/ogcserver/PipeLine2/wfs'
+export const PIPELINE_WMS = 'http://xearth.cn:6240/geoserver/sewer/wms'
+
+export const logicMapper = {
+ wasteGasPfk: 'WasteGas.js',
+ wasteWaterPfk: 'WasteWater.js',
+ wasteSolidCcd: 'WasteSolid.js',
+ sewersAreaGs: 'Company.js',
+ pipesegment: 'PipeLineAnimal.js',
+ pollutionSources: 'SourcesPollution.js'
+}
+
+export const STYLES = {
+ FILL: true,
+ WEIGHT: 3,
+ FILL_COLOR: '#0070ff',
+ COLOR: '#73b2ff',
+ FILL_OPACITY: 0.2,
+ OPACITY: 1,
+ DASH_ARRAY: '4,4',
+ DASH_SPPED: -5,
+ ICON_SIZE: [10, 10]
+}
+
+export const props = {
+ code: '缂栧彿',
+ name: '鍚嶇О',
+ pfktype: '鎺掓斁鍙g被鍨�',
+ level: '绾у埆',
+ length: '闀垮害(m)',
+ unitname: '鍗曚綅鍚嶇О',
+ pipename: '绠$嚎鍚嶇О',
+ subchaname: '鏀嚎鍚嶇О',
+ subchacode: '鏀嚎缂栫爜',
+ mediumtype: '杈撻�佷粙璐�',
+ startposname: '璧风偣浣嶇疆鍚嶇О',
+ endposname: '缁堢偣浣嶇疆鍚嶇О',
+ pressureating: '璁捐鍘嬪姏锛圡Pa锛�',
+ designtranyear: '璁捐杈撻噺锛堜竾绔�/骞达級',
+ earningcapacity: '瀹為檯杈撻噺锛堜竾绔�/骞达級',
+ buriedtime: '鍩嬭鏃堕棿',
+ coatingmaterial: '闃茶厫鐘跺喌',
+ inservicetime: '鎶曚骇鏃堕棿',
+ reportname: '濉姤浜哄鍚�',
+ reportphone: '濉姤浜鸿仈绯绘柟寮�',
+ diameter: '绠″緞(mm)',
+ meterial: '鏉愯川',
+ pressuerating: '绠¢亾鍘嬪姏(Mpa)',
+ embeddingmode: '鍩嬭鏂瑰紡',
+ pipetrenchtype: '绠℃矡绫诲瀷',
+ datecollected: '鎺㈡祴鏃堕棿',
+ operationalstatus: '杩愯鐘舵��',
+ fourtype: '鍥涢�氱被鍨�',
+ fourm: '鍥涢�氭潗鏂�'
+}
--
Gitblit v1.8.0