lixiaojun
2024-11-30 cb12c35c7af4350b0f38b6d90a15d8bd9796b8c5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
namespace Yw.EPAnet
{
    /// <summary>
    /// 模板辅助类
    /// </summary>
    public class TemplateHelper
    {
        //模板文件夹
        private const string _templateFolder = "template";
        //模板文件
        private const string _templateFile = "template.inp";
 
        /// <summary>
        /// 获取路径
        /// </summary>
        public static string GetPath()
        {
            return Path.Combine(Directory.GetCurrentDirectory(), _templateFolder, _templateFile);
        }
    }
}