-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathConstants.cs
21 lines (16 loc) · 953 Bytes
/
Constants.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Constants
using System;
using System.IO;
using System.Reflection;
using MultiExcelMultiDoor;
public class Constants
{
public string DWG_CORNER_PATH = INIHelper.IniReadValue("FILEPATH", "DWGCornerPath", "无");
public string DWG_BLOCK_PATH = INIHelper.IniReadValue("FILEPATH", "DWGBlOCKPATH", "无");
public string EXCEL_PATH = INIHelper.IniReadValue("FOlDERPATH", "EXCELCornerPath", "无");
public string EXCEL__POLY_PATH = INIHelper.IniReadValue("FOlDERPATH", "EXCELPolyPath", "无");
public string DXF_SAVE_PATH = INIHelper.IniReadValue("FOlDERPATH", "DXFPath", "无");
public string DWG_SAVE_PATH = INIHelper.IniReadValue("FOlDERPATH", "DWGPath", "无");
public string BorderlayerName = INIHelper.IniReadValue("LAYERNAME", "layer", "无");
public static string assemblyDirectory => Path.GetDirectoryName(Uri.UnescapeDataString(new UriBuilder(Assembly.GetExecutingAssembly().CodeBase).Path));
}