Setting_Init.cs
5.4 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace URSoldering.Common
{
/// <summary>
/// 记录配置的key
/// </summary>
public class Setting_Init
{
/// <summary>
/// 1时自动启动,并隐藏窗口,=0时不需要
/// </summary>
public static string App_AutoRun = "App_AutoRun";
/// <summary>
/// 系统主界面标题
/// </summary>
public static string App_Title = "App_Title";
public static string Robot_CID = "Robot_CID";
public static string Robot_ConfigPath = "Robot_ConfigPath";
public static string Robot_Type = "Robot_Type";
public static string AOIFileConfig = "AOIFileConfig";
/// <summary>
/// 检测焊点文件
/// </summary>
public static string AOICheckPointFile = "AOICheckPointFile";
public static string ISDebug = "ISDebug";
public static string WorkCount_ConfigPath = "WorkCount_ConfigPath";
#region 焊接机器人配置
public static string ScanCodeConfig = "ScanCodeConfig";
/// <summary>
/// 元器件库目录
/// </summary>
public static string Component_ConfigPath = "Component_ConfigPath";
public static string Board_ConfigPath = "Board_ConfigPath";
public static string Default_BoardID = "Default_BoardID";
/// <summary>
/// 原点坐标信息
/// </summary>
public static string BOARD_ORIGIN_X = "Board_Origin_X";
public static string BOARD_ORIGIN_Y = "Board_Origin_Y";
public static string BOARD_IMAGE_PATH = "Board_Image_Path";
public static string BOARD_IMAGE_DEFAULT = "BOARD_IMAGE_DEFAULT";
/// <summary>
/// 焊接机器人待机点
/// </summary>
public static string Soldering_Home_Y = "Soldering_Home_Y";
public static string Soldering_Home_X = "Soldering_Home_X";
public static string Soldering_Home_U = "Soldering_Home_U";
public static string Soldering_Home_Z = "Soldering_Home_Z";
public static string Soldering_Home_Hand = "Soldering_Home_Hand";
/// <summary>
/// 焊接机器人清洗点1
/// </summary>
public static string Soldering_Clear_Y_1 = "Soldering_Clear_Y_1";
public static string Soldering_Clear_X_1 = "Soldering_Clear_X_1";
public static string Soldering_Clear_U_1 = "Soldering_Clear_U_1";
public static string Soldering_Clear_Z_1 = "Soldering_Clear_Z_1";
public static string Soldering_Clear_Hand_1 = "Soldering_Clear_Hand_1";
/// <summary>
/// 焊接机器人清洗点2
/// </summary>
public static string Soldering_Clear_Y_2 = "Soldering_Clear_Y_2";
public static string Soldering_Clear_X_2 = "Soldering_Clear_X_2";
public static string Soldering_Clear_U_2 = "Soldering_Clear_U_2";
public static string Soldering_Clear_Z_2 = "Soldering_Clear_Z_2";
public static string Soldering_Clear_Hand_2 = "Soldering_Clear_Hand_2";
public static string Soldering_LIM_Z = "Soldering_LIM_Z";
public static string Soldering_U_Min = "Soldering_U_Min";
public static string Soldering_X_Min = "Soldering_X_Min";
public static string Soldering_Y_Min = "Soldering_Y_Min";
public static string Soldering_Z_Min = "Soldering_Z_Min";
public static string Soldering_U_Max = "Soldering_U_Max";
public static string Soldering_X_Max = "Soldering_X_Max";
public static string Soldering_Y_Max = "Soldering_Y_Max";
public static string Soldering_Z_Max = "Soldering_Z_Max";
public static string SendWire_Change = "SendWire_Change";
public static string Slave_ID = "Slave_ID";
/// <summary>
/// 是否是高速运行,1=高速
/// </summary>
public static string Robot_IsHigh = "Robot_IsHigh";
/// <summary>
/// 空闲多久需要休眠,=0表示不需要休眠,>0表示秒数,
/// </summary>
public static string SleepSeconds = "SleepSeconds";
/// <summary>
/// 送丝器恢复后需要持续的时间
/// </summary>
public static string SendWireRecoverSeconds = "SendWireRecoverSeconds";
public static string ReverseSendWireSpeed = "ReverseSendWireSpeed";
public static string ReverseSendWireTime = "ReverseSendWireTime";
/// <summary>
/// 摄像机名称,多个中间使用#分割
/// </summary>
public static string CameraName = "CameraName";
/// <summary>
/// 需要识别的条码类型,多个中间使用#分割
/// </summary>
public static string CodeType = "CodeType";
/// <summary>
/// 配置文件路径 Data Matrix ECC 200.dcm
/// </summary>
public static string CodeParamPath = "CodeParamPath";
/// <summary>
/// 是否需要连接Mes,1=需要,0不需要
/// </summary>
public static string Mes_IsConnect = "Mes_IsConnect";
public static string VideoCameraName = "VideoCameraName";
//public static string CodeCameraName = "CodeCameraName";
#endregion
public static string AOIWaitSeconds = "AOIWaitSeconds";
public static string HasSoldering = "HasSoldering";
public static string Config_Pwd = "Config_Pwd";
public static object ShuoKe_Control_SerialPort { get; set; }
}
}