Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
1069_MIMO_PlUS
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit d263ebe8
由
刘韬
编写于
2025-06-27 23:40:15 +0800
浏览文件
选项
浏览文件
标签
下载
差异文件
Merge branch 'master' of
http://106.15.194.121:8083/liutao/1069_MIMO_PlUS
2 个父辈
c13e0af2
2a6fd307
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
20 行增加
和
14 行删除
DeviceLibrary/theMachine/MainMachine_String.cs
ImgCheckReel/Form1.Designer.cs
ImgCheckReel/Form1.cs
TheMachine/TheMachine.csproj
DeviceLibrary/theMachine/MainMachine_String.cs
查看文件 @
d263ebe
...
@@ -153,8 +153,8 @@ namespace DeviceLibrary
...
@@ -153,8 +153,8 @@ namespace DeviceLibrary
{
{
StringMoveInfo
.
NextMoveStep
(
MoveStep
.
StringLoad_02a
);
StringMoveInfo
.
NextMoveStep
(
MoveStep
.
StringLoad_02a
);
StringMoveInfo
.
log
(
$
"顶起料串固定顶升"
);
StringMoveInfo
.
log
(
$
"顶起料串固定顶升"
);
//if (!ConfigHelper.Config.Get("Device_Disable_StringDoor", false
))
if
(!
UseAgv
(
))
//
StringDoorClose(StringMoveInfo);
StringDoorClose
(
StringMoveInfo
);
CylinderMove
(
StringMoveInfo
,
IO_Type
.
StringFix_Bottom
,
IO_Type
.
StringFix_Top
,
IO_VALUE
.
HIGH
);
CylinderMove
(
StringMoveInfo
,
IO_Type
.
StringFix_Bottom
,
IO_Type
.
StringFix_Top
,
IO_VALUE
.
HIGH
);
CylinderMove
(
StringMoveInfo
,
IO_Type
.
StringPosChecker_Home
,
IO_Type
.
StringPosChecker_Work
,
IO_VALUE
.
HIGH
);
CylinderMove
(
StringMoveInfo
,
IO_Type
.
StringPosChecker_Home
,
IO_Type
.
StringPosChecker_Work
,
IO_VALUE
.
HIGH
);
Line
.
LineStop
(
"n"
);
Line
.
LineStop
(
"n"
);
...
...
ImgCheckReel/Form1.Designer.cs
查看文件 @
d263ebe
...
@@ -197,6 +197,7 @@
...
@@ -197,6 +197,7 @@
//
//
// txtHL
// txtHL
//
//
this
.
txtHL
.
LargeChange
=
1
;
this
.
txtHL
.
Location
=
new
System
.
Drawing
.
Point
(
16
,
42
);
this
.
txtHL
.
Location
=
new
System
.
Drawing
.
Point
(
16
,
42
);
this
.
txtHL
.
Maximum
=
360
;
this
.
txtHL
.
Maximum
=
360
;
this
.
txtHL
.
Name
=
"txtHL"
;
this
.
txtHL
.
Name
=
"txtHL"
;
...
@@ -206,6 +207,7 @@
...
@@ -206,6 +207,7 @@
//
//
// txtSH
// txtSH
//
//
this
.
txtSH
.
LargeChange
=
1
;
this
.
txtSH
.
Location
=
new
System
.
Drawing
.
Point
(
386
,
249
);
this
.
txtSH
.
Location
=
new
System
.
Drawing
.
Point
(
386
,
249
);
this
.
txtSH
.
Maximum
=
255
;
this
.
txtSH
.
Maximum
=
255
;
this
.
txtSH
.
Name
=
"txtSH"
;
this
.
txtSH
.
Name
=
"txtSH"
;
...
@@ -215,6 +217,7 @@
...
@@ -215,6 +217,7 @@
//
//
// txtSL
// txtSL
//
//
this
.
txtSL
.
LargeChange
=
1
;
this
.
txtSL
.
Location
=
new
System
.
Drawing
.
Point
(
26
,
249
);
this
.
txtSL
.
Location
=
new
System
.
Drawing
.
Point
(
26
,
249
);
this
.
txtSL
.
Maximum
=
255
;
this
.
txtSL
.
Maximum
=
255
;
this
.
txtSL
.
Name
=
"txtSL"
;
this
.
txtSL
.
Name
=
"txtSL"
;
...
@@ -224,6 +227,7 @@
...
@@ -224,6 +227,7 @@
//
//
// txtLH
// txtLH
//
//
this
.
txtLH
.
LargeChange
=
1
;
this
.
txtLH
.
Location
=
new
System
.
Drawing
.
Point
(
386
,
140
);
this
.
txtLH
.
Location
=
new
System
.
Drawing
.
Point
(
386
,
140
);
this
.
txtLH
.
Maximum
=
255
;
this
.
txtLH
.
Maximum
=
255
;
this
.
txtLH
.
Name
=
"txtLH"
;
this
.
txtLH
.
Name
=
"txtLH"
;
...
@@ -233,6 +237,7 @@
...
@@ -233,6 +237,7 @@
//
//
// txtLL
// txtLL
//
//
this
.
txtLL
.
LargeChange
=
1
;
this
.
txtLL
.
Location
=
new
System
.
Drawing
.
Point
(
16
,
140
);
this
.
txtLL
.
Location
=
new
System
.
Drawing
.
Point
(
16
,
140
);
this
.
txtLL
.
Maximum
=
255
;
this
.
txtLL
.
Maximum
=
255
;
this
.
txtLL
.
Name
=
"txtLL"
;
this
.
txtLL
.
Name
=
"txtLL"
;
...
@@ -242,6 +247,7 @@
...
@@ -242,6 +247,7 @@
//
//
// txtHH
// txtHH
//
//
this
.
txtHH
.
LargeChange
=
1
;
this
.
txtHH
.
Location
=
new
System
.
Drawing
.
Point
(
386
,
42
);
this
.
txtHH
.
Location
=
new
System
.
Drawing
.
Point
(
386
,
42
);
this
.
txtHH
.
Maximum
=
360
;
this
.
txtHH
.
Maximum
=
360
;
this
.
txtHH
.
Name
=
"txtHH"
;
this
.
txtHH
.
Name
=
"txtHH"
;
...
...
ImgCheckReel/Form1.cs
查看文件 @
d263ebe
...
@@ -22,14 +22,14 @@ namespace ImgCheckReel
...
@@ -22,14 +22,14 @@ namespace ImgCheckReel
public
Form1
()
public
Form1
()
{
{
InitializeComponent
();
InitializeComponent
();
ConfigHelper
.
Config
.
PropertyBind
(
"
txtTotalC
over"
,
txtTotalCover
,
"Text"
,
"TextChanged"
,
"100"
);
ConfigHelper
.
Config
.
PropertyBind
(
"
CamTestReel_totalc
over"
,
txtTotalCover
,
"Text"
,
"TextChanged"
,
"100"
);
ConfigHelper
.
Config
.
PropertyBind
(
"
txt
threshold"
,
txtthreshold
,
"Text"
,
"TextChanged"
,
"0.6"
);
ConfigHelper
.
Config
.
PropertyBind
(
"
CamTestReel_
threshold"
,
txtthreshold
,
"Text"
,
"TextChanged"
,
"0.6"
);
ConfigHelper
.
Config
.
PropertyBind
(
"
txt
HL"
,
txtHL
,
"Value"
,
"Scroll"
,
"40"
);
ConfigHelper
.
Config
.
PropertyBind
(
"
CamTestReel_
HL"
,
txtHL
,
"Value"
,
"Scroll"
,
"40"
);
ConfigHelper
.
Config
.
PropertyBind
(
"
txt
HH"
,
txtHH
,
"Value"
,
"Scroll"
,
"70"
);
ConfigHelper
.
Config
.
PropertyBind
(
"
CamTestReel_
HH"
,
txtHH
,
"Value"
,
"Scroll"
,
"70"
);
ConfigHelper
.
Config
.
PropertyBind
(
"
txt
LL"
,
txtLL
,
"Value"
,
"Scroll"
,
"15"
);
ConfigHelper
.
Config
.
PropertyBind
(
"
CamTestReel_
LL"
,
txtLL
,
"Value"
,
"Scroll"
,
"15"
);
ConfigHelper
.
Config
.
PropertyBind
(
"
txt
LH"
,
txtLH
,
"Value"
,
"Scroll"
,
"100"
);
ConfigHelper
.
Config
.
PropertyBind
(
"
CamTestReel_
LH"
,
txtLH
,
"Value"
,
"Scroll"
,
"100"
);
ConfigHelper
.
Config
.
PropertyBind
(
"
txt
SL"
,
txtSL
,
"Value"
,
"Scroll"
,
"20"
);
ConfigHelper
.
Config
.
PropertyBind
(
"
CamTestReel_
SL"
,
txtSL
,
"Value"
,
"Scroll"
,
"20"
);
ConfigHelper
.
Config
.
PropertyBind
(
"
txt
SH"
,
txtSH
,
"Value"
,
"Scroll"
,
"100"
);
ConfigHelper
.
Config
.
PropertyBind
(
"
CamTestReel_
SH"
,
txtSH
,
"Value"
,
"Scroll"
,
"100"
);
UpdateValue
();
UpdateValue
();
}
}
[
HandleProcessCorruptedStateExceptions
]
[
HandleProcessCorruptedStateExceptions
]
...
@@ -76,7 +76,7 @@ namespace ImgCheckReel
...
@@ -76,7 +76,7 @@ namespace ImgCheckReel
for
(
int
i
=
0
;
i
<
rois
.
Count
;
i
++)
for
(
int
i
=
0
;
i
<
rois
.
Count
;
i
++)
{
{
rois
[
i
].
CoverCount
=
totalcover
;
//
rois[i].CoverCount = totalcover;
double
maskcout
=
0
;
double
maskcout
=
0
;
var
roi
=
rois
[
i
];
var
roi
=
rois
[
i
];
var
rp
=
roi
.
RoiPath
.
Select
(
r
=>
new
Point
(
r
.
X
/
2
,
r
.
Y
/
2
)).
ToList
();
var
rp
=
roi
.
RoiPath
.
Select
(
r
=>
new
Point
(
r
.
X
/
2
,
r
.
Y
/
2
)).
ToList
();
...
@@ -116,7 +116,7 @@ namespace ImgCheckReel
...
@@ -116,7 +116,7 @@ namespace ImgCheckReel
if
(
calc
<=
threshold
)
if
(
calc
<=
threshold
)
{
{
hasReel
=
true
;
hasReel
=
true
;
break
;
//
break;
}
}
}
}
b
.
UnlockBits
(
bd
);
b
.
UnlockBits
(
bd
);
...
...
TheMachine/TheMachine.csproj
查看文件 @
d263ebe
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<ProjectGuid>{61FDFF14-8BB7-439A-85A0-592E3011F4C4}</ProjectGuid>
<ProjectGuid>{61FDFF14-8BB7-439A-85A0-592E3011F4C4}</ProjectGuid>
<OutputType>WinExe</OutputType>
<OutputType>WinExe</OutputType>
<RootNamespace>TheMachine</RootNamespace>
<RootNamespace>TheMachine</RootNamespace>
<AssemblyName>MIMO_G
3
_Client</AssemblyName>
<AssemblyName>MIMO_G
2
_Client</AssemblyName>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
<WarningLevel>4</WarningLevel>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
</PropertyGroup>
<PropertyGroup>
<PropertyGroup>
<ApplicationIcon>
mimo
.ico</ApplicationIcon>
<ApplicationIcon>
icon
.ico</ApplicationIcon>
</PropertyGroup>
</PropertyGroup>
<PropertyGroup>
<PropertyGroup>
<ApplicationManifest>app.manifest</ApplicationManifest>
<ApplicationManifest>app.manifest</ApplicationManifest>
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论