Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
ACSingleStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 3cc47606
由
几米阳光
编写于
2019-03-13 14:51:02 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
3.增加启用调试开关。
1 个父辈
9895791e
全部展开
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
39 行增加
和
22 行删除
source/ACSingleStore/FrmAxisDebug.cs
source/ACSingleStore/FrmStoreBox.Designer.cs
source/ACSingleStore/FrmStoreBox.cs
source/ACSingleStore/FrmStoreBox.resx
source/ACSingleStore/记录.txt
source/Common/util/HumitureController.cs
source/ACSingleStore/FrmAxisDebug.cs
查看文件 @
3cc4760
...
@@ -48,7 +48,7 @@ namespace OnlineStore.ACSingleStore
...
@@ -48,7 +48,7 @@ namespace OnlineStore.ACSingleStore
txtMiddleSpeed
.
Text
=
(
middle
.
TargetSpeed
/
5
).
ToString
();
txtMiddleSpeed
.
Text
=
(
middle
.
TargetSpeed
/
5
).
ToString
();
txtInOutSpeed
.
Text
=
(
inout
.
TargetSpeed
/
5
).
ToString
();
txtInOutSpeed
.
Text
=
(
inout
.
TargetSpeed
/
5
).
ToString
();
txtUpDownSpeed
.
Text
=
(
updown
.
TargetSpeed
/
5
).
ToString
();
txtUpDownSpeed
.
Text
=
(
updown
.
TargetSpeed
/
5
).
ToString
();
txtComSpeed
.
Text
=
(
StoreManager
.
Config
.
CompressAxis_EndSpeed
/
5
).
ToString
();
txtComSpeed
.
Text
=
(
StoreManager
.
Config
.
CompressAxis_EndSpeed
).
ToString
();
timer1
.
Start
();
timer1
.
Start
();
}
}
/// <summary>
/// <summary>
...
...
source/ACSingleStore/FrmStoreBox.Designer.cs
查看文件 @
3cc4760
此文件的差异被折叠,
点击展开。
source/ACSingleStore/FrmStoreBox.cs
查看文件 @
3cc4760
...
@@ -133,12 +133,6 @@ namespace OnlineStore.ACSingleStore
...
@@ -133,12 +133,6 @@ namespace OnlineStore.ACSingleStore
btnOutStore
.
Enabled
=
isOpen
;
btnOutStore
.
Enabled
=
isOpen
;
btnInStore
.
Enabled
=
isOpen
;
btnInStore
.
Enabled
=
isOpen
;
//btnAxisAMove.Enabled = isOpen;
//btnAxisReturnHome.Enabled = isOpen;
//btnAxisRMove.Enabled = isOpen;
//btnAxisVMove.Enabled = isOpen;
启动
ToolStripMenuItem
.
Enabled
=
!
isOpen
;
启动
ToolStripMenuItem
.
Enabled
=
!
isOpen
;
停止
ToolStripMenuItem
.
Enabled
=
isOpen
;
停止
ToolStripMenuItem
.
Enabled
=
isOpen
;
复位
ToolStripMenuItem
.
Enabled
=
isOpen
;
复位
ToolStripMenuItem
.
Enabled
=
isOpen
;
...
@@ -295,17 +289,6 @@ namespace OnlineStore.ACSingleStore
...
@@ -295,17 +289,6 @@ namespace OnlineStore.ACSingleStore
lblWarnMsg
.
Text
=
""
;
lblWarnMsg
.
Text
=
""
;
btnStartAuTo
.
Text
=
"开始自动出入库"
;
btnStartAuTo
.
Text
=
"开始自动出入库"
;
}
}
//if (WCFControl.isRun)
//{
// btnOpenWCF.Enabled = false;
// btnCloseWCF.Enabled = true;
//}
//else
//{
// btnOpenWCF.Enabled = true ;
// btnCloseWCF.Enabled = false ;
//}
}
}
private
void
ReadPosistion
()
private
void
ReadPosistion
()
...
@@ -1267,7 +1250,9 @@ namespace OnlineStore.ACSingleStore
...
@@ -1267,7 +1250,9 @@ namespace OnlineStore.ACSingleStore
this
.
WindowState
=
FormWindowState
.
Maximized
;
this
.
WindowState
=
FormWindowState
.
Maximized
;
this
.
notifyIcon1
.
Visible
=
false
;
this
.
notifyIcon1
.
Visible
=
false
;
this
.
ShowInTaskbar
=
true
;
this
.
ShowInTaskbar
=
true
;
}
catch
(
Exception
ex
)
DebugStatus
(
false
);
}
catch
(
Exception
ex
)
{
{
LogUtil
.
error
(
"显示界面出错:"
+
ex
.
ToString
());
LogUtil
.
error
(
"显示界面出错:"
+
ex
.
ToString
());
}
}
...
@@ -1314,6 +1299,7 @@ namespace OnlineStore.ACSingleStore
...
@@ -1314,6 +1299,7 @@ namespace OnlineStore.ACSingleStore
this
.
ShowInTaskbar
=
false
;
this
.
ShowInTaskbar
=
false
;
this
.
notifyIcon1
.
Visible
=
true
;
this
.
notifyIcon1
.
Visible
=
true
;
this
.
Hide
();
this
.
Hide
();
DebugStatus
(
false
);
}
}
private
void
FrmStoreBox_FormClosed
(
object
sender
,
FormClosedEventArgs
e
)
private
void
FrmStoreBox_FormClosed
(
object
sender
,
FormClosedEventArgs
e
)
{
{
...
@@ -1458,5 +1444,31 @@ namespace OnlineStore.ACSingleStore
...
@@ -1458,5 +1444,31 @@ namespace OnlineStore.ACSingleStore
FrmAbout
about
=
new
FrmAbout
();
FrmAbout
about
=
new
FrmAbout
();
about
.
ShowDialog
();
about
.
ShowDialog
();
}
}
private
void
DebugStatus
(
bool
status
)
{
if
(
status
)
{
btnDebug
.
Text
=
"禁用调试"
;
}
else
{
btnDebug
.
Text
=
"启用调试"
;
}
groupAxis
.
Enabled
=
status
;
groupComAxis
.
Enabled
=
status
;
groupInout
.
Enabled
=
status
;
}
private
void
btnDebug_Click
(
object
sender
,
EventArgs
e
)
{
if
(
btnDebug
.
Text
.
Equals
(
"启用调试"
))
{
DebugStatus
(
true
);
}
else
{
DebugStatus
(
false
);
}
}
}
}
}
}
source/ACSingleStore/FrmStoreBox.resx
查看文件 @
3cc4760
...
@@ -1263,7 +1263,7 @@
...
@@ -1263,7 +1263,7 @@
</value>
</value>
</data>
</data>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>
169
</value>
<value>
25
</value>
</metadata>
</metadata>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
<value>
...
...
source/ACSingleStore/记录.txt
查看文件 @
3cc4760
...
@@ -50,9 +50,11 @@
...
@@ -50,9 +50,11 @@
条码前面字母去掉之后用分号分割,最后不加分号
条码前面字母去掉之后用分号分割,最后不加分号
P;H;Q
P;H;Q
20190312
1.测高AI模块BUG修改。
2.出库增加缓存功能,若出库失败也放入缓存。
3.增加启用调试开关。
...
...
source/Common/util/HumitureController.cs
查看文件 @
3cc4760
...
@@ -67,7 +67,10 @@ namespace OnlineStore.Common
...
@@ -67,7 +67,10 @@ namespace OnlineStore.Common
/// </summary>
/// </summary>
public
static
void
Release
()
public
static
void
Release
()
{
{
if
(
sb
!=
null
)
{
sb
.
closePort
();
sb
.
closePort
();
}
IsRun
=
false
;
IsRun
=
false
;
}
}
public
static
ASTemperateParam
LastData
=
new
ASTemperateParam
(
0
,
0
);
public
static
ASTemperateParam
LastData
=
new
ASTemperateParam
(
0
,
0
);
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论