大量更新
This commit is contained in:
25
BoreholeExtract/IdentityHelper.cs
Normal file
25
BoreholeExtract/IdentityHelper.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
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()
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user