Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
ACSingleStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 84f6140c
由
LN
编写于
2020-06-28 18:55:14 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
门口料盘检测状态传给服务器,放在data里doorReelSignal,0或1.
1 个父辈
e6920f6a
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
24 行增加
和
2 行删除
source/ACSingleStore/记录.txt
source/Common/bean/Bean.cs
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean.cs
source/ACSingleStore/记录.txt
查看文件 @
84f6140
...
@@ -143,3 +143,17 @@ DeCodeType=解码类型,0=halcon,1=zxing解码 西安料仓解析方式。2=
...
@@ -143,3 +143,17 @@ DeCodeType=解码类型,0=halcon,1=zxing解码 西安料仓解析方式。2=
StoreConfig.csv增加一行配置:
StoreConfig.csv增加一行配置:
PRO,大盘宽度(13寸或15寸),Big_TrayWidth,15,,,,,,,
PRO,大盘宽度(13寸或15寸),Big_TrayWidth,15,,,,,,,
20200624
门口料盘检测状态传给服务器,放在data里doorReelSignal,0或1.
source/Common/bean/Bean.cs
查看文件 @
84f6140
...
@@ -207,5 +207,9 @@ namespace OnlineStore.Common
...
@@ -207,5 +207,9 @@ namespace OnlineStore.Common
/// 温度报警值
/// 温度报警值
/// </summary>
/// </summary>
public
static
string
maxTemperature
=
"temp"
;
public
static
string
maxTemperature
=
"temp"
;
/// <summary>
/// 门口料盘检测信号,1或者0
/// </summary>
public
static
string
doorReelSignal
=
"doorReelSignal"
;
}
}
}
}
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean.cs
查看文件 @
84f6140
...
@@ -1408,7 +1408,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -1408,7 +1408,8 @@ namespace OnlineStore.DeviceLibrary
//发送扫码内容到服务器进行入库操作
//发送扫码内容到服务器进行入库操作
Operation
operationT
=
getLineBoxStatus
();
Operation
operationT
=
getLineBoxStatus
();
operationT
.
op
=
1
;
operationT
.
op
=
1
;
operationT
.
data
=
new
Dictionary
<
string
,
string
>()
{
{
"code"
,
message
},
{
"boxId"
,
StoreID
.
ToString
()
}
};
int
dInfo
=
(
int
)
IOManager
.
IOValue
(
IO_Type
.
TrayCheck_Door
);
operationT
.
data
=
new
Dictionary
<
string
,
string
>()
{
{
"code"
,
message
},
{
"boxId"
,
StoreID
.
ToString
()
},
{
ParamDefine
.
doorReelSignal
,
dInfo
.
ToString
()
}
};
HttpHelper
.
Post
(
StoreManager
.
GetPostApi
(
server
),
operationT
,
false
);
HttpHelper
.
Post
(
StoreManager
.
GetPostApi
(
server
),
operationT
,
false
);
}
}
else
else
...
@@ -1431,7 +1432,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -1431,7 +1432,8 @@ namespace OnlineStore.DeviceLibrary
//发送扫码内容到服务器进行入库操作
//发送扫码内容到服务器进行入库操作
Operation
operation
=
getLineBoxStatus
();
Operation
operation
=
getLineBoxStatus
();
operation
.
op
=
1
;
operation
.
op
=
1
;
operation
.
data
=
new
Dictionary
<
string
,
string
>()
{
{
"code"
,
message
},
{
"boxId"
,
StoreID
.
ToString
()
}
};
int
doorReelSignal
=
(
int
)
IOManager
.
IOValue
(
IO_Type
.
TrayCheck_Door
);
operation
.
data
=
new
Dictionary
<
string
,
string
>()
{
{
"code"
,
message
},
{
"boxId"
,
StoreID
.
ToString
()
},
{
ParamDefine
.
doorReelSignal
,
doorReelSignal
.
ToString
()
}
};
// string server = ConfigAppSettings.GetValue(Setting_Init.http_server);
// string server = ConfigAppSettings.GetValue(Setting_Init.http_server);
Operation
resultOperation
=
HttpHelper
.
Post
(
StoreManager
.
GetPostApi
(
server
),
operation
,
false
);
Operation
resultOperation
=
HttpHelper
.
Post
(
StoreManager
.
GetPostApi
(
server
),
operation
,
false
);
if
(
resultOperation
==
null
)
if
(
resultOperation
==
null
)
...
@@ -1953,6 +1955,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -1953,6 +1955,8 @@ namespace OnlineStore.DeviceLibrary
{
{
lineOperation
.
alarmList
.
Add
(
alarmInfo
);
lineOperation
.
alarmList
.
Add
(
alarmInfo
);
}
}
int
doorReelSignal
=
(
int
)
IOManager
.
IOValue
(
IO_Type
.
TrayCheck_Door
);
lineOperation
.
data
=
new
Dictionary
<
string
,
string
>
{
{
ParamDefine
.
doorReelSignal
,
doorReelSignal
.
ToString
()
}
};
return
lineOperation
;
return
lineOperation
;
}
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论