초기 커밋.

This commit is contained in:
2025-02-03 11:02:48 +09:00
parent a7d46f415f
commit fe9aa0799f
2334 changed files with 674826 additions and 0 deletions

View File

@@ -0,0 +1,61 @@
using DDUtilityApp.SECS;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace DDUtilityApp.LOGPARSER
{
public partial class FrmSecsDefine : Form
{
public SECSDefine SECSDefine { get; set; }
public FrmSecsDefine()
{
InitializeComponent();
this.SetLayout();
this.SetEventHandler();
}
public FrmSecsDefine(SECSDefine secsDefine) : this()
{
this.SECSDefine = secsDefine;
this.SetMessage();
}
protected void SetLayout()
{
this.tboxMessage.Font = new Font("돋움체", 9.0F);
this.tboxMessage.WordWrap = false;
}
protected void SetEventHandler()
{
}
private void SetMessage()
{
if (this.SECSDefine == null) return;
StringBuilder sb = new StringBuilder();
foreach (CEID ceid in this.SECSDefine.CeidCollection.OrderBy(item => int.Parse(item.ID)))
{
sb.AppendLine(ceid.ToXml());
sb.AppendLine();
}
this.tboxMessage.Text = sb.ToString();
this.tboxMessage.SelectionStart = 0;
}
}
}