Merge branch 'Gerardo/ErrorGuardadoCSV' into develop
# Conflicts: # Conexion/Cstr_socket.cs # Helper/HelperGdb.cs # Services/EjecServ.cs # Services/LanzaSrv/LanzaLimpSrv.cs # Services/ProcesoEjecServ.cs # View/Configuracion/PaneConfigView.xaml # View/Limpieza/PaneLimpiezaSub2.xaml.cs # ViewModel/Limpieza/PaneLimpiezaSub1ViewModel.csdevelop
commit
002d3edd17
Binary file not shown.
|
|
@ -3,6 +3,7 @@ using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Controls;
|
||||||
using ArcGIS.Core.CIM;
|
using ArcGIS.Core.CIM;
|
||||||
using ArcGIS.Core.Data;
|
using ArcGIS.Core.Data;
|
||||||
using ArcGIS.Core.Geometry;
|
using ArcGIS.Core.Geometry;
|
||||||
|
|
@ -18,6 +19,7 @@ using ArcGIS.Desktop.Framework.Threading.Tasks;
|
||||||
using ArcGIS.Desktop.Mapping;
|
using ArcGIS.Desktop.Mapping;
|
||||||
using OliviaAddInPro.Helper;
|
using OliviaAddInPro.Helper;
|
||||||
using OliviaAddInPro.Model;
|
using OliviaAddInPro.Model;
|
||||||
|
using Button = ArcGIS.Desktop.Framework.Contracts.Button;
|
||||||
|
|
||||||
namespace OliviaAddInPro
|
namespace OliviaAddInPro
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,12 @@
|
||||||
<ArcGIS defaultAssembly="OliviaAddInPro.dll" defaultNamespace="OliviaAddInPro" xmlns="http://schemas.esri.com/DADF/Registry" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.esri.com/DADF/Registry file:///C:/Program%20Files/ArcGIS/Pro/bin/ArcGIS.Desktop.Framework.xsd">
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<AddInInfo id="{10742570-cf59-42f2-bea2-2a38002a06ee}" version="3.0" desktopVersion="2.8.29751">
|
<ArcGIS defaultAssembly="OliviaAddInPro.dll" defaultNamespace="OliviaAddInPro" xmlns="http://schemas.esri.com/DADF/Registry" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.esri.com/DADF/Registry file:///C:/Program%20Files/ArcGIS/Pro/bin/ArcGIS.Desktop.Framework.xsd">
|
||||||
|
<AddInInfo id="{10742570-cf59-42f2-bea2-2a38002a06ee}" version="3.2" desktopVersion="3.0.3.36057">
|
||||||
<Name>OliviaAddInPro</Name>
|
<Name>OliviaAddInPro</Name>
|
||||||
<Description>AddIn de Optimización de la Limpieza Viaria para ArcGIs Pro</Description>
|
<Description>AddIn de Optimización de la Limpieza Viaria para ArcGIs Pro</Description>
|
||||||
<Image>Images\AddinDesktop32.png</Image>
|
<Image>Images\AddinDesktop32.png</Image>
|
||||||
<Author>VSM</Author>
|
<Author>VSM</Author>
|
||||||
<Company>VSM - Narvaling</Company>
|
<Company>VSM - Narvaling</Company>
|
||||||
<Date>08/07/2022 12:00:00, 2022</Date>
|
<Date>18/04/2023 12:00:00, 2023</Date>
|
||||||
<Subject>Framework</Subject>
|
<Subject>Framework</Subject>
|
||||||
<!-- Note subject can be one or more of these topics:
|
<!-- Note subject can be one or more of these topics:
|
||||||
Content, Framework, Editing, Geodatabase, Geometry, Geoprocessing, Layouts, Map Authoring, Map Exploration -->
|
Content, Framework, Editing, Geodatabase, Geometry, Geoprocessing, Layouts, Map Authoring, Map Exploration -->
|
||||||
|
|
|
||||||
|
|
@ -25,12 +25,14 @@ using OliviaAddInPro.Model.contract;
|
||||||
using ArcGIS.Core.Data.DDL;
|
using ArcGIS.Core.Data.DDL;
|
||||||
using ArcGIS.Core.CIM;
|
using ArcGIS.Core.CIM;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
using ArcGIS.Core.Data.Exceptions;
|
||||||
using Microsoft.Win32;
|
using Microsoft.Win32;
|
||||||
|
using Microsoft.WindowsAPICodePack.Dialogs;
|
||||||
|
|
||||||
namespace OliviaAddInPro.Helper
|
namespace OliviaAddInPro.Helper
|
||||||
{
|
{
|
||||||
public static class HelperGdb
|
public static class HelperGdb
|
||||||
{
|
{
|
||||||
private static string out_str = string.Empty;
|
private static string out_str = string.Empty;
|
||||||
public static string OutStr
|
public static string OutStr
|
||||||
{
|
{
|
||||||
|
|
@ -76,7 +78,7 @@ namespace OliviaAddInPro.Helper
|
||||||
}
|
}
|
||||||
|
|
||||||
//Proceso para sacar un diálogo y seleccionar una o varias geometrías de dentro de una fclass
|
//Proceso para sacar un diálogo y seleccionar una o varias geometrías de dentro de una fclass
|
||||||
public static ArcGIS.Core.Geometry.Geometry OpenGeom(TiposOpenFileDlg tipo, out string txt_sal, string initialLoc = "", bool multisel=false)
|
public static ArcGIS.Core.Geometry.Geometry OpenGeom(TiposOpenFileDlg tipo, out string txt_sal, string initialLoc = "", bool multisel = false)
|
||||||
{
|
{
|
||||||
//inicialmente
|
//inicialmente
|
||||||
ArcGIS.Core.Geometry.Geometry geom = null;
|
ArcGIS.Core.Geometry.Geometry geom = null;
|
||||||
|
|
@ -501,7 +503,6 @@ namespace OliviaAddInPro.Helper
|
||||||
return null;
|
return null;
|
||||||
Geodatabase gdb = GetGdb(pathFtClss).Result;
|
Geodatabase gdb = GetGdb(pathFtClss).Result;
|
||||||
ReiniciaOutStr();
|
ReiniciaOutStr();
|
||||||
|
|
||||||
if (gdb != null)
|
if (gdb != null)
|
||||||
{
|
{
|
||||||
var task = ArcGIS.Desktop.Framework.Threading.Tasks.QueuedTask.Run((Func<FeatureClass>)(() =>
|
var task = ArcGIS.Desktop.Framework.Threading.Tasks.QueuedTask.Run((Func<FeatureClass>)(() =>
|
||||||
|
|
@ -705,7 +706,7 @@ namespace OliviaAddInPro.Helper
|
||||||
if (filt == null)
|
if (filt == null)
|
||||||
filt = new ArcGIS.Core.Data.QueryFilter();
|
filt = new ArcGIS.Core.Data.QueryFilter();
|
||||||
sel = fc.Select(filt, SelectionType.ObjectID, SelectionOption.Normal);
|
sel = fc.Select(filt, SelectionType.ObjectID, SelectionOption.Normal);
|
||||||
int nsel = sel.GetCount();
|
long nsel = sel.GetCount();
|
||||||
IReadOnlyList<long> ids_ = sel.GetObjectIDs();
|
IReadOnlyList<long> ids_ = sel.GetObjectIDs();
|
||||||
ids = ids_.ToList();
|
ids = ids_.ToList();
|
||||||
return ids;
|
return ids;
|
||||||
|
|
@ -736,7 +737,7 @@ namespace OliviaAddInPro.Helper
|
||||||
if (filt == null)
|
if (filt == null)
|
||||||
filt = new ArcGIS.Core.Data.QueryFilter();
|
filt = new ArcGIS.Core.Data.QueryFilter();
|
||||||
sel = fc.Select(filt, SelectionType.ObjectID, SelectionOption.Normal);
|
sel = fc.Select(filt, SelectionType.ObjectID, SelectionOption.Normal);
|
||||||
int nsel = sel.GetCount();
|
var nsel = sel.GetCount();
|
||||||
IReadOnlyList<long> ids_ = sel.GetObjectIDs();
|
IReadOnlyList<long> ids_ = sel.GetObjectIDs();
|
||||||
ids = ids_.ToList();
|
ids = ids_.ToList();
|
||||||
return ids;
|
return ids;
|
||||||
|
|
@ -808,6 +809,27 @@ namespace OliviaAddInPro.Helper
|
||||||
return fields_st;
|
return fields_st;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Devuelve una lista con los campos de una feature class
|
||||||
|
public static IReadOnlyList<ArcGIS.Core.Data.Field> GetFieldsSyncEx(FeatureClass fc)
|
||||||
|
{
|
||||||
|
FeatureClassDefinition ftcldef = null;
|
||||||
|
IReadOnlyList<ArcGIS.Core.Data.Field> fields = null;
|
||||||
|
ReiniciaOutStr();
|
||||||
|
|
||||||
|
if (fc == null)
|
||||||
|
return null;
|
||||||
|
try
|
||||||
|
{
|
||||||
|
ftcldef = fc.GetDefinition();
|
||||||
|
fields = ftcldef.GetFields();
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
HelperGdb.OutStr = "Error al leer los campos " + fc.GetName() + ": " + ex.Message;
|
||||||
|
return fields;
|
||||||
|
}
|
||||||
|
return fields;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Comprueba que en la capa dada exista un campo con nombre 'field'
|
* Comprueba que en la capa dada exista un campo con nombre 'field'
|
||||||
|
|
@ -919,7 +941,7 @@ namespace OliviaAddInPro.Helper
|
||||||
{
|
{
|
||||||
//if (!fields.Any(f => f.ToUpper().Trim().Contains(camps[i].Substring(0, Math.Min(camps[i].Length, ComunDef.MaxCaracteresBBDD)).ToUpper().Trim())))
|
//if (!fields.Any(f => f.ToUpper().Trim().Contains(camps[i].Substring(0, Math.Min(camps[i].Length, ComunDef.MaxCaracteresBBDD)).ToUpper().Trim())))
|
||||||
|
|
||||||
if (!fields.Any(f => f.ToUpper().Trim().Contains(camps[i].ToUpper().Trim())))
|
if (!fields.Any(f => f.ToUpper().Trim().Equals(camps[i].ToUpper().Trim())))
|
||||||
{
|
{
|
||||||
OutStr = OutStr + camps[i] + " ";
|
OutStr = OutStr + camps[i] + " ";
|
||||||
mal++;
|
mal++;
|
||||||
|
|
@ -1046,7 +1068,7 @@ namespace OliviaAddInPro.Helper
|
||||||
* Devuelve una geometría que es la suma de la inicial y la que se añade Add
|
* Devuelve una geometría que es la suma de la inicial y la que se añade Add
|
||||||
*/
|
*/
|
||||||
public static ArcGIS.Core.Geometry.Geometry IntersectGeom(ArcGIS.Core.Geometry.Geometry geomIni, ArcGIS.Core.Geometry.Geometry geomInters,
|
public static ArcGIS.Core.Geometry.Geometry IntersectGeom(ArcGIS.Core.Geometry.Geometry geomIni, ArcGIS.Core.Geometry.Geometry geomInters,
|
||||||
GeometryDimension resultDimension = GeometryDimension.esriGeometryNoDimension)
|
GeometryDimensionType resultDimension = GeometryDimensionType.EsriGeometryUnknownDimension)//esriGeometryNoDimension)
|
||||||
{
|
{
|
||||||
if (geomIni == null)
|
if (geomIni == null)
|
||||||
return geomInters;
|
return geomInters;
|
||||||
|
|
@ -1055,7 +1077,7 @@ namespace OliviaAddInPro.Helper
|
||||||
ArcGIS.Core.Geometry.Geometry geomSal = null;
|
ArcGIS.Core.Geometry.Geometry geomSal = null;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (resultDimension == GeometryDimension.esriGeometryNoDimension)
|
if (resultDimension == GeometryDimensionType.EsriGeometryUnknownDimension)//GeometryDimension.esriGeometryNoDimension)
|
||||||
geomSal = GeometryEngine.Instance.Intersection(geomIni, geomInters);
|
geomSal = GeometryEngine.Instance.Intersection(geomIni, geomInters);
|
||||||
else
|
else
|
||||||
geomSal = GeometryEngine.Instance.Intersection(geomIni, geomInters, resultDimension);
|
geomSal = GeometryEngine.Instance.Intersection(geomIni, geomInters, resultDimension);
|
||||||
|
|
@ -1243,7 +1265,25 @@ namespace OliviaAddInPro.Helper
|
||||||
return geomsal;
|
return geomsal;
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Devuelve el número de entidades de una FeatureClass que cumplen la consulta, o todos si la consulta es empty
|
||||||
|
*/
|
||||||
|
public static long GetNumElems(string pathGdb, string ftclssName, string consulta = "")
|
||||||
|
{
|
||||||
|
Geodatabase gdb = GetGdb(pathGdb).Result;
|
||||||
|
FeatureClass fc = null;
|
||||||
|
long n = -1;
|
||||||
|
if (gdb != null)
|
||||||
|
{
|
||||||
|
fc = GetFtClass(ftclssName, gdb).Result;
|
||||||
|
if (fc != null)
|
||||||
|
n = GetNumElems(fc, consulta).Result;
|
||||||
|
}
|
||||||
|
Free(fc);
|
||||||
|
Free(gdb);
|
||||||
|
return n;
|
||||||
|
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* Devuelve los valores únicos de un campo dado
|
* Devuelve los valores únicos de un campo dado
|
||||||
*/
|
*/
|
||||||
|
|
@ -1285,11 +1325,11 @@ namespace OliviaAddInPro.Helper
|
||||||
/**
|
/**
|
||||||
* Devuelve el número de entidades de una FeatureClass que cumplen la consulta, o todos si la consulta es empty
|
* Devuelve el número de entidades de una FeatureClass que cumplen la consulta, o todos si la consulta es empty
|
||||||
*/
|
*/
|
||||||
public static Task<int> GetNumElems(FeatureClass fc, string consulta = "")
|
public static Task<long> GetNumElems(FeatureClass fc, string consulta = "")
|
||||||
{
|
{
|
||||||
int n = -1;
|
long n = -1;
|
||||||
ReiniciaOutStr();
|
ReiniciaOutStr();
|
||||||
return ArcGIS.Desktop.Framework.Threading.Tasks.QueuedTask.Run((Func<int>)(() =>
|
return ArcGIS.Desktop.Framework.Threading.Tasks.QueuedTask.Run((Func<long>)(() =>
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
@ -1319,9 +1359,9 @@ namespace OliviaAddInPro.Helper
|
||||||
/**
|
/**
|
||||||
* Devuelve el número de entidades de una FeatureClass que cumplen la consulta, o todos si la consulta es empty
|
* Devuelve el número de entidades de una FeatureClass que cumplen la consulta, o todos si la consulta es empty
|
||||||
*/
|
*/
|
||||||
public static int GetNumElemsSync(FeatureClass fc, string consulta = "")
|
public static long GetNumElemsSync(FeatureClass fc, string consulta = "")
|
||||||
{
|
{
|
||||||
int n = -1;
|
long n = -1;
|
||||||
ReiniciaOutStr();
|
ReiniciaOutStr();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
@ -1350,17 +1390,17 @@ namespace OliviaAddInPro.Helper
|
||||||
/**
|
/**
|
||||||
* Devuelve el número de entidades de una FeatureClass que cumplen la consulta, o todos si la consulta es empty
|
* Devuelve el número de entidades de una FeatureClass que cumplen la consulta, o todos si la consulta es empty
|
||||||
*/
|
*/
|
||||||
public static int GetNumElems(string pathFtClss, string consulta = "")
|
public static long GetNumElems(string pathFtClss, string consulta = "")
|
||||||
{
|
{
|
||||||
FeatureClass fc = GetFtClass(pathFtClss);
|
FeatureClass fc = GetFtClass(pathFtClss);
|
||||||
int n = GetNumElems(fc, consulta).Result;
|
var n = GetNumElems(fc, consulta).Result;
|
||||||
Free(fc);
|
Free(fc);
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
public static int GetNumElemsSync(string pathFtClss, string consulta = "")
|
public static long GetNumElemsSync(string pathFtClss, string consulta = "")
|
||||||
{
|
{
|
||||||
FeatureClass fc = GetFtClassSync(pathFtClss);
|
FeatureClass fc = GetFtClassSync(pathFtClss);
|
||||||
int n = GetNumElemsSync(fc, consulta);
|
var n = GetNumElemsSync(fc, consulta);
|
||||||
Free(fc);
|
Free(fc);
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
|
|
@ -1404,11 +1444,14 @@ namespace OliviaAddInPro.Helper
|
||||||
if (!System.IO.Directory.Exists(outpath))
|
if (!System.IO.Directory.Exists(outpath))
|
||||||
System.IO.Directory.CreateDirectory(outpath);
|
System.IO.Directory.CreateDirectory(outpath);
|
||||||
FeatureClass fc = null;
|
FeatureClass fc = null;
|
||||||
|
bool debug = true;
|
||||||
/////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////
|
||||||
//Prepara una where_clause con las entidades que cumplen el filtro
|
//Prepara una where_clause con las entidades que cumplen el filtro
|
||||||
//Abre la featureclass
|
//Abre la featureclass
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
if (debug)
|
||||||
|
HelperGlobal.ponMsg("pathLayerIn " + pathLayerIn);
|
||||||
fc = GetFtClassSync(pathLayerIn);
|
fc = GetFtClassSync(pathLayerIn);
|
||||||
if (fc == null)
|
if (fc == null)
|
||||||
{
|
{
|
||||||
|
|
@ -1417,14 +1460,17 @@ namespace OliviaAddInPro.Helper
|
||||||
}
|
}
|
||||||
List<long> ids = new List<long>();
|
List<long> ids = new List<long>();
|
||||||
|
|
||||||
|
if (debug)
|
||||||
|
HelperGlobal.ponMsg("fc " + fc.GetName() + " tipo " + fc.GetType().Name);
|
||||||
/////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////
|
||||||
//Añade a la lista los ids que cumplen el filtro espacial
|
//Añade a la lista los ids que cumplen el filtro espacial
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ids = fc.Select(filter, SelectionType.ObjectID, SelectionOption.Normal).GetObjectIDs().ToList();
|
ids = fc.Select(filter, SelectionType.ObjectID, SelectionOption.Normal).GetObjectIDs().ToList();
|
||||||
}
|
}
|
||||||
catch
|
catch(Exception ex)
|
||||||
{
|
{
|
||||||
|
OutStr = "Error al seleccionar IDs. "+ex.Message;
|
||||||
ids = new List<long>();
|
ids = new List<long>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1440,7 +1486,7 @@ namespace OliviaAddInPro.Helper
|
||||||
}*/
|
}*/
|
||||||
if (ids.Count <= 0)
|
if (ids.Count <= 0)
|
||||||
{
|
{
|
||||||
OutStr = "Error al aplicar filtro espacial en exportación";
|
OutStr = "Error al aplicar filtro espacial en exportación: "+ OutStr;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
/////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////
|
||||||
|
|
@ -1450,8 +1496,8 @@ namespace OliviaAddInPro.Helper
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
//convierte la lista de ids a string para la clause de la forma
|
//convierte la lista de ids a string para la clause de la forma
|
||||||
//(id1, id2, id3..)
|
//(id1, id2, id3..)
|
||||||
string whereClause = GetWhereClauseFromIds(ids, fc.GetDefinition().GetObjectIDField());
|
string whereClause = GetWhereClauseFromIds(ids,fc.GetDefinition().GetObjectIDField());
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////
|
||||||
///Exporta
|
///Exporta
|
||||||
|
|
@ -1464,7 +1510,7 @@ namespace OliviaAddInPro.Helper
|
||||||
var environments = Geoprocessing.MakeEnvironmentArray(outputCoordinateSystem: sr);
|
var environments = Geoprocessing.MakeEnvironmentArray(outputCoordinateSystem: sr);
|
||||||
//SpatialReferenceBuilder.CreateSpatialReference(3857)
|
//SpatialReferenceBuilder.CreateSpatialReference(3857)
|
||||||
double valini = cps.GetProgress();
|
double valini = cps.GetProgress();
|
||||||
IGPResult gpResult = Geoprocessing.ExecuteToolAsync("FeatureClassToFeatureClass_conversion", args,
|
var gpres = Geoprocessing.ExecuteToolAsync("FeatureClassToFeatureClass_conversion", args,
|
||||||
environments, null,
|
environments, null,
|
||||||
|
|
||||||
(event_name, o) => // implement delegate and handle events
|
(event_name, o) => // implement delegate and handle events
|
||||||
|
|
@ -1498,8 +1544,10 @@ namespace OliviaAddInPro.Helper
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).Result;
|
});
|
||||||
|
while (!gpres.IsCompleted && !gpres.IsCanceled && !gpres.IsFaulted)
|
||||||
|
Thread.Sleep(10);
|
||||||
|
IGPResult gpResult = gpres.Result;
|
||||||
if (gpResult.IsCanceled)
|
if (gpResult.IsCanceled)
|
||||||
{
|
{
|
||||||
cps.Setcancelled();
|
cps.Setcancelled();
|
||||||
|
|
@ -1515,6 +1563,8 @@ namespace OliviaAddInPro.Helper
|
||||||
OutStr = "Error: " + msg;
|
OutStr = "Error: " + msg;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gpres.Dispose();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|
@ -1817,7 +1867,7 @@ namespace OliviaAddInPro.Helper
|
||||||
public static bool RemoveRowsFromShp(FeatureClass fc, List<long> quita)
|
public static bool RemoveRowsFromShp(FeatureClass fc, List<long> quita)
|
||||||
{
|
{
|
||||||
//Crea la consulta
|
//Crea la consulta
|
||||||
var consulta = GetWhereClauseFromIds(quita);
|
var consulta = GetWhereClauseFromIds(quita, fc.GetDefinition().GetObjectIDField());
|
||||||
|
|
||||||
if (String.IsNullOrEmpty(consulta))
|
if (String.IsNullOrEmpty(consulta))
|
||||||
return false;
|
return false;
|
||||||
|
|
@ -1964,7 +2014,7 @@ namespace OliviaAddInPro.Helper
|
||||||
geom = f.GetShape();
|
geom = f.GetShape();
|
||||||
line = (ArcGIS.Core.Geometry.Polyline)geom;
|
line = (ArcGIS.Core.Geometry.Polyline)geom;
|
||||||
longi_tot = line.Length;
|
longi_tot = line.Length;
|
||||||
geom = IntersectGeom(geom_zon, line, GeometryDimension.esriGeometry1Dimension);
|
geom = IntersectGeom(geom_zon, line, GeometryDimensionType.EsriGeometry1Dimension);//GeometryDimension.esriGeometry1Dimension);
|
||||||
line = (ArcGIS.Core.Geometry.Polyline)geom;
|
line = (ArcGIS.Core.Geometry.Polyline)geom;
|
||||||
longi_zon = line.Length;//se consigue la longitud de ámbito (linea) que interseca con el nivel)
|
longi_zon = line.Length;//se consigue la longitud de ámbito (linea) que interseca con el nivel)
|
||||||
if ((longi_zon / longi_tot) < porc)
|
if ((longi_zon / longi_tot) < porc)
|
||||||
|
|
@ -2090,6 +2140,17 @@ namespace OliviaAddInPro.Helper
|
||||||
*/
|
*/
|
||||||
public static string FolderBrowseDlg(string title_, string initloc_)
|
public static string FolderBrowseDlg(string title_, string initloc_)
|
||||||
{
|
{
|
||||||
|
var openFileDialog = new CommonOpenFileDialog();
|
||||||
|
//{ IsFolderPicker = true };
|
||||||
|
if(!String.IsNullOrEmpty(initloc_))
|
||||||
|
openFileDialog.InitialDirectory = initloc_;
|
||||||
|
openFileDialog.IsFolderPicker = true;
|
||||||
|
//openFileDialog.InitialDirectory = initloc_;
|
||||||
|
openFileDialog.Title = title_;
|
||||||
|
//openFileDialog.Filter = "Folders";
|
||||||
|
//if (openFileDialog.ShowDialog() == true)
|
||||||
|
if (openFileDialog.ShowDialog() == CommonFileDialogResult.Ok)
|
||||||
|
return openFileDialog.FileName;
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2371,6 +2432,7 @@ namespace OliviaAddInPro.Helper
|
||||||
msg = e.Message;
|
msg = e.Message;
|
||||||
}*/
|
}*/
|
||||||
res.Value = true;
|
res.Value = true;
|
||||||
|
gpres.Dispose();
|
||||||
//actualiza la gdb
|
//actualiza la gdb
|
||||||
Refresh(System.IO.Path.GetDirectoryName(Gdb_dataset));
|
Refresh(System.IO.Path.GetDirectoryName(Gdb_dataset));
|
||||||
return res;
|
return res;
|
||||||
|
|
@ -2588,7 +2650,8 @@ namespace OliviaAddInPro.Helper
|
||||||
//{
|
//{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
String[] fields = new string[] { field }; //field to be used to retrieve unique values
|
List<String> fields = new List<string>();
|
||||||
|
fields.Add(field);
|
||||||
UniqueValueRendererDefinition uniqueValueRendererDef;
|
UniqueValueRendererDefinition uniqueValueRendererDef;
|
||||||
CIMSymbolReference symbolTemplate=new CIMSymbolReference();
|
CIMSymbolReference symbolTemplate=new CIMSymbolReference();
|
||||||
if (tipo == GeometryType.Point)//puntual
|
if (tipo == GeometryType.Point)//puntual
|
||||||
|
|
@ -2644,7 +2707,9 @@ namespace OliviaAddInPro.Helper
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var gpres = Geoprocessing.ExecuteToolAsync("management.AlterField", args);
|
var gpres = Geoprocessing.ExecuteToolAsync("management.AlterField", args);
|
||||||
if (gpres.Result.IsFailed)
|
while (!gpres.IsCompleted && !gpres.IsCanceled && !gpres.IsFaulted)
|
||||||
|
Thread.Sleep(10);
|
||||||
|
if (!gpres.IsCompletedSuccessfully)
|
||||||
{
|
{
|
||||||
var gpResult = gpres.Result;
|
var gpResult = gpres.Result;
|
||||||
string msg;
|
string msg;
|
||||||
|
|
@ -2655,6 +2720,7 @@ namespace OliviaAddInPro.Helper
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
res= true; //ha ido bien
|
res= true; //ha ido bien
|
||||||
|
gpres.Dispose();
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
|
|
@ -2721,7 +2787,9 @@ namespace OliviaAddInPro.Helper
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var gpres = Geoprocessing.ExecuteToolAsync("management.AddFields", args);
|
var gpres = Geoprocessing.ExecuteToolAsync("management.AddFields", args);
|
||||||
if (gpres.Result.IsFailed)
|
while (!gpres.IsCompleted && !gpres.IsCanceled && !gpres.IsFaulted)
|
||||||
|
Thread.Sleep(10);
|
||||||
|
if (gpres.IsFaulted)
|
||||||
{
|
{
|
||||||
var gpResult = gpres.Result;
|
var gpResult = gpres.Result;
|
||||||
string msg;
|
string msg;
|
||||||
|
|
@ -2732,6 +2800,7 @@ namespace OliviaAddInPro.Helper
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
res = true; //ha ido bien
|
res = true; //ha ido bien
|
||||||
|
gpres.Dispose();
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,16 @@
|
||||||
|
<!DOCTYPE html >
|
||||||
|
<html>
|
||||||
|
<head />
|
||||||
|
<body>
|
||||||
|
<h2>Migration Status Report</h2>
|
||||||
|
<p>Migrate project: D:\desa\v2019\OliviaAddInPro\OliviaAddInPro.csproj</p>
|
||||||
|
<h3>OliviaAddInPro.csproj</h3>
|
||||||
|
<ul>project folder: <a href="D:\desa\v2019\OliviaAddInPro\" target="_new">D:\desa\v2019\OliviaAddInPro\</a></ul>
|
||||||
|
<ul>language: CS</ul>
|
||||||
|
<p style="color:Red;font-weight:bold">Warning: this project [D:\desa\v2019\OliviaAddInPro\] contains References to 'ArcGIS.Core', but the HintPath tag is wrong or missing. Use the 'Pro Fix References utility' before migrating this project.</p>
|
||||||
|
<ul>project type: NonArcGIS</ul>
|
||||||
|
<ul>project has WPF: PresentationFramework</ul>
|
||||||
|
<p style="color:Red;font-weight:bold">Note: project might contain NuGets in packages.config, please check all NuGets for the most up-to-date .NET variant and if needed, replace with a NuGet that supports .NET 6.</p>
|
||||||
|
<p style="color:Red;font-weight:bold">Note: please check all NuGets for the most up-to-date .NET variant and if needed, replace with a NuGet that supports .NET 6.</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
Migration Status Report
|
||||||
|
Migrate project: D:\desa\v2019\OliviaAddInPro\OliviaAddInPro.csproj
|
||||||
|
OliviaAddInPro.csproj
|
||||||
|
project folder:
|
||||||
|
D:\desa\v2019\OliviaAddInPro\
|
||||||
|
D:\desa\v2019\OliviaAddInPro\
|
||||||
|
language: CS
|
||||||
|
Warning: this project [D:\desa\v2019\OliviaAddInPro\] contains References to 'ArcGIS.Core', but the HintPath tag is wrong or missing. Use the 'Pro Fix References utility' before migrating this project.
|
||||||
|
project type: NonArcGIS
|
||||||
|
project has WPF: PresentationFramework
|
||||||
|
Note: project might contain NuGets in packages.config, please check all NuGets for the most up-to-date .NET variant and if needed, replace with a NuGet that supports .NET 6.
|
||||||
|
Note: please check all NuGets for the most up-to-date .NET variant and if needed, replace with a NuGet that supports .NET 6.
|
||||||
|
|
@ -272,7 +272,7 @@ namespace OliviaAddInPro.Model
|
||||||
ArcGIS.Core.Data.FeatureClass ft = HelperGdb.GetFtClass(OliviaGlob.Paths.PathGdbNw);
|
ArcGIS.Core.Data.FeatureClass ft = HelperGdb.GetFtClass(OliviaGlob.Paths.PathGdbNw);
|
||||||
if (ft == null)
|
if (ft == null)
|
||||||
return false;
|
return false;
|
||||||
|
HelperGdb.Free(ft);
|
||||||
int NCAMPS = 4;
|
int NCAMPS = 4;
|
||||||
string[] camps;
|
string[] camps;
|
||||||
camps = new string[NCAMPS];
|
camps = new string[NCAMPS];
|
||||||
|
|
@ -397,12 +397,12 @@ namespace OliviaAddInPro.Model
|
||||||
HelperGlobal.ponMsg("No se encuentra el archivo " + OliviaGlob.Paths.PathManualOlivia);
|
HelperGlobal.ponMsg("No se encuentra el archivo " + OliviaGlob.Paths.PathManualOlivia);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
System.Diagnostics.Process.Start(OliviaGlob.Paths.PathManualOlivia);
|
Process.Start(new ProcessStartInfo(OliviaGlob.Paths.PathManualOlivia) { UseShellExecute = true });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
HelperGlobal.ponMsg("Error al abrir el manual de ayuda " + OliviaGlob.Paths.PathManualOlivia);
|
HelperGlobal.ponMsg("Error al abrir el manual de ayuda " + OliviaGlob.Paths.PathManualOlivia + " "+ex.Message);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -142,7 +142,7 @@ namespace OliviaAddInPro.Model
|
||||||
}
|
}
|
||||||
|
|
||||||
private ObservableCollection<string> nombCamposOrig = new ObservableCollection<string>();
|
private ObservableCollection<string> nombCamposOrig = new ObservableCollection<string>();
|
||||||
|
private IReadOnlyList<ArcGIS.Core.Data.Field> camposOrig = null;
|
||||||
/**
|
/**
|
||||||
* Para la ventana de progreso
|
* Para la ventana de progreso
|
||||||
*/
|
*/
|
||||||
|
|
@ -201,7 +201,7 @@ namespace OliviaAddInPro.Model
|
||||||
ambitos = string.Empty;
|
ambitos = string.Empty;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Restaura el nombre original del campo si se ha truncado a 10 car al exportar a shp
|
* Devuelve los campos característicos de Limpieza o Recogida
|
||||||
*/
|
*/
|
||||||
public virtual string[] GetCampos(string capa=null)
|
public virtual string[] GetCampos(string capa=null)
|
||||||
{
|
{
|
||||||
|
|
@ -238,38 +238,43 @@ namespace OliviaAddInPro.Model
|
||||||
FeatureClass fc = HelperGdb.GetFtClassSync(nombFtClass);
|
FeatureClass fc = HelperGdb.GetFtClassSync(nombFtClass);
|
||||||
if (fc == null)
|
if (fc == null)
|
||||||
return resp;
|
return resp;
|
||||||
////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////
|
||||||
string[] camps = GetCamposOrig();
|
if (camposOrig == null || camposOrig.Count==0)
|
||||||
if (camps == null)
|
{
|
||||||
|
HelperGdb.Free(fc);
|
||||||
return resp;
|
return resp;
|
||||||
|
}
|
||||||
|
|
||||||
ObservableCollection<string> fields = HelperGdb.GetFieldsSync(fc);
|
ObservableCollection<string> fields = HelperGdb.GetFieldsSync(fc);
|
||||||
HelperGdb.Free(fc);
|
HelperGdb.Free(fc);
|
||||||
if (fields == null)
|
if (fields == null)
|
||||||
|
{
|
||||||
|
HelperGdb.Free(fc);
|
||||||
return resp;
|
return resp;
|
||||||
|
}
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
int i = 0;
|
int i = 0;
|
||||||
int indx;
|
int indx;
|
||||||
string campTrunc = string.Empty;
|
string campTrunc = string.Empty;
|
||||||
for (i = 0; i < camps.Length; i++)
|
for (i = 0; i < camposOrig.Count; i++)
|
||||||
{
|
{
|
||||||
if (camps[i].Length <= LENGTHCAMPSHP)
|
if (camposOrig[i].Name.Length <= LENGTHCAMPSHP)
|
||||||
continue;
|
continue;
|
||||||
if (EstaRepeNomb(fields, camps[i]))
|
if (EstaRepeNomb(fields, camposOrig[i].Name))
|
||||||
continue;
|
continue;
|
||||||
campTrunc = camps[i].Substring(0, LENGTHCAMPSHP);
|
campTrunc = camposOrig[i].Name.Substring(0, LENGTHCAMPSHP);
|
||||||
//si tiene más de 10 caracteres, lo ha truncado al exportar
|
//si tiene más de 10 caracteres, lo ha truncado al exportar
|
||||||
//busca el nombre actual del campo en la fc
|
//busca el nombre actual del campo en la fc
|
||||||
indx = fields.IndexOf(campTrunc);
|
indx = fields.IndexOf(campTrunc);
|
||||||
if (indx < 0)
|
if (indx < 0)
|
||||||
break;
|
break;
|
||||||
if (!HelperGdb.RenameFieldSync(nombFtClass, campTrunc, camps[i],camps[i]))
|
if (!HelperGdb.RenameFieldSync(nombFtClass, campTrunc, camposOrig[i].Name, camposOrig[i].AliasName))
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (i < camps.Length)
|
if (i < camposOrig.Count)
|
||||||
{
|
{
|
||||||
resp.Error.Add("Error en el campo " + camps[i]);
|
resp.Error.Add("Error en el campo " + camposOrig[i].Name);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
resp.Value = true;
|
resp.Value = true;
|
||||||
|
|
@ -278,7 +283,7 @@ namespace OliviaAddInPro.Model
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
HelperGdb.Free(fc);
|
||||||
return resp;
|
return resp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -306,5 +311,19 @@ namespace OliviaAddInPro.Model
|
||||||
nombCamposOrig = new ObservableCollection<string>();
|
nombCamposOrig = new ObservableCollection<string>();
|
||||||
HelperGdb.Free(fc);
|
HelperGdb.Free(fc);
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Guarda el nombre de los campos originales para luego restaurarlos
|
||||||
|
*/
|
||||||
|
public void GuardaCamposOrig(string pathFtClass)
|
||||||
|
{
|
||||||
|
FeatureClass fc = HelperGdb.GetFtClassSync(pathFtClass);
|
||||||
|
if (fc != null)
|
||||||
|
{
|
||||||
|
camposOrig = HelperGdb.GetFieldsSyncEx(fc);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
camposOrig = null;
|
||||||
|
HelperGdb.Free(fc);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,410 +1,153 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<TargetFramework>net6.0-windows</TargetFramework>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<RuntimeIdentifier>win10-x64</RuntimeIdentifier>
|
||||||
<ProductVersion>8.0.30703</ProductVersion>
|
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
|
||||||
<SchemaVersion>2.0</SchemaVersion>
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||||
<ProjectGuid>{10742570-CF59-42F2-BEA2-2A38002A06EE}</ProjectGuid>
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||||
<OutputType>Library</OutputType>
|
<NoWarn>CA1416</NoWarn>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<UseWPF>true</UseWPF>
|
||||||
<RootNamespace>OliviaAddInPro</RootNamespace>
|
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
||||||
<AssemblyName>OliviaAddInPro</AssemblyName>
|
|
||||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
|
||||||
<FileAlignment>512</FileAlignment>
|
|
||||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup>
|
|
||||||
<ArcGISFolder>$([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\ESRI\ArcGISPro', 'InstallDir', null, RegistryView.Registry64))</ArcGISFolder>
|
|
||||||
<ArcGISFolder Condition="'$(ArcGISFolder)' == ''">$(registry:HKEY_CURRENT_USER\SOFTWARE\ESRI\ArcGISPro@InstallDir)</ArcGISFolder>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
||||||
<DebugSymbols>true</DebugSymbols>
|
|
||||||
<DebugType>full</DebugType>
|
|
||||||
<Optimize>false</Optimize>
|
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
||||||
<ErrorReport>prompt</ErrorReport>
|
|
||||||
<WarningLevel>0</WarningLevel>
|
|
||||||
<StartAction>Program</StartAction>
|
|
||||||
<StartProgram>$(ArcGISFolder)\bin\ArcGISPro.exe</StartProgram>
|
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
||||||
<DebugType>pdbonly</DebugType>
|
|
||||||
<Optimize>true</Optimize>
|
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
|
||||||
<ErrorReport>prompt</ErrorReport>
|
|
||||||
<WarningLevel>4</WarningLevel>
|
|
||||||
<StartAction>Program</StartAction>
|
|
||||||
<StartProgram>$(ArcGISFolder)\bin\ArcGISPro.exe</StartProgram>
|
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
<Compile Remove=".git\**" />
|
||||||
<HintPath>packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
|
<EmbeddedResource Remove=".git\**" />
|
||||||
</Reference>
|
<None Remove=".git\**" />
|
||||||
<Reference Include="System" />
|
<Page Remove=".git\**" />
|
||||||
<Reference Include="System.Core" />
|
|
||||||
<Reference Include="System.Xml.Linq" />
|
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
|
||||||
<Reference Include="Microsoft.CSharp" />
|
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
|
||||||
<Reference Include="System.Data" />
|
|
||||||
<Reference Include="System.Xml" />
|
|
||||||
<Reference Include="PresentationCore" />
|
|
||||||
<Reference Include="PresentationFramework" />
|
|
||||||
<Reference Include="WindowsBase" />
|
|
||||||
<Reference Include="System.Xaml" />
|
|
||||||
<Reference Include="ArcGIS.Desktop.Framework">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\ArcGIS.Desktop.Framework.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ArcGIS.Core">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\ArcGIS.Core.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ArcGIS.Desktop.Core">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\Extensions\Core\ArcGIS.Desktop.Core.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ArcGIS.Desktop.Mapping">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\Extensions\Mapping\ArcGIS.Desktop.Mapping.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ArcGIS.Desktop.Catalog">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\Extensions\Catalog\ArcGIS.Desktop.Catalog.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ArcGIS.Desktop.Editing">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\Extensions\Editing\ArcGIS.Desktop.Editing.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ArcGIS.Desktop.Extensions">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\Extensions\DesktopExtensions\ArcGIS.Desktop.Extensions.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ArcGIS.Desktop.GeoProcessing">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\Extensions\GeoProcessing\ArcGIS.Desktop.GeoProcessing.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ArcGIS.Desktop.Layouts">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\Extensions\Layout\ArcGIS.Desktop.Layouts.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ArcGIS.Desktop.Shared.Wpf">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\ArcGIS.Desktop.Shared.Wpf.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ArcGIS.Desktop.Ribbon.Wpf">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\ArcGIS.Desktop.Ribbon.Wpf.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ArcGIS.Desktop.DataGrid.Contrib.Wpf">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\ArcGIS.Desktop.DataGrid.Contrib.Wpf.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ArcGIS.Desktop.Resources">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\ArcGIS.Desktop.Resources.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ArcGIS.Desktop.Resources">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\ArcGIS.Desktop.Resources.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ESRI.ArcGIS.ItemIndex">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\ESRI.ArcGIS.ItemIndex.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="Xceed.Wpf.Toolkit, Version=4.1.0.0, Culture=neutral, PublicKeyToken=3e4669d2f30244f4, processorArchitecture=MSIL">
|
|
||||||
<SpecificVersion>False</SpecificVersion>
|
|
||||||
<HintPath>..\bin\Release\Xceed.Wpf.Toolkit.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<AddInContent Include="Config.daml" />
|
<Content Include="Config.daml" />
|
||||||
<AddInContent Include="Images\AddInDesktop16.png" />
|
<Content Include="Images\AddInDesktop16.png" />
|
||||||
<AddInContent Include="Images\AddInDesktop32.png" />
|
<Content Include="Images\AddInDesktop32.png" />
|
||||||
<AddInContent Include="DarkImages\AddInDesktop16.png" />
|
<Content Include="DarkImages\AddInDesktop16.png" />
|
||||||
<AddInContent Include="DarkImages\AddInDesktop32.png" />
|
<Content Include="DarkImages\AddInDesktop32.png" />
|
||||||
</ItemGroup>
|
<Content Include="DarkImages\GenericButtonBlue16.png" />
|
||||||
<ItemGroup>
|
<Content Include="DarkImages\GenericButtonBlue32.png" />
|
||||||
<Compile Include="Button\ButtonConfig.cs" />
|
<Content Include="Images\OliviaIconPro16.png" />
|
||||||
<Compile Include="Button\ButtonLimp.cs" />
|
<Content Include="Images\OliviaIconPro32.png" />
|
||||||
<Compile Include="Button\ButtonMaq.cs" />
|
<Content Include="DarkImages\GenericButtonPurple16.png" />
|
||||||
<Compile Include="Button\ButtonRec.cs" />
|
<Content Include="DarkImages\GenericButtonPurple32.png" />
|
||||||
<Compile Include="Conexion\Cstr_socket.cs" />
|
<Content Include="DarkImages\GenericButtonGreen16.png" />
|
||||||
<Compile Include="Helper\EnabledComboBoxItem.cs" />
|
<Content Include="DarkImages\GenericButtonGreen32.png" />
|
||||||
<Compile Include="Helper\CheckedListItem.cs" />
|
<Content Include="Images\reco2.png" />
|
||||||
<Compile Include="Helper\HelperGdb.cs" />
|
<Content Include="Images\carrito2.png" />
|
||||||
<Compile Include="Helper\HelperGlobal.cs" />
|
<Content Include="Images\config2_olv.png" />
|
||||||
<Compile Include="Model\ComunDef.cs" />
|
|
||||||
<Compile Include="Model\contract\IprocessManager.cs" />
|
|
||||||
<Compile Include="Model\ESRI.ArcGIS.Geometry.esriSRProjCS4Type.cs" />
|
|
||||||
<Compile Include="Model\Recogida.cs" />
|
|
||||||
<Compile Include="Model\RecogidaDef.cs" />
|
|
||||||
<Compile Include="Model\Respuesta.cs" />
|
|
||||||
<Compile Include="Model\TratamientoComun.cs" />
|
|
||||||
<Compile Include="Model\Limpieza.cs" />
|
|
||||||
<Compile Include="Model\LimpiezaDef.cs" />
|
|
||||||
<Compile Include="Services\EjecServ.cs" />
|
|
||||||
<Compile Include="Model\OliviaConf.cs" />
|
|
||||||
<Compile Include="Model\OliviaDef.cs" />
|
|
||||||
<Compile Include="Services\ConfigServ.cs" />
|
|
||||||
<Compile Include="Services\FinProcServ.cs" />
|
|
||||||
<Compile Include="Services\LanzaSrv\LanzaLimpSrv.cs" />
|
|
||||||
<Compile Include="Services\LanzaSrv\LanzaOlvServ.cs" />
|
|
||||||
<Compile Include="Services\LanzaSrv\LanzaRecoSrv.cs" />
|
|
||||||
<Compile Include="Services\LimpiezaServ.cs" />
|
|
||||||
<Compile Include="Services\ProcesoEjecServ.cs" />
|
|
||||||
<Compile Include="Services\RecogidaServ.cs" />
|
|
||||||
<Compile Include="ViewModel\Comun\MarchandoUnaDeViewModel.cs" />
|
|
||||||
<Compile Include="ViewModel\Configuracion\DockpaneConfigViewModel.cs" />
|
|
||||||
<Compile Include="ViewModel\Configuracion\PaneConfigViewModel.cs" />
|
|
||||||
<Compile Include="ViewModel\OptionsMenuItem.cs" />
|
|
||||||
<Compile Include="ViewModel\PaneEjecutarViewModel.cs" />
|
|
||||||
<Compile Include="ViewModel\Limpieza\PaneLimpiezaSub4ViewModel.cs" />
|
|
||||||
<Compile Include="ViewModel\Limpieza\PaneLimpiezaSub3ViewModel.cs" />
|
|
||||||
<Compile Include="ViewModel\Limpieza\PaneLimpiezaSub2ViewModel.cs" />
|
|
||||||
<Compile Include="ViewModel\Limpieza\PaneLimpiezaViewModel.cs" />
|
|
||||||
<Compile Include="ViewModel\PanelViewModelBase.cs" />
|
|
||||||
<Compile Include="ViewModel\Recogida\PaneRecogidaSub1ViewModel.cs" />
|
|
||||||
<Compile Include="View\Comun\MarchandoUnaDe.xaml.cs">
|
|
||||||
<DependentUpon>MarchandoUnaDe.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="View\Configuracion\PropertyGridFilePickerFolder.xaml.cs">
|
|
||||||
<DependentUpon>PropertyGridFilePickerFolder.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="View\Configuracion\PropertyGridFilePickerDataset.xaml.cs">
|
|
||||||
<DependentUpon>PropertyGridFilePickerDataset.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="View\Configuracion\PropertyGridFilePickerLine.xaml.cs">
|
|
||||||
<DependentUpon>PropertyGridFilePickerLine.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="View\Configuracion\PropertyGridFilePickerGDB.xaml.cs">
|
|
||||||
<DependentUpon>PropertyGridFilePickerGDB.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="View\Recogida\PaneRecogidaSub1.xaml.cs">
|
|
||||||
<DependentUpon>PaneRecogidaSub1.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="View\Recogida\PaneRecogida.xaml.cs">
|
|
||||||
<DependentUpon>PaneRecogida.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="ViewModel\Recogida\PaneRecogidaViewModel.cs" />
|
|
||||||
<Compile Include="View\Configuracion\DockPaneConfig.xaml.cs">
|
|
||||||
<DependentUpon>DockPaneConfig.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="View\Configuracion\PaneConfigView.xaml.cs">
|
|
||||||
<DependentUpon>PaneConfigView.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="View\PaneEjecutar.xaml.cs">
|
|
||||||
<DependentUpon>PaneEjecutar.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="View\Limpieza\PaneLimpiezaSub4.xaml.cs">
|
|
||||||
<DependentUpon>PaneLimpiezaSub4.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="View\Limpieza\PaneLimpiezaSub3.xaml.cs">
|
|
||||||
<DependentUpon>PaneLimpiezaSub3.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="View\Limpieza\PaneLimpiezaSub2.xaml.cs">
|
|
||||||
<DependentUpon>PaneLimpiezaSub2.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="View\Limpieza\PaneLimpiezaSub1.xaml.cs">
|
|
||||||
<DependentUpon>PaneLimpiezaSub1.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="ViewModel\Limpieza\PaneLimpiezaSub1ViewModel.cs" />
|
|
||||||
<Compile Include="View\Limpieza\PaneLimpieza.xaml.cs">
|
|
||||||
<DependentUpon>PaneLimpieza.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="View\Limpieza\DockpaneLimpieza.xaml.cs">
|
|
||||||
<DependentUpon>DockpaneLimpieza.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="ViewModel\Limpieza\DockpaneLimpiezaViewModel.cs" />
|
|
||||||
<Compile Include="View\Recogida\DockpaneRecogida.xaml.cs">
|
|
||||||
<DependentUpon>DockpaneRecogida.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="ViewModel\Recogida\DockpaneRecogidaViewModel.cs" />
|
|
||||||
<Compile Include="Module1.cs" />
|
|
||||||
<Compile Include="Model\OliviaGlob.cs" />
|
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
||||||
<Compile Include="Resource1.Designer.cs">
|
|
||||||
<AutoGen>True</AutoGen>
|
|
||||||
<DesignTime>True</DesignTime>
|
|
||||||
<DependentUpon>Resource1.resx</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="View\ProWndSelectFields.xaml.cs">
|
|
||||||
<DependentUpon>ProWndSelectFields.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="ViewModel\ShowProWndSelectFields.cs" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AddInContent Include="DarkImages\GenericButtonBlue16.png" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AddInContent Include="DarkImages\GenericButtonBlue32.png" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AddInContent Include="Images\OliviaIconPro16.png" />
|
|
||||||
<AddInContent Include="Images\OliviaIconPro32.png" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Resource Include="OliviaIconPro.ico" />
|
<Resource Include="OliviaIconPro.ico" />
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Page Include="View\Comun\MarchandoUnaDe.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\Configuracion\PropertyGridFilePickerFolder.xaml">
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\Configuracion\PropertyGridFilePickerDataset.xaml">
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\Configuracion\PropertyGridFilePickerLine.xaml">
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\Configuracion\PropertyGridFilePickerGDB.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\Recogida\PaneRecogidaSub1.xaml">
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\Recogida\PaneRecogida.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\Configuracion\DockPaneConfig.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\Configuracion\PaneConfigView.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\PaneEjecutar.xaml">
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\Limpieza\PaneLimpiezaSub4.xaml">
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\Limpieza\PaneLimpiezaSub3.xaml">
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\Limpieza\PaneLimpiezaSub2.xaml">
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\Limpieza\PaneLimpiezaSub1.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\Limpieza\PaneLimpieza.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\Limpieza\DockpaneLimpieza.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\Recogida\DockpaneRecogida.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\ProWndSelectFields.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
</Page>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AddInContent Include="DarkImages\GenericButtonPurple16.png" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AddInContent Include="DarkImages\GenericButtonPurple32.png" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<EmbeddedResource Include="Resource1.resx">
|
|
||||||
<Generator>ResXFileCodeGenerator</Generator>
|
|
||||||
<LastGenOutput>Resource1.Designer.cs</LastGenOutput>
|
|
||||||
</EmbeddedResource>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AddInContent Include="DarkImages\GenericButtonGreen16.png" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AddInContent Include="DarkImages\GenericButtonGreen32.png" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Resource Include="View\OliviaIconPro16.png" />
|
<Resource Include="View\OliviaIconPro16.png" />
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Resource Include="View\OliviaIconPro.ico" />
|
<Resource Include="View\OliviaIconPro.ico" />
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="packages.config" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Resource Include="Resources\inicio.png" />
|
<Resource Include="Resources\inicio.png" />
|
||||||
<Resource Include="Resources\ptosctrl.png" />
|
<Resource Include="Resources\ptosctrl.png" />
|
||||||
<Resource Include="Resources\time.png" />
|
<Resource Include="Resources\time.png" />
|
||||||
<Resource Include="Resources\zonas.png" />
|
<Resource Include="Resources\zonas.png" />
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Resource Include="Images\openfolder.png" />
|
<Resource Include="Images\openfolder.png" />
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AddInContent Include="Images\reco2.png" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AddInContent Include="Images\carrito2.png" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AddInContent Include="Images\config2_olv.png" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Resource Include="Images\help16Pro.png" />
|
<Resource Include="Images\help16Pro.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<ItemGroup>
|
||||||
<!--
|
<PackageReference Include="DotNetProjects.Extended.Wpf.Toolkit" Version="5.0.103" />
|
||||||
PackageAction can be:
|
<PackageReference Include="Microsoft.WindowsAPICodePack.Shell" Version="1.1.0" />
|
||||||
BuildDefault: ArcGIS Pro is required. An esriAddinX package is created and copied to ArcGIS Pro add-in folder.
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
|
||||||
BuildZipPostProcess: ArcGIS Pro install is NOT required to build the add-in. An esriAddinX package is created in your output folder.
|
<Reference Include="ArcGIS.Desktop.Framework">
|
||||||
BuildNoPostProcess: ArcGIS Pro install is NOT required to build the add-in. An esriAddinX package is NOT created.
|
<HintPath>C:\Program Files\ArcGIS\Pro\bin\ArcGIS.Desktop.Framework.dll</HintPath>
|
||||||
-->
|
<CopyLocal>false</CopyLocal>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
</Reference>
|
||||||
<PackageAction>BuildDefault</PackageAction>
|
<Reference Include="ArcGIS.Core">
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<HintPath>C:\Program Files\ArcGIS\Pro\bin\ArcGIS.Core.dll</HintPath>
|
||||||
</PropertyGroup>
|
<CopyLocal>false</CopyLocal>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
</Reference>
|
||||||
<PackageAction>BuildDefault</PackageAction>
|
<Reference Include="ArcGIS.Desktop.Core">
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<HintPath>C:\Program Files\ArcGIS\Pro\bin\Extensions\Core\ArcGIS.Desktop.Core.dll</HintPath>
|
||||||
</PropertyGroup>
|
<CopyLocal>false</CopyLocal>
|
||||||
<UsingTask AssemblyFile="$(ArcGISFolder)\bin\proapp-sdk-MSBuild.dll" TaskName="proapp_sdk_MSBuild.PackageAddIn" />
|
</Reference>
|
||||||
<UsingTask AssemblyFile="$(ArcGISFolder)\bin\proapp-sdk-MSBuild.dll" TaskName="proapp_sdk_MSBuild.CleanAddIn" />
|
<Reference Include="ArcGIS.Desktop.Layouts">
|
||||||
<UsingTask AssemblyFile="$(ArcGISFolder)\bin\proapp-sdk-MSBuild.dll" TaskName="proapp_sdk_MSBuild.ConvertToRelativePath" />
|
<HintPath>C:\Program Files\ArcGIS\Pro\bin\Extensions\Layout\ArcGIS.Desktop.Layouts.dll</HintPath>
|
||||||
<!--<Import Project="Esri.ArcGISPro.Extensions.targets" Condition="Exists('Esri.ArcGISPro.Extensions.targets')" />-->
|
</Reference>
|
||||||
<Import Project="$(ArcGISFolder)\bin\Esri.ProApp.SDK.Desktop.targets" Condition="Exists('$(ArcGISFolder)\bin\Esri.ProApp.SDK.Desktop.targets') AND !Exists('Esri.ArcGISPro.Extensions.targets')" />
|
<Reference Include="ArcGIS.Desktop.Mapping">
|
||||||
<PropertyGroup>
|
<HintPath>C:\Program Files\ArcGIS\Pro\bin\Extensions\Mapping\ArcGIS.Desktop.Mapping.dll</HintPath>
|
||||||
<PostBuildEvent>
|
<CopyLocal>false</CopyLocal>
|
||||||
</PostBuildEvent>
|
</Reference>
|
||||||
</PropertyGroup>
|
<Reference Include="ArcGIS.Desktop.Catalog">
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<HintPath>C:\Program Files\ArcGIS\Pro\bin\Extensions\Catalog\ArcGIS.Desktop.Catalog.dll</HintPath>
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
<CopyLocal>false</CopyLocal>
|
||||||
<Target Name="BeforeBuild">
|
</Reference>
|
||||||
</Target>
|
<Reference Include="ArcGIS.Desktop.Shared.Wpf">
|
||||||
<Target Name="AfterBuild">
|
<HintPath>C:\Program Files\ArcGIS\Pro\bin\ArcGIS.Desktop.Shared.Wpf.dll</HintPath>
|
||||||
</Target>
|
<CopyLocal>false</CopyLocal>
|
||||||
-->
|
</Reference>
|
||||||
<!--<Target Name="BeforeBuild">
|
<Reference Include="ArcGIS.Desktop.Editing">
|
||||||
<Error Text="C:\Users\Elena\AppData\Local\Programs\ArcGIS\Pro\bin\Esri.ProApp.SDK.Desktop.targets not found." Condition="!Exists('C:\Users\Elena\AppData\Local\Programs\ArcGIS\Pro\bin\Esri.ProApp.SDK.Desktop.targets') AND !Exists('Esri.ArcGISPro.Extensions.targets')" />
|
<HintPath>C:\Program Files\ArcGIS\Pro\bin\Extensions\Editing\ArcGIS.Desktop.Editing.dll</HintPath>
|
||||||
</Target>-->
|
<CopyLocal>false</CopyLocal>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="ArcGIS.Desktop.Extensions">
|
||||||
|
<HintPath>C:\Program Files\ArcGIS\Pro\bin\Extensions\DesktopExtensions\ArcGIS.Desktop.Extensions.dll</HintPath>
|
||||||
|
<CopyLocal>false</CopyLocal>
|
||||||
|
</Reference>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="packages.config" />
|
||||||
|
<None Include=".gitignore" />
|
||||||
|
<None Include="Backup-2.x.zip" />
|
||||||
|
<None Include="OliviaAddInPro.csproj.bak" />
|
||||||
|
<None Include="OliviaAddInPro.csproj.user" />
|
||||||
|
<None Include="OliviaIconPro.ico" />
|
||||||
|
<None Include="Images\config2_.png" />
|
||||||
|
<None Include="Images\config2_olv - copia.png" />
|
||||||
|
<None Include="Images\config_old.png" />
|
||||||
|
<None Include="Images\genericproperties32.png" />
|
||||||
|
<None Include="Images\help16Pro.png" />
|
||||||
|
<None Include="Images\masking32.png" />
|
||||||
|
<None Include="Images\OliviaIconPro.ico" />
|
||||||
|
<None Include="Images\OliviaIconPro32Web.png" />
|
||||||
|
<None Include="Images\open32.png" />
|
||||||
|
<None Include="Images\openfolder.png" />
|
||||||
|
<None Include="Images\openfolder32.png" />
|
||||||
|
<None Include="Images\time32.png" />
|
||||||
|
<None Include="Model\OliviaGlob.cs.bak" />
|
||||||
|
<None Include="Model\Recogida.cs.bak" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\.signature.p7s" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\LICENSE.md" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\Newtonsoft.Json.13.0.1.nupkg" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\packageIcon.png" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\net20\Newtonsoft.Json.dll" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\net20\Newtonsoft.Json.xml" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\net35\Newtonsoft.Json.dll" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\net35\Newtonsoft.Json.xml" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\net40\Newtonsoft.Json.dll" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\net40\Newtonsoft.Json.xml" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.xml" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\netstandard1.0\Newtonsoft.Json.dll" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\netstandard1.0\Newtonsoft.Json.xml" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\netstandard1.3\Newtonsoft.Json.dll" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\netstandard1.3\Newtonsoft.Json.xml" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\netstandard2.0\Newtonsoft.Json.dll" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\netstandard2.0\Newtonsoft.Json.xml" />
|
||||||
|
<None Include="Resources\inicio.png" />
|
||||||
|
<None Include="Resources\inicio24.png" />
|
||||||
|
<None Include="Resources\ptosctrl.png" />
|
||||||
|
<None Include="Resources\ptosctrl24.png" />
|
||||||
|
<None Include="Resources\time.png" />
|
||||||
|
<None Include="Resources\time24.png" />
|
||||||
|
<None Include="Resources\zonas.png" />
|
||||||
|
<None Include="Resources\zonas24.png" />
|
||||||
|
<None Include="Services\ProcesoEjecServ.cs.bak" />
|
||||||
|
<None Include="View\OliviaIconPro.ico" />
|
||||||
|
<None Include="View\OliviaIconPro16.png" />
|
||||||
|
<None Include="View\Recogida\old\PaneRecogidaSub2.xaml.NotUsed" />
|
||||||
|
<None Include="View\Recogida\old\PaneRecogidaSub2.xaml.cs.NotUsed" />
|
||||||
|
<None Include="View\Recogida\old\PaneRecogidaSub4.xaml.NotUsed" />
|
||||||
|
<None Include="View\Recogida\old\PaneRecogidaSub4.xaml.cs.NotUsed" />
|
||||||
|
<None Include="ViewModel\Limpieza\PaneLimpiezaViewModel.cs.bak" />
|
||||||
|
<None Include="ViewModel\Recogida\old\PaneRecogidaSub2ViewModel.cs.NotUsed" />
|
||||||
|
<None Include="ViewModel\Recogida\old\PaneRecogidaSub4ViewModel.cs.NotUsed" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Update="Resource1.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Resource1.resx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="C:\Program Files\ArcGIS\Pro\bin\Esri.ProApp.SDK.Desktop.targets" Condition="Exists('C:\Program Files\ArcGIS\Pro\bin\Esri.ProApp.SDK.Desktop.targets') AND !Exists('Esri.ArcGISPro.Extensions.targets')" />
|
||||||
</Project>
|
</Project>
|
||||||
|
|
@ -1,344 +1,156 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<TargetFramework>net6.0-windows</TargetFramework>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<RuntimeIdentifier>win10-x64</RuntimeIdentifier>
|
||||||
<ProductVersion>8.0.30703</ProductVersion>
|
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
|
||||||
<SchemaVersion>2.0</SchemaVersion>
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||||
<ProjectGuid>{10742570-CF59-42F2-BEA2-2A38002A06EE}</ProjectGuid>
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||||
<OutputType>Library</OutputType>
|
<NoWarn>CA1416</NoWarn>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<UseWPF>true</UseWPF>
|
||||||
<RootNamespace>OliviaAddInPro</RootNamespace>
|
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
||||||
<AssemblyName>OliviaAddInPro</AssemblyName>
|
|
||||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
|
||||||
<FileAlignment>512</FileAlignment>
|
|
||||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup>
|
|
||||||
<ArcGISFolder>$([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\ESRI\ArcGISPro', 'InstallDir', null, RegistryView.Registry64))</ArcGISFolder>
|
|
||||||
<ArcGISFolder Condition="'$(ArcGISFolder)' == ''">$(registry:HKEY_CURRENT_USER\SOFTWARE\ESRI\ArcGISPro@InstallDir)</ArcGISFolder>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
||||||
<DebugSymbols>true</DebugSymbols>
|
|
||||||
<DebugType>full</DebugType>
|
|
||||||
<Optimize>false</Optimize>
|
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
||||||
<ErrorReport>prompt</ErrorReport>
|
|
||||||
<WarningLevel>4</WarningLevel>
|
|
||||||
<StartAction>Program</StartAction>
|
|
||||||
<StartProgram>$(ArcGISFolder)\bin\ArcGISPro.exe</StartProgram>
|
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
||||||
<DebugType>pdbonly</DebugType>
|
|
||||||
<Optimize>true</Optimize>
|
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
|
||||||
<ErrorReport>prompt</ErrorReport>
|
|
||||||
<WarningLevel>4</WarningLevel>
|
|
||||||
<StartAction>Program</StartAction>
|
|
||||||
<StartProgram>$(ArcGISFolder)\bin\ArcGISPro.exe</StartProgram>
|
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
<Compile Remove=".git\**" />
|
||||||
<HintPath>packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
|
<EmbeddedResource Remove=".git\**" />
|
||||||
</Reference>
|
<None Remove=".git\**" />
|
||||||
<Reference Include="System" />
|
<Page Remove=".git\**" />
|
||||||
<Reference Include="System.Core" />
|
|
||||||
<Reference Include="System.Xml.Linq" />
|
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
|
||||||
<Reference Include="Microsoft.CSharp" />
|
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
|
||||||
<Reference Include="System.Data" />
|
|
||||||
<Reference Include="System.Xml" />
|
|
||||||
<Reference Include="PresentationCore" />
|
|
||||||
<Reference Include="PresentationFramework" />
|
|
||||||
<Reference Include="WindowsBase" />
|
|
||||||
<Reference Include="System.Xaml" />
|
|
||||||
<Reference Include="ArcGIS.Desktop.Framework">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\ArcGIS.Desktop.Framework.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ArcGIS.Core">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\ArcGIS.Core.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ArcGIS.Desktop.Core">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\Extensions\Core\ArcGIS.Desktop.Core.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ArcGIS.Desktop.Mapping">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\Extensions\Mapping\ArcGIS.Desktop.Mapping.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ArcGIS.Desktop.Catalog">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\Extensions\Catalog\ArcGIS.Desktop.Catalog.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ArcGIS.Desktop.Editing">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\Extensions\Editing\ArcGIS.Desktop.Editing.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ArcGIS.Desktop.Extensions">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\Extensions\DesktopExtensions\ArcGIS.Desktop.Extensions.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ArcGIS.Desktop.GeoProcessing">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\Extensions\GeoProcessing\ArcGIS.Desktop.GeoProcessing.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ArcGIS.Desktop.Layouts">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\Extensions\Layout\ArcGIS.Desktop.Layouts.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ArcGIS.Desktop.Shared.Wpf">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\ArcGIS.Desktop.Shared.Wpf.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ArcGIS.Desktop.Ribbon.Wpf">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\ArcGIS.Desktop.Ribbon.Wpf.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ArcGIS.Desktop.DataGrid.Contrib.Wpf">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\ArcGIS.Desktop.DataGrid.Contrib.Wpf.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ArcGIS.Desktop.Resources">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\ArcGIS.Desktop.Resources.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ArcGIS.Desktop.Resources">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\ArcGIS.Desktop.Resources.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ESRI.ArcGIS.ItemIndex">
|
|
||||||
<HintPath>$(ArcGISFolder)\bin\ESRI.ArcGIS.ItemIndex.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="Xceed.Wpf.Toolkit">
|
|
||||||
<HintPath>..\wpftoolkit-master\ExtendedWPFToolkitSolution\Src\Xceed.Wpf.Toolkit\bin\Release\Xceed.Wpf.Toolkit.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<AddInContent Include="Config.daml" />
|
<Content Include="Config.daml" />
|
||||||
<AddInContent Include="Images\AddInDesktop16.png" />
|
<Content Include="Images\AddInDesktop16.png" />
|
||||||
<AddInContent Include="Images\AddInDesktop32.png" />
|
<Content Include="Images\AddInDesktop32.png" />
|
||||||
<AddInContent Include="DarkImages\AddInDesktop16.png" />
|
<Content Include="DarkImages\AddInDesktop16.png" />
|
||||||
<AddInContent Include="DarkImages\AddInDesktop32.png" />
|
<Content Include="DarkImages\AddInDesktop32.png" />
|
||||||
</ItemGroup>
|
<Content Include="DarkImages\GenericButtonBlue16.png" />
|
||||||
<ItemGroup>
|
<Content Include="DarkImages\GenericButtonBlue32.png" />
|
||||||
<Compile Include="Button\ButtonConfig.cs" />
|
<Content Include="Images\OliviaIconPro16.png" />
|
||||||
<Compile Include="Button\ButtonLimp.cs" />
|
<Content Include="Images\OliviaIconPro32.png" />
|
||||||
<Compile Include="Button\ButtonMaq.cs" />
|
<Content Include="DarkImages\GenericButtonPurple16.png" />
|
||||||
<Compile Include="Button\ButtonRec.cs" />
|
<Content Include="DarkImages\GenericButtonPurple32.png" />
|
||||||
<Compile Include="Conexion\Cstr_socket.cs" />
|
<Content Include="DarkImages\GenericButtonGreen16.png" />
|
||||||
<Compile Include="Helper\EnabledComboBoxItem.cs" />
|
<Content Include="DarkImages\GenericButtonGreen32.png" />
|
||||||
<Compile Include="Helper\CheckedListItem.cs" />
|
<Content Include="Images\reco2.png" />
|
||||||
<Compile Include="Helper\HelperGdb.cs" />
|
<Content Include="Images\carrito2.png" />
|
||||||
<Compile Include="Helper\HelperGlobal.cs" />
|
<Content Include="Images\config2_olv.png" />
|
||||||
<Compile Include="Model\ComunDef.cs" />
|
|
||||||
<Compile Include="Model\ESRI.ArcGIS.Geometry.esriSRProjCS4Type.cs" />
|
|
||||||
<Compile Include="Model\Recogida.cs" />
|
|
||||||
<Compile Include="Model\RecogidaDef.cs" />
|
|
||||||
<Compile Include="Model\Respuesta.cs" />
|
|
||||||
<Compile Include="Model\TratamientoComun.cs" />
|
|
||||||
<Compile Include="Model\Limpieza.cs" />
|
|
||||||
<Compile Include="Model\LimpiezaDef.cs" />
|
|
||||||
<Compile Include="Services\EjecServ.cs" />
|
|
||||||
<Compile Include="Model\OliviaConf.cs" />
|
|
||||||
<Compile Include="Model\OliviaDef.cs" />
|
|
||||||
<Compile Include="Services\ConfigServ.cs" />
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<Compile Include="Services\LanzaSrv\LanzaLimpSrv.cs" />
|
|
||||||
<Compile Include="Services\LanzaSrv\LanzaOlvServ.cs" />
|
|
||||||
<Compile Include="Services\LanzaSrv\LanzaRecoSrv.cs" />
|
|
||||||
=======
|
|
||||||
<Compile Include="Services\ImportaResServ.cs" />
|
|
||||||
>>>>>>> Elena/reco
|
|
||||||
<Compile Include="Services\LimpiezaServ.cs" />
|
|
||||||
<Compile Include="Services\RecogidaServ.cs" />
|
|
||||||
<Compile Include="ViewModel\Configuracion\DockpaneConfigViewModel.cs" />
|
|
||||||
<Compile Include="ViewModel\Configuracion\PaneConfigViewModel.cs" />
|
|
||||||
<Compile Include="ViewModel\OptionsMenuItem.cs" />
|
|
||||||
<Compile Include="ViewModel\PaneEjecutarViewModel.cs" />
|
|
||||||
<Compile Include="ViewModel\Limpieza\PaneLimpiezaSub4ViewModel.cs" />
|
|
||||||
<Compile Include="ViewModel\Limpieza\PaneLimpiezaSub3ViewModel.cs" />
|
|
||||||
<Compile Include="ViewModel\Limpieza\PaneLimpiezaSub2ViewModel.cs" />
|
|
||||||
<Compile Include="ViewModel\Limpieza\PaneLimpiezaViewModel.cs" />
|
|
||||||
<Compile Include="ViewModel\PanelViewModelBase.cs" />
|
|
||||||
<Compile Include="ViewModel\Recogida\PaneRecogidaSub1ViewModel.cs" />
|
|
||||||
<Compile Include="View\Recogida\PaneRecogidaSub1.xaml.cs">
|
|
||||||
<DependentUpon>PaneRecogidaSub1.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="View\Recogida\PaneRecogida.xaml.cs">
|
|
||||||
<DependentUpon>PaneRecogida.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="ViewModel\Recogida\PaneRecogidaViewModel.cs" />
|
|
||||||
<Compile Include="View\Configuracion\DockPaneConfig.xaml.cs">
|
|
||||||
<DependentUpon>DockPaneConfig.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="View\Configuracion\PaneConfigView.xaml.cs">
|
|
||||||
<DependentUpon>PaneConfigView.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="View\PaneEjecutar.xaml.cs">
|
|
||||||
<DependentUpon>PaneEjecutar.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="View\Limpieza\PaneLimpiezaSub4.xaml.cs">
|
|
||||||
<DependentUpon>PaneLimpiezaSub4.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="View\Limpieza\PaneLimpiezaSub3.xaml.cs">
|
|
||||||
<DependentUpon>PaneLimpiezaSub3.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="View\Limpieza\PaneLimpiezaSub2.xaml.cs">
|
|
||||||
<DependentUpon>PaneLimpiezaSub2.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="View\Limpieza\PaneLimpiezaSub1.xaml.cs">
|
|
||||||
<DependentUpon>PaneLimpiezaSub1.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="ViewModel\Limpieza\PaneLimpiezaSub1ViewModel.cs" />
|
|
||||||
<Compile Include="View\Limpieza\PaneLimpieza.xaml.cs">
|
|
||||||
<DependentUpon>PaneLimpieza.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="View\Limpieza\DockpaneLimpieza.xaml.cs">
|
|
||||||
<DependentUpon>DockpaneLimpieza.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="ViewModel\Limpieza\DockpaneLimpiezaViewModel.cs" />
|
|
||||||
<Compile Include="View\Recogida\DockpaneRecogida.xaml.cs">
|
|
||||||
<DependentUpon>DockpaneRecogida.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="ViewModel\Recogida\DockpaneRecogidaViewModel.cs" />
|
|
||||||
<Compile Include="Module1.cs" />
|
|
||||||
<Compile Include="Model\OliviaGlob.cs" />
|
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
||||||
<Compile Include="Resource1.Designer.cs">
|
|
||||||
<AutoGen>True</AutoGen>
|
|
||||||
<DesignTime>True</DesignTime>
|
|
||||||
<DependentUpon>Resource1.resx</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="View\ProWndSelectFields.xaml.cs">
|
|
||||||
<DependentUpon>ProWndSelectFields.xaml</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="ViewModel\ShowProWndSelectFields.cs" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AddInContent Include="DarkImages\GenericButtonBlue16.png" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AddInContent Include="DarkImages\GenericButtonBlue32.png" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AddInContent Include="Images\OliviaIconPro16.png" />
|
|
||||||
<AddInContent Include="Images\OliviaIconPro32.png" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Resource Include="OliviaIconPro.ico" />
|
<Resource Include="OliviaIconPro.ico" />
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Page Include="View\Recogida\PaneRecogidaSub1.xaml">
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\Recogida\PaneRecogida.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\Configuracion\DockPaneConfig.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\Configuracion\PaneConfigView.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\PaneEjecutar.xaml">
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\Limpieza\PaneLimpiezaSub4.xaml">
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\Limpieza\PaneLimpiezaSub3.xaml">
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\Limpieza\PaneLimpiezaSub2.xaml">
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\Limpieza\PaneLimpiezaSub1.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\Limpieza\PaneLimpieza.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\Limpieza\DockpaneLimpieza.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\Recogida\DockpaneRecogida.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
</Page>
|
|
||||||
<Page Include="View\ProWndSelectFields.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
<Generator>MSBuild:Compile</Generator>
|
|
||||||
</Page>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AddInContent Include="DarkImages\GenericButtonPurple16.png" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AddInContent Include="DarkImages\GenericButtonPurple32.png" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<EmbeddedResource Include="Resource1.resx">
|
|
||||||
<Generator>ResXFileCodeGenerator</Generator>
|
|
||||||
<LastGenOutput>Resource1.Designer.cs</LastGenOutput>
|
|
||||||
</EmbeddedResource>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AddInContent Include="Images\config.png" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AddInContent Include="DarkImages\GenericButtonGreen16.png" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AddInContent Include="DarkImages\GenericButtonGreen32.png" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Resource Include="View\OliviaIconPro16.png" />
|
<Resource Include="View\OliviaIconPro16.png" />
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Resource Include="View\OliviaIconPro.ico" />
|
<Resource Include="View\OliviaIconPro.ico" />
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="packages.config" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Resource Include="Resources\inicio.png" />
|
<Resource Include="Resources\inicio.png" />
|
||||||
<Resource Include="Resources\ptosctrl.png" />
|
<Resource Include="Resources\ptosctrl.png" />
|
||||||
<Resource Include="Resources\time.png" />
|
<Resource Include="Resources\time.png" />
|
||||||
<Resource Include="Resources\zonas.png" />
|
<Resource Include="Resources\zonas.png" />
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Resource Include="Images\openfolder.png" />
|
<Resource Include="Images\openfolder.png" />
|
||||||
|
<Resource Include="Images\help16Pro.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
<ItemGroup />
|
<ItemGroup>
|
||||||
|
<PackageReference Include="DotNetProjects.Extended.Wpf.Toolkit" Version="5.0.103" />
|
||||||
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
|
||||||
|
<Reference Include="ArcGIS.Desktop.Framework">
|
||||||
|
<HintPath>C:\Program Files\ArcGIS\Pro\bin\ArcGIS.Desktop.Framework.dll</HintPath>
|
||||||
|
<CopyLocal>false</CopyLocal>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="ArcGIS.Core">
|
||||||
|
<HintPath>C:\Program Files\ArcGIS\Pro\bin\ArcGIS.Core.dll</HintPath>
|
||||||
|
<CopyLocal>false</CopyLocal>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="ArcGIS.Desktop.Core">
|
||||||
|
<HintPath>C:\Program Files\ArcGIS\Pro\bin\Extensions\Core\ArcGIS.Desktop.Core.dll</HintPath>
|
||||||
|
<CopyLocal>false</CopyLocal>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="ArcGIS.Desktop.Layouts">
|
||||||
|
<HintPath>C:\Program Files\ArcGIS\Pro\bin\Extensions\Layout\ArcGIS.Desktop.Layouts.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="ArcGIS.Desktop.Mapping">
|
||||||
|
<HintPath>C:\Program Files\ArcGIS\Pro\bin\Extensions\Mapping\ArcGIS.Desktop.Mapping.dll</HintPath>
|
||||||
|
<CopyLocal>false</CopyLocal>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="ArcGIS.Desktop.Catalog">
|
||||||
|
<HintPath>C:\Program Files\ArcGIS\Pro\bin\Extensions\Catalog\ArcGIS.Desktop.Catalog.dll</HintPath>
|
||||||
|
<CopyLocal>false</CopyLocal>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="ArcGIS.Desktop.Shared.Wpf">
|
||||||
|
<HintPath>C:\Program Files\ArcGIS\Pro\bin\ArcGIS.Desktop.Shared.Wpf.dll</HintPath>
|
||||||
|
<CopyLocal>false</CopyLocal>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="ArcGIS.Desktop.Editing">
|
||||||
|
<HintPath>C:\Program Files\ArcGIS\Pro\bin\Extensions\Editing\ArcGIS.Desktop.Editing.dll</HintPath>
|
||||||
|
<CopyLocal>false</CopyLocal>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="ArcGIS.Desktop.Extensions">
|
||||||
|
<HintPath>C:\Program Files\ArcGIS\Pro\bin\Extensions\DesktopExtensions\ArcGIS.Desktop.Extensions.dll</HintPath>
|
||||||
|
<CopyLocal>false</CopyLocal>
|
||||||
|
</Reference>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="packages.config" />
|
||||||
|
<None Include=".gitignore" />
|
||||||
|
<None Include="Backup-2.x.zip" />
|
||||||
|
<None Include="OliviaAddInPro.csproj.bak" />
|
||||||
|
<None Include="OliviaAddInPro.csproj.user" />
|
||||||
|
<None Include="OliviaIconPro.ico" />
|
||||||
|
<None Include="Images\config2_.png" />
|
||||||
|
<None Include="Images\config2_olv - copia.png" />
|
||||||
|
<None Include="Images\config_old.png" />
|
||||||
|
<None Include="Images\genericproperties32.png" />
|
||||||
|
<None Include="Images\help16Pro.png" />
|
||||||
|
<None Include="Images\masking32.png" />
|
||||||
|
<None Include="Images\OliviaIconPro.ico" />
|
||||||
|
<None Include="Images\OliviaIconPro32Web.png" />
|
||||||
|
<None Include="Images\open32.png" />
|
||||||
|
<None Include="Images\openfolder.png" />
|
||||||
|
<None Include="Images\openfolder32.png" />
|
||||||
|
<None Include="Images\time32.png" />
|
||||||
|
<None Include="Model\OliviaGlob.cs.bak" />
|
||||||
|
<None Include="Model\Recogida.cs.bak" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\.signature.p7s" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\LICENSE.md" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\Newtonsoft.Json.13.0.1.nupkg" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\packageIcon.png" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\net20\Newtonsoft.Json.dll" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\net20\Newtonsoft.Json.xml" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\net35\Newtonsoft.Json.dll" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\net35\Newtonsoft.Json.xml" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\net40\Newtonsoft.Json.dll" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\net40\Newtonsoft.Json.xml" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.xml" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\netstandard1.0\Newtonsoft.Json.dll" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\netstandard1.0\Newtonsoft.Json.xml" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\netstandard1.3\Newtonsoft.Json.dll" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\netstandard1.3\Newtonsoft.Json.xml" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\netstandard2.0\Newtonsoft.Json.dll" />
|
||||||
|
<None Include="packages\Newtonsoft.Json.13.0.1\lib\netstandard2.0\Newtonsoft.Json.xml" />
|
||||||
|
<None Include="Resources\inicio.png" />
|
||||||
|
<None Include="Resources\inicio24.png" />
|
||||||
|
<None Include="Resources\ptosctrl.png" />
|
||||||
|
<None Include="Resources\ptosctrl24.png" />
|
||||||
|
<None Include="Resources\time.png" />
|
||||||
|
<None Include="Resources\time24.png" />
|
||||||
|
<None Include="Resources\zonas.png" />
|
||||||
|
<None Include="Resources\zonas24.png" />
|
||||||
|
<None Include="Services\ProcesoEjecServ.cs.bak" />
|
||||||
|
<None Include="View\OliviaIconPro.ico" />
|
||||||
|
<None Include="View\OliviaIconPro16.png" />
|
||||||
|
<None Include="View\Recogida\old\PaneRecogidaSub2.xaml.NotUsed" />
|
||||||
|
<None Include="View\Recogida\old\PaneRecogidaSub2.xaml.cs.NotUsed" />
|
||||||
|
<None Include="View\Recogida\old\PaneRecogidaSub4.xaml.NotUsed" />
|
||||||
|
<None Include="View\Recogida\old\PaneRecogidaSub4.xaml.cs.NotUsed" />
|
||||||
|
<None Include="ViewModel\Limpieza\PaneLimpiezaViewModel.cs.bak" />
|
||||||
|
<None Include="ViewModel\Recogida\old\PaneRecogidaSub2ViewModel.cs.NotUsed" />
|
||||||
|
<None Include="ViewModel\Recogida\old\PaneRecogidaSub4ViewModel.cs.NotUsed" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Update="Resource1.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Resource1.resx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="C:\Program Files\ArcGIS\Pro\bin\Esri.ProApp.SDK.Desktop.targets" Condition="Exists('C:\Program Files\ArcGIS\Pro\bin\Esri.ProApp.SDK.Desktop.targets') AND !Exists('Esri.ArcGISPro.Extensions.targets')" />
|
||||||
=======
|
=======
|
||||||
<ItemGroup>
|
|
||||||
<AddInContent Include="Images\config2.png" />
|
|
||||||
<AddInContent Include="Images\reco2.png" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AddInContent Include="Images\carrito2.png" />
|
|
||||||
</ItemGroup>
|
|
||||||
>>>>>>> Elena/reco
|
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<!--
|
<!--
|
||||||
PackageAction can be:
|
PackageAction can be:
|
||||||
|
|
@ -352,12 +164,17 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<PackageAction>BuildDefault</PackageAction>
|
<PackageAction>BuildDefault</PackageAction>
|
||||||
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<UsingTask AssemblyFile="$(ArcGISFolder)\bin\proapp-sdk-MSBuild.dll" TaskName="proapp_sdk_MSBuild.PackageAddIn" />
|
<UsingTask AssemblyFile="$(ArcGISFolder)\bin\proapp-sdk-MSBuild.dll" TaskName="proapp_sdk_MSBuild.PackageAddIn" />
|
||||||
<UsingTask AssemblyFile="$(ArcGISFolder)\bin\proapp-sdk-MSBuild.dll" TaskName="proapp_sdk_MSBuild.CleanAddIn" />
|
<UsingTask AssemblyFile="$(ArcGISFolder)\bin\proapp-sdk-MSBuild.dll" TaskName="proapp_sdk_MSBuild.CleanAddIn" />
|
||||||
<UsingTask AssemblyFile="$(ArcGISFolder)\bin\proapp-sdk-MSBuild.dll" TaskName="proapp_sdk_MSBuild.ConvertToRelativePath" />
|
<UsingTask AssemblyFile="$(ArcGISFolder)\bin\proapp-sdk-MSBuild.dll" TaskName="proapp_sdk_MSBuild.ConvertToRelativePath" />
|
||||||
<!--<Import Project="Esri.ArcGISPro.Extensions.targets" Condition="Exists('Esri.ArcGISPro.Extensions.targets')" />-->
|
<!--<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')" />
|
<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>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</PropertyGroup>
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- 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.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
<Target Name="BeforeBuild">
|
<Target Name="BeforeBuild">
|
||||||
|
|
@ -368,4 +185,5 @@
|
||||||
<!--<Target Name="BeforeBuild">
|
<!--<Target Name="BeforeBuild">
|
||||||
<Error Text="C:\Users\Elena\AppData\Local\Programs\ArcGIS\Pro\bin\Esri.ProApp.SDK.Desktop.targets not found." Condition="!Exists('C:\Users\Elena\AppData\Local\Programs\ArcGIS\Pro\bin\Esri.ProApp.SDK.Desktop.targets') AND !Exists('Esri.ArcGISPro.Extensions.targets')" />
|
<Error Text="C:\Users\Elena\AppData\Local\Programs\ArcGIS\Pro\bin\Esri.ProApp.SDK.Desktop.targets not found." Condition="!Exists('C:\Users\Elena\AppData\Local\Programs\ArcGIS\Pro\bin\Esri.ProApp.SDK.Desktop.targets') AND !Exists('Esri.ArcGISPro.Extensions.targets')" />
|
||||||
</Target>-->
|
</Target>-->
|
||||||
|
>>>>>>> origin/develop
|
||||||
</Project>
|
</Project>
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
# Visual Studio Version 16
|
# Visual Studio Version 16
|
||||||
VisualStudioVersion = 16.0.30011.22
|
VisualStudioVersion = 16.0.30011.22
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ using System.Runtime.InteropServices;
|
||||||
[assembly: AssemblyConfiguration("")]
|
[assembly: AssemblyConfiguration("")]
|
||||||
[assembly: AssemblyCompany("VSM - Narvaling")]
|
[assembly: AssemblyCompany("VSM - Narvaling")]
|
||||||
[assembly: AssemblyProduct("OliviaAddInPro")]
|
[assembly: AssemblyProduct("OliviaAddInPro")]
|
||||||
[assembly: AssemblyCopyright("Copyright © VSM 2022")]
|
[assembly: AssemblyCopyright("Copyright © VSM 2023")]
|
||||||
[assembly: AssemblyTrademark("")]
|
[assembly: AssemblyTrademark("")]
|
||||||
[assembly: AssemblyCulture("")]
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
|
@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("3.0.0.0")]
|
[assembly: AssemblyVersion("3.2.0.0")]
|
||||||
[assembly: AssemblyFileVersion("3.0.0.0")]
|
[assembly: AssemblyFileVersion("3.2.0.0")]
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"profiles": {
|
||||||
|
"OliviaAddInPro": {
|
||||||
|
"commandName": "Executable",
|
||||||
|
"executablePath": "C:\\Program Files\\ArcGIS\\Pro\\bin\\ArcGISPro.exe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -15,7 +15,7 @@ namespace OliviaAddInPro.Services
|
||||||
private static string pathConfigDef = "C:\\Olivia";
|
private static string pathConfigDef = "C:\\Olivia";
|
||||||
private static ConfigServ configServ=null;
|
private static ConfigServ configServ=null;
|
||||||
private static string nameDirWork = "%dir_work%";
|
private static string nameDirWork = "%dir_work%";
|
||||||
public const string OlvRegKey = "SOFTWARE\\Narvaling\\Olivia_3_0";
|
public const string OlvRegKey = "SOFTWARE\\Narvaling\\Olivia_3_1";
|
||||||
public const string OlvRegName = "workdir";
|
public const string OlvRegName = "workdir";
|
||||||
public const string OlvConfigName = "olv.conf";
|
public const string OlvConfigName = "olv.conf";
|
||||||
|
|
||||||
|
|
@ -60,6 +60,10 @@ namespace OliviaAddInPro.Services
|
||||||
|
|
||||||
res.path_exe = pon_path_absoluto(res.path_exe, res.path_work);
|
res.path_exe = pon_path_absoluto(res.path_exe, res.path_work);
|
||||||
res.path_manual = pon_path_absoluto(res.path_manual, res.path_work);
|
res.path_manual = pon_path_absoluto(res.path_manual, res.path_work);
|
||||||
|
//chapa
|
||||||
|
if (res.path_manual.Contains("Manual_Olivia_3_0.pdf"))
|
||||||
|
res.path_manual.Replace("Manual_Olivia_3_0.pdf", "Manual_Olivia.pdf");
|
||||||
|
//////////////
|
||||||
res.path_temp = pon_path_absoluto(res.path_temp, res.path_work);
|
res.path_temp = pon_path_absoluto(res.path_temp, res.path_work);
|
||||||
res.path_data = pon_path_absoluto(res.path_data, res.path_work);
|
res.path_data = pon_path_absoluto(res.path_data, res.path_work);
|
||||||
res.path_cfg_aux = @"%dir_work%cfg.ini";
|
res.path_cfg_aux = @"%dir_work%cfg.ini";
|
||||||
|
|
@ -67,8 +71,9 @@ namespace OliviaAddInPro.Services
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Guardar(OliviaConf conf)
|
public Respuesta<bool> Guardar(OliviaConf conf)
|
||||||
{
|
{
|
||||||
|
Respuesta<bool> resp = new Respuesta<bool> { Value = true };
|
||||||
conf.path_exe = pon_path_relativo(conf.path_exe, conf.path_work);
|
conf.path_exe = pon_path_relativo(conf.path_exe, conf.path_work);
|
||||||
conf.path_manual = pon_path_relativo(conf.path_manual, conf.path_work);
|
conf.path_manual = pon_path_relativo(conf.path_manual, conf.path_work);
|
||||||
conf.path_temp = pon_path_relativo(conf.path_temp, conf.path_work);
|
conf.path_temp = pon_path_relativo(conf.path_temp, conf.path_work);
|
||||||
|
|
@ -80,11 +85,19 @@ namespace OliviaAddInPro.Services
|
||||||
conf.PathSimbESRI = pon_path_relativo(conf.PathSimbESRI, conf.path_work);
|
conf.PathSimbESRI = pon_path_relativo(conf.PathSimbESRI, conf.path_work);
|
||||||
conf.PathCartela = pon_path_relativo(conf.PathCartela, conf.path_work);
|
conf.PathCartela = pon_path_relativo(conf.PathCartela, conf.path_work);
|
||||||
conf.Path_Eje_via = pon_path_relativo(conf.Path_Eje_via, conf.path_work);
|
conf.Path_Eje_via = pon_path_relativo(conf.Path_Eje_via, conf.path_work);
|
||||||
|
|
||||||
string jsonString = JsonConvert.SerializeObject(conf);
|
try
|
||||||
var path_cfg = GetPathConfig();
|
{
|
||||||
path_cfg = Path.Combine(path_cfg, OlvConfigName);
|
string jsonString = JsonConvert.SerializeObject(conf);
|
||||||
File.WriteAllText(path_cfg, jsonString);
|
var path_cfg = GetPathConfig();
|
||||||
|
path_cfg = Path.Combine(path_cfg, OlvConfigName);
|
||||||
|
File.WriteAllText(path_cfg, jsonString);
|
||||||
|
}
|
||||||
|
catch(Exception ex)
|
||||||
|
{
|
||||||
|
resp.Error.Add("Error al guardar archivo: " + ex.Message);
|
||||||
|
resp.Value = false;
|
||||||
|
}
|
||||||
|
|
||||||
conf.path_exe = pon_path_absoluto(conf.path_exe, conf.path_work);
|
conf.path_exe = pon_path_absoluto(conf.path_exe, conf.path_work);
|
||||||
conf.path_cfg_aux = pon_path_absoluto(conf.path_cfg_aux, conf.path_work);
|
conf.path_cfg_aux = pon_path_absoluto(conf.path_cfg_aux, conf.path_work);
|
||||||
|
|
@ -96,6 +109,8 @@ namespace OliviaAddInPro.Services
|
||||||
conf.PathSimbESRI = pon_path_absoluto(conf.PathSimbESRI, conf.path_work);
|
conf.PathSimbESRI = pon_path_absoluto(conf.PathSimbESRI, conf.path_work);
|
||||||
conf.PathCartela = pon_path_absoluto(conf.PathCartela, conf.path_work);
|
conf.PathCartela = pon_path_absoluto(conf.PathCartela, conf.path_work);
|
||||||
conf.Path_Eje_via = pon_path_absoluto(conf.Path_Eje_via, conf.path_work);
|
conf.Path_Eje_via = pon_path_absoluto(conf.Path_Eje_via, conf.path_work);
|
||||||
|
|
||||||
|
return resp;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* cambia la carpeta referida a directorio de trabajo por los caracteres OliviaDirWork (%dir_work%)
|
* cambia la carpeta referida a directorio de trabajo por los caracteres OliviaDirWork (%dir_work%)
|
||||||
|
|
@ -170,7 +185,7 @@ namespace OliviaAddInPro.Services
|
||||||
c.buffer_export = 1000;
|
c.buffer_export = 1000;
|
||||||
|
|
||||||
c.path_exe=@"%dir_work%bin\OliviaTasks.exe";
|
c.path_exe=@"%dir_work%bin\OliviaTasks.exe";
|
||||||
c.path_manual= @"%dir_work%Manual_Olivia_3_0.pdf";
|
c.path_manual= @"%dir_work%Manual_Olivia.pdf";
|
||||||
c.path_temp = @"%dir_work%temp\";
|
c.path_temp = @"%dir_work%temp\";
|
||||||
c.path_data=@"%dir_work%data\";
|
c.path_data=@"%dir_work%data\";
|
||||||
c.Path_Eje_via = "";
|
c.Path_Eje_via = "";
|
||||||
|
|
@ -292,7 +307,7 @@ namespace OliviaAddInPro.Services
|
||||||
c.v_desp_LS=0;
|
c.v_desp_LS=0;
|
||||||
|
|
||||||
//Reco
|
//Reco
|
||||||
c.id= "OBJECTID";
|
c.id= "ID";
|
||||||
c.nomrec= "NOMB_TIP_REC";
|
c.nomrec= "NOMB_TIP_REC";
|
||||||
c.lateralidad= "LATERALIDAD";
|
c.lateralidad= "LATERALIDAD";
|
||||||
c.frac= "FRACCION";
|
c.frac= "FRACCION";
|
||||||
|
|
|
||||||
|
|
@ -82,10 +82,10 @@ namespace OliviaAddInPro.Services
|
||||||
//////////////////////////////////////////////
|
//////////////////////////////////////////////
|
||||||
///Se guarda el nombre de los campos originales
|
///Se guarda el nombre de los campos originales
|
||||||
///
|
///
|
||||||
com.GuardaNombCamposOrig(com.CapaElems);
|
com.GuardaCamposOrig(com.CapaElems);
|
||||||
|
|
||||||
//Cuenta las filas que cumplen la consulta
|
//Cuenta las filas que cumplen la consulta
|
||||||
int nelems = HelperGdb.GetNumElemsSync(com.CapaElems, com.ConsultaAmbs);
|
var nelems = HelperGdb.GetNumElemsSync(com.CapaElems, com.ConsultaAmbs);
|
||||||
if (nelems <= 0)
|
if (nelems <= 0)
|
||||||
{
|
{
|
||||||
ErrStr = "No existen ámbitos que cumplan las condiciones introducidas para la exportación " + com.ConsultaAmbs;
|
ErrStr = "No existen ámbitos que cumplan las condiciones introducidas para la exportación " + com.ConsultaAmbs;
|
||||||
|
|
@ -335,6 +335,7 @@ namespace OliviaAddInPro.Services
|
||||||
//guarda la mima de la geometría de la red navegable a exportar
|
//guarda la mima de la geometría de la red navegable a exportar
|
||||||
com.MimaNw = geom_export.Extent;
|
com.MimaNw = geom_export.Extent;
|
||||||
//////////////////////////////////////
|
//////////////////////////////////////
|
||||||
|
///
|
||||||
//Hace el filtro con la geometría final
|
//Hace el filtro con la geometría final
|
||||||
filtroEspacial = HelperGdb.CreateFiler(String.Empty, geom_export);
|
filtroEspacial = HelperGdb.CreateFiler(String.Empty, geom_export);
|
||||||
if (filtroEspacial == null)
|
if (filtroEspacial == null)
|
||||||
|
|
@ -518,13 +519,9 @@ namespace OliviaAddInPro.Services
|
||||||
public bool ComprCreaColOid(string pathCapa, string pathCapaOrig, SpatialQueryFilter filter)
|
public bool ComprCreaColOid(string pathCapa, string pathCapaOrig, SpatialQueryFilter filter)
|
||||||
{
|
{
|
||||||
//comprueba si está el campo
|
//comprueba si está el campo
|
||||||
int NCAMPS = 1;
|
bool compCamp = HelperGdb.CheckField(pathCapa, ComunDef.CamposCom.camp_oid);
|
||||||
string[] camps;
|
|
||||||
camps = new string[NCAMPS];
|
|
||||||
camps[0] = ComunDef.CamposCom.camp_oid;
|
|
||||||
int compCamp = HelperGdb.CheckFileds(pathCapa, camps);
|
|
||||||
ErrStr = HelperGdb.OutStr;
|
ErrStr = HelperGdb.OutStr;
|
||||||
if (compCamp == 0)
|
if (compCamp)
|
||||||
return true; //tiene el campo
|
return true; //tiene el campo
|
||||||
|
|
||||||
//no lo tiene, lo crea
|
//no lo tiene, lo crea
|
||||||
|
|
@ -563,7 +560,7 @@ namespace OliviaAddInPro.Services
|
||||||
{
|
{
|
||||||
if (fc_shp == null)
|
if (fc_shp == null)
|
||||||
return false;
|
return false;
|
||||||
int nelem_shp = HelperGdb.GetNumElemsSync(fc_shp);
|
long nelem_shp = HelperGdb.GetNumElemsSync(fc_shp);
|
||||||
if (nelem_shp != ids.Count)
|
if (nelem_shp != ids.Count)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
@ -635,11 +632,13 @@ namespace OliviaAddInPro.Services
|
||||||
if (geomAux == null)
|
if (geomAux == null)
|
||||||
{
|
{
|
||||||
ErrStr = "Error al intersecar zonas y/o niveles.";
|
ErrStr = "Error al intersecar zonas y/o niveles.";
|
||||||
|
HelperGdb.Free(fc);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (geomAux.IsEmpty)
|
if (geomAux.IsEmpty)
|
||||||
{
|
{
|
||||||
ErrStr = "No existen ámbitos en la intersección entre zonas y/o niveles.";
|
ErrStr = "No existen ámbitos en la intersección entre zonas y/o niveles.";
|
||||||
|
HelperGdb.Free(fc);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -647,6 +646,7 @@ namespace OliviaAddInPro.Services
|
||||||
if ((geomAux == null) && (com.CapaElems == OliviaGlob.Paths.PathGdbNw))
|
if ((geomAux == null) && (com.CapaElems == OliviaGlob.Paths.PathGdbNw))
|
||||||
{
|
{
|
||||||
ErrStr = "Al emplear ejes de calle como ámbitos es necesario indicar polígono de exportación";
|
ErrStr = "Al emplear ejes de calle como ámbitos es necesario indicar polígono de exportación";
|
||||||
|
HelperGdb.Free(fc);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -659,6 +659,7 @@ namespace OliviaAddInPro.Services
|
||||||
if (geomAmbits == null || geomAmbits.IsEmpty)
|
if (geomAmbits == null || geomAmbits.IsEmpty)
|
||||||
{
|
{
|
||||||
ErrStr = "No se ha podido generar geometría de los ámbitos" + com.ConsultaAmbs + HelperGdb.OutStr;
|
ErrStr = "No se ha podido generar geometría de los ámbitos" + com.ConsultaAmbs + HelperGdb.OutStr;
|
||||||
|
HelperGdb.Free(fc);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (geomAux == null)
|
if (geomAux == null)
|
||||||
|
|
@ -676,6 +677,7 @@ namespace OliviaAddInPro.Services
|
||||||
if (geomAux == null)
|
if (geomAux == null)
|
||||||
{
|
{
|
||||||
ErrStr = "Error al intersecar con las restricciones.";
|
ErrStr = "Error al intersecar con las restricciones.";
|
||||||
|
HelperGdb.Free(fc);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -830,7 +832,6 @@ namespace OliviaAddInPro.Services
|
||||||
string shapefile = System.IO.Path.GetFileNameWithoutExtension(path_shape);
|
string shapefile = System.IO.Path.GetFileNameWithoutExtension(path_shape);
|
||||||
int ind = shapefile.IndexOf("_", 0);
|
int ind = shapefile.IndexOf("_", 0);
|
||||||
string prefijo = shapefile.Substring(ind + 1, 1);
|
string prefijo = shapefile.Substring(ind + 1, 1);
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////////
|
||||||
//decodifica el nombre del shapefile para asignarle el correspondiente nombre en la GDB a la que se importa el shape
|
//decodifica el nombre del shapefile para asignarle el correspondiente nombre en la GDB a la que se importa el shape
|
||||||
string tratamiento = string.Empty;
|
string tratamiento = string.Empty;
|
||||||
|
|
@ -881,9 +882,10 @@ namespace OliviaAddInPro.Services
|
||||||
//tratamiento = System.IO.Path.GetFileName(System.IO.Path.GetDirectoryName(path_aux));
|
//tratamiento = System.IO.Path.GetFileName(System.IO.Path.GetDirectoryName(path_aux));
|
||||||
amb_aux = System.IO.Path.GetFileNameWithoutExtension(path_aux);
|
amb_aux = System.IO.Path.GetFileNameWithoutExtension(path_aux);
|
||||||
//comprueba si ya existe ese ft class
|
//comprueba si ya existe ese ft class
|
||||||
FeatureClass ft = HelperGdb.GetFtClass(path_aux);
|
FeatureClass ft = HelperGdb.GetFtClassSync(path_aux);
|
||||||
if (ft != null)
|
if (ft != null)
|
||||||
sobreescribe = true;
|
sobreescribe = true;
|
||||||
|
HelperGdb.Free(ft);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//crea el dataset o comprueba si existe
|
//crea el dataset o comprueba si existe
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@ namespace OliviaAddInPro.Services
|
||||||
ArcGIS.Desktop.Framework.Threading.Tasks.QueuedTask.Run((Func<bool>)(() =>
|
ArcGIS.Desktop.Framework.Threading.Tasks.QueuedTask.Run((Func<bool>)(() =>
|
||||||
{
|
{
|
||||||
string GdbFileName = resp.Value;
|
string GdbFileName = resp.Value;
|
||||||
|
string nombAmbitos = string.Empty;
|
||||||
if (OliviaGlob.HasFlagTipEjec(TiposEjecucion.EjecSecto)) //Ha terminado bien la sectorización
|
if (OliviaGlob.HasFlagTipEjec(TiposEjecucion.EjecSecto)) //Ha terminado bien la sectorización
|
||||||
{
|
{
|
||||||
//actualiza los flags
|
//actualiza los flags
|
||||||
|
|
@ -130,7 +130,7 @@ namespace OliviaAddInPro.Services
|
||||||
if (OliviaGlob.HasFlagTipEjec(TiposEjecucion.EjecPlanif)) //Ha terminado bien la planificación
|
if (OliviaGlob.HasFlagTipEjec(TiposEjecucion.EjecPlanif)) //Ha terminado bien la planificación
|
||||||
{
|
{
|
||||||
//guarda csv
|
//guarda csv
|
||||||
GuardaCsv(inst);
|
GuardaCsv(inst,resp2.Value);
|
||||||
}
|
}
|
||||||
msg = Resource1.String_exito;
|
msg = Resource1.String_exito;
|
||||||
|
|
||||||
|
|
@ -209,7 +209,7 @@ namespace OliviaAddInPro.Services
|
||||||
/*
|
/*
|
||||||
* Permite guardar el archivo CSV que contiene la secuencia que se ha llevado a cabo en las rutas en la planificación.
|
* Permite guardar el archivo CSV que contiene la secuencia que se ha llevado a cabo en las rutas en la planificación.
|
||||||
*/
|
*/
|
||||||
public static void GuardaCsv(TratamientoComun inst)
|
public static void GuardaCsv(TratamientoComun inst, string pathImport)
|
||||||
{
|
{
|
||||||
string auxi, nombre = null;
|
string auxi, nombre = null;
|
||||||
string[] nameDokL;
|
string[] nameDokL;
|
||||||
|
|
@ -221,20 +221,23 @@ namespace OliviaAddInPro.Services
|
||||||
string Filter = "Secuencia en formato CSV (*.csv)|*.csv";
|
string Filter = "Secuencia en formato CSV (*.csv)|*.csv";
|
||||||
inst.decode_gdb(System.IO.Path.GetFileNameWithoutExtension(OliviaGlob.Paths.PathData),
|
inst.decode_gdb(System.IO.Path.GetFileNameWithoutExtension(OliviaGlob.Paths.PathData),
|
||||||
out auxi, out nombre);
|
out auxi, out nombre);
|
||||||
|
if (!string.IsNullOrEmpty(pathImport))
|
||||||
|
{
|
||||||
|
nombre = System.IO.Path.GetFileNameWithoutExtension(pathImport);
|
||||||
|
}
|
||||||
//string Path = HelperGdb.SaveFileDlg(Title, DirData, inst.ServCom.EXT_CSV, Filter);
|
//string Path = HelperGdb.SaveFileDlg(Title, DirData, inst.ServCom.EXT_CSV, Filter);
|
||||||
string Path = string.Empty;
|
string Path = string.Empty;
|
||||||
if (OliviaGlob.CompruebaExistePath(OliviaGlob.Paths.PathGuardCsv))
|
if (OliviaGlob.CompruebaExistePath(OliviaGlob.Paths.PathGuardCsv))
|
||||||
Path = OliviaGlob.Paths.PathGuardCsv;
|
Path = OliviaGlob.Paths.PathGuardCsv;
|
||||||
else
|
else
|
||||||
Path = HelperGdb.SaveFileDlg(Title, DirData, null, ArcGIS.Desktop.Catalog.ItemFilters.folders);
|
//Path = HelperGdb.SaveFileDlg(Title, DirData, null, ArcGIS.Desktop.Catalog.ItemFilters.Folders);
|
||||||
|
Path = HelperGdb.FolderBrowseDlg(Title, DirData);
|
||||||
if (string.IsNullOrEmpty(Path) || Path.Length == 0)
|
if (string.IsNullOrEmpty(Path) || Path.Length == 0)
|
||||||
{
|
{
|
||||||
bool ok = HelperGlobal.ponMsg("Se va a perder el archivo que contiene la secuencia en planificación, ¿está seguro?",
|
bool ok = HelperGlobal.ponMsg("Se va a perder el archivo que contiene la secuencia en planificación, ¿está seguro?",
|
||||||
MessageBoxImage.Question,"OLIVIA",MessageBoxButton.YesNo);
|
MessageBoxImage.Question,"OLIVIA",MessageBoxButton.YesNo);
|
||||||
if (!ok)
|
if (!ok)
|
||||||
GuardaCsv(inst);
|
GuardaCsv(inst, pathImport);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
@ -280,7 +283,7 @@ namespace OliviaAddInPro.Services
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(OliviaGlob.Paths.PathDatasetImport))
|
if (string.IsNullOrEmpty(OliviaGlob.Paths.PathDatasetImport))
|
||||||
{ //ahora pide elegir nombre de ftclass
|
{ //ahora pide elegir nombre de ftclass
|
||||||
FtClssName = HelperGdb.SaveFileDlg("Seleccione ubicación e introduzca nombre de Feature Class a importar", GdbFileName, null, ArcGIS.Desktop.Catalog.ItemFilters.featureClasses_all);
|
FtClssName = HelperGdb.SaveFileDlg("Seleccione ubicación e introduzca nombre de Feature Class a importar", GdbFileName, null, ArcGIS.Desktop.Catalog.ItemFilters.FeatureClasses_All);
|
||||||
}
|
}
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
|
|
|
||||||
|
|
@ -103,7 +103,8 @@ namespace OliviaAddInPro.Services.LanzaSrv
|
||||||
GeneralDef.EjecGeoParamSep + GeneralDef.GTO_mima_xmax + GeneralDef.EjecGeoParamIgual + limp.MimaNw.XMax + " " +
|
GeneralDef.EjecGeoParamSep + GeneralDef.GTO_mima_xmax + GeneralDef.EjecGeoParamIgual + limp.MimaNw.XMax + " " +
|
||||||
GeneralDef.EjecGeoParamSep + GeneralDef.GTO_mima_ymin + GeneralDef.EjecGeoParamIgual + limp.MimaNw.YMin + " " +
|
GeneralDef.EjecGeoParamSep + GeneralDef.GTO_mima_ymin + GeneralDef.EjecGeoParamIgual + limp.MimaNw.YMin + " " +
|
||||||
GeneralDef.EjecGeoParamSep + GeneralDef.GTO_mima_ymax + GeneralDef.EjecGeoParamIgual + limp.MimaNw.YMax + " ";
|
GeneralDef.EjecGeoParamSep + GeneralDef.GTO_mima_ymax + GeneralDef.EjecGeoParamIgual + limp.MimaNw.YMax + " ";
|
||||||
|
|
||||||
|
|
||||||
base.str_cfg = str;
|
base.str_cfg = str;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
using ArcGIS.Core.Data;
|
/*using ArcGIS.Core.Data;
|
||||||
using ArcGIS.Core.Geometry;
|
using ArcGIS.Core.Geometry;
|
||||||
using ArcGIS.Core.Internal.CIM;
|
using ArcGIS.Core.Internal.CIM;
|
||||||
using ArcGIS.Desktop.Framework.Threading.Tasks;
|
using ArcGIS.Desktop.Framework.Threading.Tasks;*/
|
||||||
using OliviaAddInPro.Helper;
|
using OliviaAddInPro.Helper;
|
||||||
using OliviaAddInPro.Model;
|
using OliviaAddInPro.Model;
|
||||||
using System;
|
using System;
|
||||||
|
|
@ -166,7 +166,7 @@ namespace OliviaAddInPro.Services
|
||||||
public bool[] BuscAmbGdb(string pathCapa)
|
public bool[] BuscAmbGdb(string pathCapa)
|
||||||
{
|
{
|
||||||
string consulta;
|
string consulta;
|
||||||
int numero_lin;
|
long numero_lin;
|
||||||
bool[] amb_gdb = new bool[(int)LimpiezaDef.AmbitsTra.AmbN];//se inician a false
|
bool[] amb_gdb = new bool[(int)LimpiezaDef.AmbitsTra.AmbN];//se inician a false
|
||||||
string ftclass;
|
string ftclass;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -178,7 +178,7 @@ namespace OliviaAddInPro.Services
|
||||||
{
|
{
|
||||||
if (!conectado)
|
if (!conectado)
|
||||||
{
|
{
|
||||||
if (!soc.conecta(Ip, Puerto,Ip))
|
if (!soc.conecta(Ip, Puerto, Ip))
|
||||||
{
|
{
|
||||||
conectado = false;
|
conectado = false;
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
|
|
@ -17,16 +17,15 @@
|
||||||
<ColumnDefinition Width="Auto"/>
|
<ColumnDefinition Width="Auto"/>
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
<Button Content="Guardar" Grid.Column="0" VerticalAlignment="Top" Width="75" Style="{DynamicResource Esri_Button}" Click="OnGuardar"/>
|
<Button Content="Guardar" Grid.Column="0" VerticalAlignment="Top" Width="75" Style="{DynamicResource Esri_Button}" Click="OnGuardar"/>
|
||||||
<Button Content="Releer Config." Grid.Column="1" VerticalAlignment="Top" Style="{DynamicResource Esri_Button}" Click="OnRefres"/>
|
<Button Content="Releer Config." Grid.Column="1" VerticalAlignment="Top" Style="{DynamicResource Esri_Button}" Click="OnRefres"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
<xctk:PropertyGrid x:Name="Configuracion" SelectedObject="{Binding Configuracion}" HorizontalAlignment="Stretch" PropertyValueChanged="Configuracion_PropertyValueChanged" ShowDescriptionByTooltip="True">
|
<xctk:PropertyGrid x:Name="Configuracion" SelectedObject="{Binding Configuracion}" HorizontalAlignment="Stretch" PropertyValueChanged="Configuracion_PropertyValueChanged" ShowDescriptionByTooltip="True">
|
||||||
<xctk:PropertyGrid.CategoryGroupHeaderTemplate>
|
<xctk:PropertyGrid.CategoryGroupHeaderTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
<TextBlock Text="{Binding}" Background="{DynamicResource Esri_BackgroundPressedBrush}" Foreground="{DynamicResource Esri_TextStyleDefaultBrush}"/>
|
<TextBlock Text="{Binding}" Background="{DynamicResource Esri_BackgroundPressedBrush}" Foreground="{DynamicResource Esri_TextStyleDefaultBrush}"/>
|
||||||
<!--TextBlock Text="{Binding}" Style="{DynamicResource Esri_TextBlockH3}" Foreground="{DynamicResource Esri_TextMenuBrush}"/-->
|
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</xctk:PropertyGrid.CategoryGroupHeaderTemplate>
|
</xctk:PropertyGrid.CategoryGroupHeaderTemplate>
|
||||||
</xctk:PropertyGrid>
|
</xctk:PropertyGrid>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,8 @@ namespace OliviaAddInPro.View.Configuracion
|
||||||
private void PickFileButton_Click(object sender, RoutedEventArgs e)
|
private void PickFileButton_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
OpenFileDialog fd = new OpenFileDialog();
|
OpenFileDialog fd = new OpenFileDialog();
|
||||||
var st = HelperGdb.SaveFileDlg("Seleccione carpeta", null, null, ArcGIS.Desktop.Catalog.ItemFilters.folders);
|
//var st = HelperGdb.SaveFileDlg("Seleccione carpeta", null, null, ArcGIS.Desktop.Catalog.ItemFilters.Folders);
|
||||||
|
var st = HelperGdb.FolderBrowseDlg("Seleccione carpeta", null);
|
||||||
if (!string.IsNullOrEmpty(st))
|
if (!string.IsNullOrEmpty(st))
|
||||||
{
|
{
|
||||||
Value = st;
|
Value = st;
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,7 @@ namespace OliviaAddInPro.View.Configuracion
|
||||||
|
|
||||||
public FrameworkElement ResolveEditor(PropertyItem propertyItem)
|
public FrameworkElement ResolveEditor(PropertyItem propertyItem)
|
||||||
{
|
{
|
||||||
|
|
||||||
Binding binding = new Binding("Value");
|
Binding binding = new Binding("Value");
|
||||||
binding.Source = propertyItem;
|
binding.Source = propertyItem;
|
||||||
binding.Mode = propertyItem.IsReadOnly ? BindingMode.OneWay : BindingMode.TwoWay;
|
binding.Mode = propertyItem.IsReadOnly ? BindingMode.OneWay : BindingMode.TwoWay;
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,7 @@ namespace OliviaAddInPro
|
||||||
private void button_capazon_Click(object sender, RoutedEventArgs e)
|
private void button_capazon_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
string texto = "";
|
string texto = "";
|
||||||
ArcGIS.Core.Geometry.Geometry geom = HelperGdb.OpenGeom(HelperGdb.TiposOpenFileDlg.OpenFtrClassPolygon, out texto,"",true);
|
ArcGIS.Core.Geometry.Geometry geom = HelperGdb.OpenGeom(HelperGdb.TiposOpenFileDlg.OpenFtrClassPolygon, out texto, "", true);
|
||||||
if (DataContext is PaneLimpiezaSub2ViewModel mod)
|
if (DataContext is PaneLimpiezaSub2ViewModel mod)
|
||||||
{
|
{
|
||||||
mod.GeomZon = geom;
|
mod.GeomZon = geom;
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</-->
|
</-->
|
||||||
</ComboBox>
|
</ComboBox>
|
||||||
<TextBox x:Name="txtBox_densCont" Width="60" ToolTip="{Binding ToolTip_TextDensCont}" IsEnabled="{Binding Path=CapaAbierta, Mode = TwoWay}" Visibility="{Binding Path=VisTextDens, Mode = TwoWay}" Grid.Column="1" Margin="10,0" TextWrapping="NoWrap" Text="{Binding Path=TextDensCont, Mode = TwoWay}" TextAlignment="Right" MaxLength="5" PreviewTextInput="txtBox_densCont_PreviewTextInput"/>
|
<TextBox x:Name="txtBox_densCont" Width="60" ToolTip="{Binding ToolTip_TextDensCont}" IsEnabled="{Binding Path=CapaAbierta, Mode = TwoWay}" Visibility="{Binding Path=VisTextDens, Mode = TwoWay}" Grid.Column="1" Margin="10,0" TextWrapping="NoWrap" Text="{Binding Path=TextDensCont, Mode = TwoWay}" TextAlignment="Right" MaxLength="8" PreviewTextInput="txtBox_densCont_PreviewTextInput"/>
|
||||||
<Label x:Name="label_densCont" Grid.Column="2" Content="kg/m3" Margin="0,-1,0,0" Visibility="{Binding Path=VisTextDens, Mode = TwoWay}"/>
|
<Label x:Name="label_densCont" Grid.Column="2" Content="kg/m3" Margin="0,-1,0,0" Visibility="{Binding Path=VisTextDens, Mode = TwoWay}"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Label Content="Tipo de carga" HorizontalAlignment="Left" Margin="15,0,0,0" VerticalAlignment="Top" RenderTransformOrigin="-0.391,-0.203" FontWeight="DemiBold"/>
|
<Label Content="Tipo de carga" HorizontalAlignment="Left" Margin="15,0,0,0" VerticalAlignment="Top" RenderTransformOrigin="-0.391,-0.203" FontWeight="DemiBold"/>
|
||||||
|
|
@ -91,7 +91,7 @@
|
||||||
<ComboBox x:Name="comboBox_tipoCapac" IsEnabled="{Binding EnabComboCapac, Mode=TwoWay}" ItemsSource="{Binding TiposCapac, Mode=TwoWay}" HorizontalAlignment="Left" Margin="0,0,0,0"
|
<ComboBox x:Name="comboBox_tipoCapac" IsEnabled="{Binding EnabComboCapac, Mode=TwoWay}" ItemsSource="{Binding TiposCapac, Mode=TwoWay}" HorizontalAlignment="Left" Margin="0,0,0,0"
|
||||||
VerticalAlignment="Top" Width="75"
|
VerticalAlignment="Top" Width="75"
|
||||||
SelectedIndex="{Binding TipoCapac}" SelectionChanged="comboBox_tipoCapac_SelectionChanged"/>
|
SelectedIndex="{Binding TipoCapac}" SelectionChanged="comboBox_tipoCapac_SelectionChanged"/>
|
||||||
<TextBox x:Name="txtBox_kgCapac" IsEnabled="{Binding Path=CapaAbierta, Mode = TwoWay}" Grid.Column="1" Margin="5,0,0,3" TextWrapping="NoWrap" Text="{Binding Path=TextKgCapac, Mode = TwoWay}" TextAlignment="Right" MaxLength="4" PreviewTextInput="txtBox_kgCapac_PreviewTextInput"/>
|
<TextBox x:Name="txtBox_kgCapac" IsEnabled="{Binding Path=CapaAbierta, Mode = TwoWay}" Grid.Column="1" Margin="5,0,0,3" TextWrapping="NoWrap" Text="{Binding Path=TextKgCapac, Mode = TwoWay}" TextAlignment="Right" MaxLength="8" PreviewTextInput="txtBox_kgCapac_PreviewTextInput"/>
|
||||||
<Label x:Name="label_kgmax" Grid.Column="2" Content="kg máx. por viaje" Margin="0,-1,0,0"/>
|
<Label x:Name="label_kgmax" Grid.Column="2" Content="kg máx. por viaje" Margin="0,-1,0,0"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Label Content="Tiempo de vaciado de contenedor" HorizontalAlignment="Left" Margin="15,0,0,0" VerticalAlignment="Top" RenderTransformOrigin="-0.391,-0.203" FontWeight="DemiBold"/>
|
<Label Content="Tiempo de vaciado de contenedor" HorizontalAlignment="Left" Margin="15,0,0,0" VerticalAlignment="Top" RenderTransformOrigin="-0.391,-0.203" FontWeight="DemiBold"/>
|
||||||
|
|
@ -100,7 +100,7 @@
|
||||||
<ColumnDefinition Width="80"/>
|
<ColumnDefinition Width="80"/>
|
||||||
<ColumnDefinition Width="Auto"/>
|
<ColumnDefinition Width="Auto"/>
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
<TextBox IsEnabled="{Binding Path=CapaAbierta, Mode = TwoWay}" Margin="0,0,0,8" TextWrapping="NoWrap" Text="{Binding Path=TextTVaci, Mode = TwoWay}" TextAlignment="Right" MaxLength="3" PreviewTextInput="TextBox_PreviewTextInput"/>
|
<TextBox IsEnabled="{Binding Path=CapaAbierta, Mode = TwoWay}" Margin="0,0,0,8" TextWrapping="NoWrap" Text="{Binding Path=TextTVaci, Mode = TwoWay}" TextAlignment="Right" MaxLength="4" PreviewTextInput="TextBox_PreviewTextInput"/>
|
||||||
<Label Grid.Column="1" Content="seg." Margin="0,-3,0,8"/>
|
<Label Grid.Column="1" Content="seg." Margin="0,-3,0,8"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Label Margin="15,0,0,0" Content="Planta de descarga" FontWeight="DemiBold"/>
|
<Label Margin="15,0,0,0" Content="Planta de descarga" FontWeight="DemiBold"/>
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,9 @@ namespace OliviaAddInPro
|
||||||
var guardar = HelperGlobal.ponMsg("¿Desea guardar los cambios antes de salir?", System.Windows.MessageBoxImage.Information, "OLIVIA", System.Windows.MessageBoxButton.YesNo);
|
var guardar = HelperGlobal.ponMsg("¿Desea guardar los cambios antes de salir?", System.Windows.MessageBoxImage.Information, "OLIVIA", System.Windows.MessageBoxButton.YesNo);
|
||||||
if (guardar)
|
if (guardar)
|
||||||
{
|
{
|
||||||
ConfigServ.Serv.Guardar(paneConfig.Configuracion);
|
Respuesta<bool> resp = ConfigServ.Serv.Guardar(paneConfig.Configuracion);
|
||||||
|
if (!resp.Value)
|
||||||
|
HelperGlobal.ponMsg(resp.Error.First());
|
||||||
}
|
}
|
||||||
paneConfig.hay_cambios = false;
|
paneConfig.hay_cambios = false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -42,8 +42,11 @@ namespace OliviaAddInPro
|
||||||
|
|
||||||
public void OnGuardar()
|
public void OnGuardar()
|
||||||
{
|
{
|
||||||
ConfigServ.Serv.Guardar(Configuracion);
|
Respuesta<bool> resp = ConfigServ.Serv.Guardar(Configuracion);
|
||||||
HelperGlobal.ponMsg("Se ha guardado la configuración");
|
if (!resp.Value)
|
||||||
|
HelperGlobal.ponMsg(resp.Error.First());
|
||||||
|
else
|
||||||
|
HelperGlobal.ponMsg("Se ha guardado la configuración");
|
||||||
hay_cambios = false;
|
hay_cambios = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -193,13 +193,12 @@ namespace OliviaAddInPro
|
||||||
public PaneLimpiezaSub1ViewModel()
|
public PaneLimpiezaSub1ViewModel()
|
||||||
{
|
{
|
||||||
LblCapaElems = Resource1.String_selec_capa;
|
LblCapaElems = Resource1.String_selec_capa;
|
||||||
timeTto = 10;
|
timeTto = 0;
|
||||||
textVeloDespl = "10";
|
textVeloDespl = "";
|
||||||
lblUdsTimeTto = "min";
|
lblUdsTimeTto = "min";
|
||||||
lblUdsVeloDespl = "km/h";
|
lblUdsVeloDespl = "km/h";
|
||||||
limpServ = new LimpiezaServ(null); //no hace falta instancia limp
|
limpServ = new LimpiezaServ(null); //no hace falta instancia limp
|
||||||
textAnchoVia = LimpiezaDef.Parametros.ancho_via.ToString();
|
textAnchoVia = LimpiezaDef.Parametros.ancho_via.ToString();
|
||||||
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Realiza las comprobaciones para cuando se ha abierto una capa
|
* Realiza las comprobaciones para cuando se ha abierto una capa
|
||||||
|
|
@ -212,6 +211,8 @@ namespace OliviaAddInPro
|
||||||
Ambitos.Clear();
|
Ambitos.Clear();
|
||||||
TipoTto = -1;
|
TipoTto = -1;
|
||||||
VisTextAnchoVia = System.Windows.Visibility.Hidden;
|
VisTextAnchoVia = System.Windows.Visibility.Hidden;
|
||||||
|
TextVeloDespl = "";
|
||||||
|
cambia_tiempo_tto();
|
||||||
OliviaGlob.AddFlagTipEjec(TiposEjecucion.Config); //lo reinicia, por si estaba después de planificar
|
OliviaGlob.AddFlagTipEjec(TiposEjecucion.Config); //lo reinicia, por si estaba después de planificar
|
||||||
OliviaGlob.RemoveFlagTipEjec(TiposEjecucion.Config2);
|
OliviaGlob.RemoveFlagTipEjec(TiposEjecucion.Config2);
|
||||||
if (string.IsNullOrEmpty(capa))
|
if (string.IsNullOrEmpty(capa))
|
||||||
|
|
@ -222,9 +223,7 @@ namespace OliviaAddInPro
|
||||||
HelperGlobal.ponMsg(limpServ.ErrStr, System.Windows.MessageBoxImage.Warning);
|
HelperGlobal.ponMsg(limpServ.ErrStr, System.Windows.MessageBoxImage.Warning);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
LimpiezaDef.forma_filtros();
|
LimpiezaDef.forma_filtros();
|
||||||
|
|
||||||
amb_tra_gdb = limpServ.BuscAmbGdb(capa);
|
amb_tra_gdb = limpServ.BuscAmbGdb(capa);
|
||||||
bool hay_alguno = false;
|
bool hay_alguno = false;
|
||||||
foreach (bool b in amb_tra_gdb)
|
foreach (bool b in amb_tra_gdb)
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,8 @@ using System.Threading.Tasks;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using OliviaAddInPro.Helper;
|
using OliviaAddInPro.Helper;
|
||||||
using static OliviaAddInPro.Model.ComunDef;
|
using static OliviaAddInPro.Model.ComunDef;
|
||||||
using ArcGIS.Desktop.Framework.Threading.Tasks;
|
//using ArcGIS.Desktop.Framework.Threading.Tasks;
|
||||||
using ArcGIS.Desktop.Framework.Contracts;
|
//using ArcGIS.Desktop.Framework.Contracts;
|
||||||
|
|
||||||
namespace OliviaAddInPro
|
namespace OliviaAddInPro
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using System.Runtime.InteropServices.WindowsRuntime;
|
//using System.Runtime.InteropServices.WindowsRuntime;
|
||||||
using OliviaAddInPro.Model;
|
using OliviaAddInPro.Model;
|
||||||
using OliviaAddInPro.Helper;
|
using OliviaAddInPro.Helper;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue