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 { /// /// 生成备注方法的xml节点属性对象 /// /// 备注方法的xml节点 /// 备注方法的xml节点属性对象 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; } } }