schangxiang@126.com
2025-11-04 f5ed29dc26c7cd952d56ec5721a2efc43cd25992
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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;
        }
    }
}