using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Globalization;
using System.Text;
using System.Xml;
using System.Xml.XPath;
using System.Windows.Forms;
using GMLC01HerramientasCad.Logica;
using System.Collections;

namespace GMLC01HerramientasCad.Logica
{
    /// <summary>
    /// Clase que almacena los valores asociados a una configuración de GML
    /// </summary>
    public class ConfigGml
    {
        public string IdGml { get; internal set; }
        public string NillableGml { get; internal set; }
        public string UomGml { get; internal set; }
        public Hashtable Titles { get; internal set; }
        public string Dimension { get; internal set; }
        public string Srs { get; internal set; }
        public string Head { get; internal set; }
        private Hashtable coordinatesFormat = new Hashtable();


        public Hashtable CoordinatesFormat
        {
            get {
                return this.coordinatesFormat;
            }
        }

        /// <summary>
        /// Nombre a mostrar del atributo según el idioma activo
        /// </summary>
        public String Title
        {
            get { return Titles[ModComun.Idioma].ToString(); }
        }

        /// <summary>
        /// Constructor de la clase
        /// </summary>
        public ConfigGml()
        {
        }
    }
}
