static void ProcessMIN(string origin, string dest, string fileName) { //Execute the code for the MIN spreadsheet var usage = new DataSources.CMDB(); try { usage.ConvertUsageSheetToList(fileName, null, null); MoveFile(origin, dest, fileName); } catch (Exception ex) { Library.WriteLog(ex.ToString()); } }
static void ProcessFileSystem(string origin, string dest, string fileName) { //Execute the code for the File System spreadsheet var filesys = new DataSources.CMDB(); try { filesys.ConvertFileSystemSheetToList(fileName); MoveFile(origin, dest, fileName); } catch (Exception ex) { Library.WriteLog(ex.ToString()); } }
static void ProcessAvailability(string origin, string dest, string fileName) { //Execute the code for the Availability spreadsheet var avail = new DataSources.CMDB(); try { avail.ConvertSciLogicSheetToList(fileName); MoveFile(origin, dest, fileName); } catch (Exception ex) { Library.WriteLog(ex.ToString()); } }
static void ProcessPatching(string origin, string dest, string fileName) { //Execute the code for the Patching spreadsheet var patch = new DataSources.CMDB(); try { patch.ConvertPatchSheetToList(fileName); MoveFile(origin, dest, fileName); } catch (Exception ex) { Library.WriteLog(ex.ToString()); } }
static void ProcessEvents(string origin, string dest, string fileName) { //Execute the code for the Events spreadsheet var events = new DataSources.CMDB(); try { events.ConvertEventSheetToList(fileName); MoveFile(origin, dest, fileName); } catch (Exception ex) { Library.WriteLog(ex.ToString()); } }