25 lines
969 B
C#
25 lines
969 B
C#
namespace BoreholeExtract
|
|
{
|
|
public static class IdentityHelper
|
|
{
|
|
public static string GetDefaultTitle(Identify id)
|
|
{
|
|
return id switch
|
|
{
|
|
Identify.Company => "🏢 单位",
|
|
Identify.Project => "📁 项目名",
|
|
Identify.Mileage => "🛣️ 里程",
|
|
Identify.DesignElevation => "📐 设计标高",
|
|
Identify.DrillCode => "🔢 钻孔编号",
|
|
Identify.DrillCategory => "🏷️ 钻孔类型",
|
|
Identify.HoleDiameter => "📏 孔口直径",
|
|
Identify.HoleElevation => "⛰️ 孔口高程",
|
|
Identify.StartDate => "📅 开工日期",
|
|
Identify.EndDate => "🏁 竣工日期",
|
|
Identify.InitialWater => "💧 初见水位",
|
|
Identify.StableWater => "🌊 稳定水位",
|
|
_ => id.ToString()
|
|
};
|
|
}
|
|
}
|
|
} |