Setting_Init.cs
4.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ConfigHelper;
namespace OnlineStore.Common
{
/// <summary>
/// 记录配置的key
/// </summary>
public class Setting_Init
{
[MyConfigComment("程序开机自启动")]
public static MyConfig<bool> App_AutoRun = false;
/// <summary>
/// 系统主界面标题
/// </summary>
[MyConfigComment("系统主界面标题")]
public static MyConfig<string> App_Title="Cycle Line";
[MyConfigComment("服务器地址")]
public static MyConfig<string> Device_Server_Address = "http://192.168.1.243/smf-core";
[MyConfigComment("Mycronic料仓服务器IP")]
public static MyConfig<string> Device_StoreServerURL = "http://192.168.160.29:8585/RtTower.WebService/";
[MyConfigComment("设备界面语言")]
public static MyConfig<string> Device_Default_Language = "zh-CN";
[MyConfigComment("设备ID")]
public static MyConfig<string> Device_CID = "01";
[MyConfigComment("是否启用蜂鸣器")]
public static MyConfig<bool> Device_EnableBuzzer = true;
[MyConfigComment("屏蔽日志窗口")]
public static MyConfig<bool> Device_DisableLogWindow = true;
[MyConfigComment("出库任务数量大于值时治具托盘全部从LS3转移走")]
public static MyConfig<int> Device_LS3_MTP2_OutTaskMaxCount = 5;
[MyConfigComment("出库任务数量大于值时料盘托盘全部从LS3转移走")]
public static MyConfig<int> Device_LS3_MTP1_OutTaskMaxCount = 5;
[MyConfigComment("URRobot_MI1_IP")]
public static MyConfig<string> URRobot_MI1_IP;
[MyConfigComment("URRobot_MI1_监听端口")]
public static MyConfig<int> URRobot_MI1_ListenPort = 21;
[MyConfigComment("URRobot_MI1_速度倍率")]
public static MyConfig<int> URRobot_MI1_Speed_Rate = 50;
[MyConfigComment("URRobot_MI2_IP")]
public static MyConfig<string> URRobot_MI2_IP;
[MyConfigComment("URRobot_MI2_监听端口")]
public static MyConfig<int> URRobot_MI2_ListenPort = 41;
[MyConfigComment("URRobot_MI2_速度倍率")]
public static MyConfig<int> URRobot_MI2_Speed_Rate = 50;
[MyConfigComment("URRobot_CI_IP")]
public static MyConfig<string> URRobot_CI_IP;
[MyConfigComment("URRobot_CI_速度倍率")]
public static MyConfig<int> URRobot_CI_Speed_Rate = 50;
[MyConfigComment("URRobot_CI_监听端口")]
public static MyConfig<int> URRobot_CI_ListenPort = 31;
[MyConfigComment("VJ点料机串口端口号")]
public static MyConfig<string> VJCounter_COMPORT = "COM5";
[MyConfigComment("VJ点料机串口比特率")]
public static MyConfig<int> VJCounter_BaudRate = 115200;
[MyConfigComment("VJ点料机数据共享路径")]
public static MyConfig<string> Device_VJCounterFolder = "\\\\XQUIKII-3679\\Sample Log Directory";
/// <summary>
/// 摄像机名称
/// </summary>
[MyConfigComment("摄像机名称列表#号分割")]
public static MyConfig<string> CameraScan_CameraName = "CameraName";
[MyConfigComment("扫码类型清单#号分割")]
public static MyConfig<string> CameraScan_CodeType = "QR Code#Data Matrix ECC 200";
[MyConfigComment("扫码学习文件保存目录")]
public static MyConfig<string> CameraScan_CodeParamPath = "CodeParam";
[MyConfigComment("二维码扫码最大数量")]
public static MyConfig<int> CameraScan_QRCodeCount = 3;
[MyConfigComment("二维码扫码超时毫秒")]
public static MyConfig<int> CameraScan_CodeTimeOut = 3000;
[MyConfigComment("管理员密码")]
public static MyConfig<string> User_AdminPassword = "1";
[MyConfigComment("启用管理员密码")]
public static MyConfig<bool> User_Enable = false;
public static MyConfig<string> Runtime_OutStoreReelInfo;
//public static MyConfig<string> Runtime_Robot_ReelInfo;
//public static MyConfig<string> Runtime_Robot_FromPos;
//public static MyConfig<string> Runtime_Robot_ToPos;
}
}