Ver 2025.03.25.0
FrmLogParser :: LogFile DragDrop 패치
This commit is contained in:
@@ -7,6 +7,6 @@ using System.Threading.Tasks;
|
|||||||
namespace DDUtilityApp
|
namespace DDUtilityApp
|
||||||
{
|
{
|
||||||
|
|
||||||
public enum AccessType { SMB, FTP, FTPS, SFTP };
|
public enum AccessType { SMB, FTP, FTPS, SFTP, LOCAL };
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -300,7 +300,10 @@ namespace DDUtilityApp.LOGPARSER
|
|||||||
{
|
{
|
||||||
ListViewItem lviewItem = this.lviewFiles.Items.Add(Path.GetFileName(filePath));
|
ListViewItem lviewItem = this.lviewFiles.Items.Add(Path.GetFileName(filePath));
|
||||||
lviewItem.Checked = true;
|
lviewItem.Checked = true;
|
||||||
lviewItem.Tag = filePath;
|
LogFile logFile = new LogFile(filePath);
|
||||||
|
logFile.Account = new Account();
|
||||||
|
logFile.Account.Access = AccessType.LOCAL;
|
||||||
|
lviewItem.Tag = logFile;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.tboxEISInfo01.Clear();
|
this.tboxEISInfo01.Clear();
|
||||||
@@ -1311,6 +1314,7 @@ namespace DDUtilityApp.LOGPARSER
|
|||||||
XLogger.Instance.Info(lviewItem.Text);
|
XLogger.Instance.Info(lviewItem.Text);
|
||||||
|
|
||||||
LogFile logFile = lviewItem.Tag as LogFile;
|
LogFile logFile = lviewItem.Tag as LogFile;
|
||||||
|
if (logFile == null) continue;
|
||||||
switch(logFile.Account.Access)
|
switch(logFile.Account.Access)
|
||||||
{
|
{
|
||||||
case AccessType.SMB:
|
case AccessType.SMB:
|
||||||
@@ -1361,6 +1365,15 @@ namespace DDUtilityApp.LOGPARSER
|
|||||||
break;
|
break;
|
||||||
case AccessType.FTP:
|
case AccessType.FTP:
|
||||||
break;
|
break;
|
||||||
|
case AccessType.LOCAL:
|
||||||
|
{
|
||||||
|
destPath = Path.Combine(GlobalVariable.Instance.DownloadPath, "Local");
|
||||||
|
if (Directory.Exists(destPath) == false) Directory.CreateDirectory(destPath);
|
||||||
|
logFile.DestFullName = Path.Combine(destPath, logFile.FileName);
|
||||||
|
|
||||||
|
System.IO.File.Copy(logFile.FullName, logFile.DestFullName, true);
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
lstFileName.Add(logFile.DestFullName);
|
lstFileName.Add(logFile.DestFullName);
|
||||||
@@ -1377,7 +1390,7 @@ namespace DDUtilityApp.LOGPARSER
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
XLogger.Instance.Fatal(ex);
|
XLogger.Instance.Fatal(ex, true);
|
||||||
return this.StandardCollection;
|
return this.StandardCollection;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ namespace DDUtilityApp.LOGPARSER.PARSER
|
|||||||
}
|
}
|
||||||
catch (Exception ex01)
|
catch (Exception ex01)
|
||||||
{
|
{
|
||||||
XLogger.Instance.Fatal(ex01);
|
XLogger.Instance.Fatal(ex01, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (reader != null) reader.Close();
|
if (reader != null) reader.Close();
|
||||||
|
|||||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로
|
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로
|
||||||
// 지정되도록 할 수 있습니다.
|
// 지정되도록 할 수 있습니다.
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("2025.03.20.0")]
|
[assembly: AssemblyVersion("2025.03.25.0")]
|
||||||
[assembly: AssemblyFileVersion("2025.03.20.0")]
|
[assembly: AssemblyFileVersion("2025.03.25.0")]
|
||||||
|
|||||||
@@ -1117,6 +1117,8 @@ namespace DDUtilityApp.TIBRENDEZVOUS
|
|||||||
this.tboxSendMessage.Text = xmlReply.XmlData.GetText();
|
this.tboxSendMessage.Text = xmlReply.XmlData.GetText();
|
||||||
this.tboxSendMessage.Tag = xmlReply;
|
this.tboxSendMessage.Tag = xmlReply;
|
||||||
|
|
||||||
|
xmlReply.SendSubject = this.cboxSendSubject.Text;
|
||||||
|
|
||||||
if (xmlReply.IsReply && xmlReply.RequestMessage != null)
|
if (xmlReply.IsReply && xmlReply.RequestMessage != null)
|
||||||
if (!string.IsNullOrEmpty(xmlReply.RequestMessage.ReplySubject)) this.SendButtons_Focus(this.btnSendReply);
|
if (!string.IsNullOrEmpty(xmlReply.RequestMessage.ReplySubject)) this.SendButtons_Focus(this.btnSendReply);
|
||||||
else this.SendButtons_Focus(this.btnSend);
|
else this.SendButtons_Focus(this.btnSend);
|
||||||
|
|||||||
Reference in New Issue
Block a user