Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
ACSingleStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 7f72ec7b
由
几米阳光
编写于
2019-03-14 16:29:10 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
ae90acbf
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
19 行增加
和
32 行删除
source/ACSingleStore/FrmStoreBox.Designer.cs
source/ACSingleStore/FrmStoreBox.cs
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean.cs
source/ACSingleStore/FrmStoreBox.Designer.cs
查看文件 @
7f72ec7
...
...
@@ -224,6 +224,7 @@
this
.
btnStoreStop
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnStoreStart
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
tabPage5
=
new
System
.
Windows
.
Forms
.
TabPage
();
this
.
btnDebug
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnAxisOff
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnAxisOn
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnScanCode
=
new
System
.
Windows
.
Forms
.
Button
();
...
...
@@ -234,7 +235,6 @@
this
.
button4
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnClearL
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnLogDebug
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnDebug
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
groupAxis
.
SuspendLayout
();
this
.
groupBox1
.
SuspendLayout
();
this
.
groupInout
.
SuspendLayout
();
...
...
@@ -362,7 +362,7 @@
// chbAutoRead
//
this
.
chbAutoRead
.
AutoSize
=
true
;
this
.
chbAutoRead
.
Location
=
new
System
.
Drawing
.
Point
(
4
01
,
238
);
this
.
chbAutoRead
.
Location
=
new
System
.
Drawing
.
Point
(
4
18
,
205
);
this
.
chbAutoRead
.
Name
=
"chbAutoRead"
;
this
.
chbAutoRead
.
Size
=
new
System
.
Drawing
.
Size
(
99
,
21
);
this
.
chbAutoRead
.
TabIndex
=
296
;
...
...
@@ -483,7 +483,7 @@
this
.
btnReadPosition
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnReadPosition
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnReadPosition
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
btnReadPosition
.
Location
=
new
System
.
Drawing
.
Point
(
4
01
,
194
);
this
.
btnReadPosition
.
Location
=
new
System
.
Drawing
.
Point
(
4
18
,
298
);
this
.
btnReadPosition
.
Name
=
"btnReadPosition"
;
this
.
btnReadPosition
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnReadPosition
.
Size
=
new
System
.
Drawing
.
Size
(
90
,
33
);
...
...
@@ -2586,6 +2586,17 @@
this
.
tabPage5
.
Text
=
" 设备调试 "
;
this
.
tabPage5
.
UseVisualStyleBackColor
=
true
;
//
// btnDebug
//
this
.
btnDebug
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnDebug
.
Location
=
new
System
.
Drawing
.
Point
(
806
,
4
);
this
.
btnDebug
.
Name
=
"btnDebug"
;
this
.
btnDebug
.
Size
=
new
System
.
Drawing
.
Size
(
132
,
39
);
this
.
btnDebug
.
TabIndex
=
12
;
this
.
btnDebug
.
Text
=
"启用调试"
;
this
.
btnDebug
.
UseVisualStyleBackColor
=
true
;
this
.
btnDebug
.
Click
+=
new
System
.
EventHandler
(
this
.
btnDebug_Click
);
//
// btnAxisOff
//
this
.
btnAxisOff
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
...
...
@@ -2697,17 +2708,6 @@
this
.
btnLogDebug
.
UseVisualStyleBackColor
=
true
;
this
.
btnLogDebug
.
Click
+=
new
System
.
EventHandler
(
this
.
开启
DEBUGToolStripMenuItem_Click
);
//
// btnDebug
//
this
.
btnDebug
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnDebug
.
Location
=
new
System
.
Drawing
.
Point
(
806
,
4
);
this
.
btnDebug
.
Name
=
"btnDebug"
;
this
.
btnDebug
.
Size
=
new
System
.
Drawing
.
Size
(
132
,
39
);
this
.
btnDebug
.
TabIndex
=
12
;
this
.
btnDebug
.
Text
=
"启用调试"
;
this
.
btnDebug
.
UseVisualStyleBackColor
=
true
;
this
.
btnDebug
.
Click
+=
new
System
.
EventHandler
(
this
.
btnDebug_Click
);
//
// FrmStoreBox
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
96F
,
96F
);
...
...
source/ACSingleStore/FrmStoreBox.cs
查看文件 @
7f72ec7
...
...
@@ -157,8 +157,7 @@ namespace OnlineStore.ACSingleStore
cmbHomeType
.
SelectedIndex
=
1
;
HideForm
();
this
.
Opacity
=
1
;
// HumitureController.QueryData();
txtTempPort
.
Text
=
store
.
Config
.
Humiture_Port
;
}
private
DateTime
preReadModblsTime
=
DateTime
.
Now
;
private
void
timer1_Tick
(
object
sender
,
EventArgs
e
)
...
...
@@ -166,11 +165,8 @@ namespace OnlineStore.ACSingleStore
if
(!
this
.
Visible
)
{
return
;
}
//HumitureServer.RandomData(store.Config.GetTempAddrList());
lblTemp
.
Text
=
store
.
currTempStr
;
//验证运动是否完成
//CheckWait();
}
lblTemp
.
Text
=
store
.
currTempStr
;
//忙碌状态不读取状态
if
(!
store
.
storeRunStatus
.
Equals
(
StoreRunStatus
.
Busy
))
{
...
...
@@ -235,15 +231,7 @@ namespace OnlineStore.ACSingleStore
lblWarnMsg
.
Text
=
store
.
WarnMsg
;
if
(
store
.
Config
.
IsHasDoorLimit
.
Equals
(
1
))
{
//if (store.KNDIOValue(IO_Type.Left_Door_LimitSingle).Equals(IO_VALUE.LOW))
//{
// lblWarnMsg.Text = lblWarnMsg.Text + " 左侧门未关";
//}
//if (store.KNDIOValue(IO_Type.Right_Door_LimitSingle).Equals(IO_VALUE.LOW))
//{
// lblWarnMsg.Text = lblWarnMsg.Text + " 右侧门未关";
//}
{
if
(
store
.
KNDIOValue
(
IO_Type
.
Door_LimitSingle
).
Equals
(
IO_VALUE
.
LOW
))
{
lblWarnMsg
.
Text
=
lblWarnMsg
.
Text
+
" 前门未关"
;
...
...
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean.cs
查看文件 @
7f72ec7
...
...
@@ -188,8 +188,7 @@ namespace OnlineStore.DeviceLibrary
//TODO 启动时先所有轴远点返回,测试暂时关闭
storeRunStatus
=
StoreRunStatus
.
HomeMoving
;
storeStatus
=
StoreStatus
.
ResetMove
;
//启动温湿度服务器
//HumitureServer.StartTemperateServer(Config.TemperateServer_Port);
//启动温湿度服务器
HumitureController
.
Init
(
Config
.
Humiture_Port
);
ReturnHome
();
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论