From 56a231ed473eb6d0cb7daa3acfe0b197bcc35970 Mon Sep 17 00:00:00 2001 From: Sean Date: Wed, 24 Apr 2024 13:36:17 -0400 Subject: [PATCH] Commit Latest --- App.config | 4 ++-- Program.cs | 25 ++++++++++++++++++++++++- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/App.config b/App.config index 121871a..fa28871 100644 --- a/App.config +++ b/App.config @@ -18,7 +18,7 @@ - - + + diff --git a/Program.cs b/Program.cs index a2f1f02..ed69cf4 100644 --- a/Program.cs +++ b/Program.cs @@ -610,7 +610,6 @@ namespace MarketData return sb.ToString(); } - // ******************************************************************************* // ********************************************************************************************************** static int Main(string[] args) @@ -623,6 +622,30 @@ namespace MarketData Trace.Listeners.Add(new TextWriterTraceListener(strLogFile)); DateTime currentDate=DateTime.Now; + + //String destinationFolder = @"c:\3\1"; + //ImageHelper imageHelper = new ImageHelper(); + //String[] files = Directory.GetFiles(@"\\IO\Media\Thumbnails\1\","*.jpg"); + //foreach(String file in files) + //{ + // try + // { + // String fileName = Path.GetFileName(file); + // String pathFileName = destinationFolder +@"\" + fileName; + // Console.WriteLine(String.Format("Reading {0}",file)); + // imageHelper.LoadImage(file); + // imageHelper.Resize(128,128); + // Console.WriteLine(String.Format("Writing {0}",pathFileName)); + // imageHelper.SaveGrayScaleJPG(pathFileName); + // } + // catch(Exception exception) + // { + // Console.WriteLine(exception.ToString()); + // } + //} + + + DateTime maxHolidayDate =HolidayDA.GetMaxHolidayDate(); if(currentDate>maxHolidayDate) {