C# Class A4WaterUtilities.GeoNetTools

Datei anzeigen Open project: Esri/local-government-desktop-addins

Public Methods

Method Description
AddBarrier ( IPoint pPnt, IApplication app, double snapTol, bool showDialog ) : bool
AddFlag ( IPoint pPnt, IApplication app, double snapTol ) : void
AddFlagsForSewerProfile ( IApplication app, double snapTol, List ProfileGraph ) : void
CalculateFlowAccum ( List sumFlowAcc, IApplication app ) : void
CalculateFlowAccumAtLocation ( List sumFlowAcc, IApplication app, double snapTol ) : void
CheckConnections ( IApplication app, bool CheckVisibleOnly ) : void
ConnectSelected ( IApplication app ) : void
DisconnectSelected ( IApplication app ) : void
EstablishFlow ( Globals flowDirection, IApplication app ) : void
MoveConnectionsToNewLine ( IApplication app, double snapTol, List moveConDetails ) : void
RemoveFlagBarrier ( IPoint pPnt, IApplication app, double snapTol ) : void
ShowArrows ( IApplication app ) : void
ToggleOperableStatus ( IApplication app, IPoint point, bool showMessage, string ISOvalveFeatureLayerName, string ISOsourceFeatureLayerName, string ISOoperableFieldNameValves, string ISOoperableFieldNameSources, string ISOoperableValues, double SnapTol ) : IEnvelope
TraceFindClosest ( double x, double y, IApplication app, string targetFLName, string sWeightName, double snapTol, bool processEvent, bool traceIndeterminate ) : string
TraceFlow ( IPoint &point, IApplication app, esriFlowMethod flow, double snapTol, bool traceIndeterminate, bool selectEdges ) : void
TraceIsolation ( double x, double y, IApplication app, string sourceFLName, string valveFLName, string operableFieldNameValves, string operableFieldNameSources, double snapTol, bool processEvent, string opValues, string addSQL, bool traceIndeterminate, bool ZeroSourceCont, bool selectEdges, string MeterName, string MeterCritField, string MeterCritVal, string closedValveQuery, IFeatureLayer mainsFL, IPolyline &mergedLines, List &lineOIDs, bool addResultsAsLayer, bool suppressDialog = false ) : string
TraceIsolationSummary ( IApplication app, string sourceFLName, string valveFLName, string operableFieldNameValve, string operableFieldNameSource, double snapTol, bool processEvent, string opValues, string addSQL, bool traceIndeterminate, bool ZeroSourceCont, string mainsFLName, string meterFLName, string metersCritFieldName, string metersCritValue, string traceSum_LayerName, string traceSum_FacilityIDField, string traceSum_DateFieldName, string traceSum_ValveCountFieldName, string traceSum_MeterCountFieldName, string traceSum_CritMeterCountFieldName, string traceSum_CommentsFieldName, bool saveEntireLine ) : void
TracePath ( double Xs, double Ys, string GeoNetName, IApplication app, IMap map, bool traceIndeterminate, double snapTol, bool selectEdges, IEnumNetEID &juncEIDs, IEnumNetEID &edgeEIDs, IGeometricNetwork &gn ) : string
batchLoadBarriers ( IApplication app ) : void

Private Methods

Method Description
ProfileCreateGraph ( IApplication app, List ProfileGraph, IPolyline pPolyline, List SewerColMains, List SewerColManholes, List SewerColTap, int CurrentDetail ) : void
ProfileGetRelatedElevData ( IApplication app, List ProfileGraph, IGeometricNetwork pGeometricNet, IEnumNetEID pResultEdges, IEnumNetEID pResultJunctions, int CurrentDetail, IFeatureLayer &pFLManhole, IFeatureLayer &pFLMain, IFeatureLayer &pFLTap ) : void
createLine2Fields ( ) : IFields
createLineFields ( ) : IFields
createLineLabelFields ( ) : IFields
createPointFields ( ) : IFields
createProfileFields ( ) : IFields
createProfilePointFields ( ) : IFields
createSurfaceFields ( ) : IFields

Method Details

AddBarrier() public static method

public static AddBarrier ( IPoint pPnt, IApplication app, double snapTol, bool showDialog ) : bool
pPnt IPoint
app IApplication
snapTol double
showDialog bool
return bool

AddFlag() public static method

public static AddFlag ( IPoint pPnt, IApplication app, double snapTol ) : void
pPnt IPoint
app IApplication
snapTol double
return void

AddFlagsForSewerProfile() public static method

public static AddFlagsForSewerProfile ( IApplication app, double snapTol, List ProfileGraph ) : void
app IApplication
snapTol double
ProfileGraph List
return void

CalculateFlowAccum() public static method

public static CalculateFlowAccum ( List sumFlowAcc, IApplication app ) : void
sumFlowAcc List
app IApplication
return void

CalculateFlowAccumAtLocation() public static method

public static CalculateFlowAccumAtLocation ( List sumFlowAcc, IApplication app, double snapTol ) : void
sumFlowAcc List
app IApplication
snapTol double
return void

CheckConnections() public static method

public static CheckConnections ( IApplication app, bool CheckVisibleOnly ) : void
app IApplication
CheckVisibleOnly bool
return void

ConnectSelected() public static method

public static ConnectSelected ( IApplication app ) : void
app IApplication
return void

DisconnectSelected() public static method

public static DisconnectSelected ( IApplication app ) : void
app IApplication
return void

EstablishFlow() public static method

public static EstablishFlow ( Globals flowDirection, IApplication app ) : void
flowDirection Globals
app IApplication
return void

MoveConnectionsToNewLine() public static method

public static MoveConnectionsToNewLine ( IApplication app, double snapTol, List moveConDetails ) : void
app IApplication
snapTol double
moveConDetails List
return void

RemoveFlagBarrier() public static method

public static RemoveFlagBarrier ( IPoint pPnt, IApplication app, double snapTol ) : void
pPnt IPoint
app IApplication
snapTol double
return void

ShowArrows() public static method

public static ShowArrows ( IApplication app ) : void
app IApplication
return void

ToggleOperableStatus() public static method

public static ToggleOperableStatus ( IApplication app, IPoint point, bool showMessage, string ISOvalveFeatureLayerName, string ISOsourceFeatureLayerName, string ISOoperableFieldNameValves, string ISOoperableFieldNameSources, string ISOoperableValues, double SnapTol ) : IEnvelope
app IApplication
point IPoint
showMessage bool
ISOvalveFeatureLayerName string
ISOsourceFeatureLayerName string
ISOoperableFieldNameValves string
ISOoperableFieldNameSources string
ISOoperableValues string
SnapTol double
return IEnvelope

TraceFindClosest() public static method

public static TraceFindClosest ( double x, double y, IApplication app, string targetFLName, string sWeightName, double snapTol, bool processEvent, bool traceIndeterminate ) : string
x double
y double
app IApplication
targetFLName string
sWeightName string
snapTol double
processEvent bool
traceIndeterminate bool
return string

TraceFlow() public static method

public static TraceFlow ( IPoint &point, IApplication app, esriFlowMethod flow, double snapTol, bool traceIndeterminate, bool selectEdges ) : void
point IPoint
app IApplication
flow esriFlowMethod
snapTol double
traceIndeterminate bool
selectEdges bool
return void

TraceIsolation() public static method

public static TraceIsolation ( double x, double y, IApplication app, string sourceFLName, string valveFLName, string operableFieldNameValves, string operableFieldNameSources, double snapTol, bool processEvent, string opValues, string addSQL, bool traceIndeterminate, bool ZeroSourceCont, bool selectEdges, string MeterName, string MeterCritField, string MeterCritVal, string closedValveQuery, IFeatureLayer mainsFL, IPolyline &mergedLines, List &lineOIDs, bool addResultsAsLayer, bool suppressDialog = false ) : string
x double
y double
app IApplication
sourceFLName string
valveFLName string
operableFieldNameValves string
operableFieldNameSources string
snapTol double
processEvent bool
opValues string
addSQL string
traceIndeterminate bool
ZeroSourceCont bool
selectEdges bool
MeterName string
MeterCritField string
MeterCritVal string
closedValveQuery string
mainsFL IFeatureLayer
mergedLines IPolyline
lineOIDs List
addResultsAsLayer bool
suppressDialog bool
return string

TraceIsolationSummary() public static method

public static TraceIsolationSummary ( IApplication app, string sourceFLName, string valveFLName, string operableFieldNameValve, string operableFieldNameSource, double snapTol, bool processEvent, string opValues, string addSQL, bool traceIndeterminate, bool ZeroSourceCont, string mainsFLName, string meterFLName, string metersCritFieldName, string metersCritValue, string traceSum_LayerName, string traceSum_FacilityIDField, string traceSum_DateFieldName, string traceSum_ValveCountFieldName, string traceSum_MeterCountFieldName, string traceSum_CritMeterCountFieldName, string traceSum_CommentsFieldName, bool saveEntireLine ) : void
app IApplication
sourceFLName string
valveFLName string
operableFieldNameValve string
operableFieldNameSource string
snapTol double
processEvent bool
opValues string
addSQL string
traceIndeterminate bool
ZeroSourceCont bool
mainsFLName string
meterFLName string
metersCritFieldName string
metersCritValue string
traceSum_LayerName string
traceSum_FacilityIDField string
traceSum_DateFieldName string
traceSum_ValveCountFieldName string
traceSum_MeterCountFieldName string
traceSum_CritMeterCountFieldName string
traceSum_CommentsFieldName string
saveEntireLine bool
return void

TracePath() public static method

public static TracePath ( double Xs, double Ys, string GeoNetName, IApplication app, IMap map, bool traceIndeterminate, double snapTol, bool selectEdges, IEnumNetEID &juncEIDs, IEnumNetEID &edgeEIDs, IGeometricNetwork &gn ) : string
Xs double
Ys double
GeoNetName string
app IApplication
map IMap
traceIndeterminate bool
snapTol double
selectEdges bool
juncEIDs IEnumNetEID
edgeEIDs IEnumNetEID
gn IGeometricNetwork
return string

batchLoadBarriers() public static method

public static batchLoadBarriers ( IApplication app ) : void
app IApplication
return void