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" }); }
public RegFileInfo(string fileName, qwe fileContent, DateTime fileModifyDate) { this.fileName = fileName; this.fileContent = fileContent; this.fileModifyDate = fileModifyDate; }
public static extern uint abc(string fileName, string taxCode, ushort branchNo, string date, ref qwe qw);