using ESRI.ArcGIS.Geodatabase; using KGIS.Plugin.LayerProperty.Enum; using KGIS.Plugin.LayerProperty.Interface; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace KGIS.Plugin.LayerProperty.Model { public class AEField : AbstractField { private esriFieldType m_ESRIFieldType; private string extandAttribute; public esriFieldType ESRIFieldType { get { return this.m_ESRIFieldType; } internal set { this.m_ESRIFieldType = value; } } public string ExtandAttribute { get { return this.extandAttribute; } set { this.extandAttribute = value; } } public AEField(AbstractTable absTable, string name, string aliasName, DBDataType dbType, IKgisDictionary dictionary, FieldKeyType fieldKeyType, string defaultValue, int length, string description) : base(absTable, name, aliasName, dbType, dictionary, fieldKeyType, defaultValue, length, description) { } public string Translate() { try { string cNName = "";// RDBOpt.GetCNName(base.Name); base.AliasName = ((cNName == "") ? ((base.AliasName == "") ? base.Name : base.AliasName) : cNName); return cNName; } catch (Exception ex) { //RdbUtil.AddException(ex); } return ""; } public string GetCNName() { try { return "";// RDBOpt.GetCNName(base.Name); } catch (Exception ex) { //RdbUtil.AddException(ex); } return ""; } } }