초기 커밋.

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

49
JWH/TIB/MessageValue.cs Normal file
View File

@@ -0,0 +1,49 @@
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Xml;
using JWH;
namespace JWH.TIB
{
public class MessageValue
{
public string Name { get; set; } = string.Empty;
public string Value { get; set; } = string.Empty;
public string Format { get; set; } = string.Empty;
public List<string> Values { get; set; } = new List<string>();
public MethodInfo Method { get; set; } = null;
public List<string> Parameters { get; set; } = new List<string>();
public MessageValue()
{
}
public MessageValue(XmlNode node)
{
try
{
node.PropertiesCopyAttribute(this);
this.Value = node.InnerText;
}
catch (Exception ex)
{
XLogger.Instance.Fatal(ex);
}
}
public override string ToString()
{
return $"{this.Name}={this.Value}";
}
}
}