Added tables for master slave (under development)

cleaned up stored procedures and functions
Added new settings to control conversion of approved data
Handle file missing
This commit is contained in:
Rich 2012-02-09 16:07:15 +00:00
parent 4ddce7b4eb
commit f673a0a119
3 changed files with 127 additions and 14871 deletions

File diff suppressed because it is too large Load Diff

View File

@ -71,6 +71,15 @@ namespace DataLoader
get { return _OnlyThisSet; }
set { _OnlyThisSet = value; }
}
private bool _LoadApproved; // Boolean
[Category("16-Bit Data")]
[DisplayName("Load approved data for this Procedure Set")]
[Description("Load approved PDFs (if they exist) and consistency checks for the Selected Procedure Set")]
public bool LoadApproved
{
get { return _LoadApproved; }
set { _LoadApproved = value; }
}
#endregion
#region Format Data
private string _FormatFolder; // Folder
@ -141,6 +150,15 @@ namespace DataLoader
get { return _Phase3Suffix; }
set { _Phase3Suffix = value; }
}
private string _Phase4Suffix; // String
[Category("Backup Data")]
[DisplayName("Phase 4 Suffix")]
[Description("Suffix to use for backup before Loading Approved Data")]
public string Phase4Suffix
{
get { return _Phase4Suffix; }
set { _Phase4Suffix = value; }
}
#endregion
#region Process Log
private string _LogFilePath; // Folder

View File

@ -9,6 +9,8 @@ namespace DataLoader
{
public FixItems(FileInfo myFile):base()
{
if (!myFile.Exists)
return;
FileStream fs = myFile.OpenRead();
int len = (int) myFile.Length;
byte [] buffer = new byte[len];