Changed how Loader class processes 16-bit APL files

Added ReviewDate property to ProcInfo class
Changed how RevDate and ReviewDate values obtained from 16-bit data
Added AddSlaveNode and AddSlaveItem methods to ConfigInfo class
Added validity check to verify Procedure Set Path and Process Only In Location are in synch
This commit is contained in:
Rich
2012-12-04 22:32:34 +00:00
parent 44396a7200
commit 03d49ce2df
4 changed files with 64 additions and 54 deletions

View File

@@ -377,6 +377,12 @@ namespace DataLoader
get { return _RevDate; }
set { _RevDate = value; }
}
private string _ReviewDate;
public string ReviewDate
{
get { return _ReviewDate; }
set { _ReviewDate = value; }
}
public ProcInfo(DataRow dr, string afpath)
{
Number = dr["NUMBER"].ToString();
@@ -396,9 +402,8 @@ namespace DataLoader
if (fis.Count > 0)
{
Rev = fis[0].Rev;
// the following line needs fixed, i.e. should the date come from the set file or
// the datetime stamp of dbf (GetDBFRevDate):
//RevDate = fis[0].RevDate ?? GetDBFRevDate(afpath);
RevDate = fis[0].RevDate ?? GetDBFRevDate(afpath);
ReviewDate = fis[0].ReviewDate;
}
}
public System.DateTime GetDTS(string date, string time)