年度变更建库软件5.0版本
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.9 KiB

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 "";
}
}
}