You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.6 KiB
C#

9 months ago
using SlnMesnac.RfidUpload.Common;
using System;
using System.Collections.Generic;
using System.Text;
#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* (c) 2024 WenJY
* CLR4.0.30319.42000
* T14-GEN3-7895
* SlnMesnac.RfidUpload.Model.config
* 8dc07598-dc8a-4ae3-9f67-bc77314a266e
*
* WenJY
*
* 2024-05-28 14:09:03
* V1.0.0
*
*
*--------------------------------------------------------------------
*
*
*
*
* V1.0.0
*--------------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
namespace SlnMesnac.RfidUpload.Model.config
{
public class AppConfig
{
private static readonly Lazy<AppConfig> lazy = new Lazy<AppConfig>(() => new AppConfig());
//private static StringChange stringChange = StringChange.Instance;
public static AppConfig Instance
{
get
{
return lazy.Value;
}
}
private AppConfig()
{
}
private static INIFile iNIFile = new INIFile(System.Environment.CurrentDirectory + "/App.InI");
/// <summary>
/// 过滤间隔
/// </summary>
public string filterInterval
{
get { return iNIFile.IniReadValue("SystemConfig", "FilterInterval"); }
set { iNIFile.IniWriteValue("SystemConfig", "FilterInterval", value.ToString()); }
}
}
}