Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
1069_MIMO_PlUS
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit b20011b1
由
LN
编写于
2024-11-18 09:44:51 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
bug修改
1 个父辈
f018458b
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
37 行增加
和
10 行删除
DeviceLibrary/DeviceLibrary/CodeManager.cs
DeviceLibrary/theMachine/MainMachine _LedRGBProcess.cs
DeviceLibrary/theMachine/MainMachine.cs
TheMachineNView/SettingControl.Designer.cs
TheMachineNView/SettingControl.cs
TheMachineNView/UC/uc_boxdebug.cs
DeviceLibrary/DeviceLibrary/CodeManager.cs
查看文件 @
b20011b
...
...
@@ -127,6 +127,7 @@ namespace DeviceLibrary
string
bitmapfilename
=
""
;
if
(
cameraNameList
==
null
||
cameraNameList
.
Count
<=
0
)
{
LogUtil
.
error
(
"CameraScan方法没有传入相机名称"
);
throw
new
Exception
(
"CameraScan方法没有传入相机名称."
);
}
...
...
DeviceLibrary/theMachine/MainMachine _LedRGBProcess.cs
查看文件 @
b20011b
...
...
@@ -149,8 +149,12 @@ namespace DeviceLibrary
{
return
;
}
//未启动:黑色
//红色: 急停,
//黄色:忙碌
//绿色:待机
//紫色: 异常,
//蓝绿: 待机
//流动绿: 入库
...
...
@@ -253,7 +257,7 @@ namespace DeviceLibrary
}
else
if
(
hasAlarm
)
{
//
紫
色: 异常,
//
红
色: 异常,
ShowBlink
(
Color
.
Red
,
"hasAlarm"
);
}
//温度超限
...
...
@@ -272,7 +276,7 @@ namespace DeviceLibrary
//}
else
{
//
待机 蓝绿
//
绿色:待机
//ShowColor(Color.FromArgb(0, 255, 64), "waiting");
ShowBlink
(
Color
.
Green
,
"waiting"
);
}
...
...
DeviceLibrary/theMachine/MainMachine.cs
查看文件 @
b20011b
...
...
@@ -851,7 +851,10 @@ namespace DeviceLibrary
{
if
(!
lastStringSafetyStatus
)
{
StringDoor
.
ResumeSingle
();
if
(
StringDoor
!=
null
)
{
StringDoor
.
ResumeSingle
();
}
lastStringSafetyStatus
=
true
;
}
}
...
...
TheMachineNView/SettingControl.Designer.cs
查看文件 @
b20011b
...
...
@@ -46,6 +46,7 @@ namespace TheMachineNView
this
.
label1
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
uC_LedConfig1
=
new
TheMachineNView
.
UC_LedConfig
();
this
.
uC_SetUserPassword1
=
new
TheMachineNView
.
UC_SetUserPassword
();
this
.
button2
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
tp
.
SuspendLayout
();
this
.
SuspendLayout
();
//
...
...
@@ -124,13 +125,12 @@ namespace TheMachineNView
//
// button1
//
this
.
button1
.
Location
=
new
System
.
Drawing
.
Point
(
4
75
,
636
);
this
.
button1
.
Location
=
new
System
.
Drawing
.
Point
(
4
35
,
661
);
this
.
button1
.
Name
=
"button1"
;
this
.
button1
.
Size
=
new
System
.
Drawing
.
Size
(
1
02
,
48
);
this
.
button1
.
Size
=
new
System
.
Drawing
.
Size
(
1
49
,
33
);
this
.
button1
.
TabIndex
=
7
;
this
.
button1
.
Text
=
"
button1
"
;
this
.
button1
.
Text
=
"
reelTest
"
;
this
.
button1
.
UseVisualStyleBackColor
=
true
;
this
.
button1
.
Visible
=
false
;
this
.
button1
.
Click
+=
new
System
.
EventHandler
(
this
.
button1_Click_1
);
//
// tp
...
...
@@ -248,10 +248,21 @@ namespace TheMachineNView
this
.
uC_SetUserPassword1
.
TabIndex
=
8
;
this
.
uC_SetUserPassword1
.
Tag
=
"not"
;
//
// button2
//
this
.
button2
.
Location
=
new
System
.
Drawing
.
Point
(
435
,
709
);
this
.
button2
.
Name
=
"button2"
;
this
.
button2
.
Size
=
new
System
.
Drawing
.
Size
(
149
,
33
);
this
.
button2
.
TabIndex
=
11
;
this
.
button2
.
Text
=
"scanTest"
;
this
.
button2
.
UseVisualStyleBackColor
=
true
;
this
.
button2
.
Click
+=
new
System
.
EventHandler
(
this
.
button1_Click
);
//
// SettingControl
//
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
None
;
this
.
AutoScroll
=
true
;
this
.
Controls
.
Add
(
this
.
button2
);
this
.
Controls
.
Add
(
this
.
tp
);
this
.
Controls
.
Add
(
this
.
uC_LedConfig1
);
this
.
Controls
.
Add
(
this
.
uC_SetUserPassword1
);
...
...
@@ -284,5 +295,6 @@ namespace TheMachineNView
private
System
.
Windows
.
Forms
.
Label
lblMaxY
;
private
System
.
Windows
.
Forms
.
Label
label3
;
private
System
.
Windows
.
Forms
.
Label
lblYa
;
private
System
.
Windows
.
Forms
.
Button
button2
;
}
}
TheMachineNView/SettingControl.cs
查看文件 @
b20011b
...
...
@@ -153,7 +153,12 @@ namespace TheMachineNView
private
void
button1_Click_1
(
object
sender
,
EventArgs
e
)
{
Task
.
Run
(()
=>
CodeManager
.
TestHasReel
(
CodeManager
.
hikNameList
[
0
],
out
_
,
out
_
));
if
(
CodeManager
.
hikNameList
.
Count
<=
0
)
{
LogUtil
.
error
(
"reelTest 测试失败:未找到海康相机"
);
return
;
}
Task
.
Run
(()
=>
CodeManager
.
TestHasReel
(
CodeManager
.
hikNameList
[
0
],
out
string
srcImage
,
out
string
pciImage
));
}
...
...
TheMachineNView/UC/uc_boxdebug.cs
查看文件 @
b20011b
...
...
@@ -55,7 +55,9 @@ namespace TheMachineNView
FillBoxPos
();
RobotManage
.
mainMachine
.
InOutEndProcessEvent
+=
Store_InOutEndProcessEvent
;
timer1
.
Enabled
=
true
;
typeof
(
DataGridView
).
InvokeMember
(
"DoubleBuffered"
,
BindingFlags
.
NonPublic
|
BindingFlags
.
Instance
|
BindingFlags
.
SetProperty
,
null
,
this
.
dataGridView1
,
new
object
[]
{
true
});
if
(!
RobotManage
.
haveFixpos
)
cb_fixpos
.
Visible
=
false
;
return
;
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论