Outside Transiton logic and annotations for unresolved transitions
This commit is contained in:
@@ -80,6 +80,9 @@ namespace DataLoader
|
||||
//tbSource.Text = @"I:\UNZIPPED ACTIVE BASELINE DATA\vehlp\Procs"; // Sub-sections
|
||||
tbSource.Text = @"I:\veDATA\vehlp\Procs"; // Sub-sections
|
||||
break;
|
||||
case "JOHN":
|
||||
tbSource.Text = "G:\\PROMSDAT\\vehlp\\procs";// South Texas EOPS
|
||||
break;
|
||||
default:
|
||||
throw new Exception("Not configured for " + SystemInformation.ComputerName);
|
||||
}
|
||||
@@ -181,21 +184,25 @@ namespace DataLoader
|
||||
success=ldr.LoadFolders();
|
||||
if (success) success = ldr.LoadSecurity(tbVesamPath.Text);
|
||||
}
|
||||
if (success)
|
||||
{
|
||||
DateTime tstart = DateTime.Now;
|
||||
DocVersionInfoList vl = DocVersionInfoList.Get();
|
||||
DocVersion v = null;
|
||||
foreach (DocVersionInfo vi in vl)
|
||||
if (success)
|
||||
{
|
||||
if (vi.Title.ToUpper() == tbSource.Text.ToUpper())
|
||||
DateTime tstart = DateTime.Now;
|
||||
DocVersionInfoList vl = DocVersionInfoList.Get();
|
||||
DocVersion v = null;
|
||||
foreach (DocVersionInfo vi in vl)
|
||||
{
|
||||
v = DocVersion.Get(vi.VersionID);
|
||||
Item itm = ldr.MigrateDocVersion(v);
|
||||
if (vi.Title.ToUpper() == tbSource.Text.ToUpper()) // is this the procedure set we want to convert?
|
||||
{
|
||||
v = DocVersion.Get(vi.VersionID);
|
||||
Item itm = ldr.MigrateDocVersion(v, true);
|
||||
}
|
||||
//v = DocVersion.Get(vi.VersionID);
|
||||
//bool convertProcedures = (vi.Title.ToUpper() == tbSource.Text.ToUpper());
|
||||
//Item itm = ldr.MigrateDocVersion(v, convertProcedures);
|
||||
|
||||
}
|
||||
MessageBox.Show(string.Format("{0} seconds", TimeSpan.FromTicks(DateTime.Now.Ticks - tstart.Ticks).TotalSeconds));
|
||||
}
|
||||
MessageBox.Show(string.Format("{0} seconds",TimeSpan.FromTicks(DateTime.Now.Ticks-tstart.Ticks).TotalSeconds));
|
||||
}
|
||||
}
|
||||
public void UpdateLabels(int incPrc, int incSec, int incStp)
|
||||
{
|
||||
|
Reference in New Issue
Block a user