Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
SO827-OutletEquip
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit a9f1c42d
由
LN
编写于
2021-03-29 17:52:21 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
增加报警上传
1 个父辈
60e454df
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
24 行增加
和
3 行删除
source/DeviceLibrary/bean/EquipBean.cs
source/DeviceLibrary/bean/EquipManager.cs
source/HCSingleStore/FrmEquip.Designer.cs
source/DeviceLibrary/bean/EquipBean.cs
查看文件 @
a9f1c42
...
@@ -1073,6 +1073,27 @@ namespace OnlineStore.DeviceLibrary
...
@@ -1073,6 +1073,27 @@ namespace OnlineStore.DeviceLibrary
StoreSendBean
store
=
lineConn
.
GetBean
((
int
)
ss
,
(
int
)
storeRunStatus
,
hasTray
,
(
int
)
alarmType
);
StoreSendBean
store
=
lineConn
.
GetBean
((
int
)
ss
,
(
int
)
storeRunStatus
,
hasTray
,
(
int
)
alarmType
);
lineConn
.
SendHeart
(
store
);
lineConn
.
SendHeart
(
store
);
}
}
//上报异常
bool
isAlarm
=
false
;
List
<
AlarmMsg
>
msglist
=
new
List
<
AlarmMsg
>();
if
(!
String
.
IsNullOrEmpty
(
WarnMsg
))
//10秒刷新一次任务显示
{
isAlarm
=
true
;
msglist
.
Add
(
new
AlarmMsg
(
Name
,
"doubleLine.WarnMsg"
,
WarnMsg
));
}
foreach
(
WorkStation
s
in
StationMap
.
Values
)
{
if
(!
String
.
IsNullOrEmpty
(
s
.
WarnMsg
))
{
isAlarm
=
true
;
msglist
.
Add
(
new
AlarmMsg
(
Name
+
s
.
Name
,
"doubleLine."
+
s
.
Name
,
s
.
WarnMsg
));
}
}
if
(
isAlarm
)
{
HttpServer
.
updateDeviceAlarmMsg
(
msglist
);
}
}
}
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
...
...
source/DeviceLibrary/bean/EquipManager.cs
查看文件 @
a9f1c42
source/HCSingleStore/FrmEquip.Designer.cs
查看文件 @
a9f1c42
...
@@ -215,7 +215,7 @@
...
@@ -215,7 +215,7 @@
this
.
chbMoveStop
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
chbMoveStop
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
chbMoveStop
.
AutoSize
=
true
;
this
.
chbMoveStop
.
AutoSize
=
true
;
this
.
chbMoveStop
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbMoveStop
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbMoveStop
.
Location
=
new
System
.
Drawing
.
Point
(
886
,
204
);
this
.
chbMoveStop
.
Location
=
new
System
.
Drawing
.
Point
(
886
,
190
);
this
.
chbMoveStop
.
Name
=
"chbMoveStop"
;
this
.
chbMoveStop
.
Name
=
"chbMoveStop"
;
this
.
chbMoveStop
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
24
);
this
.
chbMoveStop
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
24
);
this
.
chbMoveStop
.
TabIndex
=
288
;
this
.
chbMoveStop
.
TabIndex
=
288
;
...
@@ -338,7 +338,7 @@
...
@@ -338,7 +338,7 @@
this
.
logBox
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
logBox
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
logBox
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
236
);
this
.
logBox
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
236
);
this
.
logBox
.
Name
=
"logBox"
;
this
.
logBox
.
Name
=
"logBox"
;
this
.
logBox
.
Size
=
new
System
.
Drawing
.
Size
(
978
,
34
3
);
this
.
logBox
.
Size
=
new
System
.
Drawing
.
Size
(
978
,
34
0
);
this
.
logBox
.
TabIndex
=
278
;
this
.
logBox
.
TabIndex
=
278
;
this
.
logBox
.
Text
=
""
;
this
.
logBox
.
Text
=
""
;
this
.
logBox
.
VisibleChanged
+=
new
System
.
EventHandler
(
this
.
logBox_VisibleChanged
);
this
.
logBox
.
VisibleChanged
+=
new
System
.
EventHandler
(
this
.
logBox_VisibleChanged
);
...
@@ -364,7 +364,7 @@
...
@@ -364,7 +364,7 @@
this
.
groupBox2
.
Controls
.
Add
(
this
.
button6
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
button6
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
button3
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
button3
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
button5
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
button5
);
this
.
groupBox2
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
43
9
);
this
.
groupBox2
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
43
6
);
this
.
groupBox2
.
Name
=
"groupBox2"
;
this
.
groupBox2
.
Name
=
"groupBox2"
;
this
.
groupBox2
.
Size
=
new
System
.
Drawing
.
Size
(
972
,
78
);
this
.
groupBox2
.
Size
=
new
System
.
Drawing
.
Size
(
972
,
78
);
this
.
groupBox2
.
TabIndex
=
276
;
this
.
groupBox2
.
TabIndex
=
276
;
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论