Class: GoSectorColor

GoSectorColor

Interaction to call a hydraulic tool that lets you know which pipes and which valves you must act on to close the service in a preselected pipe:

new GoSectorColor(pipeId, tablePipe, tableValve, userStylePipes, userStyleValve, APP_ROOT_URL)

Interactions/geoTools/sectorColor/index.ts, line 33
Name Type Description
pipeId String

The id from a preselected pipe.From this pipe the geospatial calculation will begin

tablePipe String

The Pipe database table name.

tableValve String

The Valve database table name.

userStylePipes module:types~styleFromUser

The style we want to put on the Pipes layer

userStyleValve module:types~styleFromUser

The style we want to put on the Valves drawing layer

APP_ROOT_URL String

default "http://localhost:5000"

Properties:
Name Type Description
style Style
dataINsNames Array.<string>
dataClipsNames Array.<string>
pipeLayerName string

Methods

asyncgetSectorColorService(paramsService)

Interactions/geoTools/sectorColor/index.ts, line 92

Get the information from geoespatial Tool

Name Type Description
paramsService module:types~closeToolParams

User Style to the feature