Beispiel #1
0
        private static RegFileInfo ParseRegFile(string regFile)
        {
            string setupTaxCode = SetupTaxCode;

            if (((SetupTaxCode.Length > 15) && (SetupOrgCode != null)) && (SetupOrgCode.Length > 0))
            {
                setupTaxCode = setupTaxCode + SetupOrgCode;
            }
            qwe qw = new qwe();

            if (Xihaa.abc(regFile, setupTaxCode, SetupMachine, DateTime.Now.ToString("yyyyMMdd"), ref qw) == 0)
            {
                return(new RegFileInfo(regFile, qw, new FileInfo(regFile).LastWriteTime)
                {
                    ErrCode = "0000"
                });
            }
            return(new RegFileInfo(regFile, qw, new FileInfo(regFile).LastWriteTime)
            {
                ErrCode = "910101"
            });
        }
Beispiel #2
0
 public RegFileInfo(string fileName, qwe fileContent, DateTime fileModifyDate)
 {
     this.fileName       = fileName;
     this.fileContent    = fileContent;
     this.fileModifyDate = fileModifyDate;
 }
Beispiel #3
0
 public static extern uint abc(string fileName, string taxCode, ushort branchNo, string date, ref qwe qw);