1234567891011121314 |
- namespace ConfigOperator;
- public class Paths
- {
- public static string LocalPath { get; } = Environment.CurrentDirectory;
- private static string MainFolder { get; } = new DirectoryInfo(LocalPath!)!.Parent!.FullName;
- public static string ConfigFileFolder { get; } = Path.Combine(MainFolder, "Settings", "ConfigFiles");
- public static string HardwareFolder { get; } = Path.Combine(MainFolder, "Settings", "Hardwares");
- public static string IOListFolder { get; } = Path.Combine(MainFolder, "Settings", "IOList");
- public static string PLCIOListFolder { get; } = Path.Combine(MainFolder, "Settings", "PLCIOList");
- public static string PLCChannelIOListFolder { get; } = Path.Combine(MainFolder, "Settings", "PLCIOList","PLCChannel");
- public static string BaseFolder { get; } = Path.Combine(MainFolder, "Settings", "Base");
- }
|