This commit is contained in:
@@ -35,11 +35,8 @@ namespace DataLoader
|
||||
if (str.Contains(" "))
|
||||
{
|
||||
int index = str.IndexOf(" ");
|
||||
string [] parts = str.Substring(index + 1).Split("\\".ToCharArray());
|
||||
_Sequence = str.Substring(0, index);
|
||||
if (parts.Length > 0) _Rev = parts[0];
|
||||
if (parts.Length > 1) _RevDate = parts[1];
|
||||
if (parts.Length > 2) _ReviewDate = parts[2];
|
||||
_Rev = str.Substring(index + 1);
|
||||
}
|
||||
else
|
||||
_Sequence = str;
|
||||
@@ -68,17 +65,5 @@ namespace DataLoader
|
||||
get { return _Rev; }
|
||||
set { _Rev = value; }
|
||||
}
|
||||
private string _RevDate;
|
||||
public string RevDate
|
||||
{
|
||||
get { return _RevDate; }
|
||||
set { _RevDate = value; }
|
||||
}
|
||||
private string _ReviewDate;
|
||||
public string ReviewDate
|
||||
{
|
||||
get { return _ReviewDate; }
|
||||
set { _ReviewDate = value; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user