configset.cs
1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using ConfigHelper;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace testconfig
{
public static class configset
{
[MyConfigComment("软件是否自动启动")]
public static MyConfig<bool> App_AutoRun = false;
[MyConfigComment("软件窗口标题")]
public static MyConfig<string> App_Title = "SMD-BOX-XLC";
[MyConfigComment("软件语言")]
public static MyConfig<string> App_Language = "zh-CN";
[MyConfigComment("服务器识别ID")]
public static MyConfig<string> Server_CID = "";
[MyConfigComment("服务器地址")]
public static MyConfig<string> Server_Addr = "";
[MyConfigComment("是否启用蜂鸣器")]
public static MyConfig<bool> Device_EnableBuzzer = true;
[MyConfigComment("扫码识别类型")]
public static MyConfig<string[]> CodeScan_CodeType = new string[] { "QR Code" };
[MyConfigComment("扫码读码数量")]
public static MyConfig<int> CodeScan_CodeCount = 3;
[MyConfigComment("扫码读码匹配参数")]
public static MyConfig<string> CodeScan_ParamPath = "Conifg\\";
}
}