修改稽查标识
This commit is contained in:
@@ -142,54 +142,9 @@ namespace IRaCIS.Core.Domain.Models
|
||||
public ReadingQuestionTrial ReadingQuestionTrial { get; set; }
|
||||
|
||||
|
||||
public string RowMark
|
||||
{
|
||||
|
||||
get
|
||||
{
|
||||
|
||||
Dictionary<int, string> splitLesionDic = new Dictionary<int, string>()
|
||||
{
|
||||
{1, "a" },
|
||||
{2, "b" },
|
||||
{3, "c" },
|
||||
{4, "d" },
|
||||
{5, "e" },
|
||||
{6, "f" },
|
||||
{7, "g" },
|
||||
{8, "h" },
|
||||
{9, "i" },
|
||||
{10, "j" },
|
||||
{11, "k" },
|
||||
{12, "l" },
|
||||
{13, "m" },
|
||||
{14, "n" },
|
||||
{15, "o" },
|
||||
{16, "p" },
|
||||
{17, "q" },
|
||||
{18, "r" },
|
||||
{19, "s" },
|
||||
{20, "t" },
|
||||
{21, "u" },
|
||||
{22, "v" },
|
||||
{23, "w" },
|
||||
{24, "x" },
|
||||
{25, "y" },
|
||||
{26, "z" },
|
||||
|
||||
};
|
||||
if (RowIndex % 1 == 0)
|
||||
{
|
||||
return this.OrderMark+ decimal.ToInt32(RowIndex).ToString().PadLeft(2, '0');
|
||||
}
|
||||
else
|
||||
{
|
||||
return this.OrderMark + Math.Floor(RowIndex).ToString().PadLeft(2, '0') + splitLesionDic[decimal.ToInt32((RowIndex % 1) * 100)];
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
public string RowMark { get; set; } = string.Empty;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user