Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-AssemblyLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit b24e6441
由
LN
编写于
2019-12-19 19:14:44 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
29f10494
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
10 行增加
和
7 行删除
source/DeviceLibrary/assemblyLine/LineBean.cs
source/DeviceLibrary/deviceLibrary/IO/AIOBOX/AIOBOXManager.cs
source/DeviceLibrary/server/LineServer.cs
source/DeviceLibrary/assemblyLine/LineBean.cs
查看文件 @
b24e644
...
@@ -171,15 +171,15 @@ namespace OnlineStore.DeviceLibrary
...
@@ -171,15 +171,15 @@ namespace OnlineStore.DeviceLibrary
Task
.
Factory
.
StartNew
(
delegate
Task
.
Factory
.
StartNew
(
delegate
{
{
IOManager
.
instance
.
ConnectionIOList
(
cioList
);
IOManager
.
instance
.
ConnectionIOList
(
cioList
);
Thread
.
Sleep
(
5
);
Thread
.
Sleep
(
5
);
Task
.
Factory
.
StartNew
(
delegate
Task
.
Factory
.
StartNew
(
delegate
{
{
string
path
=
Application
.
StartupPath
+
@"\logs\rfid\"
;
//
string path = Application.StartupPath + @"\logs\rfid\";
RFIDManager
.
RfidReader
.
LogPath
(
path
);
//
RFIDManager.RfidReader.LogPath(path);
string
[]
rfidArray
=
rfidList
.
ToArray
();
string
[]
rfidArray
=
rfidList
.
ToArray
();
//连接rfip
//连接rfip
RFIDManager
.
RfidReader
.
Open
(
rfidArray
);
RFIDManager
.
RfidReader
.
Open
(
rfidArray
);
});
});
addLastDI
(
IO_Type
.
Airpressure_Check
,
IOValue
(
IO_Type
.
Airpressure_Check
));
addLastDI
(
IO_Type
.
Airpressure_Check
,
IOValue
(
IO_Type
.
Airpressure_Check
));
addLastDI
(
IO_Type
.
SuddenStop_BTN
,
IOValue
(
IO_Type
.
SuddenStop_BTN
));
addLastDI
(
IO_Type
.
SuddenStop_BTN
,
IOValue
(
IO_Type
.
SuddenStop_BTN
));
addLastDI
(
IO_Type
.
Reset_BTN
,
IOValue
(
IO_Type
.
Reset_BTN
));
addLastDI
(
IO_Type
.
Reset_BTN
,
IOValue
(
IO_Type
.
Reset_BTN
));
...
...
source/DeviceLibrary/deviceLibrary/IO/AIOBOX/AIOBOXManager.cs
查看文件 @
b24e644
...
@@ -157,8 +157,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -157,8 +157,8 @@ namespace OnlineStore.DeviceLibrary
aioBox
.
SetInput
(
Asa
.
IOModule
.
Box_Type
.
DI
,
DILength
);
aioBox
.
SetInput
(
Asa
.
IOModule
.
Box_Type
.
DI
,
DILength
);
aioBox
.
SetOutput
(
Asa
.
IOModule
.
Box_Type
.
DO
,
DOLength
);
aioBox
.
SetOutput
(
Asa
.
IOModule
.
Box_Type
.
DO
,
DOLength
);
//DI主动上传
//DI主动上传
aioBox
.
AutoReadInput
(
true
,
DIMS
);
aioBox
.
AutoReadInput
(
true
);
aioBox
.
AutoReadOutput
(
false
,
DOMS
);
aioBox
.
AutoReadOutput
(
false
,
DOMS
);
aioBox
.
DI_Changed_Event
+=
AioBox_DI_Changed_Event
;
;
aioBox
.
DI_Changed_Event
+=
AioBox_DI_Changed_Event
;
;
...
...
source/DeviceLibrary/server/LineServer.cs
查看文件 @
b24e644
...
@@ -441,7 +441,10 @@ namespace OnlineStore.DeviceLibrary
...
@@ -441,7 +441,10 @@ namespace OnlineStore.DeviceLibrary
public
string
PosId
=
""
;
public
string
PosId
=
""
;
public
string
PlateH
=
"0"
;
public
string
PlateH
=
"0"
;
public
string
PlateW
=
"0"
;
public
string
PlateW
=
"0"
;
/// <summary>
/// 目标料架
/// </summary>
public
string
tShelfI
=
""
;
public
List
<
string
>
WaitInStoreList
=
new
List
<
string
>();
public
List
<
string
>
WaitInStoreList
=
new
List
<
string
>();
}
}
}
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论