파일일자 변경 ToLocalTime
This commit is contained in:
@@ -30,8 +30,6 @@ namespace DDUtilityApp
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
|
||||
Form frm = null;
|
||||
bool isShowServerLodDownload = false;
|
||||
|
||||
if (args.Length > 0)
|
||||
{
|
||||
if (string.Compare(args[0], "FrmLogParser", true) == 0 && args.Length >= 3)
|
||||
@@ -57,10 +55,6 @@ namespace DDUtilityApp
|
||||
}
|
||||
frm = frmFDCMongo;
|
||||
}
|
||||
if (string.Compare(args[0], "daeduck!1") == 0)
|
||||
{
|
||||
isShowServerLodDownload = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (frm == null)
|
||||
@@ -74,16 +68,16 @@ namespace DDUtilityApp
|
||||
frmMain.FormBorderStyle = FormBorderStyle.FixedDialog;
|
||||
|
||||
#region [ 버튼 생성 정보 ]
|
||||
frmMain.Buttons.Add("EIS Log Viewer", new EisParser0());
|
||||
frmMain.Buttons.Add(new DynamicControl("EIS Log Viewer", new EisParser0()));
|
||||
//frmMain.Buttons.Add("MES Log Download", typeof(MESDOWNLOADER.ServerLog));
|
||||
if (isShowServerLodDownload) frmMain.Buttons.Add("ServerLog Download", typeof(MESDOWNLOADER.FrmServerLog));
|
||||
//frmMain.Buttons.Add("MIS Log Viewer", new AgvParser()); // 제거
|
||||
frmMain.Buttons.Add("FDC Mongo Viewer", typeof(MONGO.FrmFDCMongo));
|
||||
frmMain.Buttons.Add("HSMS Converter", typeof(LOGPARSER.FrmHsmsViewer));
|
||||
frmMain.Buttons.Add("TIB Simulator", typeof(TIBRENDEZVOUS.FrmSimulator01));
|
||||
frmMain.Buttons.Add("TibcoConfig.Xml", typeof(ETC.FrmTIbcoConfig));
|
||||
frmMain.Buttons.Add(new DynamicControl("ServerLog Download", typeof(MESDOWNLOADER.FrmServerLog), false));
|
||||
//frmMain.Buttons.Add("MIS Log Viewer", new AgvParser());
|
||||
frmMain.Buttons.Add(new DynamicControl("FDC Mongo Viewer", typeof(MONGO.FrmFDCMongo)));
|
||||
frmMain.Buttons.Add(new DynamicControl("HSMS Converter", typeof(LOGPARSER.FrmHsmsViewer)));
|
||||
frmMain.Buttons.Add(new DynamicControl("TIB Simulator", typeof(TIBRENDEZVOUS.FrmSimulator01)));
|
||||
frmMain.Buttons.Add(new DynamicControl("TibcoConfig.Xml", typeof(ETC.FrmTIbcoConfig)));
|
||||
#if DEBUG
|
||||
frmMain.Buttons.Add("FTP Test", typeof(SPECDOCUMENT.FrmSpecDocument));
|
||||
frmMain.Buttons.Add(new DynamicControl("FTP Test", typeof(SPECDOCUMENT.FrmSpecDocument)));
|
||||
#endif
|
||||
#endregion
|
||||
|
||||
@@ -224,4 +218,24 @@ namespace DDUtilityApp
|
||||
|
||||
}
|
||||
|
||||
public class DynamicControl
|
||||
{
|
||||
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
public object Value { get; set; } = null;
|
||||
|
||||
public bool Visible { get; set; } = true;
|
||||
|
||||
public DynamicControl(string name, object value, bool visible = true)
|
||||
{
|
||||
this.Name = name;
|
||||
this.Value = value;
|
||||
this.Visible = visible;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user