Пример #1
0
 protected override void ReadLine(BinaryReader reader)
 {
     PayFirst.RowData rowData = new PayFirst.RowData();
     base.Read <int>(reader, ref rowData.Money, CVSReader.intParse);
     this.columnno = 0;
     base.Read <int>(reader, ref rowData.Award, CVSReader.intParse);
     this.columnno = 1;
     base.Read <int>(reader, ref rowData.SystemID, CVSReader.intParse);
     this.columnno = 2;
     this.Table.Add(rowData);
     this.columnno = -1;
 }
Пример #2
0
 protected override bool OnLine(string[] Fields)
 {
     PayFirst.RowData rowData = new PayFirst.RowData();
     if (!base.Parse(Fields[this.ColMap[0]], ref rowData.Money))
     {
         return(false);
     }
     if (!base.Parse(Fields[this.ColMap[1]], ref rowData.Award))
     {
         return(false);
     }
     if (!base.Parse(Fields[this.ColMap[2]], ref rowData.SystemID))
     {
         return(false);
     }
     this.Table.Add(rowData);
     return(true);
 }