C# 클래스 ClosestFacilitySolver.frmClosestFacilitySolver

파일 보기 프로젝트 열기: Esri/arcobjects-sdk-community-samples 1 사용 예제들

공개 메소드들

메소드 설명
CreateSolverContext ( INetworkDataset networkDataset ) : void

Create NASolver and NAContext

DisplayOutput ( ) : void

Display analysis results in the list box

GetDENetworkDataset ( INetworkDataset networkDataset ) : IDENetworkDataset

Geodatabase function: get network dataset

GetGPMessagesAsString ( IGPMessages gpMessages ) : string
LoadNANetworkLocations ( string strNAClassName, IFeatureClass inputFC, double maxSnapTolerance ) : void

Set solver settings

OpenNetworkDataset ( IWorkspace workspace, string featureDatasetName, string strNDSName ) : INetworkDataset

Geodatabase function: open network dataset

OpenWorkspace ( string strGDBName ) : IWorkspace

Geodatabase function: open work space

RefreshMapDisplay ( ) : void
SetSolverSettings ( ) : void

Set solver settings

frmClosestFacilitySolver ( ) : System

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
Initialize ( ) : void

Initialize the solver by calling the ArcGIS Network Analyst extension functions.

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

IsNumeric ( string str ) : bool

Check whether a string represents a double value.

cmdSolve_Click ( object sender, System e ) : void

Call the Closest Facility cost matrix solver and display the results

메소드 상세

CreateSolverContext() 공개 메소드

Create NASolver and NAContext
public CreateSolverContext ( INetworkDataset networkDataset ) : void
networkDataset INetworkDataset Input network dataset
리턴 void

DisplayOutput() 공개 메소드

Display analysis results in the list box
public DisplayOutput ( ) : void
리턴 void

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

GetDENetworkDataset() 공개 메소드

Geodatabase function: get network dataset
public GetDENetworkDataset ( INetworkDataset networkDataset ) : IDENetworkDataset
networkDataset INetworkDataset Input network dataset
리턴 IDENetworkDataset

GetGPMessagesAsString() 공개 메소드

public GetGPMessagesAsString ( IGPMessages gpMessages ) : string
gpMessages IGPMessages GPMessages container
리턴 string

LoadNANetworkLocations() 공개 메소드

Set solver settings
public LoadNANetworkLocations ( string strNAClassName, IFeatureClass inputFC, double maxSnapTolerance ) : void
strNAClassName string NAClass name
inputFC IFeatureClass Input feature class
maxSnapTolerance double Max snap tolerance
리턴 void

OpenNetworkDataset() 공개 메소드

Geodatabase function: open network dataset
public OpenNetworkDataset ( IWorkspace workspace, string featureDatasetName, string strNDSName ) : INetworkDataset
workspace IWorkspace Input workspace
featureDatasetName string
strNDSName string Input network dataset name
리턴 INetworkDataset

OpenWorkspace() 공개 메소드

Geodatabase function: open work space
public OpenWorkspace ( string strGDBName ) : IWorkspace
strGDBName string Input file name
리턴 IWorkspace

RefreshMapDisplay() 공개 메소드

public RefreshMapDisplay ( ) : void
리턴 void

SetSolverSettings() 공개 메소드

Set solver settings
public SetSolverSettings ( ) : void
리턴 void

frmClosestFacilitySolver() 공개 메소드

public frmClosestFacilitySolver ( ) : System
리턴 System