1234567891011121314151617181920212223242526272829303132333435 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Xml;
- using Aitex.Common.Util;
- using Aitex.Core.RT.Event;
- using Aitex.Core.RT.Log;
- namespace MECF.Framework.Common.RecipeCenter
- {
- public class DefaultEapMapFileContext : IEapMapFileContext
- {
- public string GetConfigXml()
- {
- try
- {
- string configContent = PathManager.GetCfgDir() + @"\EAPMap.xml";
- XmlDocument xmlDom = new XmlDocument();
- xmlDom.Load(configContent);
- return xmlDom.OuterXml;
- }
- catch (Exception ex)
- {
- LOG.Write(ex);
- return "";
- }
- }
- }
- }
|