| | |
| | | |
| | | public string LogoPath { get; private set; } = ".\\JingCeLogo.png"; |
| | | public string WindowTitle { get; private set; } = "产品测试平台"; |
| | | public string PlcIp { get; private set; } |
| | | public string PlcIp { get; private set; } = "127.0.0.1"; |
| | | public int PlcPort { get; private set; } = 102; |
| | | public bool PlcEnabled { get; private set; } |
| | | public string CurrentLanguage { get; private set; } = "zh-CN"; |
| | | public int LogExpiredDays { get; private set; } = 7; |
| | | |
| | | private static void LoadFromXml() |
| | | { |
| | |
| | | set { Set(ref plcIp, value); } |
| | | } |
| | | |
| | | private int plcPort; |
| | | public int PlcPort |
| | | { |
| | | get => plcPort; |
| | | set { Set(ref plcPort, value); } |
| | | } |
| | | |
| | | private bool plcEnabled; |
| | | public bool PlcEnabled |
| | | { |
| | |
| | | get => currentLanguage; |
| | | set { Set(ref currentLanguage, value); } |
| | | } |
| | | |
| | | private int logExpiredDays; |
| | | public int LogExpiredDays |
| | | { |
| | | get => logExpiredDays; |
| | | set { Set(ref logExpiredDays, value); } |
| | | } |
| | | } |
| | | } |