派生自 wuyushui/SewerAndRainNetwork

chenyabin
2021-05-14 4cffa15b0abf94067938db9694a08e2c7bfadf3d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
 
// export const PIPELINE_WMS = 'http://xearth.cn:6240/geoserver/sewer/wms'
export const WMS_URL = 'http://10.238.235.179:6240/geoserver/sewer/wms'
export const WFS_URL = 'http://10.238.235.179:6240/geoserver/sewer/ows?service=WFS'
 
export const GEOM_TYPE = {
  POINT: 'point',
  LINE: 'line',
  POLYGON: 'polygon'
}
 
export const SERVICE_TYPE = {
  WFS: 'wfs',
  WMS: '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: '排放口类型',
  level: '级别',
  length: '长度(m)',
  unitname: '单位名称',
  pipename: '管线名称',
  subchaname: '支线名称',
  subchacode: '支线编码',
  mediumtype: '输送介质',
  startposname: '起点位置名称',
  endposname: '终点位置名称',
  pressureating: '设计压力(MPa)',
  designtranyear: '设计输量(万立/年)',
  earningcapacity: '实际输量(万立/年)',
  buriedtime: '埋设时间',
  coatingmaterial: '防腐状况',
  inservicetime: '投产时间',
  reportname: '填报人姓名',
  reportphone: '填报人联系方式',
  diameter: '管径(mm)',
  meterial: '材质',
  pressuerating: '管道压力(Mpa)',
  embeddingmode: '埋设方式',
  pipetrenchtype: '管沟类型',
  datecollected: '探测时间',
  operationalstatus: '运行状态',
  fourtype: '四通类型',
  fourm: '四通材料'
}