Exemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="workSheet"></param>
 public CapaSsme(ExcelWorksheet workSheet)
 {
     NcmDataTable = new DataTableBuilder(workSheet);
     InitializeDataTable();
     if (File.Exists(ConfigFilePath))
     {
         ReadConfiXml();
         MatchProductName();
         isConfigFileExists = true;
     }
     else
     {
         CreateConfigXml();
     }
 }
Exemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="filePath"></param>
 /// <param name="page"></param>
 public CapaSsme(string filePath, int page = 1)
 {
     NcmDataTable = new DataTableBuilder(filePath, page);
     InitializeDataTable();
     if (File.Exists(ConfigFilePath))
     {
         ReadConfiXml();
         MatchProductName();
         isConfigFileExists = true;
     }
     else
     {
         CreateConfigXml();
     }
 }