| | |
| | | config: RTExcWindLevelConfig, |
| | | windLevelCondition: RTExcWindLevelConfig.WindLevelCondition, |
| | | ) : this() { |
| | | distanceType = windLevelCondition.mutationRate.second |
| | | distanceType = windLevelCondition.distanceType |
| | | sourceTrace(exceptionData, config, windLevelCondition) |
| | | } |
| | | |
| | |
| | | polygon = calSector( |
| | | avgData.windSpeed!!.toDouble(), |
| | | pair, |
| | | windLevelCondition.mutationRate.second.disRange, |
| | | windLevelCondition.distanceType.disRange, |
| | | config.sourceTraceDegOffset |
| | | ) |
| | | ).map { |
| | | // 将坐标转换为gcj02(火星坐标系),因为污染源场景信息都为此坐标系 |
| | | MapUtil.wgs84ToGcj02(it) |
| | | } |
| | | |
| | | try { |
| | | val address = AMapService.reGeo(pair) |
| | | this.address = address.township + address.street |
| | | this.address = address.district + address.township + address.street |
| | | } catch (e: Exception) { |
| | | e.printStackTrace() |
| | | } |