using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using System.Xml;
|
using XImagingXhandler.XDAL;
|
|
namespace XCore
|
{
|
public class GroupBll
|
{
|
/// <summary>
|
/// 生成备注方法的xml节点属性对象
|
/// </summary>
|
/// <param name="xmlNode">备注方法的xml节点</param>
|
/// <returns>备注方法的xml节点属性对象</returns>
|
public MethodCombination GenerateMethodGroup(XmlNode xmlNode)
|
{
|
MethodCombination methodCombination = new MethodCombination();
|
methodCombination.isrun = xmlNode.SelectSingleNode("isrun").InnerText;
|
methodCombination.status = xmlNode.SelectSingleNode("status").InnerText;
|
methodCombination.name = xmlNode.SelectSingleNode("name").InnerText;
|
methodCombination.strIndex = xmlNode.SelectSingleNode("strIndex").InnerText;
|
methodCombination.label = xmlNode.SelectSingleNode("label").InnerText;
|
methodCombination.title = xmlNode.SelectSingleNode("title").InnerText;
|
methodCombination.remark = xmlNode.SelectSingleNode("remark").InnerText;
|
return methodCombination;
|
}
|
}
|
}
|