Beispiel #1
0
 public void SetNetWorkDataset_Layers()
 {
     View.SetNetWorkDataStatusText(false);
     if (NetWorkAnalysClass.SearchForNetWorkData(NetWorkAnalysClass.OpenNetWorkDataType.Layers))
     {
         View.ShowMessage("网络数据集获取成功");
         View.SetNetWorkDataStatusText(true);
     }
     else
     {
         View.ShowError("未找到合适的网络数据集!");
     }
 }
Beispiel #2
0
        public void SetNetWorkDataset_GDBFolder()
        {
            View.SetNetWorkDataStatusText(false);
            var outTuple = new Tuple <string, string>("", "");

            NetWorkAnalysClass.OutSourceGDBDatabasePath = View.OutGDBFolder;
            if (NetWorkAnalysClass.SearchForNetWorkData(NetWorkAnalysClass.OpenNetWorkDataType.GDBFolder, outTuple))
            {
                View.ShowMessage("网络数据集获取成功");
                View.DataBaseName = outTuple.Item1;
                View.DataSetname  = outTuple.Item2;
                View.SetNetWorkDataStatusText(true);
            }
            else
            {
                View.ShowError("未找到合适的网络数据集!");
            }
        }