Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
ACSingleStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit f2230197
由
LN
编写于
2020-07-08 11:00:14 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
设备照明增加验证
1 个父辈
84f6140c
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
23 行增加
和
1 行删除
source/ACSingleStore/FrmIOStatus.cs
source/ACSingleStore/FrmStoreBox.cs
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean.cs
source/ACSingleStore/FrmIOStatus.cs
查看文件 @
f223019
...
...
@@ -178,6 +178,16 @@ namespace OnlineStore.ACSingleStore
private
void
FrmStoreIOStatus_Load
(
object
sender
,
EventArgs
e
)
{
AIManager
.
Instance
.
NeedShow
=
true
;
if
(
boxBean
.
Config
.
StoreDOList
.
ContainsKey
(
IO_Type
.
Device_Led
))
{
btnDevideLed
.
Visible
=
true
;
btnCDLed
.
Visible
=
true
;
}
else
{
btnDevideLed
.
Visible
=
false
;
btnCDLed
.
Visible
=
false
;
}
}
private
void
cmbWriteIO_DrawItem
(
object
sender
,
DrawItemEventArgs
e
)
...
...
source/ACSingleStore/FrmStoreBox.cs
查看文件 @
f223019
...
...
@@ -83,7 +83,16 @@ namespace OnlineStore.ACSingleStore
txtInOutP2
.
Text
=
ktkPosition
.
InOutAxis_DoorPosition_P2
.
ToString
();
//txtUpDownP1.Text = ktkPosition.UpDownAxis_DoorOPosition_P1.ToString();
}
if
(
store
.
Config
.
StoreDOList
.
ContainsKey
(
IO_Type
.
Device_Led
))
{
btnOpenDLed
.
Visible
=
true
;
btnCloseDLed
.
Visible
=
true
;
}
else
{
btnOpenDLed
.
Visible
=
false
;
btnCloseDLed
.
Visible
=
false
;
}
timer1
.
Enabled
=
true
;
}
#
endregion
...
...
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean.cs
查看文件 @
f223019
...
...
@@ -911,6 +911,8 @@ namespace OnlineStore.DeviceLibrary
//仓门打开,打开照明
if
(
Config
.
StoreDOList
.
ContainsKey
(
IO_Type
.
Device_Led
))
{
bool
doorIsOpen
=
false
;
if
(
IOManager
.
IOValue
(
IO_Type
.
Door_Limit
).
Equals
(
IO_VALUE
.
LOW
))
{
...
...
@@ -943,6 +945,7 @@ namespace OnlineStore.DeviceLibrary
IOManager
.
IOMove
(
IO_Type
.
Device_Led
,
IO_VALUE
.
LOW
);
}
}
}
}
catch
(
Exception
ex
)
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论