Delegate fin ejecuta 2
parent
297d960b90
commit
2e87fb3240
|
|
@ -12,6 +12,7 @@ using OliviaAddInPro.Helper;
|
|||
using System.Net;
|
||||
using System.Net.Sockets;
|
||||
using System.IO;
|
||||
using System.Windows;
|
||||
|
||||
namespace OliviaAddInPro.Model
|
||||
{
|
||||
|
|
@ -48,8 +49,8 @@ namespace OliviaAddInPro.Model
|
|||
public static string DirData; //<Dir donde están los shapefiles data y nw
|
||||
public static string PathData; //<Path del shp con datos a planificar, ya filtrados e intersecados con las zonas y niveles
|
||||
public static string PathNW; //<Path del shp con la red navegable
|
||||
|
||||
//paths GDBs
|
||||
|
||||
//paths GDBs
|
||||
public static string PathGdbGen; //<Path de la gdb general de la que se extraen los datos de interés
|
||||
public static string PathGdbNw; //<Path de la gdb referente a la red de carreteras de TOMTOM
|
||||
public static string PathSimbVSM; //<Path de la galeria de estilos aplicada por VSM
|
||||
|
|
@ -70,7 +71,7 @@ namespace OliviaAddInPro.Model
|
|||
*/
|
||||
public static int TiempoOutSocket;
|
||||
};
|
||||
/**
|
||||
/**
|
||||
* Nombre de las capas que se van a necesitar para la exportación de datos
|
||||
*/
|
||||
public struct Capas
|
||||
|
|
@ -124,7 +125,7 @@ namespace OliviaAddInPro.Model
|
|||
if (!resp.Value && resp.HasError)
|
||||
{
|
||||
HelperGlobal.ponMsg(resp.Error.First());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static bool IsLimp()
|
||||
|
|
@ -191,7 +192,7 @@ namespace OliviaAddInPro.Model
|
|||
DockpaneRecogidaViewModel.Hide_();
|
||||
}
|
||||
}
|
||||
else if(OliviaGlob.IsProps())
|
||||
else if (OliviaGlob.IsProps())
|
||||
{
|
||||
if (sh)
|
||||
{
|
||||
|
|
@ -206,7 +207,7 @@ namespace OliviaAddInPro.Model
|
|||
|
||||
/**
|
||||
* Comprueba que está configurada la red navegable e incluye los campos necesarios
|
||||
*/
|
||||
*/
|
||||
public static bool CompruebaNwYCampos()
|
||||
{
|
||||
ArcGIS.Core.Data.FeatureClass ft = HelperGdb.GetFtClass(OliviaGlob.Paths.PathGdbNw);
|
||||
|
|
@ -293,7 +294,7 @@ namespace OliviaAddInPro.Model
|
|||
{
|
||||
resp.Error.Add("No se encuentran las librerías necesarias, compruebe la instalación");
|
||||
resp.Value = false;
|
||||
return resp;
|
||||
return resp;
|
||||
}
|
||||
resp.Value = true;
|
||||
return resp;
|
||||
|
|
@ -319,10 +320,13 @@ namespace OliviaAddInPro.Model
|
|||
{
|
||||
HelperGlobal.ponMsg(Resource1.String_exito);
|
||||
}
|
||||
Application.Current.Dispatcher.Invoke(new Action(() => { finEjecuta2(); }));
|
||||
//tiene que hacer delegate finEjecuta2()
|
||||
}
|
||||
|
||||
|
||||
public static void finEjecuta2()
|
||||
{
|
||||
{
|
||||
//muestra la ventana
|
||||
ShowHidePane(true);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue