| | |
| | | /// </summary> |
| | | public static string ParameterDataPath { get; private set; } |
| | | |
| | | /// <summary> |
| | | /// 产品数据目录 |
| | | /// </summary> |
| | | public static string ProductDataFolder { get; private set; } |
| | | public static string ProductParameterFolder { get; private set; } |
| | | |
| | | /// <summary> |
| | | /// 产品数据源文件 |
| | | /// </summary> |
| | | public static string ProductDataFile { get; private set; } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 测试项数据目录 |
| | |
| | | ParameterFolder = InitFolder(ConfigFolder + "\\Parameter"); |
| | | ParameterDataPath = ParameterFolder + "\\CommonParameter.data"; |
| | | |
| | | ProductDataFolder = InitFolder(ConfigFolder + "\\Product"); |
| | | ProductParameterFolder = InitFolder(ProductDataFolder + "\\Parameter"); |
| | | ProductDataFile = ProductDataFolder + "\\Product.data"; |
| | | //ProductDataFolder = InitFolder(ConfigFolder + "\\Product"); |
| | | //ProductParameterFolder = InitFolder(ProductDataFolder + "\\Parameter"); |
| | | //ProductDataFile = ProductDataFolder + "\\Product.data"; |
| | | |
| | | TestItemDataFolder = InitFolder(ProductDataFolder + "\\TestItem"); |
| | | // TestItemDataFolder = InitFolder(ProductDataFolder + "\\TestItem"); |
| | | TestItemDataFile = TestItemDataFolder + "\\TestItem.data"; |
| | | |
| | | LogViewerDir = InitFolder(ConfigFolder + "\\LogViewer"); |
| | |
| | | return Path; |
| | | } |
| | | |
| | | public static string BlockAlarmSettingPath() |
| | | { |
| | | string Path = RootPath() + "\\Config\\AlarmInfo\\BlockSetting.xml"; |
| | | return Path; |
| | | } |
| | | |
| | | public static string MarkAlarmSettingPath() |
| | | { |
| | | string Path = RootPath() + "\\Config\\AlarmInfo\\MarkSetting.xml"; |
| | | return Path; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 插件存储目录 |
| | | /// </summary> |
| | |
| | | Directory.CreateDirectory(path); |
| | | } |
| | | } |
| | | catch (Exception ex) |
| | | catch |
| | | { |
| | | |
| | | } |