Commit for development environment setup

This commit is contained in:
2023-06-19 16:12:33 -04:00
parent be72063a3c
commit bbce2ad0a6
2209 changed files with 1171775 additions and 625 deletions

View File

@@ -0,0 +1,177 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="DataLoader.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<log4net>
<appender name="LogFileAppender" type="log4net.Appender.FileAppender">
<param name="File" value="${USERPROFILE}/My Documents/VEPROMS/DMErrorLog.txt" />
<param name="AppendToFile" value="false" />
<layout type="log4net.Layout.PatternLayout">
<param name="Header" value="[Header]\r\n" />
<param name="Footer" value="[Footer]\r\n" />
<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n" />
</layout>
</appender>
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" >
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="--&gt; %date [%thread] %-5level %logger (%property{log4net:HostName}) [%ndc] - %message%newline"/>
</layout>
</appender>
<appender name="EventLogAppender" type="log4net.Appender.EventLogAppender">
<threshold value="WARN" />
<mapping>
<level value="DEBUG" />
<eventLogEntryType value="Information" />
</mapping>
<mapping>
<level value="INFO" />
<eventLogEntryType value="Information" />
</mapping>
<mapping>
<level value="WARN" />
<eventLogEntryType value="Warning" />
</mapping>
<mapping>
<level value="ERROR" />
<eventLogEntryType value="Error" />
</mapping>
<mapping>
<level value="FATAL" />
<eventLogEntryType value="Error" />
</mapping>
<layout type="log4net.Layout.PatternLayout">
<param name="ConversionPattern" value="---&gt; %d [%t] %-5p %c - %m%n"/>
</layout>
</appender>
<root>
<level value="INFO" />
<appender-ref ref="ConsoleAppender" />
<appender-ref ref="LogFileAppender" />
<appender-ref ref="EventLogAppender" />
</root>
<logger name="Volian.CSLA.Library">
<level value="WARN" />
</logger>
</log4net>
<appSettings>
<add key="OperatingMode" value="debug" />
<add key="CslaAuthentication" value="Windows" />
<!-- Active Connection -->
<!-- Inactive Connections
-->
</appSettings>
<connectionStrings>
<!--<add name="VEPROMS_RHM_CHANGE"
connectionString="Data Source=rhmdesktop\SQLEXPRESS;AttachDbFilename=&quot;C:\VS2005Projects\VEPROMS_USERS\VEPROMS_Users.mdf&quot;;Integrated Security=True;User Instance=True"
providerName="System.Data.SqlClient" />-->
<!--<add name="VEPROMS"
connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=VEPROMS;Integrated Security=True"
providerName="System.Data.SqlClient" /> -->
<add name="VEPROMS" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog={MENU};Integrated Security=True" providerName="System.Data.SqlClient" />
</connectionStrings>
<userSettings>
<DataLoader.Properties.Settings>
<setting name="VeSamFilename" serializeAs="String">
<value />
</setting>
<setting name="DbfPathname" serializeAs="String">
<value />
</setting>
<setting name="LoadWordDoc" serializeAs="String">
<value>Checked</value>
</setting>
<setting name="LoadRTFDoc" serializeAs="String">
<value>Unchecked</value>
</setting>
<setting name="PurgeData" serializeAs="String">
<value>Checked</value>
</setting>
<setting name="VePromsFilename" serializeAs="String">
<value />
</setting>
<setting name="LogFileLoc" serializeAs="String">
<value />
</setting>
<setting name="BackupFileName" serializeAs="String">
<value />
</setting>
<setting name="BackupFolder" serializeAs="String">
<value />
</setting>
<setting name="ConnectionString" serializeAs="String">
<value>Data Source=.\SQLEXPRESS;Initial Catalog={DBName};Integrated Security=True</value>
</setting>
<setting name="DBName" serializeAs="String">
<value>VEPROMS</value>
</setting>
<setting name="DBPath" serializeAs="String">
<value />
</setting>
<setting name="PDFFolder" serializeAs="String">
<value />
</setting>
<setting name="CheckRTF" serializeAs="String">
<value>Unchecked</value>
</setting>
<setting name="Skip" serializeAs="String">
<value>0</value>
</setting>
<setting name="ConvertTo" serializeAs="String">
<value>1</value>
</setting>
<setting name="RedPDFs" serializeAs="String">
<value>Checked</value>
</setting>
<setting name="OnlyThisSet" serializeAs="String">
<value>Checked</value>
</setting>
<setting name="ExecutionMode" serializeAs="String">
<value>0</value>
</setting>
<setting name="Phase1" serializeAs="String">
<value>Phase1</value>
</setting>
<setting name="Phase2" serializeAs="String">
<value>Phase2</value>
</setting>
<setting name="Phase3" serializeAs="String">
<value>Phase3</value>
</setting>
<setting name="FormatFolder" serializeAs="String">
<value>c:\development\fmtall</value>
</setting>
<setting name="GenMacFolder" serializeAs="String">
<value>c:\development\genmacall</value>
</setting>
<setting name="LoadApproved" serializeAs="String">
<value>False</value>
</setting>
<setting name="Phase4" serializeAs="String">
<value>Phase4</value>
</setting>
<setting name="ProcessOnlyInLocation" serializeAs="String">
<value />
</setting>
<setting name="WhatROsToConvert" serializeAs="String">
<value>0</value>
</setting>
<setting name="SelectedROFst" serializeAs="String">
<value>-1</value>
</setting>
<setting name="AnnotateWhenConvertingToText" serializeAs="String">
<value>False</value>
</setting>
<setting name="AnnotateWhenShowingMissingRO" serializeAs="String">
<value>False</value>
</setting>
<setting name="AnnotateWhenShowingDifferentRO" serializeAs="String">
<value>False</value>
</setting>
</DataLoader.Properties.Settings>
</userSettings>
</configuration>

View File

@@ -0,0 +1,40 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace DataLoader
{
public partial class Loader
{
public Dictionary<string, string> MyProcAPL;
private static Dictionary<string, string> GetApple(string proc)
{
Dictionary<string, string> procAPL = new Dictionary<string, string>();
FileInfo myFile = new FileInfo(proc);
FileStream fs = myFile.OpenRead();
BinaryReader br = new BinaryReader(fs);
byte[] myBuff = new byte[myFile.Length];
br.Read(myBuff, 0, (int)myFile.Length);
br.Close();
fs.Close();
int offset = 0;
while (offset < myBuff.Length)
{
string recnum = Encoding.Default.GetString(myBuff, offset, 8);
//if ((myFile.Name.ToUpper() == "PROC000.APL" && (recnum == "00002491")))
// System.Threading.Thread.Sleep(1000);
int applicability = BitConverter.ToInt32(myBuff, offset + 8);
string applicabilityToStr = string.Format("{0:X8}", applicability);
//4294967296
if (!procAPL.ContainsKey(recnum))
procAPL.Add(recnum, applicabilityToStr);
else
if (procAPL[recnum] != applicabilityToStr)
procAPL[recnum] = applicabilityToStr;
offset += 12;
}
return procAPL;
}
}
}

View File

@@ -0,0 +1,521 @@
//using System;
using System.Collections.Generic;
using System.Text;
using VEPROMS.CSLA.Library;
using System.IO;
using System.Data.OleDb;
using System.Data;
namespace DataLoader
{
public partial class Loader
{
public bool BuildApprovedRevision()
{
if(!frmMain.RunScript("PROMSApproveApprove.sql", frmMain.MySettings.DBName)) return false;
bool rv = false;
using (Stage myStage = GetApprovedStage())
{
if (myStage == null)
return rv;
DocVersionInfoList dvil = DocVersionInfoList.Get();
foreach (DocVersionInfo dvi in dvil)
{
if (dvi.Procedures.Count > 0)
{
if (!frmMain.MySettings.OnlyThisSet || frmMain.MySettings.ProcedureSetPath.ToUpper() == dvi.MyFolder.Title.ToUpper())
{
string approvedFolder = dvi.MyFolder.Title + @"\APPROVED";
//B2012-094 fix
if (!Directory.Exists(approvedFolder))
frmMain.MyWarning = "**** " + dvi.MyFolder.Title + " Approved folder does not exist";
else if (!File.Exists(approvedFolder + @"\SET.DBF"))
frmMain.MyWarning = "**** " + dvi.MyFolder.Title + " Approved Set.dbf does not exist";
else if (!File.Exists(approvedFolder + @"\USAGERO.DBF"))
frmMain.MyWarning = "**** " + dvi.MyFolder.Title + " Approved UsageRO.dbf does not exist";
else if (!Directory.Exists(approvedFolder + @"\PDFS"))
frmMain.MyWarning = "**** " + dvi.MyFolder.Title + " Approved Pdfs folder does not exist";
else if (Directory.GetFiles(approvedFolder + @"\PDFS", "*.PDF").Length == 0)
frmMain.MyWarning = "**** " + dvi.MyFolder.Title + " Approved Pdfs folder does not contain any pdf files";
else rv |= BuildApprovedRevision(myStage, approvedFolder, dvi);
}
}
}
}
return rv;
}
private static Stage GetApprovedStage()
{
StageInfoList sil = StageInfoList.Get();
foreach (StageInfo si in sil)
{
if (si.Name.ToUpper() == "APPROVED")
return si.Get();
}
return null;
}
private bool BuildApprovedRevision(Stage myStage, string approvedFolder, DocVersionInfo dvi)
{
bool rv = false;
if (dvi.MultiUnitCount <= 1)
{
ApprovedFolder af = new ApprovedFolder(approvedFolder);
foreach (ProcedureInfo pi in dvi.Procedures)
{
rv |= BuildApprovedRevision(myStage, af, pi, 0);
}
}
else
{
ApprovedFolder af = new ApprovedFolder(approvedFolder, dvi);
foreach (ProcedureInfo pi in dvi.Procedures)
{
for (int i = 1; i <= dvi.MultiUnitCount; i++)
rv |= BuildApprovedRevision(myStage, af, pi, i);
}
}
return rv;
}
private bool BuildApprovedRevision(Stage myStage, ApprovedFolder af, ProcedureInfo pi, int selectedSlave)
{
bool rv = false;
if (selectedSlave > 0)
pi.MyDocVersion.DocVersionConfig.SelectedSlave = selectedSlave;
frmMain.MyInfo = string.Format("Loading approved data for Procedure: {0}", pi.DisplayNumber);
// if working draft procedure does not exist in approved folder, don't bother processing
if (!af.EntryFromProc.ContainsKey(pi.DisplayNumber)) return rv;
using (Revision revision = CreateRevision(af, pi))
{
System.DateTime dts = pi.DTS;
string userID = af.EntryFromProc[pi.DisplayNumber].UserID;
using (Version version = Version.MakeVersion(revision, myStage, GetPDF(af,pi), GetSummaryPDF(), dts, userID))
{
using (Check check = Check.MakeCheck(revision, myStage, af.BuildConsistencyChecks(pi)))
{
rv |= true;
}
}
}
if(!rv)
frmMain.MyInfo = string.Format("Loading Procedure: {0} FAILED MISERABLY", pi.DisplayNumber);
return rv;
}
private byte[] GetSummaryPDF()
{
return null;
}
private byte[] GetPDF(ApprovedFolder af, ProcedureInfo pi)
{
string pdf = string.Format(@"{0}\PDFS\{1}.pdf", af.Path, pi.DisplayNumber);
FileInfo pdfFile = new FileInfo(pdf);
if (pdfFile.Exists)
{
FileStream fs = pdfFile.Open(FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
byte[] pdfBuf = new byte[pdfFile.Length];
fs.Read(pdfBuf, 0, pdfBuf.Length);
fs.Close();
return pdfBuf;
}
return null;
}
private Revision CreateRevision(ApprovedFolder af, ProcedureInfo pi)
{
int typeID = 1; //revision not tempmod
ProcInfo pinf = af.EntryFromProc[pi.DisplayNumber];
string revisionNumber = pinf.Rev;
System.DateTime revisionDate = System.DateTime.Parse(pinf.RevDate ?? "1/1/1980");
string notes = "Migration Of Current Approved Revision";
RevisionConfig cfg = new RevisionConfig();
cfg.History_StartDate = pinf.StartDateTime;
if (pi.MyDocVersion.DocVersionConfig.SelectedSlave > 0)
cfg.Applicability_Index = pi.MyDocVersion.DocVersionConfig.SelectedSlave;
string config = cfg.ToString();
System.DateTime dts = pi.DTS;
string userID = pinf.UserID;
return Revision.MakeRevision(pi.ItemID, typeID, revisionNumber, revisionDate, notes, config, dts, userID);
}
}
public partial class ApprovedFolder
{
private OleDbConnection _Connection;
public OleDbConnection Connection
{
get
{
if(_Connection == null)
_Connection = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + _Path + ";Extended Properties=dBase III;Persist Security Info=False");
return _Connection;
}
}
private string _Path;
public string Path
{
get { return _Path; }
set { _Path = value; }
}
private System.DateTime _ROFstDate = System.DateTime.MinValue;
public System.DateTime ROFstDate
{
get
{
if (_ROFstDate == System.DateTime.MinValue)
{
FileInfo fi = new FileInfo(string.Format(@"{0}\ro.fst",Path));
if(fi.Exists)
_ROFstDate = fi.LastWriteTimeUtc;
}
return _ROFstDate;
}
}
private Dictionary<string, string> _ROValues = new Dictionary<string, string>();
private Dictionary<string, System.DateTime> _LibDocDates = new Dictionary<string,System.DateTime>();
private Dictionary<string, List<string>> _ProcROs = new Dictionary<string,List<string>>();
private Dictionary<string, List<string>> _LibROs = new Dictionary<string,List<string>>();
private Dictionary<string, List<string>> _LibDocs = new Dictionary<string,List<string>>();
public string BuildConsistencyChecks(ProcedureInfo proc)
{
/*
<ConsistencyChecks ItemID="1">
<ROChecks ROFstDate="2011-04-11T14:13:44">
<ROCheck ROID="0001000003960000" ROValue="1430 PSIG" />
</ROChecks>
<LibDocChecks>
<LibDocCheck DocID="1" DocDate="2011-12-06T11:12:40.633" />
</LibDocChecks>
</ConsistencyChecks>
*/
ConsistencyChecks cc = new ConsistencyChecks();
cc.ItemID = proc.ItemID;
BuildROChecks(cc, proc);
BuildLibDocChecks(cc, proc);
return cc.ToString().Replace("OldDocDate=\"0001-01-01T00:00:00\"", "");
}
private void BuildLibDocChecks(ConsistencyChecks cc, ProcedureInfo proc)
{
if (_LibDocs.ContainsKey(proc.DisplayNumber))
{
foreach (string libdoc in _LibDocs[proc.DisplayNumber])
{
FileInfo fi = new FileInfo(string.Format(@"{0}\RTFFILES\{1}.LIB",Path,libdoc));
if (fi.Exists)
{
//if (proc.MyDocVersion.VersionID > 1)
// System.Threading.Thread.Sleep(5000);
int docid = GetDocID(libdoc, proc.MyDocVersion.VersionID);
if (docid > 0)
cc.LibDocConsistency.AddLibDocCheck(docid, fi.LastWriteTimeUtc);
}
}
}
}
private int GetDocID(string libdoc, int versionid)
{
DocumentInfo di = DocumentInfo.GetByLibDocName(libdoc, versionid);
return di.DocID;
}
private void BuildROChecks(ConsistencyChecks cc, ProcedureInfo proc)
{
cc.ROConsistency.ROFstDate = ROFstDate;
if (_ProcROs.ContainsKey(proc.DisplayNumber))
{
foreach (string roid in _ProcROs[proc.DisplayNumber])
cc.ROConsistency.AddROCheck(FormatROID(roid), GetROValue(FormatROID(roid)));
}
//int cnt = cc.ROConsistency.MyROChecks.Length;
if (_LibDocs.ContainsKey(proc.DisplayNumber))
{
foreach (string libdoc in _LibDocs[proc.DisplayNumber])
{
if (_LibROs.ContainsKey(libdoc))
{
foreach (string roid in _LibROs[libdoc])
cc.ROConsistency.AddROCheck(FormatROID(roid), GetROValue(FormatROID(roid)));
}
}
}
}
private string GetROValue(string roid)
{
if (!_ROValues.ContainsKey(roid))
{
//if (roid.Contains("000128"))
// System.Console.WriteLine();
//string ss = _Lookup.GetRoValue(roid);
//ss = ItemInfo.ConvertToDisplayText(ss);
//ss = ss.Replace('\n', ';');
_ROValues.Add(roid, PrepareForXML(ItemInfo.ConvertToDisplayText(_Lookup.GetRoValue(roid))));
}
return _ROValues[roid];
}
private string PrepareForXML(string rovalue)
{
StringBuilder sb = new StringBuilder();
foreach (char c in rovalue)
{
if (c < ' ')
sb.Append(string.Format(@"\x{0:X4}", (int)c));
else
sb.Append(c);
}
return sb.ToString();
}
private string FormatROID(string roid)
{
if (roid.Length == 16 && roid.EndsWith("0000"))
return roid.Substring(0, 12).ToUpper();
return roid.ToUpper();
}
private Dictionary<string, ProcInfo> _EntryFromProc;
public Dictionary<string, ProcInfo> EntryFromProc
{
get
{
if (_EntryFromProc == null)
_EntryFromProc = FillEntryFromProc();
return _EntryFromProc;
}
}
private Dictionary<string, ProcInfo> FillEntryFromProc()
{
Dictionary<string, ProcInfo> rv = new Dictionary<string, ProcInfo>();
using (OleDbDataAdapter da = new OleDbDataAdapter("Select * from [set] where entry is not null", Connection))
{
using (DataSet ds = new DataSet())
{
da.Fill(ds);
foreach (DataRow dr in ds.Tables[0].Rows)
if (!rv.ContainsKey(dr["NUMBER"].ToString()))
rv.Add(dr["NUMBER"].ToString(), new ProcInfo(dr, Path));
}
}
return rv;
}
private ROFSTLookup _Lookup;
public ApprovedFolder(string path)
{
_Path = path;
FillROs();
FillLibDocs();
_Lookup = new ROFSTLookup(string.Format(@"{0}\RO.FST", Path));
}
public ApprovedFolder(string path, DocVersionInfo dvi)
{
_Path = path;
FillROs();
FillLibDocs();
_Lookup = new ROFSTLookup(string.Format(@"{0}\RO.FST", Path));
_EntryFromProc = FillEntryFromProcMulti(dvi);
}
private Dictionary<string, ProcInfo> FillEntryFromProcMulti(DocVersionInfo dvi)
{
Dictionary<string, ProcInfo> rv = new Dictionary<string, ProcInfo>();
for (int i = 1; i <= dvi.MultiUnitCount; i++)
{
foreach (ProcedureInfo pi in dvi.Procedures)
{
pi.MyDocVersion.DocVersionConfig.SelectedSlave = i;
rv.Add(pi.DisplayNumber, new ProcInfo(pi, Path));
}
}
return rv;
}
private void FillLibDocs()
{
using (OleDbDataAdapter da = new OleDbDataAdapter("Select distinct FROMNUMBER, TONUMBER from [tran] where tonumber like 'DOC%'", Connection))
{
using (DataSet ds = new DataSet())
{
da.Fill(ds);
foreach (DataRow dr in ds.Tables[0].Rows)
{
string number = dr["FROMNUMBER"].ToString();
string libdoc = dr["TONUMBER"].ToString();
if (!_LibDocs.ContainsKey(number))
_LibDocs.Add(number, new List<string>());
if (!_LibDocs[number].Contains(libdoc))
_LibDocs[number].Add(libdoc);
}
}
}
}
private void FillROs()
{
using (OleDbDataAdapter da = new OleDbDataAdapter("Select distinct NUMBER, ROID from [usagero]", Connection))
{
using (DataSet ds = new DataSet())
{
da.Fill(ds);
foreach (DataRow dr in ds.Tables[0].Rows)
{
string number = dr["NUMBER"].ToString();
string roid = dr["ROID"].ToString();
if (number.StartsWith("DOC"))
{
if (!_LibROs.ContainsKey(number))
_LibROs.Add(number, new List<string>());
if (!_LibROs[number].Contains(roid))
_LibROs[number].Add(roid);
}
else
{
if (!_ProcROs.ContainsKey(number))
_ProcROs.Add(number, new List<string>());
if (!_ProcROs[number].Contains(roid))
_ProcROs[number].Add(roid);
}
}
}
}
}
}
public partial class ProcInfo
{
private log4net.ILog log;
private string _Number;
public string Number
{
get { return _Number; }
set { _Number = value; }
}
private string _Entry;
public string Entry
{
get { return _Entry; }
set { _Entry = value; }
}
private string _UserID;
public string UserID
{
get { return _UserID; }
set { _UserID = value; }
}
private System.DateTime _StartDateTime;
public System.DateTime StartDateTime
{
get { return _StartDateTime; }
set { _StartDateTime = value; }
}
private string _Rev;
public string Rev
{
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; }
}
public ProcInfo(ProcedureInfo pi, string afpath)
{
Number = pi.DisplayNumber;
Entry = pi.DisplayText;
UserID = pi.UserID;
StartDateTime = pi.DTS;
RevDate = pi.ProcedureConfig.Print_RevDate;
Rev = pi.ProcedureConfig.Print_Rev;
}
public ProcInfo(DataRow dr, string afpath)
{
Number = dr["NUMBER"].ToString();
Entry = dr["ENTRY"].ToString();
UserID = dr["INITIALS"].ToString();
if (UserID == string.Empty) UserID = "UNKNOWN";
//string date = GetDTS(dr["DATE"].ToString(), dr["TIME"].ToString()).ToString("MM/dd/yyyy HH:MM");//System.DateTime.Parse(dr["DATE"].ToString()).ToString("MM/dd/yyyy");
//string time = dr["TIME"].ToString();
//if (time.EndsWith(":"))
// date += " " + time.Substring(0, 2) + ":" + time.Substring(2, 2);
//else
// date += " " + time.Substring(0, 2) + ":" + time.Substring(3, 2);
//StartDateTime = System.DateTime.Parse(date);
StartDateTime = GetDTS(dr["DATE"].ToString(), dr["TIME"].ToString());
RevDate = StartDateTime.ToString("MM/dd/yyyy");
FixItems fis = new FixItems(new FileInfo(string.Format(@"{0}\{1}.fix", afpath, Entry)));
if (fis.Count > 0)
{
Rev = fis[0].Rev;
RevDate = fis[0].RevDate ?? GetDBFRevDate(afpath);
ReviewDate = fis[0].ReviewDate;
}
}
public System.DateTime GetDTS(string date, string time)
{
// Set the date/time stamp. If there is no 'date', set the date
// to 1/1/2000 (this can be changed!). If there is not 'time',
// set the time to 0:0:0 (midnight).
System.DateTime dts = System.DateTime.Now;
string month = "01";
string day = "01";
string year = "2000";
string hour = "";
string minute = "";
try
{
if (date != null && date != "")
{
int indx1 = date.IndexOf("/");
month = date.Substring(0, indx1);
int indx2 = date.IndexOf("/", indx1 + 1);
day = date.Substring(indx1 + 1, indx2 - indx1 - 1);
year = date.Substring(indx2 + 1, 4);
}
if (time == null || time == "")
{
hour = "0";
minute = "0";
}
else
{
hour = time.Substring(0, 2);
int indxc = time.IndexOfAny(":A-".ToCharArray());
if (indxc == time.Length - 1)
minute = time.Substring(2, 2);
else
minute = time.Substring(indxc + 1, time.Length - indxc - 1);
}
dts = new System.DateTime(System.Convert.ToInt32(year), System.Convert.ToInt32(month), System.Convert.ToInt32(day),
System.Convert.ToInt32(hour), System.Convert.ToInt32(minute), 0);
}
catch (System.Exception ex)
{
log.ErrorFormat("Bad Date/Time {0} {1}. Set to NOW.", date, time);
log.ErrorFormat("{0}\r\n\r\n{1}", ex.Message, ex.InnerException);
//frmMain.AddError(ex, "Bad Date/Time {0} {1}", date, time);
log.ErrorFormat(ex.StackTrace);
return dts;
}
return dts;
}
private string GetDBFRevDate(string afpath)
{
FileInfo fi = new FileInfo(afpath + @"\" + Entry + ".dbf");
if (fi.Exists)
return fi.LastWriteTime.ToShortDateString();
return null;
}
}
}

View File

@@ -0,0 +1,144 @@
// ========================================================================
// Copyright 2006 - Volian Enterprises, Inc. All rights reserved.
// Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
// ------------------------------------------------------------------------
// $Workfile: $ $Revision: $
// $Author: $ $Date: $
//
// $History: $
// ========================================================================
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
namespace DataLoader
{
class ConfigInfo
{
private XmlDocument xmldoc;
public ConfigInfo(string xml)
{
xmldoc = new XmlDocument();
if (xml == null)
xmldoc.LoadXml("<Config/>");
else
xmldoc.LoadXml(xml);
}
public ConfigInfo(string xml, string ename, string aname, string avalue)
{
xmldoc = new XmlDocument();
if (xml == null)
xmldoc.LoadXml("<Config/>");
else
xmldoc.LoadXml(xml);
AddItem(ename, aname.Replace(' ','_'), avalue);
}
public bool AddItem(string ename, string aname, string avalue)
{
if (aname != null && aname != "")
{
//if (xmldoc == null)
//{
// xmldoc = new XmlDocument();
// xmldoc.AppendChild(xmldoc.CreateElement("ConfigInfo"));
//}
// see if ename element exists, use it to add attributes,
// otherwise, create the element.
XmlNode nxml = null;
XmlNodeList xl = xmldoc.DocumentElement.SelectNodes(string.Format("//{0}", ename));
switch (xl.Count)
{
case 0: // No nodes found
nxml = xmldoc.DocumentElement.AppendChild(xmldoc.CreateElement(ename));
break;
default: // Found the node
nxml = xl[0];
if (nxml.GetType() != typeof(XmlElement))
{
frmLoader._MyLog.ErrorFormat("Invalid xml element type when migrating config data - element = {0}, name = {1} , value = {2}", ename, aname, avalue);
return false;
}
break;
}
//added by jcb 20131216
aname = SanitizeXmlString(aname);
XmlAttribute xa = nxml.Attributes.Append(xmldoc.CreateAttribute(aname));
//end added by jcb 20131216
xa.Value = avalue;
return true;
}
return false;
}
//added by jcb 20131216
public string SanitizeXmlString(string xml)
{
if (xml == null)
throw new ArgumentNullException("xml");
xml = xml.Replace(' ', '_').Replace("/", "_fslash_").Replace("(", "_lparen_").Replace((char)0xA0, '_').Replace((char)0x20, '_').Replace(":", "_colon_");
StringBuilder buffer = new StringBuilder(xml.Length);
foreach (char c in xml)
{
if (IsLegalXmlChar(c))
buffer.Append(c);
}
return buffer.ToString();
}
/// <summary>
/// Whether a given character is allowed by XML 1.0.
/// </summary>
public bool IsLegalXmlChar(int character)
{
return
(
character == 0x9 /* == '\t' == 9 */ ||
character == 0xA /* == '\n' == 10 */ ||
character == 0xD /* == '\r' == 13 */ ||
(character >= 0x20 && character <= 0xD7FF) ||
(character >= 0xE000 && character <= 0xFFFD) ||
(character >= 0x10000 && character <= 0x10FFFF)
);
}
//end added by jcb 20131216
public int ItemCount
{
get { return xmldoc.DocumentElement.ChildNodes.Count; }
}
public override string ToString()
{
if (xmldoc != null) return xmldoc.InnerXml;
else return null;
}
public void AddSlaveNode(int index)
{
XmlElement slaves = xmldoc.SelectSingleNode("Config/Slaves") as XmlElement;
if (slaves == null)
{
slaves = xmldoc.CreateElement("Slaves");
xmldoc.DocumentElement.AppendChild(slaves);
}
XmlElement slave = xmldoc.CreateElement("Slave");
XmlAttribute xa = xmldoc.CreateAttribute("index");
xa.InnerText = index.ToString();
slave.Attributes.Append(xa);
slaves.AppendChild(slave);
}
public void AddSlaveItem(int index, string aname, string avalue)
{
string srch = "Config/Slaves/Slave[@index='" + index.ToString() + "']";
XmlElement slave = xmldoc.SelectSingleNode(srch) as XmlElement;
if (slave != null)
{
XmlAttribute xa = xmldoc.CreateAttribute(aname);
xa.InnerText = avalue;
slave.Attributes.Append(xa);
}
}
}
}

View File

@@ -1,4 +1,5 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -13,15 +14,23 @@
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>2.0</OldToolsVersion>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\..\veproms\bin\</OutputPath>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -32,54 +41,75 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Csla, Version=2.0.3.0, Culture=neutral, PublicKeyToken=93be5fdc093e4c30, processorArchitecture=MSIL">
<Reference Include="C1.Win.C1FlexGrid.2, Version=2.6.20142.835, Culture=neutral, PublicKeyToken=79882d576c6336da, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\veproms\bin\Csla.dll</HintPath>
</Reference>
<Reference Include="IniReader, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<Reference Include="Csla, Version=2.1.4.0, Culture=neutral, PublicKeyToken=93be5fdc093e4c30, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\veproms\bin\IniReader.dll</HintPath>
<HintPath>..\csla20cs-2.1.4-070223\csla20cs\csla20cs\Csla\bin\Debug\Csla.dll</HintPath>
</Reference>
<Reference Include="log4net, Version=1.2.9.0, Culture=neutral, PublicKeyToken=b32731d11ce58905">
<Reference Include="Ionic.Zip">
<HintPath>..\..\Proms3rdPartyLibraries\Ionic\Ionic.Zip.dll</HintPath>
</Reference>
<Reference Include="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\veproms\bin\log4net.dll</HintPath>
</Reference>
<Reference Include="MSWord, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\veproms\bin\MSWord.dll</HintPath>
<HintPath>bin\Debug\log4net.dll</HintPath>
</Reference>
<Reference Include="Microsoft.SqlServer.ConnectionInfo, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL" />
<Reference Include="Microsoft.SqlServer.Smo, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL" />
<Reference Include="System" />
<Reference Include="System.configuration" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Design" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="vlnObject, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\veproms\bin\vlnObject.dll</HintPath>
</Reference>
<Reference Include="vlnServerLibrary, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\veproms\bin\vlnServerLibrary.dll</HintPath>
</Reference>
<Reference Include="Volian.CSLA.Library, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\veproms\bin\Volian.CSLA.Library.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Applicability.cs" />
<Compile Include="Approve.cs" />
<Compile Include="ConfigInfo.cs" />
<Compile Include="ConversionRTBProblems.cs" />
<Compile Include="CurSet.cs" />
<Compile Include="DataLoaderGlitches.cs" />
<Compile Include="DataLoaderSettings.cs" />
<Compile Include="dlgExportImport.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="dlgExportImport.designer.cs">
<DependentUpon>dlgExportImport.cs</DependentUpon>
</Compile>
<Compile Include="ErrorReport.cs" />
<Compile Include="FixItem.cs" />
<Compile Include="FolderTreeNode.cs" />
<Compile Include="Documents.cs">
</Compile>
<Compile Include="Formats.cs" />
<Compile Include="frmCntTkn.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmCntTkn.designer.cs">
<DependentUpon>frmCntTkn.cs</DependentUpon>
</Compile>
<Compile Include="frmErrors.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmErrors.designer.cs">
<DependentUpon>frmErrors.cs</DependentUpon>
</Compile>
<Compile Include="frmLoader.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmLoader.Designer.cs">
<DependentUpon>frmLoader.cs</DependentUpon>
</Compile>
<Compile Include="frmPG.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmPG.designer.cs">
<DependentUpon>frmPG.cs</DependentUpon>
</Compile>
<Compile Include="GroupProp.cs">
<SubType>Form</SubType>
</Compile>
@@ -87,27 +117,43 @@
<DependentUpon>GroupProp.cs</DependentUpon>
</Compile>
<Compile Include="LibDoc.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="LoadConfig.cs">
</Compile>
<Compile Include="Loader.cs" />
<Compile Include="LoadTreeNh.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="OutsideTransition.cs" />
<Compile Include="PrivateProfile.cs" />
<Compile Include="Procedures.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="dlgExportImport.resx">
<DependentUpon>dlgExportImport.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="frmCntTkn.resx">
<DependentUpon>frmCntTkn.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="frmErrors.resx">
<DependentUpon>frmErrors.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="frmLoader.resx">
<SubType>Designer</SubType>
<DependentUpon>frmLoader.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmPG.resx">
<DependentUpon>frmPG.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="GroupProp.resx">
<SubType>Designer</SubType>
<DependentUpon>GroupProp.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\licenses.licx" />
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
@@ -119,7 +165,25 @@
<DesignTime>True</DesignTime>
</Compile>
<None Include="App.config" />
<None Include="BuildVEPROMS.Sql">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="ClassDiagram1.cd" />
<None Include="PROMS2010.SQL">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="PROMSApproveApprove.sql">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="PROMSFixes.Sql">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="PROMStoAPPR.sql">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="PROMStoCM.sql">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
@@ -130,30 +194,59 @@
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<Compile Include="RefObjs.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="RichTextBox41.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="RichTextBox41.Designer.cs">
<DependentUpon>RichTextBox41.cs</DependentUpon>
</Compile>
<Compile Include="ROFixer.cs" />
<Compile Include="ROFST.cs" />
<Compile Include="SecObj.cs">
</Compile>
<Compile Include="Sections.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="SQLScriptRunner.cs" />
<Compile Include="Steps.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Structures.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="TextConvert.cs" />
<Compile Include="TransitionFixer.cs" />
<Compile Include="Transitions.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="LoadTreeDB.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DocVersions.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="UIFileNameEditor.cs" />
<Compile Include="WordDocument.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\LBWordLibrary\LBWordLibrary.csproj">
<Project>{70F23722-19A3-4AC1-A900-55831C945786}</Project>
<Name>LBWordLibrary</Name>
</ProjectReference>
<ProjectReference Include="..\VEPROMS.CSLA.Library\VEPROMS.CSLA.Library.csproj">
<Project>{41B2D786-1C03-4C1A-9247-DA9F0D6B06D5}</Project>
<Name>VEPROMS.CSLA.Library</Name>
</ProjectReference>
<ProjectReference Include="..\Volian.Base.Library\Volian.Base.Library.csproj">
<Project>{AEEE9FD1-6892-45E2-A67E-418C06D46FF9}</Project>
<Name>Volian.Base.Library</Name>
</ProjectReference>
<ProjectReference Include="..\Volian.Controls.Library\Volian.Controls.Library.csproj">
<Project>{8556527C-6615-487F-8AF7-22EBC3EF0268}</Project>
<Name>Volian.Controls.Library</Name>
</ProjectReference>
<ProjectReference Include="..\Volian.Utils.Library\Volian.Utils.Library.csproj">
<Project>{62314B9C-DA84-4037-8B68-AA18C1F641F5}</Project>
<Name>Volian.Utils.Library</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="vlnControl.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

View File

@@ -0,0 +1,153 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.30723.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataLoader", "DataLoader.csproj", "{8E239A2B-B38C-4CD5-BA0D-A41A88BD2AEE}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Volian.Utils.Library", "..\Volian.Utils.Library\Volian.Utils.Library.csproj", "{62314B9C-DA84-4037-8B68-AA18C1F641F5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VEPROMS.CSLA.Library", "..\VEPROMS.CSLA.Library\VEPROMS.CSLA.Library.csproj", "{41B2D786-1C03-4C1A-9247-DA9F0D6B06D5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EPocalipse.IFilter", "..\EPocalipse.IFilter\EPocalipse.IFilter.csproj", "{400462CE-40B3-498F-B95A-B1D2AE679359}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LBWordLibrary", "..\LBWordLibrary\LBWordLibrary.csproj", "{70F23722-19A3-4AC1-A900-55831C945786}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Volian.Controls.Library", "..\Volian.Controls.Library\Volian.Controls.Library.csproj", "{8556527C-6615-487F-8AF7-22EBC3EF0268}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Volian.Base.Library", "..\Volian.Base.Library\Volian.Base.Library.csproj", "{AEEE9FD1-6892-45E2-A67E-418C06D46FF9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XYPlots", "..\XYPlots\XYPlots.csproj", "{04E168D0-9CC7-43D9-A9F1-93E481EA86A3}"
EndProject
Global
GlobalSection(SourceCodeControl) = preSolution
SccNumberOfProjects = 7
SccProjectUniqueName0 = ..\\Volian.Utils.Library\\Volian.Utils.Library.csproj
SccProjectName0 = \u0022$/PROMS/Volian.Utils.Library\u0022,\u0020DICAAAAA
SccLocalPath0 = ..\\Volian.Utils.Library
SccProvider0 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
SccProjectUniqueName1 = ..\\VEPROMS.CSLA.Library\\VEPROMS.CSLA.Library.csproj
SccProjectName1 = \u0022$/PROMS/VEPROMS.CSLA.Library\u0022,\u0020TPBAAAAA
SccLocalPath1 = ..\\VEPROMS.CSLA.Library
SccProvider1 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
SccProjectUniqueName2 = DataLoader.csproj
SccProjectName2 = \u0022$/PROMS/DataLoader\u0022,\u0020IIAAAAAA
SccLocalPath2 = .
SccProvider2 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
SccProjectUniqueName3 = ..\\Volian.Controls.Library\\Volian.Controls.Library.csproj
SccProjectName3 = \u0022$/PROMS/Volian.Controls.Library\u0022,\u0020TVBAAAAA
SccLocalPath3 = ..\\Volian.Controls.Library
SccProvider3 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
SccProjectUniqueName4 = ..\\LBWordLibrary\\LBWordLibrary.csproj
SccProjectName4 = \u0022$/PROMS/LBWordLibrary\u0022,\u0020QUDAAAAA
SccLocalPath4 = ..\\LBWordLibrary
SccProvider4 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
SccProjectUniqueName5 = ..\\Volian.Base.Library\\Volian.Base.Library.csproj
SccProjectName5 = \u0022$/PROMS/Volian.Base.Library\u0022,\u0020QJEAAAAA
SccLocalPath5 = ..\\Volian.Base.Library
SccProvider5 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
SccProjectUniqueName6 = ..\\XYPlots\\XYPlots.csproj
SccProjectName6 = \u0022$/PROMS/XYPlots\u0022,\u0020BRDAAAAA
SccLocalPath6 = ..\\XYPlots
SccProvider6 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x86 = Debug|x86
Demo|Any CPU = Demo|Any CPU
Demo|x86 = Demo|x86
Release|Any CPU = Release|Any CPU
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8E239A2B-B38C-4CD5-BA0D-A41A88BD2AEE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8E239A2B-B38C-4CD5-BA0D-A41A88BD2AEE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8E239A2B-B38C-4CD5-BA0D-A41A88BD2AEE}.Debug|x86.ActiveCfg = Debug|Any CPU
{8E239A2B-B38C-4CD5-BA0D-A41A88BD2AEE}.Demo|Any CPU.ActiveCfg = Debug|Any CPU
{8E239A2B-B38C-4CD5-BA0D-A41A88BD2AEE}.Demo|Any CPU.Build.0 = Debug|Any CPU
{8E239A2B-B38C-4CD5-BA0D-A41A88BD2AEE}.Demo|x86.ActiveCfg = Debug|Any CPU
{8E239A2B-B38C-4CD5-BA0D-A41A88BD2AEE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8E239A2B-B38C-4CD5-BA0D-A41A88BD2AEE}.Release|Any CPU.Build.0 = Release|Any CPU
{8E239A2B-B38C-4CD5-BA0D-A41A88BD2AEE}.Release|x86.ActiveCfg = Release|Any CPU
{62314B9C-DA84-4037-8B68-AA18C1F641F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{62314B9C-DA84-4037-8B68-AA18C1F641F5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{62314B9C-DA84-4037-8B68-AA18C1F641F5}.Debug|x86.ActiveCfg = Debug|Any CPU
{62314B9C-DA84-4037-8B68-AA18C1F641F5}.Demo|Any CPU.ActiveCfg = Debug|Any CPU
{62314B9C-DA84-4037-8B68-AA18C1F641F5}.Demo|Any CPU.Build.0 = Debug|Any CPU
{62314B9C-DA84-4037-8B68-AA18C1F641F5}.Demo|x86.ActiveCfg = Debug|Any CPU
{62314B9C-DA84-4037-8B68-AA18C1F641F5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{62314B9C-DA84-4037-8B68-AA18C1F641F5}.Release|Any CPU.Build.0 = Release|Any CPU
{62314B9C-DA84-4037-8B68-AA18C1F641F5}.Release|x86.ActiveCfg = Release|Any CPU
{41B2D786-1C03-4C1A-9247-DA9F0D6B06D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{41B2D786-1C03-4C1A-9247-DA9F0D6B06D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{41B2D786-1C03-4C1A-9247-DA9F0D6B06D5}.Debug|x86.ActiveCfg = Debug|x86
{41B2D786-1C03-4C1A-9247-DA9F0D6B06D5}.Debug|x86.Build.0 = Debug|x86
{41B2D786-1C03-4C1A-9247-DA9F0D6B06D5}.Demo|Any CPU.ActiveCfg = Demo|Any CPU
{41B2D786-1C03-4C1A-9247-DA9F0D6B06D5}.Demo|Any CPU.Build.0 = Demo|Any CPU
{41B2D786-1C03-4C1A-9247-DA9F0D6B06D5}.Demo|x86.ActiveCfg = Demo|x86
{41B2D786-1C03-4C1A-9247-DA9F0D6B06D5}.Demo|x86.Build.0 = Demo|x86
{41B2D786-1C03-4C1A-9247-DA9F0D6B06D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{41B2D786-1C03-4C1A-9247-DA9F0D6B06D5}.Release|Any CPU.Build.0 = Release|Any CPU
{41B2D786-1C03-4C1A-9247-DA9F0D6B06D5}.Release|x86.ActiveCfg = Release|x86
{41B2D786-1C03-4C1A-9247-DA9F0D6B06D5}.Release|x86.Build.0 = Release|x86
{400462CE-40B3-498F-B95A-B1D2AE679359}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{400462CE-40B3-498F-B95A-B1D2AE679359}.Debug|Any CPU.Build.0 = Debug|Any CPU
{400462CE-40B3-498F-B95A-B1D2AE679359}.Debug|x86.ActiveCfg = Debug|x86
{400462CE-40B3-498F-B95A-B1D2AE679359}.Debug|x86.Build.0 = Debug|x86
{400462CE-40B3-498F-B95A-B1D2AE679359}.Demo|Any CPU.ActiveCfg = Demo|Any CPU
{400462CE-40B3-498F-B95A-B1D2AE679359}.Demo|Any CPU.Build.0 = Demo|Any CPU
{400462CE-40B3-498F-B95A-B1D2AE679359}.Demo|x86.ActiveCfg = Demo|x86
{400462CE-40B3-498F-B95A-B1D2AE679359}.Demo|x86.Build.0 = Demo|x86
{400462CE-40B3-498F-B95A-B1D2AE679359}.Release|Any CPU.ActiveCfg = Release|Any CPU
{400462CE-40B3-498F-B95A-B1D2AE679359}.Release|Any CPU.Build.0 = Release|Any CPU
{400462CE-40B3-498F-B95A-B1D2AE679359}.Release|x86.ActiveCfg = Release|x86
{400462CE-40B3-498F-B95A-B1D2AE679359}.Release|x86.Build.0 = Release|x86
{70F23722-19A3-4AC1-A900-55831C945786}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{70F23722-19A3-4AC1-A900-55831C945786}.Debug|Any CPU.Build.0 = Debug|Any CPU
{70F23722-19A3-4AC1-A900-55831C945786}.Debug|x86.ActiveCfg = Debug|Any CPU
{70F23722-19A3-4AC1-A900-55831C945786}.Demo|Any CPU.ActiveCfg = Debug|Any CPU
{70F23722-19A3-4AC1-A900-55831C945786}.Demo|Any CPU.Build.0 = Debug|Any CPU
{70F23722-19A3-4AC1-A900-55831C945786}.Demo|x86.ActiveCfg = Debug|Any CPU
{70F23722-19A3-4AC1-A900-55831C945786}.Release|Any CPU.ActiveCfg = Release|Any CPU
{70F23722-19A3-4AC1-A900-55831C945786}.Release|Any CPU.Build.0 = Release|Any CPU
{70F23722-19A3-4AC1-A900-55831C945786}.Release|x86.ActiveCfg = Release|Any CPU
{8556527C-6615-487F-8AF7-22EBC3EF0268}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8556527C-6615-487F-8AF7-22EBC3EF0268}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8556527C-6615-487F-8AF7-22EBC3EF0268}.Debug|x86.ActiveCfg = Debug|x86
{8556527C-6615-487F-8AF7-22EBC3EF0268}.Debug|x86.Build.0 = Debug|x86
{8556527C-6615-487F-8AF7-22EBC3EF0268}.Demo|Any CPU.ActiveCfg = Demo|Any CPU
{8556527C-6615-487F-8AF7-22EBC3EF0268}.Demo|Any CPU.Build.0 = Demo|Any CPU
{8556527C-6615-487F-8AF7-22EBC3EF0268}.Demo|x86.ActiveCfg = Demo|x86
{8556527C-6615-487F-8AF7-22EBC3EF0268}.Demo|x86.Build.0 = Demo|x86
{8556527C-6615-487F-8AF7-22EBC3EF0268}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8556527C-6615-487F-8AF7-22EBC3EF0268}.Release|Any CPU.Build.0 = Release|Any CPU
{8556527C-6615-487F-8AF7-22EBC3EF0268}.Release|x86.ActiveCfg = Release|x86
{8556527C-6615-487F-8AF7-22EBC3EF0268}.Release|x86.Build.0 = Release|x86
{AEEE9FD1-6892-45E2-A67E-418C06D46FF9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AEEE9FD1-6892-45E2-A67E-418C06D46FF9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AEEE9FD1-6892-45E2-A67E-418C06D46FF9}.Debug|x86.ActiveCfg = Debug|x86
{AEEE9FD1-6892-45E2-A67E-418C06D46FF9}.Debug|x86.Build.0 = Debug|x86
{AEEE9FD1-6892-45E2-A67E-418C06D46FF9}.Demo|Any CPU.ActiveCfg = Debug|x86
{AEEE9FD1-6892-45E2-A67E-418C06D46FF9}.Demo|x86.ActiveCfg = Debug|x86
{AEEE9FD1-6892-45E2-A67E-418C06D46FF9}.Demo|x86.Build.0 = Debug|x86
{AEEE9FD1-6892-45E2-A67E-418C06D46FF9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AEEE9FD1-6892-45E2-A67E-418C06D46FF9}.Release|Any CPU.Build.0 = Release|Any CPU
{AEEE9FD1-6892-45E2-A67E-418C06D46FF9}.Release|x86.ActiveCfg = Release|x86
{AEEE9FD1-6892-45E2-A67E-418C06D46FF9}.Release|x86.Build.0 = Release|x86
{04E168D0-9CC7-43D9-A9F1-93E481EA86A3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{04E168D0-9CC7-43D9-A9F1-93E481EA86A3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{04E168D0-9CC7-43D9-A9F1-93E481EA86A3}.Debug|x86.ActiveCfg = Debug|x86
{04E168D0-9CC7-43D9-A9F1-93E481EA86A3}.Debug|x86.Build.0 = Debug|x86
{04E168D0-9CC7-43D9-A9F1-93E481EA86A3}.Demo|Any CPU.ActiveCfg = Demo|Any CPU
{04E168D0-9CC7-43D9-A9F1-93E481EA86A3}.Demo|Any CPU.Build.0 = Demo|Any CPU
{04E168D0-9CC7-43D9-A9F1-93E481EA86A3}.Demo|x86.ActiveCfg = Demo|x86
{04E168D0-9CC7-43D9-A9F1-93E481EA86A3}.Demo|x86.Build.0 = Demo|x86
{04E168D0-9CC7-43D9-A9F1-93E481EA86A3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{04E168D0-9CC7-43D9-A9F1-93E481EA86A3}.Release|Any CPU.Build.0 = Release|Any CPU
{04E168D0-9CC7-43D9-A9F1-93E481EA86A3}.Release|x86.ActiveCfg = Release|x86
{04E168D0-9CC7-43D9-A9F1-93E481EA86A3}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,127 @@
// ========================================================================
// Copyright 2006 - Volian Enterprises, Inc. All rights reserved.
// Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
// ------------------------------------------------------------------------
// $Workfile: $ $Revision: $
// $Author: $ $Date: $
//
// $History: $
// ========================================================================
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Data.OleDb;
using System.Collections.Specialized;
using System.Collections.Generic;
using System.Xml;
using System.IO;
using System.Text;
using VEPROMS.CSLA.Library;
namespace DataLoader
{
public partial class Loader
{
public TimeSpan MigrateDocVersion(DocVersion docver)
{
return MigrateDocVersion(docver, true);
}
private OutsideTransition _OutTran;
public int MultiUnitCount = 0;
public Dictionary<int, int> Old2NewApple;
public Dictionary<int, int> New2OldApple;
public TimeSpan MigrateDocVersion(DocVersion docver, bool convertProcedures)
{
long lTime = DateTime.Now.Ticks;
string pth = docver.Title;
MultiUnitCount = docver.DocVersionConfig.Unit_Count;
if (MultiUnitCount > 0)
{
Old2NewApple = new Dictionary<int, int>();
New2OldApple = new Dictionary<int, int>();
for (int i = 1; i <= MultiUnitCount; i++)
{
docver.DocVersionConfig.SelectedSlave = i;
int oldindex = int.Parse(docver.DocVersionConfig.Old_Index);
Old2NewApple.Add(oldindex, i);
New2OldApple.Add(i, oldindex);
}
}
if (!File.Exists(pth + @"\set.dbf") || !File.Exists(pth + @"\curset.dat")) return new TimeSpan(); // Open connection
OleDbConnection cn = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + pth + ";Extended Properties=dBase III;Persist Security Info=False");
if (convertProcedures)
{
// JSJ 02/10/2010 - Remove all the .INF files before proceeding to convert.
// The INF files contain a path to a corresponding NDX file - had data with bat NDX path
DeleteINFFiles(pth);
_OutTran = new OutsideTransition(cn);
frmMain.AddInfo("Before MigrateROFST{0}\r\n{1}", GC.GetTotalMemory(true), VEPROMS.CSLA.Library.CSLACache.UsageAll);
MigrateROFST(pth, docver);
GC.Collect();
frmMain.AddInfo("After MigrateROFST{0}\r\n{1}", GC.GetTotalMemory(true), VEPROMS.CSLA.Library.CSLACache.UsageAll);
// Migrate library documents
MigrateLibDocs(cn, pth);
// Initialize Dictionaries
dicTrans_ItemDone = new Dictionary<string, Item>();
dicTrans_ItemIds = new Dictionary<string, Item>();
dicTrans_MigrationErrors = new Dictionary<string, List<Item>>();
// Create a 'dummy' content record. This will be used for any transitions 'to'
// that don't exist when dbf is processed. At end, use this to see if there
// are missing transitions.
TransDummyCont = Content.MakeContent(null, "DUMMY CONTENT FOR TRANSITION MIGRATION", null, null, null);
}
// Process Procedures
Item itm = null;
if (convertProcedures || docver.VersionType == (int)VEPROMS.CSLA.Library.VersionTypeEnum.WorkingDraft || docver.VersionType == (int)VEPROMS.CSLA.Library.VersionTypeEnum.Approved)
itm = MigrateProcedures(cn, pth, docver, convertProcedures, docver.MyDocVersionInfo.ActiveFormat);
// Show any Missing Transtitons (i.e. Transitions which have not been processed)
lTime = DateTime.Now.Ticks - lTime;
if (convertProcedures)
{
ShowMissingTransitions(docver);
//frmMain.Status = string.Format("{0}\r\nConversion completed in {1} seconds.", pth, TimeSpan.FromTicks(lTime).TotalSeconds);
TimeSpan ts = TimeSpan.FromTicks(lTime);
frmMain.Status = string.Format("{0}\r\nConversion completion time: {1:D2}:{2:D2}:{3:D2}.{4} ({5} Total Seconds)", pth, ts.Hours, ts.Minutes, ts.Seconds, ts.Milliseconds, ts.TotalSeconds);
log.InfoFormat("Completed Migration of {0}", pth);
//MessageBox.Show("Completed Migration of " + pth); //jsj commented out to let it run through
if (rofstinfo != null) rofstinfo.ROFSTLookup.Close();
dicTrans_ItemDone.Clear();
dicTrans_ItemDone = null;
}
else
frmMain.Status = string.Format("{0}\r\nDone.", pth);
cn.Close();
if (itm != null)
{
docver.MyItem = itm;
if (convertProcedures) docver.Title = ""; // clearing this tell us this docver (path) was converted?
if (!docver.IsSavable) ErrorRpt.ErrorReport(docver);
if(frmMain.MySettings.ExecutionMode == ExecutionMode.Debug)
docver.DocVersionConfig.Print_PDFLocation = frmMain.MySettings.PDFFolder;
docver.Save();
}
return TimeSpan.FromTicks(lTime);
}
private void DeleteINFFiles(string pth)
{
DirectoryInfo di = new DirectoryInfo(pth);
FileInfo [] myFiles = di.GetFiles("*.INF");
foreach (FileInfo myFile in myFiles)
myFile.Delete();
}
private VEPROMS.CSLA.Library.VersionTypeEnum DocVersionType(string s)
{
if (s.EndsWith("approved")) return VEPROMS.CSLA.Library.VersionTypeEnum.Approved;
if (s.EndsWith("chgsht")) return VEPROMS.CSLA.Library.VersionTypeEnum.Revision;
if (s.EndsWith("tmpchg")) return VEPROMS.CSLA.Library.VersionTypeEnum.Temporary;
return VEPROMS.CSLA.Library.VersionTypeEnum.WorkingDraft;
}
}
}

View File

@@ -0,0 +1,199 @@
// ========================================================================
// Copyright 2006 - Volian Enterprises, Inc. All rights reserved.
// Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
// ------------------------------------------------------------------------
// $Workfile: $ $Revision: $
// $Author: $ $Date: $
//
// $History: $
// ========================================================================
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Data.OleDb;
using System.Collections.Specialized;
using System.Collections.Generic;
using System.Xml;
using System.Xml.XPath;
using System.IO;
using System.Text;
using VEPROMS.CSLA.Library;
namespace DataLoader
{
public partial class Loader
{
private Format AddFormatToDB(Format parent, string format, bool issub, DateTime Dts, string Userid)
{
string fmtdata = null;
string genmacdata = null;
XmlDocument xd = null;
string path = "c:\\development\\fmtall\\" + format + "all.xml";
if (File.Exists(path))
{
try
{
StreamReader srf = new StreamReader(path);
xd = new XmlDocument();
xd.Load(srf);
//xd.Load(path);
fmtdata = xd.OuterXml;
}
catch(Exception ex)
{
frmMain.AddError(ex, "AddFormatToDB('{0}','{1}')", parent.Name, path);
return null;
}
}
// Do we need genmac - only if non-subformat
if (!issub)
{
path = "c:\\development\\genmacall\\" + format + ".svg";
if (File.Exists(path))
{
try
{
StreamReader sr = new StreamReader(path);
XmlDocument xdg = new XmlDocument();
xdg.Load(sr);
//xdg.Load(path);
genmacdata = xdg.OuterXml;
}
catch (Exception ex)
{
frmMain.AddError(ex, "AddFormatToDB('{0}','{1}')", parent.Name, path);
return null;
}
}
}
// Get the name & then create the record.
if (Userid == null || Userid == "") Userid = "Migration";
string nmattr = "Default";
// use xpath to get name.
if (parent != null)
{
XmlNode nmnode = xd.SelectSingleNode("//FormatData");
if (nmnode is XmlElement)
{
XmlElement xm = (XmlElement)nmnode;
nmattr = xm.GetAttribute("Name");
}
}
// use the format name if base or non sub. If it's a sub, remove the "_".
string fname = issub ? format.Replace("_", "") : format;
Format rec = null;
try
{
rec = Format.MakeFormat(parent, fname, nmattr, fmtdata, genmacdata, Dts, Userid);
}
catch (Exception ex)
{
frmMain.AddError(ex, "AddFormatToDB-make format('{0}','{1}')", parent.Name, path);
}
return rec;
}
public void LoadAllFormats()
{
Format basefmt = null;
Format parent = null;
// Load base format.
basefmt = AddFormatToDB(null, "base", false, DateTime.Now, "Migration");
if (basefmt == null) return;
// now loop through all files... If there is an _ in the name, it's a subformat
// (for example, AEP_00.xml) skip it in main loop, it's handled for each format.
DirectoryInfo di = new DirectoryInfo(@"c:\development\fmtall");
FileInfo[] fis = di.GetFiles("*.xml");
foreach (FileInfo fi in fis)
{
bool issub = (fi.Name.IndexOf("_") > 0) ? true : false;
if (!issub && fi.Name.ToLower() != "baseall.xml")
{
string fmtname = fi.Name.Substring(0, fi.Name.Length - 7);
// remove the all.xml part of the filename.
try
{
parent = AddFormatToDB(basefmt, fmtname, issub, DateTime.Now, "Migration");
if (parent != null)
{
// now see if there are any subformats associated with this, if so
// add them here...
DirectoryInfo sdi = new DirectoryInfo("c:\\development\\fmtall");
FileInfo[] sfis = di.GetFiles(fmtname + "_*.xml");
foreach (FileInfo sfi in sfis)
{
string nm = sfi.Name.Substring(0, sfi.Name.Length - 7);
//Console.WriteLine("Processing {0}", sfi.Name);
frmMain.Status = string.Format("Processing Format {0}", sfi.Name);
try
{
AddFormatToDB(parent, nm, true, DateTime.Now, "Migration");
}
catch (Exception ex)
{
frmMain.AddError(ex, "LoadAllFormats() '{0}'", sfi.Name);
//Console.WriteLine("{0} - {1}", ex.GetType().Name, ex.Message);
}
}
}
}
catch (Exception ex)
{
frmMain.AddError(ex, "LoadAllFormats() '{0}'", fi.Name);
//Console.WriteLine("{0} - {1}", ex.GetType().Name, ex.Message);
}
}
}
}
public FormatInfo GetFormat(string format)
{
Format parent = null;
Format rec = null;
// get base
Format baseparent = Format.Get(1);
// if there is no format - what should be done? maybe nothing.
if (format == null || format == "") return null;
try
{
if (format.IndexOf(' ') > -1) // will have spaces if it's a user format
{
string part1 = format.Substring(0, format.IndexOf(' '));
string part2 = format.Substring(format.LastIndexOf(' ') + 1, 2);
format = part1 + part2;
// get the parent format's id (for example, AEP for AEP00).
parent = Format.GetByParentID_Name(baseparent.FormatID, part1);
}
else
parent = baseparent;
// see if the format has been added, if not go get it.
rec = Format.GetByParentID_Name(parent.FormatID, format);
// JSJ - 02/04/10 this fixes cases where a subformat is no longer available,
// default to the parent format
if (rec == null)
rec = parent;
}
catch (Exception ex)
{
log.ErrorFormat("Error getting xml version of format {0}", ex.Message);
frmMain.AddError(ex, "GetFormat('{0}')", format);
}
FormatInfo recInfo = FormatInfo.Get(rec.FormatID);
return recInfo;
}
}
}

View File

@@ -0,0 +1,122 @@
// ========================================================================
// Copyright 2006 - Volian Enterprises, Inc. All rights reserved.
// Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
// ------------------------------------------------------------------------
// $Workfile: $ $Revision: $
// $Author: $ $Date: $
//
// $History: $
// ========================================================================
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Data.OleDb;
using System.Collections.Specialized;
using System.Collections.Generic;
using System.Xml;
using System.IO;
using System.Text;
using Volian.MSWord;
using vlnObjectLibrary;
using vlnServerLibrary;
using Org.Mentalis.Files;
namespace DataLoader
{
public partial class Loader
{
private void MigrateLibDocs(OleDbConnection cn, string pth)
{
// Get all of the library documents - the first list has the entire list of files
// found within the rtffiles folder, the second list contains usages from the 'tran'
// file. During processing for procedures/sections occurs, the used library documents
// will be migrated. After that, any remaining library documents will be added to
// the section table without a reference from the structuretbl.
Dictionary<string, int> dicLibDocSect = new Dictionary<string, int>();
frmMain.UpdateLabelsLibDocs(0, 0);
if (Directory.Exists(pth + "\\rtffiles"))
{
DirectoryInfo di = new DirectoryInfo(pth + "\\RTFFILES");
FileInfo[] fis = di.GetFiles("DOC_*.LIB");
frmMain.UpdateLabelsSetProc(fis.Length);
foreach (FileInfo fi in fis)
{
frmMain.UpdateLabelsLibDocs(1, 0);
dicLibDocSect[fi.Name.Substring(0, 8).ToUpper()] = MigrateLibDoc(fi);
}
}
dicLibDocRef = new Dictionary<string, int>();
OleDbDataAdapter da_doc = new OleDbDataAdapter("select [FROMNUMBER], [FROMSEQUEN], [TONUMBER] from [tran] where [TONUMBER] LIKE 'doc_%' or [TONUMBER] like 'DOC_%'", cn);
DataSet ds_doc = new DataSet();
da_doc.Fill(ds_doc);
frmMain.UpdateLabelsSetSect(ds_doc.Tables[0].Rows.Count);
foreach (DataRow dr_doc in ds_doc.Tables[0].Rows)
{
frmMain.UpdateLabelsLibDocs(0, 1);
string key = dr_doc["FROMNUMBER"].ToString().PadRight(20) + dr_doc["FROMSEQUEN"].ToString().PadRight(10);
if (!dicLibDocSect.ContainsKey(dr_doc["TONUMBER"].ToString().ToUpper()))
log.ErrorFormat("Error setting library document references: {0}", dr_doc["TONUMBER"].ToString().ToUpper());
else
dicLibDocRef[key] = dicLibDocSect[dr_doc["TONUMBER"].ToString().ToUpper()];
}
da_doc.Dispose();
}
private int MigrateLibDoc(FileInfo fi)
{
ConfigInfo ci = new ConfigInfo(null);
string title = null; // for docname, remove the '.lib', i.e. substring(0,8)
DateTime dts = DateTime.Now;
ci.AddItem("Edit", "Initialized", "true");
string tmpRtfFileName = GetLibDocData(fi, ci, ref title);
int Docid = SaveWordDoc(tmpRtfFileName, title, null, ci, string.Empty);
File.Delete(tmpRtfFileName);
return Docid;
}
private string LoadFromLib(BinaryReader br)
{
int nchar = br.ReadInt16();
if (nchar > 0)
{
string tmp = new string(br.ReadChars(nchar));
return tmp.Substring(0, tmp.Length - 1); // remove null at end.
}
return null;
}
private string GetLibDocData(FileInfo fi, ConfigInfo ci, ref string title)
{
title = null;
// get the number, title, etc from the file.
// use the path to open the file & read the title & comment
DateTime dts = fi.LastWriteTimeUtc;
FileStream fs = fi.Open(FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
BinaryReader br = new BinaryReader(fs, System.Text.ASCIIEncoding.ASCII);
string tmpRtfFileName = Path.GetTempFileName();
FileStream tmpfile = new FileStream(tmpRtfFileName, FileMode.Create);
BinaryWriter bw = new BinaryWriter(tmpfile, System.Text.Encoding.ASCII);
int cntPage = br.ReadInt16();
if (cntPage != -1)
{ // Not End of File
ci.AddItem("Section", "NumPages", cntPage.ToString());
string ldtitle = LoadFromLib(br);
if (ldtitle != null && ldtitle != "") title = ldtitle;
ci.AddItem("LibDoc", "Comment", LoadFromLib(br));
long l = br.BaseStream.Length - br.BaseStream.Position;
byte[] buf = new byte[l];
br.Read(buf, 0, (int)l);
bw.Write(buf, 0, (int)l);
br.Close();
fs.Close();
bw.Close();
tmpfile.Close();
WaitMS(wms); // give it some time to close the tempfile before adding section
File.SetLastWriteTimeUtc(tmpRtfFileName, dts);
}
return tmpRtfFileName;
}
}
}

View File

@@ -0,0 +1,284 @@
// ========================================================================
// Copyright 2006 - Volian Enterprises, Inc. All rights reserved.
// Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
// ------------------------------------------------------------------------
// $Workfile: $ $Revision: $
// $Author: $ $Date: $
//
// $History: $
// ========================================================================
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Data.OleDb;
using System.Collections.Specialized;
using System.Collections.Generic;
using System.Xml;
using System.IO;
using System.Text;
using VEPROMS.CSLA.Library;
using vlnObjectLibrary;
using vlnServerLibrary;
using Org.Mentalis.Files;
using Config;
using Utils;
namespace DataLoader
{
public partial class Loader
{
private List<Folder> vlnDataPathFolders() // was vlnDataPath
{
List<Folder> dpf = new List<Folder>();
// Get path to config file
string sCfg = Environment.GetEnvironmentVariable("veconfig");
IniReader cfg = new IniReader(sCfg);
// Get DataPath
string sDP = cfg.ReadString("menu", "DataPath");
// Split DataPath into directories
// Get the current list of folders so that if it already exists, just get the 'Folder', otherwise
// make it. It was done this way because there was no way to get the Folder given a name/Title.
FolderInfoList fil = FolderInfoList.Get();
foreach (string s1 in sDP.Split(";".ToCharArray()))
{
if (s1.Length > 0)
{
string[] s2 = s1.Split(",".ToCharArray());
Folder fld = GetFolderFromName(s2[1], s2[0], fil);
if (fld == null)
fld = Folder.MakeFolder(sysFolder, dbConn, s2[1], s2[0], FolderName(s2[0]), null, null, DateTime.Now, "Migration");
dpf.Add(fld);
}
}
return dpf;
}
private Folder GetFolderFromName(string name, string title, FolderInfoList fil)
{
Folder fld = null;
foreach (FolderInfo fi in fil)
{
if (fi.Name.ToUpper() == name.ToUpper() && fi.Title.ToUpper() == title.ToUpper())
{
fld = Folder.Get(fi.FolderID);
return fld;
}
}
return null;
}
private string FolderName(string Path)
{
int ind = Path.LastIndexOf("\\");
if (ind == Path.Length-1 || ind < 0) return Path;
return Path.Substring(ind + 1);
}
private DocVersion GetDocVersionFromName(Folder fld, string f)
{
DocVersion dv = null;
DocVersionInfoList dvil = DocVersionInfoList.GetByFolderID(fld.FolderID);
foreach (DocVersionInfo dvi in dvil)
{
if (dvi.Name.ToUpper() == f.ToUpper())
{
dv = DocVersion.Get(dvi.VersionID);
return dv;
}
}
return null;
}
private object cslaObject(vlnObject vb, Connection dbConn, Object parfld, TreeNode tn)
{
switch (vb.Type)
{
case "plant":
case "set":
// if folder exists... get the Folder object, otherwise create it.
FolderInfoList fil = FolderInfoList.Get();
Folder fld = GetFolderFromName(vb.Title, vb.Path, fil);
if (fld==null) fld = Folder.MakeFolder((Folder)parfld, dbConn, vb.Title, vb.Path, FolderName(vb.Path), null, null, DateTime.Now, "Migration");
tn.Tag = fld;
return (object) fld;
case "version":
// see if version exists for the input folder, parfld.
DocVersion v = GetDocVersionFromName((Folder)parfld, vb.Title);
if (v == null)
{
ConfigFile cfg = new ConfigFile();
XmlDocument d = cfg.IniToXml(vb.Path + "\\proc.ini");
AddSlaveUnits(d, vb.Path);
//DocVersionConfig fld_cfg = new DocVersionConfig(d == null ? "" : d.InnerXml);
FolderConfig fld_cfg = (d==null)?null:new FolderConfig(d.InnerXml);
// translate curset.dat into xml & add to d (somehow).
string csfile = string.Format("{0}\\curset.dat",vb.Path);
string defPlantFmt = null;
if (File.Exists(csfile))
{
CurSet cs = new CurSet(csfile);
try
{
if (fld_cfg == null) fld_cfg = new FolderConfig();
fld_cfg = cs.Convert(fld_cfg);
defPlantFmt = cs.GetDefFmt();
}
catch (Exception ex)
{
log.ErrorFormat("error in convert curset.dat, ex = {0}", ex.Message);
frmMain.AddError(ex, "error in convert curset.dat");
}
}
// *** RHM 20120613 - Fix
// *** This was naming the DocVersion to the folder name
//string titlepath = vb.Path + "\\" + "Title";
//FileInfo fi = new FileInfo(titlepath);
//string thetitle = vb.Title;
//if (File.Exists(titlepath))
//{
// StreamReader myReader = new StreamReader(titlepath);
// thetitle = myReader.ReadLine();
// myReader.Close();
//}
Folder tmpfld = (Folder)parfld;
FormatInfo format = null;
if (defPlantFmt != null && defPlantFmt != "")
{
format = GetFormat(defPlantFmt);
}
else
format = FormatInfo.Get(1);
using(Format fmt = format.Get())
v = DocVersion.MakeDocVersion(tmpfld, (int)DocVersionType(vb.Path.ToLower()), vb.Title, vb.Path.ToLower(), null, fmt, fld_cfg == null ? null : fld_cfg.ToString(), DateTime.Now, "Migration");
}
tn.Tag = v;
MigrateDocVersion(v, false);
return (object)v;
}
return 0;
}
private void AddSlaveUnits(XmlDocument d, string path)
{
string masterDir = GetMasterDir(d);
if (masterDir == null) return;
DirectoryInfo master = new DirectoryInfo(path);
if (master.Name.ToUpper() != masterDir.ToUpper()) return;
List<string> names = GetUnitNames(d);
DirectoryInfo[] slaves = master.Parent.GetDirectories(masterDir.ToUpper().Replace(".PRC",".SL*"));
XmlDocument units = new XmlDocument();
units.LoadXml("<Slaves/>");
int idx = 0;
foreach (DirectoryInfo slave in slaves)
{
FileInfo[] inis = slave.GetFiles("proc.ini");
if (inis.Length > 0)
{
FileInfo ini = inis[0];
ConfigFile cfg = new ConfigFile();
XmlDocument xSlave = cfg.IniToXml(ini.FullName);
xSlave.LoadXml(xSlave.OuterXml.Replace("<Unit", "<Slave"));
string slaveDir = GetMasterDir(xSlave);
if (slaveDir.ToUpper() == masterDir.ToUpper())
{
XmlNode unit = xSlave.SelectSingleNode("Config/Slave");
XmlAttribute oldindex = xSlave.CreateAttribute("oldindex");
oldindex.InnerText = slave.Extension.Replace(".SL", "");
unit.Attributes.SetNamedItem(oldindex);
XmlAttribute index = xSlave.CreateAttribute("index");
idx++;
index.InnerText = idx.ToString();
unit.Attributes.SetNamedItem(index);
if (names.Count == slaves.Length)
oldindex.InnerText = index.InnerText;
if (xSlave.SelectSingleNode("Config/ProcedureSet") != null)
{
XmlAttribute setName = xSlave.CreateAttribute("SetName");
setName.InnerText = xSlave.SelectSingleNode("Config/ProcedureSet/@Name").InnerText;
unit.Attributes.SetNamedItem(setName);
XmlAttribute setID = xSlave.CreateAttribute("SetID");
setID.InnerText = xSlave.SelectSingleNode("Config/ProcedureSet/@ID").InnerText;
unit.Attributes.SetNamedItem(setID);
}
units.DocumentElement.AppendChild(units.ImportNode(unit, true));
}
}
}
d.DocumentElement.AppendChild(d.ImportNode(units.DocumentElement, true));
//d.DocumentElement.RemoveChild(d.SelectSingleNode("Config/Unit"));
Console.WriteLine(d.OuterXml);
}
private List<string> GetUnitNames(XmlDocument d)
{
XmlNode zapp = d.SelectSingleNode("//Unit");
if (zapp == null) return null;
XmlNode zmstr = zapp.Attributes.GetNamedItem("Name");
if (zmstr == null) return null;
string[] names = zmstr.InnerText.Split(",".ToCharArray());
return new List<string>(names);
}
private static string GetMasterDir(XmlDocument d)
{
XmlNode zapp = d.SelectSingleNode("//Applicability");
if (zapp == null) return null;
XmlNode zmstr = zapp.Attributes.GetNamedItem("MasterDir");
if (zmstr == null) return null;
return zmstr.InnerText;
}
private string _OnlyThisFolder;
public string OnlyThisFolder
{
get
{
if (_OnlyThisFolder == null)
{
if (frmMain.MySettings.OnlyThisSet)
{
DirectoryInfo dir = new DirectoryInfo(frmMain.MySettings.ProcedureSetPath);
_OnlyThisFolder = dir.Parent.FullName.ToUpper();
}
else
_OnlyThisFolder = "";
}
return _OnlyThisFolder;
}
}
private bool IsInSelectedPlantData(Object parent)
{
if (OnlyThisFolder == "")
return true;
Folder fld = parent as Folder;
if (fld == null)
return true;
if (fld.MyParent.MyParent != null)
return true;
if (fld.Title.ToUpper() == OnlyThisFolder)
return true;
return false;
}
private void MigrateChildren(vlnObject vb, vlnServer vs, Connection dbConn, Object parent, TreeNode tn)
{
if (vb.Type != "version")
{
vb.LoadChildren(vs.GetChildren(vb.ToString()));
List<vlnObject> lv = vb.Children;
foreach (vlnObject vbc in lv)
{
if (vbc.Path.ToUpper().StartsWith(OnlyThisFolder) || OnlyThisFolder.StartsWith(vbc.Path.ToUpper()))
{
TreeNode tnc = tn.Nodes.Add(vbc.Title);
object idc = cslaObject(vbc, dbConn, parent, tnc);
frmMain.Status = "Loading " + vbc.Title;
MigrateChildren(vbc, vs, dbConn, idc, tnc);
}
}
}
frmMain.Status = " ";
}
}
}

View File

@@ -0,0 +1,280 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Data.OleDb;
using System.Collections.Specialized;
using System.Collections.Generic;
using System.Xml;
using System.IO;
using System.Text;
using Volian.MSWord;
using vlnObjectLibrary;
using vlnServerLibrary;
using VEPROMS.CSLA.Library;
using Config;
using Volian.Base.Library;
namespace DataLoader
{
public partial class Loader
{
#region ClassProperties
private int wms = 500;
private static int EDDATA = 0x01;
private static int PH = 0x02;
private static int TOC = 0x04;
private static int AUTOIND = 0x08;
private static int AUTOGEN = 0x40;
private static int STP_MULT_CHGID = 1;
private static int STP_LNK_SEQ = 2;
private static int STP_OVR_TAB = 3;
private string ProcFileName;
private string ProcNumber;
private ROFstInfo rofstinfo;
private RODb rodb;
private int EditSectId;
private Dictionary<string, int> dicLibDocRef;
// have a few variables for storing the database id record & the system record.
public Connection dbConn;
public Folder sysFolder;
public AnnotationType CommentType; // this holds the annotationtype of comment for future use
public AnnotationType MigrationErrorType; // this holds the annotationtype of Migration Error for future use
public AnnotationType VerificationRequiredType; // Using this to flag table to grid conversions
public Document MissingDocument = null; // make a document if there is a missing rtf file
// any missing will use this.
private Content TransDummyCont;
// the following two dictionaries are used to handle migration of the
// transitions... dicTrans_ItemDone gets an entry for procnumber, sequence
// number and the new item id as a step or section is created (transitions
// can go to steps or sections). When a transition is encountered, check this
// dictionary to see if the step or section was migrated & use the item
// for the step or section if it was migrated. When a transition is migrated where
// the 'to' has not been migrated yet, check if an entry exists in dicTrans_ItemIds,
// if so, use the item listed here. If no entry exists in dicTrans_ItemIds, create
// an item table record and use the id as part of the 'to', and add an entry to
// dicTrans_ItemIds to flag that the record was already created. As migrating sections
// and steps, check this dicTrans_ItemIds to see if the item record has already
// been create, if so use it and remove it from the dicTrans_ItemIds dictionary,
// otherwise, create a new item record.
private Dictionary<string, Item> dicTrans_ItemDone;
private Dictionary<string, Item> dicTrans_ItemIds;
private Dictionary<string, List<Item>> dicTrans_MigrationErrors;
private Dictionary<object, string> dicOldStepSequence;
private Dictionary<TreeNode, TreeNode> dicNeedToLoad;
private Dictionary<string, string> dicSetfileEntries;
private log4net.ILog log;
#endregion
private frmLoader frmMain;
public Loader(log4net.ILog lg, frmLoader fm)
{
dicNeedToLoad = new Dictionary<TreeNode, TreeNode>();
log = lg;
frmMain = fm;
}
public bool LoadFolders(string vepromspath)
{
try
{
//_FmtAllPath = frmMain.MySettings.FormatFolder;
//_GenmacAllPath = frmMain.MySettings.GenMacFolder;
frmMain.Status = "Make Connection";
// make the initial database connection record, annotation types & top
// system folder.
dbConn = Connection.MakeConnection("Default", "Default", frmMain.MySettings.ConnectionString.Replace("{DBName}",frmMain.MySettings.DBName), 1, null, DateTime.Now, "Migration");
ConfigFile cfg = new ConfigFile();
frmMain.Status = "Add AnnotationTypes";
CommentType = AnnotationType.MakeAnnotationType("Comment", null);
MigrationErrorType = AnnotationType.MakeAnnotationType("Migration Error", null);
AnnotationType at = AnnotationType.MakeAnnotationType("Reference", null);
at = AnnotationType.MakeAnnotationType("Action Items", null);
//at = AnnotationType.MakeAnnotationType("Verification Required", null);
VerificationRequiredType = AnnotationType.MakeAnnotationType("Verification Required", null);
at = AnnotationType.MakeAnnotationType("Volian Comment", null);
frmMain.Status = "Load veproms.ini";
XmlDocument d = cfg.LoadSystemIni(vepromspath);
frmMain.Status = "Load All Formats";
//LoadAllFormats();
//Format.UpdateFormats(_FmtAllPath, _GenmacAllPath);
Format.UpdateFormats(frmMain.MySettings.FormatFolder, frmMain.MySettings.GenMacFolder);
//Format baseFormat = Format.Get(1);
//sysFolder = Folder.MakeFolder(null, dbConn, "VEPROMS", "VEPROMS", "VEPROMS", baseFormat, d.InnerXml, DateTime.Now, "Migration");
using (Format baseFormat = Format.Get(1))
{
sysFolder = Folder.MakeFolder(null, dbConn, "VEPROMS", "VEPROMS", "VEPROMS", baseFormat, d.InnerXml, DateTime.Now, "Migration");
}
// This is to test the vln Libraries
List<Folder> lfldr = vlnDataPathFolders();
List<vlnObject> dp2 = new List<vlnObject>();
if (frmMain.createEmptyPROMS) return true;
foreach (Folder fldr in lfldr)
{
TreeNode tn = frmMain.TV.Nodes.Add(fldr.Name);
tn.Tag = fldr;
vlnObject vb = new vlnObject(null, "datapath", fldr.Name, fldr.Title);
dp2.Add(vb);
vlnServer vs = new vlnServer();
frmMain.Status = "Loading " + fldr.Name;
MigrateChildren(vb, vs, dbConn, fldr, tn);
if (frmMain.ProcessFailed)
return false;
tn.Expand();
}
}
catch (Exception ex)
{
log.Error("Error in LoadFolders", ex);
// log.ErrorFormat("Could not load data, error = {0}", ex.Message);
//return false;
throw new Exception("Error in LoadFolders", ex);
}
return true;
}
public bool LoadFoldersIntoExisting(string s)
{
try
{
frmMain.Status = "Getting Connection";
// get the connection and annotations from the existing database.
dbConn = Connection.GetByName("Default");
//dbConn = Connection.MakeConnection("Default", "Default", frmMain.MySettings.ConnectionString.Replace("{DBName}",frmMain.MySettings.DBName), 1, null, DateTime.Now, "Migration");
frmMain.Status = "Getting AnnotationTypes";
CommentType = AnnotationType.GetByName("Comment"); // .MakeAnnotationType("Comment", null);
MigrationErrorType = AnnotationType.GetByName("Migration Error");
if(MigrationErrorType == null)
MigrationErrorType = AnnotationType.MakeAnnotationType("Migration Error", null);
VerificationRequiredType = AnnotationType.GetByName("Verification Required");
List<Folder> lfldr = vlnDataPathFolders(); // get plant level list.
List<vlnObject> dp2 = new List<vlnObject>();
foreach (Folder fldr in lfldr)
{
TreeNode tn = frmMain.TV.Nodes.Add(fldr.Name);
tn.Tag = fldr;
vlnObject vb = new vlnObject(null, "datapath", fldr.Name, fldr.Title);
dp2.Add(vb);
vlnServer vs = new vlnServer();
frmMain.Status = "Loading " + fldr.Name;
MigrateChildren(vb, vs, dbConn, fldr, tn);
if (frmMain.ProcessFailed)
return false;
tn.Expand();
}
}
catch (Exception ex)
{
log.ErrorFormat("Could not load data, error = {0}", ex.Message);
//return false;
throw new Exception("Error in LoadFolders", ex);
}
return true;
}
public void ClearData()
{
int ra = PurgeDataCommand.Execute();
//Database.PurgeData();
}
public static string MakeDate(string src)
{
if (src.Trim() == "") return null;
int[] DateOffset ={ 4, 5, 47, 6, 7, 47, 0, 1, 2, 3 }; // 47 = '/'
StringBuilder datebuff = new StringBuilder(10);
for (int i = 0; i < DateOffset.Length; i++)
{
if (DateOffset[i] < 9)
datebuff.Append(src[DateOffset[i]]);
else
datebuff.Append(System.Convert.ToChar(DateOffset[i]));
}
return datebuff.ToString();
}
public DateTime GetDTS(string date, string time)
{
// Set the date/time stamp. If there is no 'date', set the date
// to 1/1/2000 (this can be changed!). If there is not 'time',
// set the time to 0:0:0 (midnight).
DateTime dts = DateTime.Now;
string month = "01";
string day = "01";
string year = "2000";
string hour = "";
string minute = "";
try
{
if (date != null && date != "")
{
int indx1 = date.IndexOf("/");
month = date.Substring(0, indx1);
int indx2 = date.IndexOf("/", indx1 + 1);
day = date.Substring(indx1 + 1, indx2 - indx1 - 1);
year = date.Substring(indx2 + 1, 4);
}
if (time == null || time == "")
{
hour = "0";
minute = "0";
}
else
{
hour = time.Substring(0, 2);
int indxc = time.IndexOfAny(":A-".ToCharArray());
if (indxc == time.Length - 1)
minute = time.Substring(2, 2);
else
minute = time.Substring(indxc + 1, time.Length - indxc - 1);
}
dts = new DateTime(System.Convert.ToInt32(year), System.Convert.ToInt32(month), System.Convert.ToInt32(day),
System.Convert.ToInt32(hour), System.Convert.ToInt32(minute), 0);
}
catch (Exception ex)
{
log.ErrorFormat("Bad Date/Time {0} {1}. Set to NOW.", date, time);
log.ErrorFormat("{0}\r\n\r\n{1}", ex.Message, ex.InnerException);
frmMain.AddError(ex, "Bad Date/Time {0} {1}", date, time);
//log.ErrorFormat(ex.StackTrace);
return dts;
}
return dts;
}
public bool LoadSecurity(string VeSamPath, string VePromsPath)
{
Security sec = new Security(VeSamPath, VePromsPath);
return sec.Migrate();
}
private static void WaitMS(int n)
{
DateTime dtw = DateTime.Now.AddMilliseconds(n);
while (DateTime.Now < dtw)
{
Application.DoEvents();
}
}
private static void Wait(int n)
{
DateTime dtw = DateTime.Now.AddSeconds(n);
while (DateTime.Now < dtw)
{
Application.DoEvents();
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,284 @@
// ========================================================================
// Copyright 2006 - Volian Enterprises, Inc. All rights reserved.
// Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
// ------------------------------------------------------------------------
// $Workfile: $ $Revision: $
// $Author: $ $Date: $
//
// $History: $
// ========================================================================
using System;
using System.IO;
using System.Xml;
using System.Collections.Specialized;
using System.Collections.Generic;
using System.Drawing;
using VEPROMS.CSLA.Library;
namespace Config
{
/// <summary>
/// PrivateProfile opens a private profile string and stores it's contents in an xml document.
/// </summary>
public class PrivateProfile
{
#region Log4Net
private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
#endregion
private string ppName;
private XmlDocument ppXml;
private List<string> attr;
private List<string> ele;
private XmlNode AddNode(XmlNode xParent, string sName, string sValue )
{
XmlNode nd=AddNode(xParent,sName);
nd.Value=sValue;
return nd;
}
private XmlNode AddNode(XmlNode xParent, string sName)
{
XmlNode nd;
// Add a node
string tsName = sName.Replace(' ', '_').Replace("applicability", "Applicability").Replace("unit", "Unit");
nd=xParent.OwnerDocument.CreateNode(System.Xml.XmlNodeType.Element,tsName,"");
xParent.AppendChild(nd);
return nd;
}
private void AddAttribute(XmlNode xParent, string sName, string sValue)
{
XmlNode xa = xParent.Attributes.GetNamedItem(sName);
// bug fix. 09/15/03
// If there was a space after an equal sign, that space character
// was becomming part of the value string (reading the user.CFG file).
// This was giving us a "Must have semi-colon" error message.
// We now strip spaces before and after any Attribute that is written.
sValue = sValue.Trim(' ');
sName = sName.Replace(' ', '_');
sName = sName.Replace("\\", "_slash_");
sName = sName.Replace("/", "_fslash_");
if (xParent.Name == "color")
{
string[] parts = sValue.Split(",".ToCharArray());
sValue = ColorConfig.FindKnownColor(int.Parse(parts[0]), int.Parse(parts[1]), int.Parse(parts[2])).ToString();
}
// Add an attribute
if (sValue == "")
{
if (xa != null)
{
xParent.Attributes.RemoveNamedItem(sName);
}
}
else
{
if (xa == null)
{
xa = xParent.OwnerDocument.CreateNode(System.Xml.XmlNodeType.Attribute, sName, "");
xParent.Attributes.SetNamedItem(xa);
}
xa.Value = sValue;
}
}
private XmlNode AddSection(XmlNode xParent, string sSection)
{
// get the name. If it's not in the 'migrated elements' list, then
// preface the name with a 'z'.
string elename = sSection.Substring(1, sSection.IndexOf("]") - 1);
while(elename.IndexOf(' ')>-1) elename = elename.Remove(elename.IndexOf(' '),1);
if (!ele.Contains(elename.ToLower())) elename = 'z' + elename;
elename = elename.Replace("\\", "_slash_");
// Add a section [name]
XmlNode nd = AddNode(xParent, elename);
//AddAttribute(nd,"name",sSection.Substring(1,sSection.IndexOf("]")-1));
return nd;
}
private XmlNode AddSection_UC(XmlNode xParent, string sSection )
{
// Add a section [name]
string name_uc = sSection.Substring(1,sSection.IndexOf("]")-1).ToUpper() + "__UC";
XmlNode nd =AddNode(xParent,name_uc);
// AddAttribute(nd,"name",name_uc);
return nd;
}
private void AddComment(XmlNode xParent, string sComment)
{
if(xParent.ChildNodes.Count > 0)
{
XmlNode ndlast=xParent.ChildNodes.Item(xParent.ChildNodes.Count-1);
if(ndlast.Name=="comment")
{
XmlNode xa = ndlast.Attributes.GetNamedItem("text");
xa.Value=xa.Value + "\r\n" + sComment;
return;
}
}
// Add a comment text
XmlNode nd =AddNode(xParent,"comment");
AddAttribute(nd,"text",sComment);
}
private void AddLine(XmlNode xParent, string sLine)
{
// Add a comment text
XmlNode nd =AddNode(xParent,"line");
AddAttribute(nd,"text",sLine);
}
private void AddParam(XmlNode xParent, string sParam)
{
int i = sParam.IndexOf("=");
// get the name. If it's not in the 'migrated attribute' list, then
// preface the name with a 'z'.
string attrname = sParam.Substring(0, i);
while (attrname.IndexOf(' ') > -1) attrname = attrname.Remove(attrname.IndexOf(' '), 1);
if (!attr.Contains(attrname.ToLower())) attrname = 'z' + attrname;
string sValue=sParam.Substring(i+1);
string sName = attrname.Trim(' ');
sName = sName.Replace("id", "ID").Replace("name", "Name").Replace("number", "Number").Replace("text", "Text").Replace("other", "Other").Replace("masterdir","MasterDir");
AddAttribute(xParent, sName, sValue);
}
private void AddParam_UC(XmlNode xParent, string sParam)
{
int i = sParam.IndexOf("=");
// add a param name=value
string sName=sParam.Substring(0,i);
string sValue=sParam.Substring(i+1);
//XmlNode nd =AddNode(xParent,"paramUC");
sName = sName.Trim(' ');
AddAttribute(xParent, sName, sValue);
//AddAttribute(nd,"name",sName.ToUpper()+"__UC");
//AddAttribute(nd,"value",sValue);
}
private void LoadXML()
{
string sLine;
ppXml.LoadXml("<Config/>");// initialize ppXml
XmlNode xmlTop=ppXml.DocumentElement;
XmlNode xmlNd=ppXml.DocumentElement;
//XmlNode xmlNd_UC=ppXml.DocumentElement;
StreamReader myReader = new StreamReader(ppName);// Open file
while( (sLine = myReader.ReadLine())!= null)// read line-by-line
{
// add structure
try
{
if (sLine.Length > 0)
{
switch (sLine.Substring(0, 1))
{
case "[":
xmlNd = AddSection(xmlTop, sLine);
//xmlNd_UC=AddSection_UC(xmlTop, sLine);
break;
case ";":
//AddComment(xmlNd, sLine);
break;
default:
if (sLine.IndexOf("=") >= 0)
{
AddParam(xmlNd, sLine);
//AddParam_UC(xmlNd_UC, sLine);
}
else
{
//AddLine(xmlNd, sLine);
}
break;
}
}
}
catch (Exception ex)
{
log.Error("error parsing .INI file:", ex);
}
}
myReader.Close();
}
public PrivateProfile(string sFileName, List<string> listIni_EleName, List<string> listIni_AttrName)
{
ppName=sFileName;
ppXml= new XmlDocument();
attr = listIni_AttrName;
ele = listIni_EleName;
LoadXML();
}
~PrivateProfile()
{
// Clean-up
//
}
public string PrettyNode(XmlNode nd,int level)
{
string retval="";
string prefix=new string(' ',level*2);
if(nd.ChildNodes.Count > 0)
{
retval = prefix + "<" + nd.Name;
for(int i=0;i<nd.Attributes.Count;i++)
{
retval=retval + " " + nd.Attributes.Item(i).Name + "='" + nd.Attributes.Item(i).Value + "'";
}
retval=retval+">";
for(int i=0;i<nd.ChildNodes.Count;i++)
{
retval=retval+"\r\n"+PrettyNode(nd.ChildNodes.Item(i),level+1);
}
retval=retval+"\r\n" + prefix + "</" + nd.Name + ">";
}
else
{
retval = prefix + "<" + nd.Name;
for(int i=0;i<nd.Attributes.Count;i++)
{
retval=retval + " " + nd.Attributes.Item(i).Name + "='" + nd.Attributes.Item(i).Value + "'";
}
retval=retval+"/>";
}
return retval;
}
public string PrettyXML()
{
return PrettyNode(ppXml.DocumentElement,0);
}
public XmlDocument XML()
{
// return XML Document
return ppXml;
}
public override string ToString()
{
// return string
return "";
}
public void Save()
{
SaveAs(ppName);
}
public void SaveAs(string sName)
{
}
public string Attr(string sPath)
{
string retval="";
XmlNode xn = ppXml.SelectSingleNode(sPath);
if(xn != null)
{
string quots = xn.Value;
if (quots.Substring(0,1)=="\"" && quots.Substring(quots.Length-1,1)=="\"")
retval = quots.Substring(1,quots.Length-2);
else
retval=xn.Value;
}
return retval;
}
public string Attr(string sSection, string sParameter)
{
string findstr = "/ini/sectionUC[@name='" + sSection.ToUpper() + "__UC']/paramUC[@name='" + sParameter.ToUpper() + "__UC']/@value";
return Attr(findstr);
}
}
}

View File

@@ -0,0 +1,294 @@
// ========================================================================
// Copyright 2006 - Volian Enterprises, Inc. All rights reserved.
// Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
// ------------------------------------------------------------------------
// $Workfile: $ $Revision: $
// $Author: $ $Date: $
//
// $History: $
// ========================================================================
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Data.OleDb;
using System.Collections.Specialized;
using System.Collections.Generic;
using System.Xml;
using System.IO;
using System.Text;
using VEPROMS.CSLA.Library;
namespace DataLoader
{
public partial class Loader
{
#region Log4Net
public static readonly log4net.ILog _MyLog = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
//public static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
#endregion
private Item MigrateProcedure(OleDbConnection cn, DataRow dr, Item FromItem, string pth, DocVersion docver, bool convertProcedures)
{
dicOldStepSequence = new Dictionary<object, string>();
Stack<int> SubSectLevels = new Stack<int>(); // levels of subsections
ProcFileName = dr["Entry"].ToString();
ProcNumber = dr["Number"].ToString();
DateTime dts = GetDTS(dr["Date"].ToString(), dr["Time"].ToString());
string userid = dr["initials"].ToString().Trim();
if (userid == null || userid == "") userid = "Migration";
ConfigInfo ci = null;
string tstr = dr["Proccode"].ToString();
if (tstr != null && tstr != "")
{
ci = new ConfigInfo(null);
ci.AddItem("Procedure", "ProcCode", tstr);
}
// check that there is a "Series" column, i.e. the 10th column, some datasets
// may not have it, for example vetuec\master.sl1
if (dr.ItemArray.Length > 10)
{
tstr = dr["Series"].ToString();
if (tstr != null && tstr != "")
{
if (ci == null) ci = new ConfigInfo(null);
ci.AddItem("Procedure", "Series", tstr);
}
}
DataSet ds = new DataSet();
DataTable dt = null;
// check that file exists, i.e. if proc file doesn't exist but has entry in set
// file, flag error, but continue.
//string fname = frmMain.tbSourceText +"\\"+ dr["entry"] + ".dbf";
string fname = pth + "\\" + dr["entry"] + ".dbf";
if (File.Exists(fname))
{
// if the dbt is bad, fix it.
DbtOk(dr["entry"].ToString(),pth);
// See if there is PSI and if so, add it to the xml.
OleDbDataAdapter dapsi = new OleDbDataAdapter("select * from [" + dr["entry"] + "] where [STEP] is null", cn);
try
{
dapsi.Fill(ds);
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
Application.Exit();
}
dt = ds.Tables[0];
if (dt.Rows.Count > 0)
{
DataRow drpsi = dt.Rows[0];
string psistr = drpsi["TEXTM"].ToString();
if (psistr != null && psistr != "")
{
StringReader strrd = new StringReader(psistr);
string sLine;
if (ci == null) ci = new ConfigInfo(null);
while ((sLine = strrd.ReadLine()) != null)
{
int indx = sLine.IndexOf(' ');
string nm = null;
string vl = null;
if (indx < 0)
nm = sLine;
else
{
nm = sLine.Substring(0, indx);
vl = sLine.Substring(indx + 1, sLine.Length - indx - 1);
}
ci.AddItem("PSI", nm, vl == null ? null : vl);
}
}
}
dapsi.Dispose();
}
else // log an error
{
log.ErrorFormat("Missing DBF: {0}", fname);
}
// Note, for now the data from the format field will be saved. Later, xpath, ??
EditSectId = 0;
// See if no caret convert...
FormatInfo docverFormat = docver.MyDocVersionInfo.ActiveFormat;
bool do_cvt = docverFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta;
// pass in a 0 on MakeContent for type of procedure, i.e. procedure = 0 (on type field)
// can we save itm.ItemID in a dictionary of outside trans? ex: otrans("vehlp\procs\0POP05-EO00",itm.ItemID)?
Content cont = null;
Item itm =null;
string number = TextConvert.ConvertText(dr["Number"].ToString());
frmMain.UpdateLabels(1, 0, 0);
if (!convertProcedures || docver.VersionType != (int)VEPROMS.CSLA.Library.VersionTypeEnum.WorkingDraft)
{
cont = Content.New(number, TextConvert.ConvertText(dr["Title"].ToString(),do_cvt), 0, null, ci == null ? null : ci.ToString(), dts, userid);
itm = Item.MakeItem(FromItem, cont, dts, userid);
}
else
{
DocVersionInfo dvi = DocVersionInfo.Get(docver.VersionID);
foreach(ItemInfo ii in dvi.Procedures){
if (ii.MyContent.Number == number)
{
Console.WriteLine(number);
itm = ii.Get();
cont = ii.MyContent.Get();
}
}
}
if (convertProcedures /*&& number == "0POP05\\u8209?EO\\u8209?ES32"*/) //0POP05\u8209?EO\u8209?ES32
{
OleDbDataAdapter da = new OleDbDataAdapter("select * from [" + dr["entry"] + "] where sequence like ' %'", cn);
try
{
LoadSection(ds, da, dr["entry"].ToString());
da.SelectCommand.CommandText = "select * from [" + dr["entry"] + "] where step not like ' ' and step not like '%~'";
da.Fill(ds, "Steps");
dt = ds.Tables["Steps"];
dt.CaseSensitive = true;
ds.Tables["Steps"].CaseSensitive = true;
dt.Columns.Add("CStep", System.Type.GetType("System.String"));
dt.Columns.Add("CSequence", System.Type.GetType("System.String"));
// set the cstep & csequence - couldn't do it in the add because it needed a sql function
foreach (DataRow drw in ds.Tables["Steps"].Rows)
{
drw["CStep"] = TextConvert.ConvertSeq(drw["Step"].ToString());
drw["CSequence"] = TextConvert.ConvertSeq(drw["Sequence"].ToString());
}
dt.Columns.Add("StepNo", System.Type.GetType("System.Int32"), "Convert(Convert(Substring(CStep,2,1),'System.Char'),'System.Int32')-48");
dt.Columns.Add("Level", System.Type.GetType("System.Int32"), "Len(CSequence)");
dt.Columns.Add("SubStepNo", System.Type.GetType("System.Int32"), "Convert(Convert(Substring(CSequence,Len(CSequence),1),'System.Char'),'System.Int32')-48");
}
catch (Exception ex)
{
log.ErrorFormat("{0}\r\n\r\n{1}", ex.Message, ex.InnerException);
log.Error(ex.StackTrace);
}
da.Dispose();
// dicSecCount is dictionary to track number of subsections for the parent at a level
// dicSecID is the parent at that level
Dictionary<int, int> dicSecCount = new Dictionary<int, int>();
Dictionary<int, Item> dicSecParentItem = new Dictionary<int, Item>();
frmMain.pbSectMaximum = ds.Tables["Sections"].Rows.Count;
frmMain.pbSectValue = 0;
DataTable dtsect = ds.Tables["Sections"];
dtsect.CaseSensitive = true;
DataView dv = new DataView(dtsect, "", "locb", DataViewRowState.CurrentRows);
Item SectItm = null;
int level = 0;
bool addpart = true;
Item parentitem = itm;
foreach (DataRowView drw in dv)
{
SectItm = MigrateSection(parentitem, ProcNumber, cn, drw, ds.Tables["Steps"], SectItm, dicSecCount.Count > 0 ? true : false, pth, docver);
// if no children, add first child (cont)
if (addpart)
{
// ContentsParts.Add can use 'fromtype', item - fromtype here = 2, section
cont.ContentParts.Add(2, SectItm);
if (cont.MyZContent.OldStepSequence == null || cont.MyZContent.OldStepSequence == "") cont.MyZContent.OldStepSequence = ProcNumber;
if (!cont.IsSavable) ErrorRpt.ErrorReport(cont);
cont.Save();
addpart = false;
}
//FrType = 0;
dicSecParentItem[level] = SectItm;
if (level > 0)
{
if ((dicSecCount[level]) == 1)
// shift up a level, i.e. give me the parent for the previous level
SectItm = dicSecParentItem[--level];
else
dicSecCount[level]--; // decrements number of sections to process
}
// get number of subsections for this section
int subSecs = drw["Sequence"].ToString().PadRight(12, ' ')[5] - 48;
if (subSecs > 0)
{
dicSecCount[++level] = subSecs;
cont = SectItm.MyContent;
parentitem = SectItm;
addpart = true;
SectItm = null; // no previous sibling for the first child node.
}
}
// need section start
if (EditSectId != 0)
{
if (ci == null) ci = new ConfigInfo(null);
ci.AddItem("Procedure", "SectionStart", string.Format("{0}", EditSectId));
itm.MyContent.Config = (ci == null) ? null : ci.ToString();
if (!itm.IsSavable) ErrorRpt.ErrorReport(itm);
itm.Save();
}
}
ds.Dispose();
return itm;
}
private Item MigrateProcedures(OleDbConnection cn, string pth, DocVersion docver, bool convertProcedures)
{
Item FirstItm = null;
// Loop through Set File for each Procedure
int whereami = 0;
try
{
OleDbDataAdapter da = new OleDbDataAdapter("Select * from [set] where entry is not null", cn);
DataSet ds = new DataSet();
da.Fill(ds);
Item FrItm = null;
frmMain.pbProcMaximum = ds.Tables[0].Rows.Count;
frmMain.UpdateLabels(0, 0, 0);
foreach (DataRow dr in ds.Tables[0].Rows)
{
FrItm = MigrateProcedure(cn, dr, FrItm, pth, docver, convertProcedures);
if (FirstItm == null) FirstItm = FrItm;
}
da.Dispose();
}
catch (Exception ex)
{
Console.WriteLine("End of MigrateProcedures - ex = {0}", ex.Message);
_MyLog.ErrorFormat("MigrateProcedures - {0} - {1}\r\n\r\n{2}", pth,ex.Message, ex.InnerException);
}
return FirstItm;
}
private void DbtOk(string fname, string pth)
{
//string dbtname = frmMain.tbSourceText + "\\" + fname + ".dbt";
string dbtname = pth + "\\" + fname + ".dbt";
if (File.Exists(dbtname))
{
// check if dbt is at least 512, if not append 508 bytes. This is to fix
// a problem where dbts were created with only 4 bytes in the 16-bit code.
// if only 4 bytes, ado.net gives an "External table not in expected format"
// error
FileInfo fi = new FileInfo(dbtname);
if (fi.Length < 512)
{
FileStream fs = new FileStream(dbtname, FileMode.Open, FileAccess.Write, FileShare.ReadWrite);
BinaryWriter bw = new BinaryWriter(fs);
bw.Seek(0, SeekOrigin.End);
byte[] wrBytes = new byte[512 - fi.Length];
for (int i = 0; i < 512 - fi.Length; i++) wrBytes[i] = 0;
wrBytes[4] = 0x02;
bw.Write(wrBytes);
bw.Close();
}
fi = null;
}
}
}
}

View File

@@ -0,0 +1,314 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4216
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace DataLoader.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string VeSamFilename {
get {
return ((string)(this["VeSamFilename"]));
}
set {
this["VeSamFilename"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string DbfPathname {
get {
return ((string)(this["DbfPathname"]));
}
set {
this["DbfPathname"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Checked")]
public global::System.Windows.Forms.CheckState LoadWordDoc {
get {
return ((global::System.Windows.Forms.CheckState)(this["LoadWordDoc"]));
}
set {
this["LoadWordDoc"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Unchecked")]
public global::System.Windows.Forms.CheckState LoadRTFDoc {
get {
return ((global::System.Windows.Forms.CheckState)(this["LoadRTFDoc"]));
}
set {
this["LoadRTFDoc"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Checked")]
public global::System.Windows.Forms.CheckState PurgeData {
get {
return ((global::System.Windows.Forms.CheckState)(this["PurgeData"]));
}
set {
this["PurgeData"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string VePromsFilename {
get {
return ((string)(this["VePromsFilename"]));
}
set {
this["VePromsFilename"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string LogFileLoc {
get {
return ((string)(this["LogFileLoc"]));
}
set {
this["LogFileLoc"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string BackupFileName {
get {
return ((string)(this["BackupFileName"]));
}
set {
this["BackupFileName"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string BackupFolder {
get {
return ((string)(this["BackupFolder"]));
}
set {
this["BackupFolder"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Data Source=.\\SQLEXPRESS;Initial Catalog={DBName};Integrated Security=True")]
public string ConnectionString {
get {
return ((string)(this["ConnectionString"]));
}
set {
this["ConnectionString"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("VEPROMS")]
public string DBName {
get {
return ((string)(this["DBName"]));
}
set {
this["DBName"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string DBPath {
get {
return ((string)(this["DBPath"]));
}
set {
this["DBPath"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string PDFFolder {
get {
return ((string)(this["PDFFolder"]));
}
set {
this["PDFFolder"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Unchecked")]
public global::System.Windows.Forms.CheckState CheckRTF {
get {
return ((global::System.Windows.Forms.CheckState)(this["CheckRTF"]));
}
set {
this["CheckRTF"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("0")]
public int Skip {
get {
return ((int)(this["Skip"]));
}
set {
this["Skip"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("1")]
public int ConvertTo {
get {
return ((int)(this["ConvertTo"]));
}
set {
this["ConvertTo"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Checked")]
public global::System.Windows.Forms.CheckState RedPDFs {
get {
return ((global::System.Windows.Forms.CheckState)(this["RedPDFs"]));
}
set {
this["RedPDFs"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Checked")]
public global::System.Windows.Forms.CheckState OnlyThisSet {
get {
return ((global::System.Windows.Forms.CheckState)(this["OnlyThisSet"]));
}
set {
this["OnlyThisSet"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("0")]
public int ExecutionMode {
get {
return ((int)(this["ExecutionMode"]));
}
set {
this["ExecutionMode"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Phase1")]
public string Phase1 {
get {
return ((string)(this["Phase1"]));
}
set {
this["Phase1"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Phase2")]
public string Phase2 {
get {
return ((string)(this["Phase2"]));
}
set {
this["Phase2"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Phase3")]
public string Phase3 {
get {
return ((string)(this["Phase3"]));
}
set {
this["Phase3"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("c:\\development\\fmtall")]
public string FormatFolder {
get {
return ((string)(this["FormatFolder"]));
}
set {
this["FormatFolder"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("c:\\development\\genmacall")]
public string GenMacFolder {
get {
return ((string)(this["GenMacFolder"]));
}
set {
this["GenMacFolder"] = value;
}
}
}
}

View File

@@ -0,0 +1 @@
C1.Win.C1FlexGrid.C1FlexGrid, C1.Win.C1FlexGrid.2, Version=2.6.20101.528, Culture=neutral, PublicKeyToken=79882d576c6336da

View File

@@ -0,0 +1,290 @@
using System;
using System.Collections.Generic;
using System.Text;
using VEPROMS.CSLA.Library;
using System.Windows.Forms;
namespace DataLoader
{
public delegate void ROFixerEvent(object sender, ROFixerEventArgs args);
public class ROFixerEventArgs
{
private string _MyStatus;
public string MyStatus
{
get { return _MyStatus; }
set { _MyStatus = value; }
}
public ROFixerEventArgs(string myStatus)
{
_MyStatus = myStatus;
}
}
class ROFixer
{
public static readonly log4net.ILog _MyLog = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
public event ROFixerEvent StatusChanged;
private void OnStatusChanged(object sender, ROFixerEventArgs args)
{
if (StatusChanged != null)
StatusChanged(sender, args);
}
private string _Status;
public string Status
{
get { return _Status; }
set
{
_Status = value;
OnStatusChanged(this, new ROFixerEventArgs(_Status));
}
}
private int _ErrorCount = 0;
public int ErrorCount
{
get { return _ErrorCount; }
set { _ErrorCount = value; }
}
private string _LogPath;
private frmLoader frmMain;
public ROFixer(string logpath, frmLoader myfrmMain)
{
_LogPath = logpath;
frmMain = myfrmMain;
}
public TimeSpan Process()
{
DateTime tstart = DateTime.Now;
ProcessROs();
return DateTime.Now - tstart;
}
public TimeSpan Process(DocVersionInfo dvi)
{
DateTime tstart = DateTime.Now;
ProcessROs(dvi);
return DateTime.Now - tstart;
}
public TimeSpan Process(ProcedureInfo pi)
{
DateTime tstart = DateTime.Now;
ProcessROs(pi);
return DateTime.Now - tstart;
}
private void ProcessROs()
{
Status = "Getting List...";
RoUsageInfoList myRoUsages = RoUsageInfoList.Get();
DoProcessROs(myRoUsages);
}
//private void ProcessROs(FolderInfo fi)
//{
// Status = "Getting List...";
// RoUsageInfoList myRoUsages = RoUsageInfoList.GetByFolder(fi);
// DoProcessROs(myRoUsages);
//}
private void ProcessROs(DocVersionInfo dvi)
{
Status = "Getting List...";
RoUsageInfoList myRoUsages = RoUsageInfoList.GetByDocVersion(dvi);
DoProcessROs(myRoUsages);
}
private void ProcessROs(ProcedureInfo pi)
{
Status = "Getting List...";
RoUsageInfoList myRoUsages = RoUsageInfoList.GetByProcedure(pi);
DoProcessROs(myRoUsages);
}
private AnnotationType _VolianCommentType = null; // Using this to flag ro value issues with byron to braidwood
public AnnotationType VolianCommentType
{
get
{
if (_VolianCommentType == null)
_VolianCommentType = AnnotationType.GetByName("Volian Comment");
if (_VolianCommentType == null)
_VolianCommentType = AnnotationType.MakeAnnotationType("Volian Comment",null);
return _VolianCommentType;
}
}
private void DoProcessROs(RoUsageInfoList myRoUsages)
{
int changeCount = 0;
// get list of content records
List<int> myContentList = new List<int>();
Dictionary<int, ROFSTLookup> roFstLookups = new Dictionary<int,ROFSTLookup>();
Dictionary<int, ROFSTLookup> oldRoFstLookups = null;
ROFstInfo oldRoFst = null;
if (frmMain.MySettings.SelectedROFst > 0)
{
oldRoFst = ROFstInfo.Get(frmMain.MySettings.SelectedROFst);
oldRoFstLookups = new Dictionary<int, ROFSTLookup>();
}
foreach (RoUsageInfo rou in myRoUsages)
{
if (!myContentList.Contains(rou.ContentID))
{
myContentList.Add(rou.ContentID);
}
}
int i = 0;
foreach (int cid in myContentList)
{
Status = string.Format("Processing {0} of {1} steps", ++i, myContentList.Count);
ContentInfo myContentInfo = ContentInfo.Get(cid);
DocVersionInfo dvi = myContentInfo.ContentItems[0].MyProcedure.MyDocVersion;
int versionId = dvi.VersionID;
ROFstInfo myRoFst = dvi.DocVersionAssociations[0].MyROFst;
if (!roFstLookups.ContainsKey(versionId))
{
roFstLookups.Add(versionId, myRoFst.GetROFSTLookup(dvi));
}
ROFSTLookup myLookup = roFstLookups[versionId];
if (oldRoFstLookups != null && !oldRoFstLookups.ContainsKey(versionId))
{
oldRoFstLookups.Add(versionId, oldRoFst.GetROFSTLookup(dvi));
}
ROFSTLookup oldLookup = null;
if(oldRoFstLookups != null)
oldLookup = oldRoFstLookups[versionId];
using (Content ctmp = myContentInfo.Get())
{
ItemInfo ii = myContentInfo.ContentItems[0];
foreach (RoUsageInfo ru in myContentInfo.ContentRoUsages)
{
string sameMsg = string.Empty;
bool theSame = false;
//if (oldLookup != null)
// theSame = CheckIfTheSame(ii, ru.ROID, myLookup, oldLookup, dvi, ref sameMsg);
ROFSTLookup.rochild rocc = myLookup.GetRoChild12(ru.ROID);
if (rocc.value == null)
rocc = myLookup.GetRoChild(ru.ROID);
int myType = rocc.type;
string myValue = myLookup.GetTranslatedRoValue(ru.ROID, ii.ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta);
myValue = myValue.Replace(@"\up2 \u8209?", @"\up2\u8209?");// Remove space between superscript command and non-breaking hyphen
string fileNameOnly = null;
if (myType == 8 && myValue.Contains("\n"))
{
fileNameOnly = myValue.Split("\n".ToCharArray())[0];
myValue = myValue.Replace("\n", "");// Remove newlines in Figure data
}
string textB4 = ctmp.Text;
myRoFst.ROTableUpdate += new ROFstInfoROTableUpdateEvent(myRoFst_ROTableUpdate);
string oldval;
switch (frmMain.MySettings.WhatROsToConvert)
{
case ROUpdateMode.None:
oldval = ctmp.FixContentText(ru, myValue, myType, myRoFst, fileNameOnly);
if(myValue == "?" && frmMain.MySettings.AnnotateWhenShowingMissingRO)
Annotation.MakeAnnotation(ctmp.ContentItems[0].MyItem, VolianCommentType, "", string.Format("RO value ({0}) missing", ItemInfo.ConvertToDisplayText(oldval)), null);
else if (ctmp.Text != textB4 && frmMain.MySettings.AnnotateWhenShowingDifferentRO)
Annotation.MakeAnnotation(ctmp.ContentItems[0].MyItem, VolianCommentType, "", string.Format("Old RO value ({0}) different than new RO value({1})", ItemInfo.ConvertToDisplayText(oldval), ItemInfo.ConvertToDisplayText(myValue)), null);
break;
case ROUpdateMode.All:
oldval = ctmp.ConvertROToText(ru, myValue, myType, myRoFst);
if (frmMain.MySettings.AnnotateWhenConvertingToText)
Annotation.MakeAnnotation(ctmp.ContentItems[0].MyItem, VolianCommentType, "", string.Format("RO value ({0}) converted to text", ItemInfo.ConvertToDisplayText(oldval)), null);
break;
default:
if (myValue == "?")
{
oldval = ctmp.ConvertROToText(ru, myValue, myType, myRoFst);
if (frmMain.MySettings.AnnotateWhenConvertingToText)
Annotation.MakeAnnotation(ctmp.ContentItems[0].MyItem, VolianCommentType, "", string.Format("RO value ({0}) converted to text" + sameMsg, ItemInfo.ConvertToDisplayText(oldval)), null);
}
else
{
oldval = ctmp.FixContentText(ru, myValue, myType, myRoFst, fileNameOnly);
if (ctmp.Text != textB4 && frmMain.MySettings.AnnotateWhenShowingDifferentRO)
Annotation.MakeAnnotation(ctmp.ContentItems[0].MyItem, VolianCommentType, "", string.Format("Old RO value ({0}) different than new RO value({1})" + sameMsg, ItemInfo.ConvertToDisplayText(oldval), ItemInfo.ConvertToDisplayText(myValue)), null);
}
break;
}
myRoFst.ROTableUpdate -= new ROFstInfoROTableUpdateEvent(myRoFst_ROTableUpdate);
if (ctmp.Text != textB4)
{
changeCount++;
//Console.WriteLine("'{0}', '{1}', '{2}', '{3}'", replace(oldval, @"\u8209?", "-"), replace(myValue, @"\u8209?", "-"), ru.ROID, rocc.appid);
frmMain.AddInfo("'{0}','{1}','{2}','{3}','R{4}','{5}','{6}'", ii.MyDocVersion.MyFolder.Name, ii.ShortPath,
(oldval ?? "").Replace(@"\u8209?", "-").Replace("'", "''"), myValue.Replace(@"\u8209?", "-").Replace("'", "''"), ru.ROID, myLookup.GetAccPageID(ru.ROID), sameMsg);
}
else if (sameMsg != string.Empty && sameMsg != ", Exact Match")
{
frmMain.AddInfo("'{0}','{1}','{2}','{3}','R{4}','{5}','{6}'", ii.MyDocVersion.MyFolder.Name, ii.ShortPath,
(oldval ?? "").Replace(@"\u8209?", "-").Replace("'", "''"), myValue.Replace(@"\u8209?", "-").Replace("'", "''"), ru.ROID, myLookup.GetAccPageID(ru.ROID), sameMsg);
}
}
if (ctmp.IsDirty)
{
//ctmp.DTS = DateTime.Now;
ctmp.Save();
ContentInfo.Refresh(ctmp);
}
}
}
frmMain.AddInfo("{0} RO Values Updated", changeCount);
MessageBox.Show(String.Format("{0} RO Values Updated", changeCount), "RO Value Update Complete", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
private bool CheckIfTheSame(ItemInfo ii, string roid, ROFSTLookup myLookup, ROFSTLookup oldLookup, DocVersionInfo dvi, ref string sameMsg)
{
/*
ROFSTLookup.rochild rocc = myLookup.GetRoChild12(ru.ROID);
if (rocc.value == null)
rocc = myLookup.GetRoChild(ru.ROID);
int myType = rocc.type;
*/
ROFSTLookup.rochild roc = myLookup.GetRoChild12(roid);
if (roc.value == null) roc = myLookup.GetRoChild(roid);
ROFSTLookup.rochild oroc = oldLookup.GetRoChild12(roid);
if (oroc.value == null) oroc = oldLookup.GetRoChild(roid);
string myValue = myLookup.GetTranslatedRoValue(roid, ii.ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta);
myValue = myValue.Replace(@"\up2 \u8209?", @"\up2\u8209?");// Remove space between superscript command and non-breaking hyphen
string oldValue = oldLookup.GetTranslatedRoValue(roid, ii.ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta);
oldValue = oldValue.Replace(@"\up2 \u8209?", @"\up2\u8209?");// Remove space between superscript command and non-breaking hyphen
string myAccPageID = myLookup.GetAccPageID(roid);
string oldAccPageID = oldLookup.GetAccPageID(roid);
if (myValue == oldValue && roc.type == oroc.type && ((myAccPageID ?? "null") == (oldAccPageID ?? "null")))
{
sameMsg = ", Exact Match";
return true;
}
if (myValue != oldValue && roc.type == oroc.type && ((myAccPageID ?? "null") == (oldAccPageID ?? "null")))
{
sameMsg = ", Different Value, Same RO";
return false;
}
if ((myAccPageID ?? "null") != (oldAccPageID ?? "null"))
{
ROFSTLookup.rochild? myroc = myLookup.GetROChildByAccPageID(oldAccPageID, dvi.DocVersionConfig.RODefaults_setpointprefix), dvi.DocVersionConfig.RODefaults_graphicsprefix);
if (myroc != null)
{
string myValueNew = myLookup.GetTranslatedRoValue(((ROFSTLookup.rochild)myroc).roid, ii.ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta);
if(myValueNew == oldValue)
sameMsg = ", Same Value, Different RO";
else
sameMsg = ", Different Value, Different RO";
}
else
sameMsg = ", Missing RO";
return false;
}
sameMsg = ", Unknown";
//if (myLookup.GetAccPageID(roid) == oldLookup.GetAccPageID(roid))
//{
// sameMsg = string.Format("ROID: {0}, AccPageID: {1}, OldAccPageID: {2}", roid, myLookup.GetAccPageID(roid), oldLookup.GetAccPageID(roid));
// return false;
//}
//sameMsg = "Values and AccPageIDs are different for ROID: " + roid;
return false;
}
private List<string> myRoFst_ROTableUpdate(object sender, ROFstInfoROTableUpdateEventArgs args)
{
return Volian.Controls.Library.VlnFlexGrid.ROTableUpdate(sender,args);
}
}
}

View File

@@ -0,0 +1,543 @@
// ========================================================================
// Copyright 2006 - Volian Enterprises, Inc. All rights reserved.
// Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
// ------------------------------------------------------------------------
// $Workfile: $ $Revision: $
// $Author: $ $Date: $
//
// $History: $
// ========================================================================
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Data.OleDb;
using System.Collections.Specialized;
using System.Collections.Generic;
using System.Xml;
using System.Xml.XPath;
using System.IO;
using System.Text;
using VEPROMS.CSLA.Library;
namespace DataLoader
{
public partial class Loader
{
private Dictionary<string, int> dicOldToNew;
private Item AddSection(Item procitem, string Number, string Title, string SecType, DateTime Dts, string Userid, ConfigInfo ci, string stpseq, string fmt, int libdocid, string pth, Item FromItem, DocVersion docver)
{
frmMain.UpdateLabels(0, 1, 0);
try
{
FormatInfo format = null;
// Tie the section to format used, this will add the format xml if it doesn't exist in
// the database yet. Note that if there is no format at this level then none should
// be set so that the inheritance works correctly.
if (fmt != null && fmt != "") format = GetFormat(fmt);
// Find the docstyle based on the section type (step[1]) & the 'type' from the dbf
// record sectype[0])
string dstyleindx = ((stpseq == null || stpseq == "") ? " " : stpseq.Substring(1, 1)) + ((SecType==null||SecType == "") ? " " : SecType.Substring(0, 1));
int docstyleindx = GetDocStyleIndx(dstyleindx, format, procitem, docver);
// tack on the column mode - add to config xml for node.
if (stpseq != null && stpseq.Substring(1, 1) == "0" && stpseq.Substring(5, 1) != " ")
{
if (ci == null) ci = new ConfigInfo(null);
ci.AddItem("Section", "ColumnMode", stpseq.Substring(5, 1));
}
// find rtf file (or use the library document temp file) & read it into the field
// acccontent
int Documentid=0;
bool needEntry = false;
if (libdocid != 0 || stpseq.Substring(1, 1) != "0")
{
needEntry = true;
string fname = null;
if (libdocid != 0)
{
Documentid = libdocid;
}
else
{
int num = Convert.ToInt32(stpseq[0]) - 64;
string thenum = num.ToString("d2");
fname = string.Format("{0}\\rtffiles\\{1}.A{2}", pth, ProcFileName, thenum);
Application.DoEvents();
SaveSectionDocument(fname, stpseq, SecType, ref Documentid);
if (Documentid == 0)
{
if (MissingDocument==null) MissingDocument = Document.MakeDocument("MISSING FILE IN CONVERSION", null, null, null);
Documentid = MissingDocument.DocID;
}
}
}
if (Userid == null || Userid == "") Userid = "Migration";
// test for performance
Content cont;
using(Format fmt2 = format == null ? null : format.Get())
cont = Content.New(Number, Title, 10000+docstyleindx, fmt2, ci==null?null:ci.ToString(), Dts, Userid);
Entry entry = cont.MyEntry;
if (needEntry)
{
entry.MyDocument = Document.Get(Documentid);
entry.DTS = Dts;
entry.UserID = Userid;
//entry = Entry.MakeEntry(cont.ContentID, Document.Get(Documentid), Dts, Userid);
}
cont.MyZContent.OldStepSequence = ProcNumber + "|" + stpseq;
Item itm = null;
// the stpseq for section records may include a space & some other data. This
// was not part of what is stored in the transition records, so just look at
// the sequence before the space for section records. Then use the first character
// with a '0'. This is what's stored in the transition record, for example, if the
// section was BI, the transition record would have B0 (the reasoning is that
// for steps, this is what could be stored if there were enough steps.
int trindxsp = stpseq.IndexOf(' ');
string trstpseq = trindxsp < 0 ? stpseq : stpseq.Substring(0, 1)+ "0";
if (dicTrans_ItemIds.ContainsKey(ProcNumber + "|" + trstpseq))
{
itm = dicTrans_ItemIds[ProcNumber + "|" + trstpseq];
itm.MyContent = cont;
itm.MyPrevious = FromItem;
itm.DTS = Dts;
itm.UserID = Userid;
if (!itm.IsSavable) ErrorRpt.ErrorReport(itm);
itm.Save();
dicTrans_ItemIds.Remove(ProcNumber + "|" + trstpseq);
dicTrans_MigrationErrors.Remove(ProcNumber + "|" + trstpseq);
}
else
itm = Item.MakeItem(FromItem, cont, Dts, Userid);
dicTrans_ItemDone[ProcNumber+"|"+trstpseq] = itm;
dicOldStepSequence[itm] = stpseq;
return itm;
}
catch (Exception ex)
{
log.Error("Save Section");
log.ErrorFormat("oldstepsequence = {0}", stpseq);
log.ErrorFormat("{0}\r\n\r\n{1}", ex.Message, ex.InnerException);
log.ErrorFormat(ex.StackTrace);
}
return null;
}
private int LookupOldToNew(string lkup)
{
if (dicOldToNew == null)
{
dicOldToNew = new Dictionary<string, int>();
//dicOldToNew.Add("", 1);
dicOldToNew.Add("0", 1);
dicOldToNew.Add("0 ", 1);
dicOldToNew.Add("00", 1);
dicOldToNew.Add("01", 2);
dicOldToNew.Add("02", 4);
dicOldToNew.Add("03", 8);
dicOldToNew.Add("04", 16);
dicOldToNew.Add("I", 32);
dicOldToNew.Add("I ", 32);
dicOldToNew.Add("I0", 32);
dicOldToNew.Add("I1", 64);
dicOldToNew.Add("I2", 128);
dicOldToNew.Add("I3", 256);
dicOldToNew.Add("I4", 512);
dicOldToNew.Add("A", 1024);
dicOldToNew.Add("A ", 1024);
dicOldToNew.Add("A0", 1024);
dicOldToNew.Add("A1", 2048);
dicOldToNew.Add("A2", 4096);
dicOldToNew.Add("A3", 8192);
dicOldToNew.Add("A4", 16384);
dicOldToNew.Add("F", 32768);
dicOldToNew.Add("F ", 32768);
dicOldToNew.Add("F0", 32768);
dicOldToNew.Add("F1", 65536);
dicOldToNew.Add("F2", 131072);
dicOldToNew.Add("F3", 262144);
dicOldToNew.Add("F4", 524288);
dicOldToNew.Add("05", 1048576);
dicOldToNew.Add("06", 2097152);
dicOldToNew.Add("07", 4194304);
dicOldToNew.Add("08", 8388608);
dicOldToNew.Add("09", 16777216);
dicOldToNew.Add("0:", 33554432);
dicOldToNew.Add("0;", 67108864);
dicOldToNew.Add("0<", 134217728);
dicOldToNew.Add("0=", 268435456);
dicOldToNew.Add("0>", 536870912);
}
int retval = -1;
try
{
retval = dicOldToNew[lkup];
}
catch (Exception ex)
{
Console.WriteLine(string.Format("Error in oldtonew {0}", lkup));
Console.WriteLine(string.Format("Error = {0}", ex.Message));
}
return retval;
}
private int GetDocStyleIndx(string dstyleindx, FormatInfo format, Item procitem, DocVersion docver)
{
// get the format, if format is set, use it, otherwise walk
if (format == null)
{
format = GetFormat(procitem, docver);
}
int docstyle = LookupOldToNew(dstyleindx);
foreach (DocStyle ds in format.PlantFormat.DocStyles.DocStyleList)
{
if ((ds.OldToNew & docstyle)>0) return (int)ds.Index;
}
Console.WriteLine("Error getting docstyle index");
return 0;
}
private FormatInfo GetFormat(Item procitem, DocVersion docver)
{
return procitem.MyItemInfo.ActiveFormat;
//while (procitem.MyItemInfo.a .MyContent.MyFormat == null)
//{
// // find the first sibling
// while (procitem.PreviousID != null)
// procitem = procitem.MyPrevious;
// if (procitem.ItemPartCount == 0) return docver.MyDocVersionInfo.ActiveFormat;
// // find the parent node
// procitem = procitem.ItemParts[0].MyContent.ContentItems[0].MyItem;
//}
//return procitem.MyContent.MyFormat;
}
//private FormatInfo GetFormat(DocVersion docver)
//{
// if (docver.MyDocVersionInfo.MyFormat != null) return docver.MyDocVersionInfo.MyFormat;
// return GetFormat(docver.MyDocVersionInfo.MyFolder);
//}
//private FormatInfo GetFormat(FolderInfo folder)
//{
// if (folder.MyFormat != null) return folder.MyFolderInfo.MyFormat;
// return GetFormat(folder.MyParent);
//}
private string SectTitle(OleDbConnection cn, DataRowView dr, bool UseMultiLineSectionTitle, bool ConvertCaret)
{
string tbuff = null;
string menustr = null;
if (UseMultiLineSectionTitle)
{
bool titleInMemo = false;
// for accessory pages...
if (dr["Step"].ToString().Substring(1, 1) != "0")
{
// The long section title is stored on a record with the "~" character.
// This was done since originally the actual accessory page data was stored in the memo
// field, so the long title could not be stored there, another record had to be used.
OleDbDataAdapter da = new OleDbDataAdapter("select * from " + ProcFileName + " where [Step] like '" + dr["Step"].ToString().Substring(0, 1) + "~';", cn);
DataSet ds = new DataSet();
try
{
da.Fill(ds);
if (ds.Tables[0].Rows.Count == 1)
{
DataRow row = ds.Tables[0].Rows[0];
tbuff = TextConvert.ConvertText(row["Textm"].ToString(),ConvertCaret);
if (tbuff != null && tbuff != "") titleInMemo = true;
}
else // no long section title existed for this accessory page
tbuff = TextConvert.ConvertText(dr["Text"].ToString().PadRight(130, ' ').Substring(0, 75).TrimEnd(), ConvertCaret);
}
catch (Exception ex)
{
log.ErrorFormat("Error getting long section title {0}", ex.Message);
}
da.Dispose();
}
// For step sections, the long section title is stored on the section record
// (see above comment for accessory pages to see the difference)
else
{
tbuff = TextConvert.ConvertText(dr["TextM"].ToString().Trim(), ConvertCaret);
}
//// TESTS were run & it looked like that whitespace was removed before saving,
//// so, put up a message box if find out otherwise....
//int nl = tbuff.IndexOf("\n");
//if (nl > -1)
// MessageBox.Show("multiline text for section title, fix this!!");
//// remove newlines & any other escape/whitespace chars.
int nl = tbuff.IndexOf("\n");
if (nl > -1 || titleInMemo)
{
string tmpstr = tbuff.Replace("\r", "");
tmpstr = tmpstr.Replace("\t", "");
tmpstr = tmpstr.Replace("\n", " ");
// get rid of multiple spaces
while (tmpstr.IndexOf(" ") > -1) tmpstr = tmpstr.Replace(" ", " ");
tbuff = tmpstr;
if (tbuff.Substring(tbuff.Length - 1, 1) == " ") tbuff = tbuff.Substring(0, tbuff.Length - 1);
menustr = tbuff;
}
else
{
menustr = TextConvert.ConvertText(dr["Text"].ToString().PadRight(80, ' ').Substring(0, 75).TrimEnd(), ConvertCaret);
}
}
else
{ // format does not include long section title
menustr = TextConvert.ConvertText(dr["Text"].ToString().PadRight(80, ' ').Substring(0, 75).TrimEnd(), ConvertCaret);
}
return menustr;
}
private Item MigrateSection(Item procitem, string procnum, OleDbConnection cn, DataRowView dr, DataTable dt, Item FromItem, bool isSubSection, string pth, DocVersion docver)
{
Int32 thesectid = 0;
bool isautogen = false;
string stype = dr["type"].ToString();
string s = dr["text"].ToString().PadRight(130, ' ');
string num = s.Substring(85, 20).TrimEnd();
string fmt = s.Substring(75, 10).TrimEnd();
if (fmt == "") fmt = null;
bool ismulti = false;
bool conv_caret = true;
// sectFormat is a local that represents the format to be used by this section.
// Note that if the format is set for this section, check it against what the inherited
// value would be (for example, what the format is for the set), if they are the same
// clear the format at the section level.
FormatInfo sectFormat = null;
FormatInfo docverFormat = docver.MyDocVersionInfo.ActiveFormat;
if (fmt != null&& fmt !="") // Is there a long section title (from format flag)
sectFormat = GetFormat(fmt);
else // either from this format, or the plant.
sectFormat = docverFormat;
if (sectFormat != null)
{
ismulti = sectFormat.PlantFormat.FormatData.SectData.StepSectionData.UseMultiLineSectionTitle;
conv_caret = sectFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta;
}
if (fmt != null && fmt != "") if (fmt == docverFormat.Name) fmt = null;
string title = SectTitle(cn, dr, ismulti, conv_caret);
string init = dr["initials"].ToString().Trim();
string sequence = dr["CSequence"].ToString().PadRight(10);
string step = dr["CStep"].ToString();
int libDocid = 0;
DateTime dts = GetDTS(dr["Date"].ToString(), dr["Time"].ToString());
ConfigInfo ci = new ConfigInfo(null);
ci.AddItem("Section", "OldType", stype);
// for steps sections...
// Step Section Header Format:
// A0 1X2S51 &Y
// ^^^^^^^^^^^^
// |||||||||||||
// ||||||||||||`- 'Y','N', or blank signals to print section header - lib/section/addsec.c
// |||||||||||`-- (bits) Auto Indent, Editable Data, Checkoff Header Type - lib/section/addsec.c
// ||||||||||`--- blank
// ||||||||`----- Link With Enhanced Document ' '-Default(not determined) 0-NO 1-YES
// |||||||`------ MetaSection - number of subsections is given
// ||||||`------- S-Separate(PageBreak); T-Continuous; ' '-Default
// |||||`-------- Column mode (1,2,3,' '-default)
// ||||`--------- X -only proc section; x -orig. proc; ' ' -other
// |||`---------- Position within the procedure
// ||`----------- ALWAYS leave blank
// |`------------ Step Section Header marker
// `------------- Internal section number (starts at A)
if (step.Substring(1, 1) == "0")
{
// if this section has the original edit section flag (sequence[2]) save the id.
// set pagination, continuous, separate. If blank, don't create attribute - uses format default.
if (sequence.Substring(4, 1) == "T")
{
ci.AddItem("Section", "Pagination", "C");
}
else if (sequence.Substring(4, 1) == "S")
{
ci.AddItem("Section", "Pagination", "S");
}
// Step: linked to enhanced (!exist = N)
if (sequence.Substring(7, 1) == "1")
{
ci.AddItem("Step", "LnkEnh", "Y");
}
char cbittst = sequence.PadRight(10)[8];
if (cbittst == ' ')
cbittst = '\0';
else
{
// determine if TOC element (!exist = N)
if ((cbittst & TOC) > 1)
{
ci.AddItem("Section", "TOC", "Y");
}
// determine if autogenerated section (!exist = N)
if ((cbittst & AUTOGEN) > 1)
{
isautogen = true;
ci.AddItem("Section", "AutoGen", "Y");
}
}
// Here are subsection flags, i.e. the following are only set if this
// is a subsection.
bool didsub = false;
if (isSubSection)
{
// Subsection: editable (!exist = Y)
if ((cbittst & EDDATA) > 0)
{
ci.AddItem("SubSection", "Edit", "N");
}
// Subsection: print section headers (!exist = Y)
if ((cbittst & PH) > 0)
{
didsub = true;
ci.AddItem("SubSection", "PH", "N");
}
// Subsection: autoindent (!exist = Y)
if ((cbittst & AUTOIND) > 0)
{
ci.AddItem("SubSection", "AutoIndent", "N");
}
}
if (!didsub && sequence.Substring(4, 1) == "N")
{
ci.AddItem("SubSection", "PH", "N");
}
}
else
{
// Accessory Section Format:
// AI 1 2
// ^^ ^ ^
// || | |
// || | `- # of pages (ASCII value minus 48)
// || `--- Position within the procedure
// |`----- Acc. page type (A,I, or F)
// `------ Internal section number (starts at A)
ci.AddItem("Section", "NumPages", sequence.Substring(3, 1));
// see if it's a libdoc too
string thekey = procnum.PadRight(20) + step.Substring(0, 1).PadRight(10);
if (dicLibDocRef.ContainsKey(thekey))
{
// if it is a library document, see if the section record has already been
// saved. If it has, just use this section id, otherwise, create the
// section record with info from the library document file.
libDocid = dicLibDocRef[thekey];
}
}
Item secitem = AddSection(procitem, num, title, stype, dts, init, ci, step + sequence, fmt, libDocid, pth, FromItem, docver);
thesectid = secitem.ItemID;
// if the editsectid hasn't been set yet, set it to this section id, i.e. the first
// one processed. Then if this section has the original edit section flag (sequence[2])
// save the id. The first step is necessary in case there is no original edit section
// flag set, so that the first section is the default one to get opened in edit.
if (EditSectId==0)EditSectId = thesectid;
if (libDocid<1 && step[1] == '0' && (sequence[2] == 'x' || sequence[2] == 'X'))
EditSectId = thesectid;
// ContentType (2 in the following call) are:
// 0 = structure,
// 1 = procedure,
// 2 = section,
// 3 = step
// 4 = branch
// fromtype values are (see steps.cs too)
// 1 = procedure,
// 2 = section,
// 3 = caution
// 4 = note
// 5 = RNO
// 6 = step
// 7 = table
if (!isautogen)
{
// Process the Data Table - First look for High Level Steps
string sQry = string.Format("Step like '[{0}]%' and Sequence='S'", dr["Step"].ToString().Substring(0, 1));
DataView dv = new DataView(dt, sQry, "StepNo", DataViewRowState.CurrentRows);
Item FrItem = null;
frmMain.pbStepMaximum = dt.Rows.Count;
frmMain.pbStepValue = 0;
foreach (DataRowView drv in dv)
{
FrItem = MigrateStep(cn, dt, drv, FrItem, conv_caret, pth, docver);
if (secitem.MyContent.ContentParts.Count == 0)
{
// type 6 is step
secitem.MyContent.ContentParts.Add(6, FrItem);
if (!secitem.MyContent.IsSavable) ErrorRpt.ErrorReport(secitem.MyContent);
secitem.MyContent.Save();
}
}
}
return secitem;
}
private void LoadSection(DataSet ds, OleDbDataAdapter da, string FileName)
{
try
{
da.Fill(ds, "Sections");
DataTable dt = ds.Tables["Sections"];
dt.CaseSensitive = true;
dt.Columns.Add("CStep", System.Type.GetType("System.String"));
dt.Columns.Add("CSequence", System.Type.GetType("System.String"));
// set the cstep & csequence - couldn't do it in the add because it needed a sql function
foreach (DataRow drw in ds.Tables["Sections"].Rows)
{
drw["CStep"] = TextConvert.ConvertSeq(drw["Step"].ToString());
drw["CSequence"] = TextConvert.ConvertSeq(drw["Sequence"].ToString());
}
dt.Columns.Add("StepNo", System.Type.GetType("System.Int32"), "Convert(Convert(Substring(CStep,2,1),'System.Char'),'System.Int32')-48");
dt.Columns.Add("Level", System.Type.GetType("System.Int32"), "Len(CSequence)");
dt.Columns.Add("SubStepNo", System.Type.GetType("System.Int32"), "Convert(Convert(Substring(CSequence,Len(CSequence),1),'System.Char'),'System.Int32')-48");
dt.Columns.Add("locb", System.Type.GetType("System.Int32"), "Convert(Convert(Substring(CSequence,2,1),'System.Char'),'System.Int32')-48");
}
catch (Exception ex)
{
FileInfo fi;
switch (ex.Message)
{
case "Index file not found.":// then delete inf file
fi = new FileInfo(frmMain.tbSourceText + "\\" + FileName + ".inf");
fi.Delete();
LoadSection(ds, da, FileName);// Try Again
break;
case "External table is not in the expected format.": // then pad dbt file with 128 zeros.
fi = new FileInfo(frmMain.tbSourceText + "\\" + FileName + ".dbt");
FileStream fs = fi.OpenWrite();
fs.Position = fs.Length;
byte[] buf = new byte[128];
for (int i = 0; i < 128; i++) buf[i] = 0;
fs.Write(buf, 0, 128);
fs.Close();
LoadSection(ds, da, FileName);// Try Again
break;
default: // Unrecognized error
Console.WriteLine("Unrecognized error: error = {0}", ex.Message);
log.ErrorFormat("File - {0}.DBF\r\n\r\n{1}\r\n\r\n{2}", FileName, ex.Message, ex.InnerException);
break;
}
}
}
}
}

View File

@@ -0,0 +1,422 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Data.OleDb;
using System.Collections.Specialized;
using System.Collections.Generic;
using System.Xml;
using System.IO;
using System.Text;
using VEPROMS.CSLA.Library;
namespace DataLoader
{
public partial class Loader
{
private Item AddStep(OleDbConnection cn, string StepType, string Textm, string Recid, string stpseq, string structtype, Item FromItem, DateTime dts, string userid, bool conv_caret, string pth, DocVersion docver)
{
string whereami = "1";
Content content = null;
Item item = null;
frmMain.UpdateLabels(0, 0, 1);
ConfigInfo ci = new ConfigInfo(null);
string stptext = null;
if (userid == null || userid == "") userid = "Migration";
int tok = -1;
//char[] chrarr = { '\x1', '\x2', '\x3', '\x5' };
char[] chrarr = { '\x1', '\x2', '\x3' };
try
{
// the textm field has step text, but also may have other text stored
// with it with a 'token' as a separator (see below).
tok = Textm.IndexOfAny(chrarr);
// This will find a continuous action flag without finding a hanging indent
if (tok == 0 && Textm[Textm.Length - 1] == '\x5')
tok = Textm.Length - 1;
if (tok < 0)
stptext = TextConvert.ConvertText(Textm, conv_caret);
else
stptext = TextConvert.ConvertText(Textm.Substring(0, tok), conv_caret);
string seqcvt = TextConvert.ConvertSeq(stpseq);
// Figure marker - it should NEVER get here!!!
int tokfig = Textm.IndexOf('\xE8');
if (tokfig > -1)
{
log.Error("Found a old style figure!");
log.ErrorFormat("oldstepsequence = {0}", stpseq);
}
string newstptyp = null;
bool ManualPagebreak = false;
char cbittst = StepType.PadRight(2)[0];
if (cbittst != ' ' && (cbittst & 0x80) > 1)
{
ManualPagebreak = true;
//if (ci == null) ci = new ConfigInfo(null);
ci.AddItem("Step", "ManualPagebreak", "True");
newstptyp = StepType.Substring(1, 1);
}
if (InES32 && stpseq == "A3S11")
Console.WriteLine("here");
whereami = "2";
if (InES32) Console.WriteLine("Addstep whereami {0}, stepseq = {1}", whereami, stpseq);
// Need the content record for the RO & transitions.
//content = Content.MakeContent(null, stptext, 20000 + int.Parse(newstptyp!=null?newstptyp:StepType),null, ManualPagebreak?ci.ToString():null, dts, userid);
// 20000 flags step type item & 1 adjusts for 'base' in format files.
int contenttype = (structtype == "R") ? 20040 : 20001 + int.Parse(newstptyp != null ? newstptyp : StepType);
whereami = "2.1";
if (InES32) Console.WriteLine("Addstep whereami {0}, stepseq = {1}", whereami, stpseq);
content = Content.New(null, stptext, contenttype, null, ManualPagebreak ? ci.ToString() : null, dts, userid);
whereami = "2.1.1";
if (InES32) Console.WriteLine("Addstep whereami {0}, stepseq = {1}", whereami, stpseq);
content.MyZContent.OldStepSequence = ProcNumber + "|" + stpseq;
whereami = "2.1.2";
if (InES32) Console.WriteLine("Addstep whereami {0}, stepseq = {1}", whereami, stpseq);
// Before we save it, handle RO & Transitions tokens.
int tokrt = Textm.IndexOf('\x15');
bool txtdirty = false;
if (tokrt > -1)
{
txtdirty = true;
whereami = "2.2";
if (InES32) Console.WriteLine("Addstep whereami {0}, stepseq = {1}", whereami, stpseq);
stptext = MigrateRos(cn, stptext, seqcvt, content, docver, conv_caret);
whereami = "2.3";
if (InES32) Console.WriteLine("Addstep whereami {0}, stepseq = {1}", whereami, stpseq);
stptext = stptext.TrimEnd(" ".ToCharArray());
}
whereami = "3";
if (InES32) Console.WriteLine("Addstep whereami {0}", whereami);
// 16-bit code has the following two defines.
// #define TransitionMarker 0xC2
// #define ReferenceMarker 0xCB
// these two characters get converted (to unicode) from ado.net
// use the unicode chars.
char[] chrrotrn = { '\x252C', '\x2566' };
tokrt = Textm.IndexOfAny(chrrotrn);
_TransitionMigrationErrors = new List<string>();
if (tokrt > -1)
{
txtdirty = true;
stptext = MigrateTrans(cn, stptext, seqcvt, content, pth);
stptext = stptext.TrimEnd(" ".ToCharArray());
}
if (txtdirty)
{
content.Text = stptext;
//content.Save();
}
whereami = "4";
if (InES32) Console.WriteLine("Addstep whereami {0}", whereami);
if (!content.IsSavable) ErrorRpt.ErrorReport(content);
List<string> migrationerrors = null;
if (_ContentMigrationErrors.ContainsKey(content.ContentID))
migrationerrors = _ContentMigrationErrors[content.ContentID];
content.Save();
whereami = "5";
if (InES32) Console.WriteLine("Addstep whereami {0}", whereami);
// check if already created thru new during transition migration...
if (dicTrans_ItemIds.ContainsKey(ProcNumber + "|" + seqcvt))
{
item = dicTrans_ItemIds[ProcNumber + "|" + seqcvt];
item.MyPrevious = FromItem;
item.MyContent = content;
item.DTS = dts;
item.UserID = userid;
if (!item.IsSavable) ErrorRpt.ErrorReport(item);
item.Save();
dicTrans_ItemIds.Remove(ProcNumber + "|" + seqcvt);
dicTrans_MigrationErrors.Remove(ProcNumber + "|" + seqcvt);
}
else
item = Item.MakeItem(FromItem, content, content.DTS, content.UserID);
if (migrationerrors != null)
{
foreach (string str in migrationerrors)
{
ItemAnnotation ia = item.ItemAnnotations.Add(MigrationErrorType);
ia.SearchText = str;
}
if (!item.IsSavable) ErrorRpt.ErrorReport(item);
item.Save();
}
if (_TransitionMigrationErrors.Count > 0)
{
foreach (string str in _TransitionMigrationErrors)
{
if (!dicTrans_MigrationErrors.ContainsKey(str))
dicTrans_MigrationErrors.Add(str, new List<Item>());
dicTrans_MigrationErrors[str].Add(item);
}
}
dicTrans_ItemDone[ProcNumber + "|" + seqcvt] = item;
dicOldStepSequence[content] = seqcvt;
}
catch (Exception ex)
{
Console.WriteLine("{0} {1}", ex.GetType().Name, ex.Message);
log.Error("Save Step");
log.ErrorFormat("oldstepsequence = {0}", stpseq);
log.ErrorFormat("{0}\r\n\r\n{1}", ex.Message, ex.InnerException);
log.ErrorFormat(ex.StackTrace);
item = null;
}
// now add on any support pieces of text associated with the step.
// These include:
// '\1' comment
// '\2' multiple change ids and/or change message
// '\3' linked sequence
// '\3\3'override tab
// '\5' continuous action summary flag (only if last char in string)
// This assumes that these tokens are stored in reverse order that
// they are processed.
bool recdirty = false;
try
{
whereami = "6";
if (InES32) Console.WriteLine("Addstep whereami {0}", whereami);
if (tok >= 0 && tok != Textm.Length)
{
string tkstring = Textm.Substring(tok);
int nxttok = 0;
if (tkstring[tkstring.Length - 1] == '\x5') // Continuous Action Summary
{
recdirty = true;
//if (ci == null) ci = new ConfigInfo(null);
ci.AddItem("Step", "ContActSum", "True");
tkstring = tkstring.Substring(0, tkstring.Length - 1); // strip off Continuous Action Token
}
if ((nxttok = tkstring.IndexOf("\x3\x3")) > -1) // Enhanced Override Tab
{
Console.WriteLine("Override Tab: {0}", tkstring.Substring(nxttok + 1));
ci.AddItem("Step", "OverrideTab", tkstring.Substring(nxttok + 2));
recdirty = true;
//recdirty |= AddContentDetail(content, STP_OVR_TAB, tkstring.Substring(nxttok + 2));
tkstring = tkstring.Substring(0, nxttok);
}
if ((nxttok = tkstring.IndexOf("\x3")) > -1) //Linked Sequence
{
Console.WriteLine("Linked Seq: {0}", tkstring.Substring(nxttok + 1));
ci.AddItem("Step", "LinkedSeq", TextConvert.ConvertSeq(tkstring.Substring(nxttok + 1)));
recdirty = true;
//recdirty |= AddContentDetail(content, STP_LNK_SEQ, TextConvert.ConvertSeq(tkstring.Substring(nxttok + 1)));
tkstring = tkstring.Substring(0, nxttok);
}
if ((nxttok = tkstring.IndexOf("\x2")) > -1) // Multiple Change Ids
{
//Console.WriteLine("Multiple Change ID: {0}", tkstring.Substring(nxttok + 1));
ci.AddItem("Step", "MultipleChangeID", tkstring.Substring(nxttok + 1));
recdirty = true;
//recdirty |= AddContentDetail(content, STP_MULT_CHGID, tkstring.Substring(nxttok + 1));
tkstring = tkstring.Substring(0, nxttok);
}
if ((nxttok = tkstring.IndexOf("\x1")) > -1) // Comment
{
// add the comment to annotation table. Set type to comment.
Console.WriteLine("Comment text: {0}", tkstring.Substring(nxttok + 1));
Annotation annot = Annotation.MakeAnnotation(item, CommentType, null, tkstring.Substring(nxttok + 1), null, dts, userid);
}
}
// also see if a check-off needs added.
if (Recid[0] != '0')
{
recdirty = true;
string chkindx = Recid[0].ToString();
//if (ci == null) ci = new ConfigInfo(null);
ci.AddItem("Step", "CheckOffIndex", chkindx);
}
// here's where it knows if it's a linked step (or in processstep)
if (Recid[1] != '0')
{
// do linked step stuff.
}
// if checkoffs or the continuous action summary flag, save the xml.
if (recdirty)
{
if (ci.ItemCount != 0) content.Config = ci.ToString();
if (!content.IsSavable) ErrorRpt.ErrorReport(content);
whereami = "7";
if (InES32) Console.WriteLine("Addstep whereami {0}", whereami);
content.Save();
whereami = "8";
if (InES32) Console.WriteLine("Addstep whereami {0}", whereami);
}
}
catch (Exception ex)
{
Console.WriteLine("Subtexts: {0} {1}", ex.GetType().Name, ex.Message);
log.Error("Save Step part 2");
log.ErrorFormat("oldstepsequence = {0}", stpseq);
log.ErrorFormat("{0}\r\n\r\n{1}", ex.Message, ex.InnerException);
log.ErrorFormat(ex.StackTrace);
}
return item;
}
//private static bool AddContentDetail(Content content, int type, string strn)
//{
// if (strn != null && strn.Trim() != "" )
// {
// content.ContentDetails.Add(type, strn);
// return true;
// }
// return false;
//}
private string GetParent(string s)
{
string retval = "S";
if (s.Length > 1)
{
int l = s.Length;
if ("!*".IndexOf(s[l - 2]) > -1)
{
if (l > 2) retval = s.Substring(0, l - 2);
}
else
{
retval = s.Substring(0, l - 1);
}
}
return retval;
}
private string GetStructType(string s)
{
string retval = "S";
if (s.Length > 1)
{
int l = s.Length;
if ("!*".IndexOf(s[l - 2]) > -1)
{
if (s[l - 2] == '!') retval = "C";
else retval = "N";
}
else
{
if (s[l - 1] == '$') retval = "R";
if (s[l - 1] == '#') retval = "T";
}
}
return retval;
}
public bool InES32 = false;
private Item MigrateStep(OleDbConnection cn, DataTable dt, DataRowView drv, Item FromItem, bool conv_caret, string pth, DocVersion docver)
{
//string whereami = "1";
try
{
string sType = GetStructType(drv["CSequence"].ToString());
//whereami = "2";
//if (InES32) Console.WriteLine("MigrateStep whereami {0}", whereami);
Item item = AddStep(cn, drv["Type"].ToString()
, (drv["textm"] == DBNull.Value ? drv["Text"].ToString() : drv["Textm"].ToString())
, drv["Recid"].ToString(), drv["CStep"].ToString() + drv["CSequence"].ToString(), "S", FromItem // was str
, GetDTS(drv["Date"].ToString(), drv["Time"].ToString()), drv["Initials"].ToString(), conv_caret, pth, docver);
//whereami = "3";
//if (InES32) Console.WriteLine("MigrateStep whereami {0}", whereami);
//Content cont = Content.MakeContent(null,(drv["textm"] == DBNull.Value ? drv["Text"].ToString() : drv["Textm"].ToString()),drv["Type"]+20000,null,null,
// GetDTS(drv["Date"].ToString(), drv["Time"].ToString()), drv["Initials"].ToString());
//Item item = Item.MakeItem(FromItem, cont, cont.DTS, cont.UserID);
//Structure str = AddStructure(FromType, FromID, 3, tmpid, drv["CStep"].ToString() + drv["CSequence"].ToString(),
// GetDTS(drv["Date"].ToString(), drv["Time"].ToString()), drv["Initials"].ToString());
//Step stp = AddStep(cn, drv["Type"].ToString()
// , (drv["textm"] == DBNull.Value ? drv["Text"].ToString() : drv["Textm"].ToString())
// , drv["Recid"].ToString(), drv["CStep"].ToString() + drv["CSequence"].ToString(), "S", str
// , GetDTS(drv["Date"].ToString(), drv["Time"].ToString()), drv["Initials"].ToString());
Dictionary<string, Item> dicStep = new Dictionary<string, Item>();
dicStep[drv["CSequence"].ToString()] = item;
Dictionary<string, Dictionary<string, Item>> dicStruct = new Dictionary<string, Dictionary<string, Item>>();
Dictionary<string, Item> dicBase = new Dictionary<string, Item>();
dicStruct[drv["CSequence"].ToString()] = dicBase;
dicBase[""] = item;
// Logic to add Sub-steps
string sQry = "CStep = '" + drv["CStep"].ToString() + "' and CSequence <> 'S'";
// sort order - for sections use currentrows.
//whereami = "4";
//if (InES32) Console.WriteLine("MigrateStep whereami {0}", whereami);
DataView dv = new DataView(dt, sQry, "StepNo,Level,SubStepNo", DataViewRowState.CurrentRows);
//dataGrid1.DataSource=dv;
//Loop through DataView and add Steps one at a time
//Console.WriteLine("={0}",drv["Step"]);
int FrType = 0; // type of relationship (not type of step)
Item FrItem = item;
foreach (DataRowView drvs in dv)
{
//Console.WriteLine(">{0}",drvs["CStep"]);
string sParent = GetParent(drvs["CSequence"].ToString());
if (dicStep.ContainsKey(sParent))
{
Item itemp = dicStep[sParent];
sType = GetStructType(drvs["CSequence"].ToString());
Dictionary<string,Item> dicStr = dicStruct[sParent];
// check if a step type of 'sType' exists to see if child/sibling
//Content contc = Content.MakeContent(null,(drvs["textm"] == DBNull.Value ? drvs["Text"].ToString() : drvs["Textm"].ToString()),drvs["Type"]+20000,null,null,
// GetDTS(drvs["Date"].ToString(), drvs["Time"].ToString()), drvs["Initials"].ToString()));
Item itemc = null;
if (dicStr.ContainsKey(sType)) // next sibling
{
FrItem = dicStr[sType];
FrType = 0;
}
else // child of a node
{
FrItem = null;
FrType = (3 + ("CNRST".IndexOf(sType)));
}
//whereami = "5";
itemc = AddStep(cn, drvs["Type"].ToString()
, (drvs["textm"] == DBNull.Value ? drvs["Text"].ToString() : drvs["Textm"].ToString())
, drv["Recid"].ToString(), drvs["CStep"].ToString() + drvs["CSequence"].ToString()
, GetStructType(drvs["sequence"].ToString()), FrItem
, GetDTS(drvs["Date"].ToString(), drvs["Time"].ToString()), drvs["Initials"].ToString(), conv_caret, pth, docver);
if (FrType > 0 )
{
itemp.MyContent.ContentParts.Add(FrType, itemc);
if (!itemp.MyContent.IsSavable) ErrorRpt.ErrorReport(itemp.MyContent);
itemp.MyContent.Save();
}
//whereami = "6";
dicStr[sType] = itemc;
dicStruct[drvs["CSequence"].ToString()] = new Dictionary<string, Item>();
dicStep[drvs["CSequence"].ToString()] = itemc;
}
else
{
log.ErrorFormat("Parent {0} Could not be found for {1}", sParent, drvs["sequence"].ToString());
}
}
//if (InES32) Console.WriteLine("MigrateStep end");
return item;
}
catch (Exception ex)
{
Console.WriteLine("{0} {1}", ex.GetType().Name, ex.Message);
log.Error("PROCESS STEP");
log.ErrorFormat("{0}\r\n\r\n{1}", ex.Message, ex.InnerException);
log.ErrorFormat(ex.StackTrace);
return null;
}
}
}
}

View File

@@ -0,0 +1,269 @@
using System;
using System.Collections.Generic;
using System.Text;
using Volian.Controls.Library;
using VEPROMS.CSLA.Library;
using System.Text.RegularExpressions;
using Volian.Base.Library;
using System.Xml;
using System.IO;
namespace DataLoader
{
public delegate void TransitionFixerEvent(object sender, TransitionFixerEventArgs args);
public class TransitionFixerEventArgs
{
private string _MyStatus;
public string MyStatus
{
get { return _MyStatus; }
set { _MyStatus = value; }
}
public TransitionFixerEventArgs(string myStatus)
{
_MyStatus = myStatus;
}
}
class TransitionFixer
{
public event TransitionFixerEvent StatusChanged;
private void OnStatusChanged(object sender, TransitionFixerEventArgs args)
{
if (StatusChanged != null)
StatusChanged(sender, args);
}
private string _Status;
public string Status
{
get { return _Status; }
set
{
_Status = value;
OnStatusChanged(this, new TransitionFixerEventArgs(_Status));
}
}
private int _ErrorCount = 0;
public int ErrorCount
{
get { return _ErrorCount; }
set { _ErrorCount = value; }
}
private StepRTB _MyStepRTB;
public StepRTB MyStepRTB
{
get { return _MyStepRTB; }
}
private string _LogPath;
public TransitionFixer(StepRTB myStepRTB,string logpath)
{
_MyStepRTB = myStepRTB;
_LogPath = logpath;
}
public TimeSpan Process(bool checkRTF)
{
DateTime tstart = DateTime.Now;
ProcessTransitions(checkRTF);
return DateTime.Now - tstart;
}
private void ProcessTransitions(bool checkRTF)
{
Status = "Getting List...";
// Loop through all Items and check before and after text
ItemInfoList myListFrom = ItemInfoList.GetListTranFrom();
ItemInfoList myListTo = ItemInfoList.GetListTranTo();
ConversionRTBProblems myProblems = new ConversionRTBProblems();
int i = 0;
foreach (ItemInfo item in myListFrom)
{
if (item.MyContent.ContentID == 311)
Console.WriteLine();
Status = string.Format("Processing {0} of {1} steps", ++i, myListFrom.Count);
//MyStepRTB.ViewRTB = false;
string originalText = item.MyContent.Text;
string updatedText = item.MyContent.Text;
if (item.MyContent.MyGrid != null)
{
originalText = item.MyContent.MyGrid.Data;
updatedText = (item.MyContent.MyGrid.Data.Replace("&lt;START]", "<START]")).Replace("[END&gt;", "[END>");
}
// Exclude items that are not connected (Dummy steps for invalid transition destinations)
if (item.ItemDocVersionCount != 0 || item.MyPrevious != null || item.MyParent != null)
{
if (item.MyContent.ContentTransitionCount > 0)
{
//updatedText = Volian.Controls.Library.DisplayText.StaticRemoveRtfStyles(updatedText, item);
foreach (TransitionInfo tran in item.MyContent.ContentTransitions)
{
try
{
if (item.MyContent.MyGrid != null)
updatedText = FixTableTransitionText(updatedText, tran, item.MyContent.Get());
else
updatedText = FixTransitionText(updatedText, tran);
}
catch (Exception ex)
{
Console.WriteLine("{0} {1}", ex.GetType().Name, ex.Message);
}
// Added for transitions to un-numbered steps
if (tran.NewTransToUnNumberedItem) item.NewTransToUnNumberedItem = true;
}
}
if (updatedText.EndsWith(" ")) updatedText = updatedText.Substring(0, updatedText.Length - 1);
if (item.MyContent.MyGrid != null)
{
using (Item itm = item.Get())
{
updatedText = (updatedText.Replace("<START]", "&lt;START]")).Replace("[END>", "[END&gt;");
string sstring = AdjustSizeAndGetSearchString(updatedText, itm);
itm.MyContent.Text = sstring;
if (item.NewTransToUnNumberedItem)
{
ItemAnnotation ia = itm.ItemAnnotations.Add(VerificationRequiredType);
ia.SearchText = "Transition to un-numbered step";
ia.UserID = "Migration";
}
itm.Save();
}
}
else
{
if (item.NewTransToUnNumberedItem)
{
using (Item itm = item.Get())
{
ItemAnnotation ia = itm.ItemAnnotations.Add(VerificationRequiredType);
ia.SearchText = "Transition to un-numbered step";
ia.UserID = "Migration";
itm.Save();
}
}
using (Content c = item.MyContent.Get())
{
c.Text = updatedText;
c.Save();
}
}
// Added for transitions to un-numbered steps
if (checkRTF)
{
MyStepRTB.MyItemInfo = item;
// Force Save - This will put change bars on everything
if (MyStepRTB.Text.Contains("(Resolved Transition Text)") != false) MyStepRTB.OrigDisplayText.Save(MyStepRTB);
string afterText = item.MyContent.Text;
// aftertext is 'newrtf'
if (afterText != updatedText)
myProblems.RTBProblems.Add(item.ItemID, item.MyContent.ContentID, originalText, updatedText, MyStepRTB.Rtf, afterText, item.Path);
}
}
}
if (checkRTF)
{
Status = "Saving problems";
string logFile = _LogPath + @"\RTBProblems.xml";
ErrorCount = myProblems.RTBProblems.Count;
myProblems.Save(logFile);
if (ErrorCount > 0)
{
System.Windows.Forms.DialogResult answer = System.Windows.Forms.MessageBox.Show(
string.Format("{0} Differences found in Transition Text\r\nResults in {1}\r\n\r\nOpen Log File?",
ErrorCount, logFile), "Transitions Different", System.Windows.Forms.MessageBoxButtons.YesNo, System.Windows.Forms.MessageBoxIcon.Question);
if(answer == System.Windows.Forms.DialogResult.Yes)
System.Diagnostics.Process.Start(logFile);
}
}
Status = "Done comparing";
}
// Added for transitions to un-numbered steps
private AnnotationType _VerificationRequiredType; // Using this to flag table to grid conversions
public AnnotationType VerificationRequiredType
{
get
{
if (_VerificationRequiredType == null)
_VerificationRequiredType = AnnotationType.GetByName("Verification Required");
return _VerificationRequiredType;
}
}
public string FixTransitionText(string Text, TransitionInfo tran)
{
if (tran.MyItemToID.ToString().Contains("diamond"))
Console.WriteLine();
string lookFor = string.Format(@"<START\]\\v0 ([^#]*?)\\v #Link:Transition[^:]*?:{0} {1}( [0-9]*){2}\[END>", tran.TranType, tran.TransitionID, "{1,2}");
string transText = tran.ResolvePathTo();
//Console.WriteLine(">>>>> FixTransitionText");
//Console.WriteLine("Text = {0}", Text);
//Console.WriteLine("lookFor = {0}", lookFor);
//Console.WriteLine("TransText = {0}", transText);
Match m = Regex.Match(Text, lookFor);
if (m != null && m.Groups.Count > 1)
{
System.Text.RegularExpressions.Group g = m.Groups[1];
if (g.ToString() != transText)
Text = Text.Substring(0, g.Index) + transText + Text.Substring(g.Index + g.Length);
}
else
Console.WriteLine("Transition not Found");
return Text;
}
public string FixTableTransitionText(string Text, TransitionInfo tran, Content content)
{
string lookFor = string.Format(@"<START\]\\cf1\\v0 ([^#]*?)\\cf0\\v #Link:Transition[^:]*?:{0} {1}( [0-9]*){2}\[END>", tran.TranType, tran.TransitionID, "{1,2}");
string transText = tran.ResolvePathTo();
//Console.WriteLine(">>>>> FixTransitionText");
//Console.WriteLine("Text = {0}", Text);
//Console.WriteLine("lookFor = {0}", lookFor);
//Console.WriteLine("TransText = {0}", transText);
Match m = Regex.Match(Text, lookFor);
if (m != null && m.Groups.Count > 1)
{
System.Text.RegularExpressions.Group g = m.Groups[1];
if (g.ToString() != transText)
Text = Text.Substring(0, g.Index) + transText + Text.Substring(g.Index + g.Length);
}
else
Console.WriteLine("Transition not Found");
//VlnFlexGrid grd = new VlnFlexGrid(1, 1);
//XmlDocument xd = new XmlDocument();
//xd.LoadXml(Text);
//grd.ReadXml(xd);
//grd.FixTableCellsHeightWidth(); // resize the column width/height
//using (StringWriter sw = new StringWriter())
//{
// grd.WriteXml(sw);
// //Console.WriteLine(sw.GetStringBuilder().ToString());
// content.MyGrid.Data = sw.GetStringBuilder().ToString();
// sw.Close();
//}
return Text;
}
private string AdjustSizeAndGetSearchString(string strXML, Item itm)
{
string rstring = "";
VlnFlexGrid grd = new VlnFlexGrid(1, 1);
XmlDocument xd = new XmlDocument();
xd.LoadXml(strXML);
grd.ReadXml(xd);
//using (StringReader sr = new StringReader(strXML))
//{
// grd.ReadXml(sr);
// sr.Close();
//}
grd.FixTableCellsHeightWidth(); // resize the column width/height
rstring = grd.GetSearchableText();
using (StringWriter sw = new StringWriter())
{
grd.WriteXml(sw);
itm.MyContent.MyGrid.Data = sw.GetStringBuilder().ToString();
sw.Close();
}
return rstring;
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,545 @@
namespace DataLoader
{
partial class frmLoader
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
Volian.MSWord.WordDoc.CloseApp();
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.sc = new System.Windows.Forms.SplitContainer();
this.lblCurSetFolder = new System.Windows.Forms.Label();
this.lblProcessing = new System.Windows.Forms.Label();
this.lblTime = new System.Windows.Forms.Label();
this.pbStep = new System.Windows.Forms.ProgressBar();
this.pbSect = new System.Windows.Forms.ProgressBar();
this.pbProc = new System.Windows.Forms.ProgressBar();
this.lblStep = new System.Windows.Forms.Label();
this.lblSection = new System.Windows.Forms.Label();
this.lblProc = new System.Windows.Forms.Label();
this.tv = new System.Windows.Forms.TreeView();
this.fbd = new System.Windows.Forms.FolderBrowserDialog();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
this.tsslError = new System.Windows.Forms.ToolStripStatusLabel();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.processToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.completeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
this.formatOnlyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
this.convertDBToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.fixTransitionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.convertToChangeManagerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.convertToApprovalToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.load16BitApprovalToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.fixesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.oldToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.convertSecurityToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripSeparator();
this.convertTopFoldersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.loadTreeFromCSLAToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.loadVETreeFromCSLAToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.groupSecurityToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.countTokensToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator();
this.convertDbfSelectedInTreeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.fixAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.approvalDatabasesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.updateFormatsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.fixROValuesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.createEmptyPROMSDatabaseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.sc.Panel1.SuspendLayout();
this.sc.Panel2.SuspendLayout();
this.sc.SuspendLayout();
this.statusStrip1.SuspendLayout();
this.menuStrip1.SuspendLayout();
this.SuspendLayout();
//
// sc
//
this.sc.Dock = System.Windows.Forms.DockStyle.Fill;
this.sc.Location = new System.Drawing.Point(0, 24);
this.sc.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.sc.Name = "sc";
this.sc.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// sc.Panel1
//
this.sc.Panel1.Controls.Add(this.lblCurSetFolder);
this.sc.Panel1.Controls.Add(this.lblProcessing);
this.sc.Panel1.Controls.Add(this.lblTime);
this.sc.Panel1.Controls.Add(this.pbStep);
this.sc.Panel1.Controls.Add(this.pbSect);
this.sc.Panel1.Controls.Add(this.pbProc);
this.sc.Panel1.Controls.Add(this.lblStep);
this.sc.Panel1.Controls.Add(this.lblSection);
this.sc.Panel1.Controls.Add(this.lblProc);
//
// sc.Panel2
//
this.sc.Panel2.BackColor = System.Drawing.SystemColors.Control;
this.sc.Panel2.Controls.Add(this.tv);
this.sc.Size = new System.Drawing.Size(664, 370);
this.sc.SplitterDistance = 134;
this.sc.SplitterWidth = 3;
this.sc.TabIndex = 46;
//
// lblCurSetFolder
//
this.lblCurSetFolder.AutoSize = true;
this.lblCurSetFolder.ForeColor = System.Drawing.Color.Blue;
this.lblCurSetFolder.Location = new System.Drawing.Point(177, 97);
this.lblCurSetFolder.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblCurSetFolder.Name = "lblCurSetFolder";
this.lblCurSetFolder.Size = new System.Drawing.Size(16, 13);
this.lblCurSetFolder.TabIndex = 75;
this.lblCurSetFolder.Text = "...";
this.lblCurSetFolder.Visible = false;
//
// lblProcessing
//
this.lblProcessing.AutoSize = true;
this.lblProcessing.Location = new System.Drawing.Point(7, 97);
this.lblProcessing.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblProcessing.Name = "lblProcessing";
this.lblProcessing.Size = new System.Drawing.Size(165, 13);
this.lblProcessing.TabIndex = 74;
this.lblProcessing.Text = "Processing Procedure Set Folder:";
this.lblProcessing.Visible = false;
//
// lblTime
//
this.lblTime.BackColor = System.Drawing.SystemColors.ButtonShadow;
this.lblTime.Location = new System.Drawing.Point(7, 67);
this.lblTime.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblTime.Name = "lblTime";
this.lblTime.Size = new System.Drawing.Size(106, 16);
this.lblTime.TabIndex = 58;
//
// pbStep
//
this.pbStep.Location = new System.Drawing.Point(115, 41);
this.pbStep.Margin = new System.Windows.Forms.Padding(2);
this.pbStep.Name = "pbStep";
this.pbStep.Size = new System.Drawing.Size(375, 12);
this.pbStep.TabIndex = 57;
//
// pbSect
//
this.pbSect.Location = new System.Drawing.Point(115, 24);
this.pbSect.Margin = new System.Windows.Forms.Padding(2);
this.pbSect.Name = "pbSect";
this.pbSect.Size = new System.Drawing.Size(375, 12);
this.pbSect.TabIndex = 56;
//
// pbProc
//
this.pbProc.Location = new System.Drawing.Point(115, 9);
this.pbProc.Margin = new System.Windows.Forms.Padding(2);
this.pbProc.Name = "pbProc";
this.pbProc.Size = new System.Drawing.Size(375, 12);
this.pbProc.TabIndex = 55;
//
// lblStep
//
this.lblStep.BackColor = System.Drawing.SystemColors.ButtonShadow;
this.lblStep.Location = new System.Drawing.Point(7, 47);
this.lblStep.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblStep.Name = "lblStep";
this.lblStep.Size = new System.Drawing.Size(106, 16);
this.lblStep.TabIndex = 49;
//
// lblSection
//
this.lblSection.BackColor = System.Drawing.SystemColors.ButtonShadow;
this.lblSection.Location = new System.Drawing.Point(7, 28);
this.lblSection.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblSection.Name = "lblSection";
this.lblSection.Size = new System.Drawing.Size(106, 15);
this.lblSection.TabIndex = 48;
//
// lblProc
//
this.lblProc.BackColor = System.Drawing.SystemColors.ButtonShadow;
this.lblProc.Location = new System.Drawing.Point(7, 9);
this.lblProc.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblProc.Name = "lblProc";
this.lblProc.Size = new System.Drawing.Size(106, 15);
this.lblProc.TabIndex = 47;
//
// tv
//
this.tv.CheckBoxes = true;
this.tv.Dock = System.Windows.Forms.DockStyle.Fill;
this.tv.Location = new System.Drawing.Point(0, 0);
this.tv.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.tv.Name = "tv";
this.tv.Size = new System.Drawing.Size(664, 233);
this.tv.TabIndex = 24;
this.tv.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tv_BeforeExpand);
this.tv.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tv_AfterSelect);
//
// statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripStatusLabel1,
this.tsslError});
this.statusStrip1.Location = new System.Drawing.Point(0, 349);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(664, 45);
this.statusStrip1.TabIndex = 47;
this.statusStrip1.Text = "statusStrip1";
//
// toolStripStatusLabel1
//
this.toolStripStatusLabel1.AutoSize = false;
this.toolStripStatusLabel1.ImageAlign = System.Drawing.ContentAlignment.TopLeft;
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
this.toolStripStatusLabel1.Size = new System.Drawing.Size(500, 40);
this.toolStripStatusLabel1.Text = "Status Information";
this.toolStripStatusLabel1.TextAlign = System.Drawing.ContentAlignment.TopLeft;
//
// tsslError
//
this.tsslError.AutoSize = false;
this.tsslError.Name = "tsslError";
this.tsslError.Size = new System.Drawing.Size(150, 40);
this.tsslError.Text = "No Errors";
this.tsslError.TextAlign = System.Drawing.ContentAlignment.TopLeft;
//
// menuStrip1
//
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.fileToolStripMenuItem,
this.processToolStripMenuItem,
this.settingsToolStripMenuItem,
this.oldToolStripMenuItem,
this.fixAllToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(664, 24);
this.menuStrip1.TabIndex = 48;
this.menuStrip1.Text = "menuStrip1";
//
// fileToolStripMenuItem
//
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.exitToolStripMenuItem});
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
this.fileToolStripMenuItem.Text = "&File";
//
// exitToolStripMenuItem
//
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
this.exitToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
this.exitToolStripMenuItem.Text = "E&xit";
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
//
// processToolStripMenuItem
//
this.processToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.completeToolStripMenuItem,
this.toolStripMenuItem1,
this.formatOnlyToolStripMenuItem,
this.toolStripMenuItem2,
this.convertDBToolStripMenuItem,
this.fixTransitionsToolStripMenuItem,
this.convertToChangeManagerToolStripMenuItem,
this.convertToApprovalToolStripMenuItem,
this.load16BitApprovalToolStripMenuItem,
this.fixesToolStripMenuItem,
this.fixROValuesToolStripMenuItem});
this.createEmptyPROMSDatabaseToolStripMenuItem});
this.processToolStripMenuItem.Name = "processToolStripMenuItem";
this.processToolStripMenuItem.Size = new System.Drawing.Size(59, 20);
this.processToolStripMenuItem.Text = "&Process";
//
// completeToolStripMenuItem
//
this.completeToolStripMenuItem.Name = "completeToolStripMenuItem";
this.completeToolStripMenuItem.Size = new System.Drawing.Size(239, 22);
this.completeToolStripMenuItem.Text = "Complete";
this.completeToolStripMenuItem.Click += new System.EventHandler(this.completeToolStripMenuItem_Click);
//
// toolStripMenuItem1
//
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
this.toolStripMenuItem1.Size = new System.Drawing.Size(236, 6);
//
// formatOnlyToolStripMenuItem
//
this.formatOnlyToolStripMenuItem.Name = "formatOnlyToolStripMenuItem";
this.formatOnlyToolStripMenuItem.Size = new System.Drawing.Size(239, 22);
this.formatOnlyToolStripMenuItem.Text = "Format Only";
this.formatOnlyToolStripMenuItem.Click += new System.EventHandler(this.formatOnlyToolStripMenuItem_Click);
//
// toolStripMenuItem2
//
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
this.toolStripMenuItem2.Size = new System.Drawing.Size(236, 6);
//
// convertDBToolStripMenuItem
//
this.convertDBToolStripMenuItem.Name = "convertDBToolStripMenuItem";
this.convertDBToolStripMenuItem.Size = new System.Drawing.Size(239, 22);
this.convertDBToolStripMenuItem.Text = "Convert DB";
this.convertDBToolStripMenuItem.Click += new System.EventHandler(this.convertDBToolStripMenuItem_Click);
//
// fixTransitionsToolStripMenuItem
//
this.fixTransitionsToolStripMenuItem.Name = "fixTransitionsToolStripMenuItem";
this.fixTransitionsToolStripMenuItem.Size = new System.Drawing.Size(239, 22);
this.fixTransitionsToolStripMenuItem.Text = "Fix Transitions";
this.fixTransitionsToolStripMenuItem.Click += new System.EventHandler(this.fixTransitionsToolStripMenuItem_Click);
//
// convertToChangeManagerToolStripMenuItem
//
this.convertToChangeManagerToolStripMenuItem.Name = "convertToChangeManagerToolStripMenuItem";
this.convertToChangeManagerToolStripMenuItem.Size = new System.Drawing.Size(239, 22);
this.convertToChangeManagerToolStripMenuItem.Text = "Convert to Change Manager";
this.convertToChangeManagerToolStripMenuItem.Click += new System.EventHandler(this.convertToChangeManagerToolStripMenuItem_Click);
//
// convertToApprovalToolStripMenuItem
//
this.convertToApprovalToolStripMenuItem.Name = "convertToApprovalToolStripMenuItem";
this.convertToApprovalToolStripMenuItem.Size = new System.Drawing.Size(239, 22);
this.convertToApprovalToolStripMenuItem.Text = "Convert to Approval";
this.convertToApprovalToolStripMenuItem.Click += new System.EventHandler(this.convertToApprovalToolStripMenuItem_Click);
//
// load16BitApprovalToolStripMenuItem
//
this.load16BitApprovalToolStripMenuItem.Name = "load16BitApprovalToolStripMenuItem";
this.load16BitApprovalToolStripMenuItem.Size = new System.Drawing.Size(239, 22);
this.load16BitApprovalToolStripMenuItem.Text = "Load 16-Bit Approval";
this.load16BitApprovalToolStripMenuItem.Click += new System.EventHandler(this.load16BitApprovalToolStripMenuItem_Click);
//
// fixesToolStripMenuItem
//
this.fixesToolStripMenuItem.Name = "fixesToolStripMenuItem";
this.fixesToolStripMenuItem.Size = new System.Drawing.Size(239, 22);
this.fixesToolStripMenuItem.Text = "Fixes";
this.fixesToolStripMenuItem.Click += new System.EventHandler(this.fixesToolStripMenuItem_Click);
//
// settingsToolStripMenuItem
//
this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem";
this.settingsToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
this.settingsToolStripMenuItem.Text = "&Settings";
this.settingsToolStripMenuItem.Click += new System.EventHandler(this.settingsToolStripMenuItem_Click);
//
// oldToolStripMenuItem
//
this.oldToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.convertSecurityToolStripMenuItem,
this.toolStripMenuItem4,
this.convertTopFoldersToolStripMenuItem,
this.loadTreeFromCSLAToolStripMenuItem,
this.loadVETreeFromCSLAToolStripMenuItem,
this.groupSecurityToolStripMenuItem,
this.countTokensToolStripMenuItem,
this.toolStripMenuItem3,
this.convertDbfSelectedInTreeToolStripMenuItem});
this.oldToolStripMenuItem.Name = "oldToolStripMenuItem";
this.oldToolStripMenuItem.Size = new System.Drawing.Size(38, 20);
this.oldToolStripMenuItem.Text = "Old";
//
// convertSecurityToolStripMenuItem
//
this.convertSecurityToolStripMenuItem.Name = "convertSecurityToolStripMenuItem";
this.convertSecurityToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
this.convertSecurityToolStripMenuItem.Text = "Convert Security";
this.convertSecurityToolStripMenuItem.Click += new System.EventHandler(this.convertSecurityToolStripMenuItem_Click);
//
// toolStripMenuItem4
//
this.toolStripMenuItem4.Name = "toolStripMenuItem4";
this.toolStripMenuItem4.Size = new System.Drawing.Size(221, 6);
//
// convertTopFoldersToolStripMenuItem
//
this.convertTopFoldersToolStripMenuItem.Name = "convertTopFoldersToolStripMenuItem";
this.convertTopFoldersToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
this.convertTopFoldersToolStripMenuItem.Text = "Convert Top Folders";
this.convertTopFoldersToolStripMenuItem.Click += new System.EventHandler(this.convertTopFoldersToolStripMenuItem_Click);
//
// loadTreeFromCSLAToolStripMenuItem
//
this.loadTreeFromCSLAToolStripMenuItem.Name = "loadTreeFromCSLAToolStripMenuItem";
this.loadTreeFromCSLAToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
this.loadTreeFromCSLAToolStripMenuItem.Text = "Load Tree From CSLA";
this.loadTreeFromCSLAToolStripMenuItem.Click += new System.EventHandler(this.loadTreeFromCSLAToolStripMenuItem_Click);
//
// loadVETreeFromCSLAToolStripMenuItem
//
this.loadVETreeFromCSLAToolStripMenuItem.Name = "loadVETreeFromCSLAToolStripMenuItem";
this.loadVETreeFromCSLAToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
this.loadVETreeFromCSLAToolStripMenuItem.Text = "Load VETree From CSLA";
this.loadVETreeFromCSLAToolStripMenuItem.Click += new System.EventHandler(this.loadVETreeFromCSLAToolStripMenuItem_Click);
//
// groupSecurityToolStripMenuItem
//
this.groupSecurityToolStripMenuItem.Name = "groupSecurityToolStripMenuItem";
this.groupSecurityToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
this.groupSecurityToolStripMenuItem.Text = "Group/Security";
this.groupSecurityToolStripMenuItem.Click += new System.EventHandler(this.groupSecurityToolStripMenuItem_Click);
//
// countTokensToolStripMenuItem
//
this.countTokensToolStripMenuItem.Name = "countTokensToolStripMenuItem";
this.countTokensToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
this.countTokensToolStripMenuItem.Text = "Count Tokens";
this.countTokensToolStripMenuItem.Click += new System.EventHandler(this.countTokensToolStripMenuItem_Click);
//
// toolStripMenuItem3
//
this.toolStripMenuItem3.Name = "toolStripMenuItem3";
this.toolStripMenuItem3.Size = new System.Drawing.Size(221, 6);
//
// convertDbfSelectedInTreeToolStripMenuItem
//
this.convertDbfSelectedInTreeToolStripMenuItem.Name = "convertDbfSelectedInTreeToolStripMenuItem";
this.convertDbfSelectedInTreeToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
this.convertDbfSelectedInTreeToolStripMenuItem.Text = "Convert Dbf Selected In Tree";
this.convertDbfSelectedInTreeToolStripMenuItem.Click += new System.EventHandler(this.convertDbfSelectedInTreeToolStripMenuItem_Click);
//
// fixAllToolStripMenuItem
//
this.fixAllToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.approvalDatabasesToolStripMenuItem,
this.updateFormatsToolStripMenuItem});
this.fixAllToolStripMenuItem.Name = "fixAllToolStripMenuItem";
this.fixAllToolStripMenuItem.Size = new System.Drawing.Size(50, 20);
this.fixAllToolStripMenuItem.Text = "Fix All";
//
// approvalDatabasesToolStripMenuItem
//
this.approvalDatabasesToolStripMenuItem.Name = "approvalDatabasesToolStripMenuItem";
this.approvalDatabasesToolStripMenuItem.Size = new System.Drawing.Size(178, 22);
this.approvalDatabasesToolStripMenuItem.Text = "Approval Databases";
this.approvalDatabasesToolStripMenuItem.Click += new System.EventHandler(this.approvalDatabasesToolStripMenuItem_Click);
//
// updateFormatsToolStripMenuItem
//
this.updateFormatsToolStripMenuItem.Name = "updateFormatsToolStripMenuItem";
this.updateFormatsToolStripMenuItem.Size = new System.Drawing.Size(178, 22);
this.updateFormatsToolStripMenuItem.Text = "Update Formats";
this.updateFormatsToolStripMenuItem.Click += new System.EventHandler(this.updateFormatsToolStripMenuItem_Click);
//
// fixROValuesToolStripMenuItem
//
this.fixROValuesToolStripMenuItem.Name = "fixROValuesToolStripMenuItem";
this.fixROValuesToolStripMenuItem.Size = new System.Drawing.Size(264, 24);
this.fixROValuesToolStripMenuItem.Text = "Fix RO Values";
this.fixROValuesToolStripMenuItem.Click += new System.EventHandler(this.fixROValuesToolStripMenuItem_Click);
//
// createEmptyPROMSDatabaseToolStripMenuItem
//
this.createEmptyPROMSDatabaseToolStripMenuItem.Name = "createEmptyPROMSDatabaseToolStripMenuItem";
this.createEmptyPROMSDatabaseToolStripMenuItem.Size = new System.Drawing.Size(239, 22);
this.createEmptyPROMSDatabaseToolStripMenuItem.Text = "Create Empty PROMS Database";
this.createEmptyPROMSDatabaseToolStripMenuItem.Click += new System.EventHandler(this.createEmptyPROMSDatabaseToolStripMenuItem_Click);
//
// frmLoader
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(664, 394);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.sc);
this.Controls.Add(this.menuStrip1);
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.Name = "frmLoader";
this.Text = "PROMS-2010 Data Loader";
this.Load += new System.EventHandler(this.frmLoader_Load);
this.sc.Panel1.ResumeLayout(false);
this.sc.Panel1.PerformLayout();
this.sc.Panel2.ResumeLayout(false);
this.sc.ResumeLayout(false);
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.SplitContainer sc;
private System.Windows.Forms.Label lblTime;
private System.Windows.Forms.ProgressBar pbStep;
private System.Windows.Forms.ProgressBar pbSect;
private System.Windows.Forms.ProgressBar pbProc;
private System.Windows.Forms.Label lblStep;
private System.Windows.Forms.Label lblSection;
private System.Windows.Forms.Label lblProc;
private System.Windows.Forms.TreeView tv;
private System.Windows.Forms.FolderBrowserDialog fbd;
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
private System.Windows.Forms.ToolStripStatusLabel tsslError;
private System.Windows.Forms.Label lblCurSetFolder;
private System.Windows.Forms.Label lblProcessing;
private System.Windows.Forms.ToolTip toolTip1;
private System.Windows.Forms.MenuStrip menuStrip1;
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem settingsToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem processToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem completeToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
private System.Windows.Forms.ToolStripMenuItem formatOnlyToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2;
private System.Windows.Forms.ToolStripMenuItem convertDBToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem fixTransitionsToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem convertToChangeManagerToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem convertToApprovalToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem oldToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem convertSecurityToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem convertTopFoldersToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem loadTreeFromCSLAToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem loadVETreeFromCSLAToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem groupSecurityToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem countTokensToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem convertDbfSelectedInTreeToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem3;
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem4;
private System.Windows.Forms.ToolStripMenuItem load16BitApprovalToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem fixesToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem fixAllToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem approvalDatabasesToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem updateFormatsToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem fixROValuesToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem createEmptyPROMSDatabaseToolStripMenuItem;
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,135 @@
Computer Name: KATHY-VISTA
Data Set: c:\16bit\debug\veaep\aop1.prc
Bad OldToNew Document Style 001-006:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Processing c:\16bit\debug\veaep\aop1.prc\rtffiles\proc013.A03
Error in
Bad OldToNew Document Style 002-001:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Processing c:\16bit\debug\veaep\aop1.prc\rtffiles\PROC009.A03
Bad OldToNew Document Style 012-005:Attachment C dStyleIndex = 'A '
D.C. Cook EOP and AOP Format - D.C. Cook EOP & AOP Single Column Attachment Pages - BOLD STEPS (AEP01) - Missing OldToNew 1024
Processing c:\16bit\debug\veaep\aop1.prc\rtffiles\proc022.A06
Processing c:\16bit\debug\veaep\aop1.prc\rtffiles\proc031.A04
Processing c:\16bit\debug\veaep\aop1.prc\rtffiles\proc031.A08
Processing c:\16bit\debug\veaep\aop1.prc\rtffiles\proc031.A07
Missing Transition Destination 017-001|K0 - 9464
Missing Transition Destination 017-001|J0 - 9463
Missing Transition Destination 001-006|A?S3 - 853
Missing Transition Destination 017-001|F0 - 9652
Missing Transition Destination 017-001|E0 - 9514
Missing Transition Destination 017-001|B1S - 9584
Missing Transition Destination 017-001|B0 - 9589
Missing Transition Destination 016.004|J=S7 - 7979
Missing Transition Destination 017-001|I0 - 9244
Missing Transition Destination 016-004|AÇS - 7602
Data Set: c:\16bit\debug\veaep\du1.prc
Cannot Find Image File c:\16bit\debug\veaep\ro\CNTRLRM1.GIF
Cannot Find Image File c:\16bit\debug\veaep\ro\CNTRLRM2.GIF
Cannot Find Image File c:\16bit\debug\veaep\ro\CNTLRM12.GIF
Cannot Find Image File c:\16bit\debug\veaep\ro\CNTLRM11.GIF
Cannot Find Image File c:\16bit\debug\veaep\ro\STMTABLE.GIF
Cannot Find Image File c:\16bit\debug\veaep\ro\HV2.GIF
Bad OldToNew Document Style E-0:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style ES-0.1:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\ES02.A05
Bad OldToNew Document Style ES-0.2:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\ES03.A03
Bad OldToNew Document Style ES-0.3:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style E-1:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style ES-1.1:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style ES-1.2:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style ES-1.3:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style E-3:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style ES-3.1:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style ES-3.2:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style ES-3.3:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\ECA00.A01
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\ECA00.A04
Bad OldToNew Document Style ECA-0.1:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\ECA11.A03
Bad OldToNew Document Style ECA-1.1:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\proc022.A03
Bad OldToNew Document Style ECA-1.3:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style ECA-2.1:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\ECA31.A03
Bad OldToNew Document Style ECA-3.1:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style ECA-3.2:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style ECA-3.3:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\proc004.A07
MigrateRos 'F-0.5' 'A2S' 0
ArgumentNullException - Value cannot be null.
Parameter name: input at System.Text.RegularExpressions.Regex.Replace(String input, String replacement)
at System.Text.RegularExpressions.Regex.Replace(String input, String pattern, String replacement)
at DataLoader.TextConvert.ConvertDOSSuperAndSubScripts(String instr) in C:\Development\PROMS\DataLoader\TextConvert.cs:line 218
at DataLoader.Loader.MigrateRos(OleDbConnection cn, String textm, String seqcvt, Content content, DocVersion docver, Boolean conv_caret) in C:\Development\PROMS\DataLoader\RefObjs.cs:line 81
Bad OldToNew Document Style FR-C.1:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style FR-C.2:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style FR-C.3:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style FR-H.1:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\FRP1.A03
Bad OldToNew Document Style FR-P.1:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\FRP2.A03
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\FRI3.A03
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\FRI3.A04
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\proc009.A05
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\proc012.A02
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\proc020.A02
Missing Transition Destination ECA-1.1|BNS36 - 15533
Missing Transition Destination ES-3.1|BIS - 22871
Missing Transition Destination F-0.2|D0 - 18727
Missing Transition Destination ECA-1.3|AUS33 - 16163
Missing Transition Destination ECA-1.3|AUS36 - 16164
Missing Transition Destination ECA-3.3|BBS - 22594
Missing Transition Destination F-0.5|C0 - 20949
Missing Transition Destination ECA-1.1|BFS33 - 15441
Missing Transition Destination ES-0.2|B;S2 - 10712
Missing Transition Destination ECA-2.1|B9S43 - 16564
Missing Transition Destination ES-1.3|A6SB - 12507
Missing Transition Destination F-0.6|E0 - 21213
Missing Transition Destination ECA-2.1|B9S46 - 16565
Missing Transition Destination F-0.6|C0 - 21117
Missing Transition Destination FR-C.1|BFS25 - 19037
Missing Transition Destination FR-H.1|ABS - 20220
Missing Transition Destination E-1|B>S32 - 11248
Missing Transition Destination E-1|B>S34 - 11249
Missing Transition Destination F-0.3|C0 - 19579
Missing Transition Destination FR-C.1|BFS26 - 19048
Missing Transition Destination ECA-3.2|B0S - 17180
Missing Transition Destination SUP-015|C0 - 20660
Missing Transition Destination FR-C.2|B@S36 - 19440
Missing Transition Destination FR-C.1|B@S36 - 18954
Missing Transition Destination F-0.4|B0 - 12823
Missing Transition Destination ECA-1.3|ANS36 - 16076
Missing Transition Destination ECA-0.1|A5S - 14908
Missing Transition Destination E-3|CES - 13327
Missing Transition Destination ECA-1.1|BFS36 - 15442
Missing Transition Destination ECA-1.3|ANS33 - 16075
Missing Transition Destination ECA-1.1|BNS33 - 15532
Missing Transition Destination F-0.1|C0 - 18472
Missing Transition Destination FR-C.1|BIS36 - 19111
Conversion completion time: 00:10:24.74

View File

@@ -0,0 +1,96 @@
<?xml version="1.0" encoding="utf-8"?>
<DataLoaderGlitches xmlns="http://www.volian.com">
<Glitches>
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 PPH" NewText="240x10\up2 3\up0 PPH" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 PPH" NewText="240x10\up2 3\up0 PPH" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.42E6 PPH" NewText="1.42x10\up2 6\up0 PPH" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="9.E4 cps" NewText="9x10\up2 4\up0 cps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="Steam Flow - 0.71.E6 pph" NewText="Steam Flow - 0.71x10\up2 6\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="450.E3 pph" NewText="450x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.42E6 pph" NewText="1.42x10\up2 6\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="450.E3 pph" NewText="450x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.42E6 pph" NewText="1.42x10\up2 6\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="470.E3 pph" NewText="470x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.42E6 pph" NewText="1.42x10\up2 6\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.42E6 pph" NewText="1.42x10\up2 6\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="25.E3 pph" NewText="25x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="25.E3 pph" NewText="25x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.42E6 pph" NewText="1.42x10\up2 6\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.42E6 pph" NewText="1.42x10\up2 6\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-5%" NewText="10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="450.E3 pph" NewText="450x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="450.E3 pph" NewText="450x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="450.E3 pph" NewText="450x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="25.E3 pph" NewText="25x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-5%" NewText="10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-5%" NewText="10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-5%" NewText="10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.42E6 pph" NewText="1.42x10\up2 6\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.42E6 pph" NewText="1.42x10\up2 6\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="50.E3 pph" NewText="50x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="50.E3 pph" NewText="50x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="25.E3 pph" NewText="25x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="25.E3 pph" NewText="25x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="25.E3 pph" NewText="25x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="25.E3 pph" NewText="25x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="25.E3 pph" NewText="25x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="25.E3 pph" NewText="25x10\up2 3\up0 pph" />
</Glitches>
</DataLoaderGlitches>

View File

@@ -0,0 +1,181 @@
Computer Name: KATHY-VISTA
Data Set: c:\16bit\debug\veaep\aop1.prc
Bad OldToNew Document Style 001-006:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Processing c:\16bit\debug\veaep\aop1.prc\rtffiles\proc013.A03
Error in
Bad OldToNew Document Style 002-001:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Processing c:\16bit\debug\veaep\aop1.prc\rtffiles\PROC009.A03
Bad OldToNew Document Style 012-005:Attachment C dStyleIndex = 'A '
D.C. Cook EOP and AOP Format - D.C. Cook EOP & AOP Single Column Attachment Pages - BOLD STEPS (AEP01) - Missing OldToNew 1024
Processing c:\16bit\debug\veaep\aop1.prc\rtffiles\proc022.A06
Processing c:\16bit\debug\veaep\aop1.prc\rtffiles\proc031.A04
Processing c:\16bit\debug\veaep\aop1.prc\rtffiles\proc031.A08
Processing c:\16bit\debug\veaep\aop1.prc\rtffiles\proc031.A07
Missing Transition Destination 017-001|K0 - 9495
Missing Transition Destination 017-001|J0 - 9494
Missing Transition Destination 001-006|A?S3 - 884
Missing Transition Destination 017-001|F0 - 9683
Missing Transition Destination 017-001|E0 - 9545
Missing Transition Destination 017-001|B1S - 9615
Missing Transition Destination 017-001|B0 - 9620
Missing Transition Destination 016.004|J=S7 - 8010
Missing Transition Destination 017-001|I0 - 9275
Missing Transition Destination 016-004|AÇS - 7633
Data Set: c:\16bit\debug\veaep\appr1.prc
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc001.A02
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc001.A04
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc001.A05
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc001.A06
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc001.A09
Error in
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc001.A08
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc002.A06
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc003.A04
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc003.A08
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc003.A05
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc003.A06
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc004.A04
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc004.A09
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc004.A05
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc004.A07
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc005.A05
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc000.A05
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc007.A03
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc008.A06
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc008.A05
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc009.A03
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc010.A03
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc011.A05
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc012.A03
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc013.A10
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc014.A02
Bad OldToNew Document Style R-8:Table R-8-A dStyleIndex = 'I '
D.C. Cook EOP and AOP Format - D.C. Cook EOP & AOP Single Column Attachment Pages - BOLD STEPS (AEP01) - Missing OldToNew 32
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc023.A02
Bad OldToNew Document Style R-8:Table R-8-B dStyleIndex = 'I '
D.C. Cook EOP and AOP Format - D.C. Cook EOP & AOP Single Column Attachment Pages - BOLD STEPS (AEP01) - Missing OldToNew 32
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc023.A04
Bad OldToNew Document Style R-8:Table R-8-C dStyleIndex = 'I '
D.C. Cook EOP and AOP Format - D.C. Cook EOP & AOP Single Column Attachment Pages - BOLD STEPS (AEP01) - Missing OldToNew 32
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc023.A06
Bad OldToNew Document Style R-8:Table R-8-D dStyleIndex = 'I '
D.C. Cook EOP and AOP Format - D.C. Cook EOP & AOP Single Column Attachment Pages - BOLD STEPS (AEP01) - Missing OldToNew 32
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc023.A08
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc027.A25
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc027.A26
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc027.A27
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc027.A28
Processing c:\16bit\debug\veaep\appr1.prc\rtffiles\proc027.A29
Missing Transition Destination R-12|A6S - 14134
Data Set: c:\16bit\debug\veaep\du1.prc
Cannot Find Image File c:\16bit\debug\veaep\ro\CNTRLRM1.GIF
Cannot Find Image File c:\16bit\debug\veaep\ro\CNTRLRM2.GIF
Cannot Find Image File c:\16bit\debug\veaep\ro\CNTLRM12.GIF
Cannot Find Image File c:\16bit\debug\veaep\ro\CNTLRM11.GIF
Cannot Find Image File c:\16bit\debug\veaep\ro\STMTABLE.GIF
Cannot Find Image File c:\16bit\debug\veaep\ro\HV2.GIF
Bad OldToNew Document Style E-0:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style ES-0.1:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\ES02.A05
Bad OldToNew Document Style ES-0.2:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\ES03.A03
Bad OldToNew Document Style ES-0.3:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style E-1:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style ES-1.1:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style ES-1.2:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style ES-1.3:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style E-3:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style ES-3.1:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style ES-3.2:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style ES-3.3:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\ECA00.A01
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\ECA00.A04
Bad OldToNew Document Style ECA-0.1:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\ECA11.A03
Bad OldToNew Document Style ECA-1.1:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\proc022.A03
Bad OldToNew Document Style ECA-1.3:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style ECA-2.1:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\ECA31.A03
Bad OldToNew Document Style ECA-3.1:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style ECA-3.2:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style ECA-3.3:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\proc004.A07
MigrateRos 'F-0.5' 'A2S' 0
ArgumentNullException - Value cannot be null.
Parameter name: input at System.Text.RegularExpressions.Regex.Replace(String input, String replacement)
at System.Text.RegularExpressions.Regex.Replace(String input, String pattern, String replacement)
at DataLoader.TextConvert.ConvertDOSSuperAndSubScripts(String instr) in C:\Development\PROMS\DataLoader\TextConvert.cs:line 218
at DataLoader.Loader.MigrateRos(OleDbConnection cn, String textm, String seqcvt, Content content, DocVersion docver, Boolean conv_caret) in C:\Development\PROMS\DataLoader\RefObjs.cs:line 81
Bad OldToNew Document Style FR-C.1:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style FR-C.2:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style FR-C.3:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Bad OldToNew Document Style FR-H.1:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\FRP1.A03
Bad OldToNew Document Style FR-P.1:FOLDOUT dStyleIndex = '0 '
D.C. Cook EOP and AOP Format - D.C. Cook EOP - Foldout Pages (AEP00) - Missing OldToNew 1
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\FRP2.A03
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\FRI3.A03
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\FRI3.A04
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\proc009.A05
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\proc012.A02
Processing c:\16bit\debug\veaep\du1.prc\rtffiles\proc020.A02
Missing Transition Destination ECA-1.1|BNS36 - 20870
Missing Transition Destination ES-3.1|BIS - 28208
Missing Transition Destination F-0.2|D0 - 24064
Missing Transition Destination ECA-1.3|AUS33 - 21500
Missing Transition Destination ECA-1.3|AUS36 - 21501
Missing Transition Destination ECA-3.3|BBS - 27931
Missing Transition Destination F-0.5|C0 - 26286
Missing Transition Destination ECA-1.1|BFS33 - 20778
Missing Transition Destination ES-0.2|B;S2 - 16049
Missing Transition Destination ECA-2.1|B9S43 - 21901
Missing Transition Destination ES-1.3|A6SB - 17844
Missing Transition Destination F-0.6|E0 - 26550
Missing Transition Destination ECA-2.1|B9S46 - 21902
Missing Transition Destination F-0.6|C0 - 26454
Missing Transition Destination FR-C.1|BFS25 - 24374
Missing Transition Destination FR-H.1|ABS - 25557
Missing Transition Destination E-1|B>S32 - 16585
Missing Transition Destination E-1|B>S34 - 16586
Missing Transition Destination F-0.3|C0 - 24916
Missing Transition Destination FR-C.1|BFS26 - 24385
Missing Transition Destination ECA-3.2|B0S - 22517
Missing Transition Destination SUP-015|C0 - 25997
Missing Transition Destination FR-C.2|B@S36 - 24777
Missing Transition Destination FR-C.1|B@S36 - 24291
Missing Transition Destination F-0.4|B0 - 18160
Missing Transition Destination ECA-1.3|ANS36 - 21413
Missing Transition Destination ECA-0.1|A5S - 20245
Missing Transition Destination E-3|CES - 18664
Missing Transition Destination ECA-1.1|BFS36 - 20779
Missing Transition Destination ECA-1.3|ANS33 - 21412
Missing Transition Destination ECA-1.1|BNS33 - 20869
Missing Transition Destination F-0.1|C0 - 23809
Missing Transition Destination FR-C.1|BIS36 - 24448
Conversion completion time: 00:13:35.809

View File

@@ -0,0 +1,96 @@
<?xml version="1.0" encoding="utf-8"?>
<DataLoaderGlitches xmlns="http://www.volian.com">
<Glitches>
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 PPH" NewText="240x10\up2 3\up0 PPH" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 PPH" NewText="240x10\up2 3\up0 PPH" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.42E6 PPH" NewText="1.42x10\up2 6\up0 PPH" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="9.E4 cps" NewText="9x10\up2 4\up0 cps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="Steam Flow - 0.71.E6 pph" NewText="Steam Flow - 0.71x10\up2 6\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="450.E3 pph" NewText="450x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.42E6 pph" NewText="1.42x10\up2 6\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="450.E3 pph" NewText="450x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.42E6 pph" NewText="1.42x10\up2 6\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="470.E3 pph" NewText="470x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.42E6 pph" NewText="1.42x10\up2 6\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.42E6 pph" NewText="1.42x10\up2 6\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="25.E3 pph" NewText="25x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="25.E3 pph" NewText="25x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.42E6 pph" NewText="1.42x10\up2 6\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.42E6 pph" NewText="1.42x10\up2 6\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.E-11 amps" NewText="6x10\up2 -11\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-5%" NewText="10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="450.E3 pph" NewText="450x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="450.E3 pph" NewText="450x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="450.E3 pph" NewText="450x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="25.E3 pph" NewText="25x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-5%" NewText="10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-5%" NewText="10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-5%" NewText="10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.42E6 pph" NewText="1.42x10\up2 6\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.42E6 pph" NewText="1.42x10\up2 6\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="50.E3 pph" NewText="50x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="50.E3 pph" NewText="50x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="25.E3 pph" NewText="25x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="25.E3 pph" NewText="25x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="25.E3 pph" NewText="25x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="240.E3 pph" NewText="240x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="25.E3 pph" NewText="25x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="25.E3 pph" NewText="25x10\up2 3\up0 pph" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="25.E3 pph" NewText="25x10\up2 3\up0 pph" />
</Glitches>
</DataLoaderGlitches>

View File

@@ -0,0 +1,2 @@
sqlcmd -E -S.\sqlexpress -Q "backup database [VEPROMS] to disk = 'C:\Development\PROMS\DataLoader\logfile\.bak'"
pause

View File

@@ -0,0 +1,2 @@
sqlcmd -E -S.\sqlexpress -Q "backup database [VEPROMS] to disk = 'C:\Development\PROMS\DataLoader\logfile\VEPROMS.bak'"
pause

View File

@@ -0,0 +1,2 @@
sqlcmd -E -S.\sqlexpress -Q "backup database [VEPROMSRGE_AbbyProc] to disk = 'C:\Development\PROMS\DataLoader\logfile\VEPROMSRGE_AbbyProc.bak'"
pause

View File

@@ -0,0 +1,2 @@
sqlcmd -E -S.\sqlexpress -Q "backup database [VEPROMSRGE_Rev1SAMG] to disk = 'C:\Development\PROMS\DataLoader\logfile\VEPROMSRGE_Rev1SAMG.bak'"
pause

View File

@@ -0,0 +1,2 @@
sqlcmd -E -S.\sqlexpress -Q "backup database [VEPROMSWCNADM_AI] to disk = 'C:\Development\PROMS\DataLoader\logfile\VEPROMSWCNADM_AI.bak'"
pause

View File

@@ -0,0 +1,2 @@
sqlcmd -E -S.\sqlexpress -Q "backup database [VEPROMS_WCNALR_ALRCR] to disk = 'C:\Development\PROMS\DataLoader\logfile\VEPROMSWCNALR_ALRCRJune11.bak'"
pause

View File

@@ -0,0 +1,2 @@
sqlcmd -E -S.\sqlexpress -Q "backup database [VEPROMS_WCNALR_ALRCR] to disk = 'C:\Development\PROMS\DataLoader\logfile\VEPROMSWCNALR_ALRCRJune12.bak'"
pause

View File

@@ -0,0 +1,2 @@
sqlcmd -E -S.\sqlexpress -Q "backup database [VEPROMS_WCNALR_ALRLOCAL] to disk = 'C:\Development\PROMS\DataLoader\logfile\VEPROMSWCNALR_ALRLOCALJune12.bak'"
pause

View File

@@ -0,0 +1,2 @@
sqlcmd -E -S.\sqlexpress -Q "backup database [VEPROMS_WCNCAP_AI] to disk = 'C:\Development\PROMS\DataLoader\logfile\VEPROMSWCNCAP_AIJune12.bak'"
pause

View File

@@ -0,0 +1,2 @@
sqlcmd -E -S.\sqlexpress -Q "backup database [VEPROMSWCNFP] to disk = 'C:\Development\PROMS\DataLoader\logfile\VEPROMSWCNFP.bak'"
pause

View File

@@ -0,0 +1,2 @@
sqlcmd -E -S.\sqlexpress -Q "backup database [VEPROMS_WCNSYS_SYS] to disk = 'C:\Development\PROMS\DataLoader\logfile\VEPROMSWCNSYS_SYS.bak'"
pause

View File

@@ -0,0 +1,2 @@
sqlcmd -E -S.\sqlexpress -Q "backup database [VEPROMS_Ginna_EOPS] to disk = 'C:\Development\PROMS\DataLoader\logfile\VEPROMS_RGE_EOPS.bak'"
pause

View File

@@ -0,0 +1,2 @@
sqlcmd -E -S.\sqlexpress -Q "backup database [VEPROMS_WCN_EMGS] to disk = 'C:\Development\PROMS\DataLoader\logfile\VEPROMS_WCN_EMGS.bak'"
pause

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<DataLoaderGlitches xmlns="http://www.volian.com">
<Glitches>
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="Check Fuel Pool Cleanup Demineralizer Flow - LESS THAN 0.45E5\u160?LBS/HR" NewText="Check Fuel Pool Cleanup Demineralizer Flow - LESS THAN 0.45x10\up2 5\up0 \u160?LBS/HR" />
</Glitches>
</DataLoaderGlitches>

Binary file not shown.

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Proms2010Print xmlns="http://www.volian.com">
<RTBProblems />
</Proms2010Print>

View File

@@ -0,0 +1,2 @@
sqlcmd -E -S.\sqlexpress -Q "restore database [VEPROMS] from disk = 'C:\Development\PROMS\DataLoader\logfile\.bak'"
pause

View File

@@ -0,0 +1,2 @@
sqlcmd -E -S.\sqlexpress -Q "restore database [VEPROMS] from disk = 'C:\Development\PROMS\DataLoader\logfile\VEPROMS.bak'"
pause

View File

@@ -0,0 +1,2 @@
sqlcmd -E -S.\sqlexpress -Q "restore database [VEPROMSRGE_AbbyProc] from disk = 'C:\Development\PROMS\DataLoader\logfile\VEPROMSRGE_AbbyProc.bak'"
pause

View File

@@ -0,0 +1,2 @@
sqlcmd -E -S.\sqlexpress -Q "restore database [VEPROMSRGE_Rev1SAMG] from disk = 'C:\Development\PROMS\DataLoader\logfile\VEPROMSRGE_Rev1SAMG.bak'"
pause

View File

@@ -0,0 +1,2 @@
sqlcmd -E -S.\sqlexpress -Q "restore database [VEPROMSWCNADM_AI] from disk = 'C:\Development\PROMS\DataLoader\logfile\VEPROMSWCNADM_AI.bak'"
pause

View File

@@ -0,0 +1,2 @@
sqlcmd -E -S.\sqlexpress -Q "restore database [VEPROMS_WCNALR_ALRCR] from disk = 'C:\Development\PROMS\DataLoader\logfile\VEPROMSWCNALR_ALRCRJune11.bak'"
pause

View File

@@ -0,0 +1,2 @@
sqlcmd -E -S.\sqlexpress -Q "restore database [VEPROMS_WCNALR_ALRCR] from disk = 'C:\Development\PROMS\DataLoader\logfile\VEPROMSWCNALR_ALRCRJune12.bak'"
pause

View File

@@ -0,0 +1,2 @@
sqlcmd -E -S.\sqlexpress -Q "restore database [VEPROMS_WCNALR_ALRLOCAL] from disk = 'C:\Development\PROMS\DataLoader\logfile\VEPROMSWCNALR_ALRLOCALJune12.bak'"
pause

View File

@@ -0,0 +1,2 @@
sqlcmd -E -S.\sqlexpress -Q "restore database [VEPROMS_WCNCAP_AI] from disk = 'C:\Development\PROMS\DataLoader\logfile\VEPROMSWCNCAP_AIJune12.bak'"
pause

View File

@@ -0,0 +1,2 @@
sqlcmd -E -S.\sqlexpress -Q "restore database [VEPROMSWCNFP] from disk = 'C:\Development\PROMS\DataLoader\logfile\VEPROMSWCNFP.bak'"
pause

View File

@@ -0,0 +1,2 @@
sqlcmd -E -S.\sqlexpress -Q "restore database [VEPROMS_WCNSYS_SYS] from disk = 'C:\Development\PROMS\DataLoader\logfile\VEPROMSWCNSYS_SYS.bak'"
pause

View File

@@ -0,0 +1,2 @@
sqlcmd -E -S.\sqlexpress -Q "restore database [VEPROMS_Ginna_EOPS] from disk = 'C:\Development\PROMS\DataLoader\logfile\VEPROMS_RGE_EOPS.bak'"
pause

View File

@@ -0,0 +1,2 @@
sqlcmd -E -S.\sqlexpress -Q "restore database [VEPROMS_WCN_EMGS] from disk = 'C:\Development\PROMS\DataLoader\logfile\VEPROMS_WCN_EMGS.bak'"
pause

View File

@@ -0,0 +1,683 @@
2 copies of MS Word are running
Computer Name: KATHY-VISTA
Data Set: c:\16bit\debug\vetuec\abn0.prc
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc008.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc008.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc000.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc009.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc009.A07
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc009.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc009.A06
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc009.A06
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc010.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc010.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc010.A01
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc010.A25
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc010.A26
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc010.A27
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc010.A35
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc010.A36
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc010.A38
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc011.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc014.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc014.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc012.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc012.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc012.A01
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc001.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc003.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc002.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc013.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc013.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc013.A01
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc013.A01
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc013.A01
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc013.A12
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc013.A09
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc013.A10
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc013.A11
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc013.A08
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc015.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc016.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc017.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc017.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc017.A01
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc004.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc018.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc018.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc018.A01
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc018.A25
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc019.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc019.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc020.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc022.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc021.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc021.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc021.A01
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc021.A25
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc023.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc023.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc023.A01
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc023.A25
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc025.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc025.A01
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc025.A27
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc025.A36
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc025.A40
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc025.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc024.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc024.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc005.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc005.A10
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc005.A11
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc005.A12
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc005.A13
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc005.A14
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc005.A09
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc026.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc026.A01
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc026.A10
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc026.A11
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc026.A12
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc026.A13
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc026.A14
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc026.A15
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc026.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc027.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc028.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc029.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc029.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc029.A01
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc029.A06
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc030.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc030.A01
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc030.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc030.A06
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc031.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc031.A01
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc031.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc031.A09
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc031.A25
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc031.A26
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc032.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc032.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc032.A07
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc032.A01
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc032.A09
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc032.A10
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc033.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc033.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc033.A01
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc034.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc035.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc035.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc035.A01
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc035.A13
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc035.A15
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc035.A16
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc035.A17
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc036.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc036.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc036.A01
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc036.A07
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc037.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc037.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc038.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc038.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc038.A01
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc038.A07
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc039.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc039.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc040.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc040.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc040.A01
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc040.A07
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc006.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc006.A05
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc006.A06
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc006.A10
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc006.A11
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc006.A12
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc006.A13
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc006.A14
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc006.A15
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc006.A16
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc006.A17
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc006.A18
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc006.A19
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc006.A09
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc007.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc041.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc041.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc042.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc043.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc043.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc044.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc044.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc044.A01
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc044.A08
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc045.A02
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc045.A23
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc045.A01
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc045.A15
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc045.A25
Processing c:\16bit\debug\vetuec\abn0.prc\rtffiles\proc045.A26
Missing Transition Destination ABN-104|N3S - 1907
Data Set: c:\16bit\debug\vetuec\master.prc
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc000.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc000.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc000.A22
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc000.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc000.A14
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc000.A24
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc000.A27
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc000.A26
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc000.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc000.A15
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc000.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc000.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc000.A16
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc000.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc000.A17
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc000.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc000.A18
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc000.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc000.A19
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc000.A11
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc000.A20
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc000.A12
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc000.A21
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc000.A13
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc000.A23
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc001.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc001.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc001.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc001.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc001.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc001.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc001.A05
Error in
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc001.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc001.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc001.A11
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc002.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc002.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc002.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc002.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc002.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc003.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc003.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc003.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc003.A15
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc003.A13
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc003.A14
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc003.A17
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc003.A19
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc003.A18
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc003.A20
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc003.A21
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc003.A22
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc003.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc003.A11
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc003.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc003.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc003.A16
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc003.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc003.A12
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc003.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc003.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc004.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc004.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc004.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc004.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc004.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc005.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc005.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc005.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc005.A13
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc005.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc005.A11
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc005.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc005.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc005.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc005.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc005.A12
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc005.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc006.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc006.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc006.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc006.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc006.A12
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc006.A11
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc006.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc006.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc006.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc006.A09
Error in
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc006.A14
Error in
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc006.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc006.A13
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc007.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc007.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc007.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc007.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc007.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc007.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc007.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc007.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc007.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc008.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc008.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc008.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc008.A11
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc008.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc008.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc008.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc008.A08
Error in
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc008.A12
Error in
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc008.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc008.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc009.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc009.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc009.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc009.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc009.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc009.A11
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc009.A12
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc009.A13
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc009.A14
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc009.A15
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc009.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc009.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc009.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc009.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc009.A16
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc010.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc010.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc010.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc010.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc010.A12
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc010.A13
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc010.A14
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc010.A15
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc010.A16
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc010.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc010.A11
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc010.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc010.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc010.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc010.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc011.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc011.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc011.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc011.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc011.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc011.A11
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc011.A13
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc011.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc011.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc011.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc011.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc011.A12
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc012.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc012.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc012.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc012.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc012.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc012.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc015.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc015.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc015.A12
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc015.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc015.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc015.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc015.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc015.A11
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc015.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc015.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc015.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc016.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc016.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc016.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc016.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc016.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc016.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc016.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc016.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc016.A11
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc016.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc016.A12
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc017.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc017.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc017.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc017.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc017.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc017.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc017.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc017.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc017.A11
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc017.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc017.A12
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc018.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc018.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc018.A16
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc018.A17
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc018.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc018.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc018.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc018.A11
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc018.A19
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc018.A20
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc018.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc018.A12
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc018.A21
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc018.A22
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc018.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc018.A13
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc018.A23
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc018.A24
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc018.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc018.A14
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc018.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc018.A15
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc019.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc019.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc019.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc019.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc019.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc019.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc019.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc020.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc020.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc020.A16
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc020.A17
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc020.A18
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc020.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc020.A26
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc020.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc020.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc020.A12
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc020.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc020.A19
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc020.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc020.A11
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc020.A20
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc020.A21
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc020.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc020.A13
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc020.A22
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc020.A23
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc020.A14
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc020.A15
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc020.A24
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc020.A25
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc020.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc020.A27
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc022.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc022.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc022.A12
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc022.A13
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc022.A15
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc022.A16
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc022.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc022.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc022.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc022.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc022.A11
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc022.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc022.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc022.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc022.A14
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc023.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc023.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc023.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc025.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc025.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc025.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc025.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc025.A13
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc025.A14
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc025.A11
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc025.A12
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc025.A15
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc025.A16
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc025.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc025.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc025.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc025.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc025.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc028.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc028.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc028.A21
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc028.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc028.A12
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc028.A16
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc028.A17
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc028.A18
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc028.A15
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc028.A20
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc028.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc028.A13
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc028.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc028.A14
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc028.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc028.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc028.A19
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc028.A11
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc028.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc028.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc029.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc029.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc029.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc029.A12
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc029.A16
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc029.A17
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc029.A18
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc029.A19
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc029.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc029.A13
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc029.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc029.A14
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc029.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc029.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc029.A15
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc029.A11
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc029.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc029.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc030.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc030.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc030.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc030.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc030.A12
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc030.A13
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc030.A14
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc030.A15
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc030.A16
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc030.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc030.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc030.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc030.A11
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc030.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc030.A17
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc037.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc037.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc037.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc037.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc037.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc037.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc037.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc037.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc037.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc037.A11
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc038.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc038.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc038.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc038.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc038.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc038.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc039.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc039.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc039.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc039.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc039.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc039.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc039.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc039.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc039.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc039.A11
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc039.A12
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\PROC013.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\PROC013.A03
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\PROC013.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\PROC013.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\PROC013.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\PROC013.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\PROC013.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\PROC013.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\PROC013.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\PROC013.A11
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\PROC013.A12
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc040.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc040.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc040.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc040.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc040.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc040.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc040.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc040.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc040.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc040.A11
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc041.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc041.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc041.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc041.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc041.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc041.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc043.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc043.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc043.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc043.A11
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc043.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc043.A12
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc043.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc043.A13
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc043.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc043.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc043.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc043.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc044.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc044.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc044.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc044.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc044.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc044.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc045.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc045.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc045.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc045.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc045.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc046.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc046.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc046.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc046.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc046.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc046.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc047.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc047.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc047.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc047.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc047.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc047.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc047.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc047.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc047.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc048.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc048.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc048.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc048.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc048.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc048.A11
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc048.A12
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc048.A13
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc048.A14
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc048.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc048.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc048.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc048.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc048.A15
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc049.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc049.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc049.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc049.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc049.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc049.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc049.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc049.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc050.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc050.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc050.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc050.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc050.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc050.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc050.A11
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc050.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc050.A12
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc050.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc050.A13
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc050.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc051.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc051.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc051.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc051.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc052.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc052.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc052.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc052.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc052.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc052.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc053.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc053.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc053.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc053.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc053.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc053.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc053.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc054.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc054.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc054.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc054.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc054.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc055.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc055.A02
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc055.A04
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc055.A13
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc055.A14
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc055.A15
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc055.A16
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc055.A17
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc055.A06
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc055.A07
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc055.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc055.A08
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc055.A12
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc055.A09
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc055.A10
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc055.A11
Missing rtf file: c:\16bit\debug\vetuec\master.prc\rtffiles\proc056.A01
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc056.A02
Missing rtf file: c:\16bit\debug\vetuec\master.prc\rtffiles\proc056.A03
Missing rtf file: c:\16bit\debug\vetuec\master.prc\rtffiles\proc056.A04
Missing rtf file: c:\16bit\debug\vetuec\master.prc\rtffiles\proc056.A05
Processing c:\16bit\debug\vetuec\master.prc\rtffiles\proc056.A06
Missing rtf file: c:\16bit\debug\vetuec\master.prc\rtffiles\proc056.A07
Missing rtf file: c:\16bit\debug\vetuec\master.prc\rtffiles\proc056.A08
Missing Transition Destination FRP-0.1|C0S - 28139
Missing Transition Destination EOP-0.0|C0S - 21691
Missing Transition Destination EOS-0.4|C0S - 22067
Missing Transition Destination ECA-3.2|C0S - 28223
Missing Transition Destination EOP-2.0|C0S - 21670
Missing Transition Destination EOS-0.3|C0S - 22066
Conversion completion time: 00:35:54.293

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<DataLoaderGlitches xmlns="http://www.volian.com">
<Glitches>
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.E-10 amps" NewText="10\up2 -10\up0 amps" />
</Glitches>
</DataLoaderGlitches>

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,144 @@
Computer Name: KATHY-VISTA
Data Set: c:\16bit\debug\vewcnemg\emgapp.prc
Processing C:\Users\Kathy.VOLIAN0\AppData\Local\Temp\tmp1A38.tmp
Processing C:\Users\Kathy.VOLIAN0\AppData\Local\Temp\tmp2489.tmp
Processing C:\Users\Kathy.VOLIAN0\AppData\Local\Temp\tmp2C68.tmp
Processing C:\Users\Kathy.VOLIAN0\AppData\Local\Temp\tmp3255.tmp
Processing C:\Users\Kathy.VOLIAN0\AppData\Local\Temp\tmp37F3.tmp
Processing C:\Users\Kathy.VOLIAN0\AppData\Local\Temp\tmp3D81.tmp
Processing C:\Users\Kathy.VOLIAN0\AppData\Local\Temp\tmp433F.tmp
Processing C:\Users\Kathy.VOLIAN0\AppData\Local\Temp\tmp490C.tmp
Processing C:\Users\Kathy.VOLIAN0\AppData\Local\Temp\tmp4F08.tmp
Processing C:\Users\Kathy.VOLIAN0\AppData\Local\Temp\tmp54B5.tmp
Processing C:\Users\Kathy.VOLIAN0\AppData\Local\Temp\tmp5A15.tmp
Processing c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc000.A03
Processing c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc000.A07
Bad Date/Time 00/00/0000 00000
ArgumentOutOfRangeException - Year, Month, and Day parameters describe an un-representable DateTime. at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day)
at System.DateTime..ctor(Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second)
at DataLoader.Loader.GetDTS(String date, String time) in C:\Development\PROMS\DataLoader\Loader.cs:line 200
Bad Date/Time 00/00/0000 00000
ArgumentOutOfRangeException - Year, Month, and Day parameters describe an un-representable DateTime. at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day)
at System.DateTime..ctor(Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second)
at DataLoader.Loader.GetDTS(String date, String time) in C:\Development\PROMS\DataLoader\Loader.cs:line 200
Bad Date/Time 00/00/0000 00000
ArgumentOutOfRangeException - Year, Month, and Day parameters describe an un-representable DateTime. at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day)
at System.DateTime..ctor(Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second)
at DataLoader.Loader.GetDTS(String date, String time) in C:\Development\PROMS\DataLoader\Loader.cs:line 200
Processing c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc007.A13
Processing c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc007.A03
Bad Date/Time 00/00/0000 00000
ArgumentOutOfRangeException - Year, Month, and Day parameters describe an un-representable DateTime. at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day)
at System.DateTime..ctor(Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second)
at DataLoader.Loader.GetDTS(String date, String time) in C:\Development\PROMS\DataLoader\Loader.cs:line 200
Processing c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc016.A09
Processing c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc016.A10
Processing c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc016.A18
Processing c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc016.A05
Processing c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc018.A07
Processing c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc018.A10
Processing c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc018.A05
Processing c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc053.A03
Processing c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc023.A05
Missing rtf file: c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc025.A02
Missing rtf file: c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc025.A18
Missing rtf file: c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc025.A05
Missing rtf file: c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc025.A06
Processing c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc025.A14
Missing rtf file: c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc025.A07
Missing rtf file: c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc025.A17
Processing c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc031.A04
Processing c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc031.A06
Processing c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc036.A05
Processing c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc036.A10
Processing c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc037.A07
Processing c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc037.A04
Processing c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc038.A04
Processing c:\16bit\debug\vewcnemg\emgapp.prc\rtffiles\proc043.A10
Missing Transition Destination EMG ES-02|E2S - 936
Data Set: c:\16bit\debug\vewcnemg\samgs.prc
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc000.A05
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc000.A07
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc000.A08
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc001.A05
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc001.A06
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc001.A08
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc002.A05
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc003.A09
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc003.A08
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc003.A07
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc003.A06
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc003.A05
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc004.A09
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc004.A08
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc004.A07
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc005.A09
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc005.A08
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc005.A05
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc006.A09
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc006.A06
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc006.A05
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc007.A09
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc007.A08
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc007.A07
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc007.A06
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc007.A13
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc007.A05
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc008.A09
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc008.A08
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc008.A06
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc008.A05
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc009.A09
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc009.A08
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc009.A07
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc009.A06
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc009.A13
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc009.A05
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc010.A09
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc010.A08
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc010.A05
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc011.A09
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc011.A08
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc011.A07
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc012.A09
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc012.A08
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc012.A07
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc012.A06
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc012.A05
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc013.A09
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc013.A05
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc014.A09
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc014.A06
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc014.A05
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc015.A09
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc015.A05
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc016.A09
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc020.A09
Processing c:\16bit\debug\vewcnemg\samgs.prc\rtffiles\proc024.A09
Unrecognized error in LoadSection proc025
OleDbException - The Microsoft Jet database engine could not find the object 'proc025'. Make sure the object exists and that you spell its name and the path name correctly. at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr)
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.OleDb.OleDbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable)
at DataLoader.Loader.LoadSection(DataSet ds, OleDbDataAdapter da, String FileName) in C:\Development\PROMS\DataLoader\Sections.cs:line 575
MigrateProcedure - proc025
OleDbException - The Microsoft Jet database engine could not find the object 'proc025'. Make sure the object exists and that you spell its name and the path name correctly. at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr)
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.OleDb.OleDbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable)
at DataLoader.Loader.MigrateProcedure(OleDbConnection cn, DataRow dr, Item FromItem, String pth, DocVersion docver, Boolean convertProcedures, FormatInfo activeFormat) in C:\Development\PROMS\DataLoader\Procedures.cs:line 192
Missing Transition Destination SAG-5|L?S - 19411
Missing Transition Destination SAG-7|J@S - 19567
Conversion completion time: 00:21:07.610

View File

@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="utf-8"?>
<DataLoaderGlitches xmlns="http://www.volian.com">
<Glitches>
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.0E5 CPS" NewText="10\up2 5\up0 CPS" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.0E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.0E-5%" NewText="6x10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.0E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.0E-5%" NewText="6x10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.25E6 lbm/hr" NewText="1.25x10\up2 6\up0 lbm/hr" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.0E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.0E-5%" NewText="6x10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.0E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.0E-5%" NewText="6x10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.25E6 lbm/hr" NewText="1.25x10\up2 6\up0 lbm/hr" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.0E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.0E-5%" NewText="6x10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.0E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.0E-5%" NewText="6x10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.25E6 lbm/hr" NewText="1.25x10\up2 6\up0 lbm/hr" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.0E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.0E-5%" NewText="6x10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.0E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.0E-5%" NewText="6x10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.0E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.0E-5%" NewText="6x10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.0E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.0E-5%" NewText="6x10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.25E6 lbm/hr" NewText="1.25x10\up2 6\up0 lbm/hr" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.0E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.0E-5%" NewText="6x10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.0E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.0E-5%" NewText="6x10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.25E6 lbm/hr" NewText="1.25x10\up2 6\up0 lbm/hr" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.0E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.0E-5%" NewText="6x10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.0E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.0E-5%" NewText="6x10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.25E6 lbm/hr" NewText="1.25x10\up2 6\up0 lbm/hr" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.0E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.0E-5%" NewText="6x10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.0E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.0E-5%" NewText="6x10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.25E6 lbm/hr" NewText="1.25x10\up2 6\up0 lbm/hr" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.0E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.0E-5%" NewText="6x10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.0E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.0E-5%" NewText="6x10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.0E5 R/hr" NewText="10\up2 5\up0 R/hr" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.0E5 R/hr" NewText="10\up2 5\up0 R/hr" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.0E6 R" NewText="10\up2 6\up0 R" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.0E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.0E-5%" NewText="6x10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.0E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.0E-5%" NewText="6x10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.0E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.0E-5%" NewText="6x10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="1.0E-10 amps" NewText="10\up2 -10\up0 amps" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="6.0E-5%" NewText="6x10\up2 -5\up0 %" />
<Glitch Cause="ConvertFortranFormatToScienctificNotation" OriginalText="2.5E6 ft3" NewText="2.5x10\up2 6\up0 ft3" />
</Glitches>
</DataLoaderGlitches>

View File

@@ -0,0 +1 @@
http://stackoverflow.com/questions/2118904/zip-and-unzip-string-with-deflate