probada ventana para pedir nombre de ftclass
parent
31ded359f6
commit
dd2c58667d
|
|
@ -394,7 +394,8 @@
|
|||
<!--<Import Project="Esri.ArcGISPro.Extensions.targets" Condition="Exists('Esri.ArcGISPro.Extensions.targets')" />-->
|
||||
<Import Project="$(ArcGISFolder)\bin\Esri.ProApp.SDK.Desktop.targets" Condition="Exists('$(ArcGISFolder)\bin\Esri.ProApp.SDK.Desktop.targets') AND !Exists('Esri.ArcGISPro.Extensions.targets')" />
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>copy $(ProjectDir)Model\OliviaDef.cs $(SolutionDir)..\Olivia\includes\Olivia\</PostBuildEvent>
|
||||
<PostBuildEvent>
|
||||
</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
|
|
|
|||
|
|
@ -176,8 +176,8 @@ namespace OliviaAddInPro.Services
|
|||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
//ahora si está en modo planificación y la capa no tiene esa columna, exporta la sectorización
|
||||
if (modo==ModosEjec.Planifica && !string.IsNullOrEmpty(com.CapaPlanif))
|
||||
//ahora si está en modo planificación, ya ha hecho una ejec antes y la capa no tiene esa columna pero la tiene guardada de la ejec anterior, exporta la sectorización
|
||||
if (modo==ModosEjec.Planifica && !string.IsNullOrEmpty(com.CapaPlanif) && OliviaGlob.IsConfig2())
|
||||
{
|
||||
string capa_principal = System.IO.Path.GetFileNameWithoutExtension(OliviaGlob.Paths.PathData);
|
||||
HelperGdb.CloseLayer(capa_principal);
|
||||
|
|
@ -795,7 +795,13 @@ namespace OliviaAddInPro.Services
|
|||
}
|
||||
//avisa ahora para dar tiempo?
|
||||
if (!string.IsNullOrEmpty(msg_avisa))
|
||||
HelperGlobal.ponMsg(msg_avisa);
|
||||
{
|
||||
if(!HelperGlobal.ponMsg(msg_avisa, MessageBoxImage.Question, "OLIVIA", MessageBoxButton.OKCancel))
|
||||
{
|
||||
res.Error.Add("Proceso de importación Cancelado por el usuario");
|
||||
return res;
|
||||
}
|
||||
}
|
||||
|
||||
string dataset = tratamiento;
|
||||
/////////////////////////////////////////
|
||||
|
|
|
|||
|
|
@ -111,6 +111,8 @@ namespace OliviaAddInPro.Services
|
|||
{
|
||||
if (string.IsNullOrEmpty(resp2.Value))
|
||||
{
|
||||
//quita modo config2
|
||||
OliviaGlob.RemoveFlagTipEjec(TiposEjecucion.Config2);
|
||||
if (resp2.HasError)
|
||||
{
|
||||
msg = resp2.Error.First();
|
||||
|
|
|
|||
|
|
@ -213,6 +213,7 @@ namespace OliviaAddInPro
|
|||
TipoTto = -1;
|
||||
VisTextAnchoVia = System.Windows.Visibility.Hidden;
|
||||
OliviaGlob.AddFlagTipEjec(TiposEjecucion.Config); //lo reinicia, por si estaba después de planificar
|
||||
OliviaGlob.RemoveFlagTipEjec(TiposEjecucion.Config2);
|
||||
if (string.IsNullOrEmpty(capa))
|
||||
return false;
|
||||
//comprueba los campos de limpieza
|
||||
|
|
|
|||
Loading…
Reference in New Issue