| | |
| | | /// 启用扫码换型 |
| | | /// </summary> |
| | | public static bool EnableAutoModel { get; private set; } = false; |
| | | public static string ShareConfig { get; private set; } = null; |
| | | public static bool ShowBurnInAbort { get; private set; } = true; |
| | | public static string SocketNames { get; private set; } = string.Empty; |
| | | |
| | | static ParamSetting() |
| | | { |
| | |
| | | { |
| | | |
| | | } |
| | | |
| | | try |
| | | { |
| | | ShareConfig = ParameterManager.GetCommonParameterByName<string>("ShareConfig", null); |
| | | } |
| | | catch |
| | | { |
| | | |
| | | } |
| | | |
| | | try |
| | | { |
| | | ShowBurnInAbort = ParameterManager.GetCommonParameterByName<bool>("ShowBurnInAbort", true); |
| | | } |
| | | catch |
| | | { |
| | | |
| | | } |
| | | |
| | | try |
| | | { |
| | | SocketNames = ParameterManager.GetCommonParameterByName<string>("SocketNames", string.Empty); |
| | | } |
| | | catch |
| | | { |
| | | |
| | | } |
| | | } |
| | | } |
| | | } |