コード例 #1
0
 private void PopulateCE(string lastLine)
 {
     if (Base.LineValidation(lastLine, 'C') == false)
     {
         errorMessage.Add("Last line is invalid");
         Status = false;
     }
     else
     {
         CE                    = new Data.CE();
         CE.Type               = CE.GetType(lastLine);
         CE.RunningNumber      = CE.GetRunnigNumber(lastLine);
         CE.TotalSumWithAgorot = lastLine.Substring(8, 14);
         CE.FalseAmount        = lastLine.Substring(22, 14);
         CE.CheckAmount        = lastLine.Substring(36, 5);
     }
 }