Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
ACSingleStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 9526becb
由
LN
编写于
2020-02-27 18:12:26 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
增加调试状态按钮
1 个父辈
e3a55949
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
53 行增加
和
4 行删除
source/ACSingleStore/FrmStoreBox.Designer.cs
source/ACSingleStore/FrmStoreBox.cs
source/ACSingleStore/resource/language.resource
source/ACSingleStore/resource/zh-CN.resource
source/ACSingleStore/记录.txt
source/ACSingleStore/FrmStoreBox.Designer.cs
查看文件 @
9526bec
...
...
@@ -31,6 +31,7 @@
this
.
notifyIcon1
=
new
System
.
Windows
.
Forms
.
NotifyIcon
(
this
.
components
);
this
.
tabControl2
=
new
System
.
Windows
.
Forms
.
TabControl
();
this
.
tabPage4
=
new
System
.
Windows
.
Forms
.
TabPage
();
this
.
chbIsDebug
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
chbBuzzer
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
btnStoreExit
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnStoreHome
=
new
System
.
Windows
.
Forms
.
Button
();
...
...
@@ -237,6 +238,7 @@
//
// tabPage4
//
this
.
tabPage4
.
Controls
.
Add
(
this
.
chbIsDebug
);
this
.
tabPage4
.
Controls
.
Add
(
this
.
chbBuzzer
);
this
.
tabPage4
.
Controls
.
Add
(
this
.
btnStoreExit
);
this
.
tabPage4
.
Controls
.
Add
(
this
.
btnStoreHome
);
...
...
@@ -252,12 +254,25 @@
this
.
tabPage4
.
Text
=
" 料仓操作 "
;
this
.
tabPage4
.
UseVisualStyleBackColor
=
true
;
//
// chbIsDebug
//
this
.
chbIsDebug
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
chbIsDebug
.
AutoSize
=
true
;
this
.
chbIsDebug
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbIsDebug
.
Location
=
new
System
.
Drawing
.
Point
(
710
,
13
);
this
.
chbIsDebug
.
Name
=
"chbIsDebug"
;
this
.
chbIsDebug
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
24
);
this
.
chbIsDebug
.
TabIndex
=
272
;
this
.
chbIsDebug
.
Text
=
"调试状态"
;
this
.
chbIsDebug
.
UseVisualStyleBackColor
=
true
;
this
.
chbIsDebug
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
chbIsDebug_CheckedChanged
);
//
// chbBuzzer
//
this
.
chbBuzzer
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
chbBuzzer
.
AutoSize
=
true
;
this
.
chbBuzzer
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbBuzzer
.
Location
=
new
System
.
Drawing
.
Point
(
736
,
13
);
this
.
chbBuzzer
.
Location
=
new
System
.
Drawing
.
Point
(
848
,
13
);
this
.
chbBuzzer
.
Name
=
"chbBuzzer"
;
this
.
chbBuzzer
.
Size
=
new
System
.
Drawing
.
Size
(
98
,
24
);
this
.
chbBuzzer
.
TabIndex
=
271
;
...
...
@@ -294,7 +309,7 @@
this
.
chbAuto
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
chbAuto
.
AutoSize
=
true
;
this
.
chbAuto
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbAuto
.
Location
=
new
System
.
Drawing
.
Point
(
890
,
13
);
this
.
chbAuto
.
Location
=
new
System
.
Drawing
.
Point
(
965
,
13
);
this
.
chbAuto
.
Name
=
"chbAuto"
;
this
.
chbAuto
.
Size
=
new
System
.
Drawing
.
Size
(
112
,
24
);
this
.
chbAuto
.
TabIndex
=
270
;
...
...
@@ -2127,6 +2142,7 @@
private
ACPackingStore
.
AxisMoveControl
axisMoveControl1
;
private
System
.
Windows
.
Forms
.
Button
btnUpdown
;
private
System
.
Windows
.
Forms
.
Button
btnLan
;
private
System
.
Windows
.
Forms
.
CheckBox
chbIsDebug
;
}
}
source/ACSingleStore/FrmStoreBox.cs
查看文件 @
9526bec
...
...
@@ -147,6 +147,7 @@ namespace OnlineStore.ACSingleStore
notifyIcon1
.
Text
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
App_Title
);
this
.
chbBuzzer
.
Checked
=
store
.
UseBuzzer
;
axisMoveControl1
.
LoadData
(
store
,
store
.
moveAxisList
.
ToArray
());
chbIsDebug
.
Checked
=
store
.
IsDebug
;
LoadOk
=
true
;
HideForm
();
this
.
Opacity
=
1
;
...
...
@@ -1154,5 +1155,31 @@ namespace OnlineStore.ACSingleStore
// this.richTextBox1.Clear();
//}
}
private
void
chbIsDebug_CheckedChanged
(
object
sender
,
EventArgs
e
)
{
if
(!
LoadOk
)
{
return
;
}
if
(
chbIsDebug
.
Checked
.
Equals
(
store
.
IsDebug
))
{
return
;
}
if
(
chbIsDebug
.
Checked
)
{
store
.
IsDebug
=
true
;
LogUtil
.
info
(
"勾选:调试模式"
);
store
.
Config
.
IsInDebug
=
1
;
StoreManager
.
UpdateBoxConfig
(
store
.
Config
);
}
else
{
store
.
IsDebug
=
false
;
LogUtil
.
info
(
"去掉:调试模式"
);
store
.
Config
.
IsInDebug
=
0
;
StoreManager
.
UpdateBoxConfig
(
store
.
Config
);
}
}
}
}
source/ACSingleStore/resource/language.resource
查看文件 @
9526bec
...
...
@@ -297,4 +297,5 @@ trayHeight,料盘高度,Reel height,
开启DEBUG,开启DEBUG, Open DEBUG
出库{0}叉子从库位退出后,未检测到料盘有料,出库{0}叉子从库位退出后,未检测到料盘有料,Outgoing {0} after the fork exits from the storage,no material on the tray is detected
左侧门未关,左侧门未关,Left door open
右侧门未关,右侧门未关,Right door open
\ No newline at end of file
右侧门未关,右侧门未关,Right door open
FrmStoreBox_chbIsDebug_Text,调试状态,debug mode
\ No newline at end of file
source/ACSingleStore/resource/zh-CN.resource
查看文件 @
9526bec
...
...
@@ -336,4 +336,4 @@ FrmAbout_btnCopy_Text=复制编号
FrmAbout_lblCodeName_Text=软件编号:52 43 2D 44 4C 2D 41 43 53 69 6E 67 6C 65 53 74 6F 72 65
FrmAbout_lblTime_Text=更新时间:2020-02-07 11:35
FrmAbout_lblVersion_Text=版本号:1.0.7342.20852
FrmAbout_btnNext_Text=确定
FrmAbout_btnNext_Text=确定
\ No newline at end of file
source/ACSingleStore/记录.txt
查看文件 @
9526bec
...
...
@@ -108,3 +108,8 @@ DeCodeType=解码类型,0=halcon,1=zxing解码 西安料仓解析方式。2=
出入库拿到料盘和放下料盘必须判断叉子料盘检测信号
英文版本显示中文日志
20200227
增加调试状态按钮。
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论