Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
ACSingleStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 474ee95a
由
几米阳光
编写于
2018-10-30 15:06:05 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
扫码时添加高度判断。扫码调试
1 个父辈
41890ca1
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
14 行增加
和
14 行删除
dll/CodeLibrary.dll
source/ACSingleStore/App.config
source/ACSingleStore/FrmAxisDebug.Designer.cs
source/ACSingleStore/FrmStoreBox.cs
source/Common/util/HumitureController.cs
source/DeviceLibrary/KangNaiDe/KNDAIManager.cs
source/DeviceLibrary/StoreConfig/AC/StoreConfig.csv
source/DeviceLibrary/StoreConfig/AC/linePositions.csv
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean.cs
dll/CodeLibrary.dll
查看文件 @
474ee95
此文件类型无法预览
source/ACSingleStore/App.config
查看文件 @
474ee95
...
@@ -26,15 +26,15 @@
...
@@ -26,15 +26,15 @@
<!--摄像机名称列表配置,用
#分割-->
<!--摄像机名称列表配置,用
#分割-->
<
add
key
=
"CameraName"
value
=
"codeCamera"
/>
<
add
key
=
"CameraName"
value
=
"codeCamera"
/>
<!--二维码类型列表配置,用
#分割-->
<!--二维码类型列表配置,用
#分割-->
<
add
key
=
"CodeType"
value
=
"
QR Code
"
/>
<
add
key
=
"CodeType"
value
=
"
Data Matrix ECC 200
"
/>
<!--<
add
key
=
"CodeType"
value
=
"Data Matrix ECC 200"
/>-->
<!--<
add
key
=
"CodeType"
value
=
"Data Matrix ECC 200"
/>-->
<!--二维码参数文件所在路径,文件名与二维码类型名一样-->
<!--二维码参数文件所在路径,文件名与二维码类型名一样-->
<
add
key
=
"CodeParamPath"
value
=
"\
StoreConfig\AC
\"
/>
<
add
key
=
"CodeParamPath"
value
=
"\
CodeParam
\"
/>
<
add
key
=
"AI_ConvertPosition"
value
=
"38"
/>
<
add
key
=
"AI_ConvertPosition"
value
=
"38"
/>
</
appSettings
>
</
appSettings
>
<
log4net
>
<
log4net
>
<
appender
name
=
"RollingLogFileAppender"
type
=
"log4net.Appender.RollingFileAppender"
>
<
appender
name
=
"RollingLogFileAppender"
type
=
"log4net.Appender.RollingFileAppender"
>
<
file
value
=
"logs/
BJ
ACStore.log"
/>
<
file
value
=
"logs/
LD
ACStore.log"
/>
<
appendToFile
value
=
"true"
/>
<
appendToFile
value
=
"true"
/>
<
rollingStyle
value
=
"Date"
/>
<
rollingStyle
value
=
"Date"
/>
<
datePattern
value
=
"yyyy-MM-dd"
/>
<
datePattern
value
=
"yyyy-MM-dd"
/>
...
...
source/ACSingleStore/FrmAxisDebug.Designer.cs
查看文件 @
474ee95
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
this
.
btnMiddleMove
.
Name
=
"btnMiddleMove"
;
this
.
btnMiddleMove
.
Name
=
"btnMiddleMove"
;
this
.
btnMiddleMove
.
Size
=
new
System
.
Drawing
.
Size
(
131
,
36
);
this
.
btnMiddleMove
.
Size
=
new
System
.
Drawing
.
Size
(
131
,
36
);
this
.
btnMiddleMove
.
TabIndex
=
4
;
this
.
btnMiddleMove
.
TabIndex
=
4
;
this
.
btnMiddleMove
.
Text
=
"旋转轴+(
逆
时针)"
;
this
.
btnMiddleMove
.
Text
=
"旋转轴+(
顺
时针)"
;
this
.
btnMiddleMove
.
UseVisualStyleBackColor
=
true
;
this
.
btnMiddleMove
.
UseVisualStyleBackColor
=
true
;
this
.
btnMiddleMove
.
MouseDown
+=
new
System
.
Windows
.
Forms
.
MouseEventHandler
(
this
.
btnMiddleMove_MouseDown
);
this
.
btnMiddleMove
.
MouseDown
+=
new
System
.
Windows
.
Forms
.
MouseEventHandler
(
this
.
btnMiddleMove_MouseDown
);
this
.
btnMiddleMove
.
MouseUp
+=
new
System
.
Windows
.
Forms
.
MouseEventHandler
(
this
.
btnMiddleMove_MouseUp
);
this
.
btnMiddleMove
.
MouseUp
+=
new
System
.
Windows
.
Forms
.
MouseEventHandler
(
this
.
btnMiddleMove_MouseUp
);
...
@@ -160,7 +160,7 @@
...
@@ -160,7 +160,7 @@
this
.
btnMiddleMovej
.
Name
=
"btnMiddleMovej"
;
this
.
btnMiddleMovej
.
Name
=
"btnMiddleMovej"
;
this
.
btnMiddleMovej
.
Size
=
new
System
.
Drawing
.
Size
(
131
,
36
);
this
.
btnMiddleMovej
.
Size
=
new
System
.
Drawing
.
Size
(
131
,
36
);
this
.
btnMiddleMovej
.
TabIndex
=
12
;
this
.
btnMiddleMovej
.
TabIndex
=
12
;
this
.
btnMiddleMovej
.
Text
=
"旋转轴-(
顺
时针)"
;
this
.
btnMiddleMovej
.
Text
=
"旋转轴-(
逆
时针)"
;
this
.
btnMiddleMovej
.
UseVisualStyleBackColor
=
true
;
this
.
btnMiddleMovej
.
UseVisualStyleBackColor
=
true
;
this
.
btnMiddleMovej
.
MouseDown
+=
new
System
.
Windows
.
Forms
.
MouseEventHandler
(
this
.
btnMiddleMovej_MouseDown
);
this
.
btnMiddleMovej
.
MouseDown
+=
new
System
.
Windows
.
Forms
.
MouseEventHandler
(
this
.
btnMiddleMovej_MouseDown
);
this
.
btnMiddleMovej
.
MouseUp
+=
new
System
.
Windows
.
Forms
.
MouseEventHandler
(
this
.
btnMiddleMovej_MouseUp
);
this
.
btnMiddleMovej
.
MouseUp
+=
new
System
.
Windows
.
Forms
.
MouseEventHandler
(
this
.
btnMiddleMovej_MouseUp
);
...
...
source/ACSingleStore/FrmStoreBox.cs
查看文件 @
474ee95
...
@@ -796,20 +796,20 @@ namespace OnlineStore.ACSingleStore
...
@@ -796,20 +796,20 @@ namespace OnlineStore.ACSingleStore
private
void
btnComP2_Click
(
object
sender
,
EventArgs
e
)
private
void
btnComP2_Click
(
object
sender
,
EventArgs
e
)
{
{
//
int value = FormUtil.GetIntValue(txtComP2);
int
value
=
FormUtil
.
GetIntValue
(
txtComP2
);
//
ShuoKeControls.AbsMove(store.Config.CompressAxis_Slv, value);
ShuoKeControls
.
AbsMove
(
store
.
Config
.
CompressAxis_Slv
,
value
);
}
}
private
void
btnComP1_Click
(
object
sender
,
EventArgs
e
)
private
void
btnComP1_Click
(
object
sender
,
EventArgs
e
)
{
{
//
int value = FormUtil.GetIntValue(txtComP1);
int
value
=
FormUtil
.
GetIntValue
(
txtComP1
);
//
ShuoKeControls.AbsMove(store.Config.CompressAxis_Slv, value);
ShuoKeControls
.
AbsMove
(
store
.
Config
.
CompressAxis_Slv
,
value
);
}
}
private
void
btnComP3_Click
(
object
sender
,
EventArgs
e
)
private
void
btnComP3_Click
(
object
sender
,
EventArgs
e
)
{
{
//
int value = FormUtil.GetIntValue(txtComP3);
int
value
=
FormUtil
.
GetIntValue
(
txtComP3
);
//
ShuoKeControls.AbsMove(store.Config.CompressAxis_Slv, value);
ShuoKeControls
.
AbsMove
(
store
.
Config
.
CompressAxis_Slv
,
value
);
}
}
int
xWidth
=
SystemInformation
.
PrimaryMonitorSize
.
Width
;
//获取显示器屏幕宽度
int
xWidth
=
SystemInformation
.
PrimaryMonitorSize
.
Width
;
//获取显示器屏幕宽度
int
yHeight
=
SystemInformation
.
PrimaryMonitorSize
.
Height
;
//高度
int
yHeight
=
SystemInformation
.
PrimaryMonitorSize
.
Height
;
//高度
...
...
source/Common/util/HumitureController.cs
查看文件 @
474ee95
...
@@ -105,7 +105,7 @@ namespace OnlineStore.Common
...
@@ -105,7 +105,7 @@ namespace OnlineStore.Common
sendData
[
7
]
=
0x00
;
sendData
[
7
]
=
0x00
;
sendData
=
buildCheckData
(
sendData
,
sendData
.
Length
-
2
);
sendData
=
buildCheckData
(
sendData
,
sendData
.
Length
-
2
);
string
str
=
AcSerialBean
.
byteToHexStr
(
sendData
);
string
str
=
AcSerialBean
.
byteToHexStr
(
sendData
);
LogUtil
.
info
(
"温湿度控制器发送数据:"
+
str
);
LogUtil
.
debug
(
"温湿度控制器发送数据:"
+
str
);
byte
[]
reviceData
=
new
byte
[
9
];
byte
[]
reviceData
=
new
byte
[
9
];
bool
isOk
=
false
;
bool
isOk
=
false
;
sb
.
SendCommand
(
sendData
,
ref
reviceData
,
100
,
out
isOk
);
sb
.
SendCommand
(
sendData
,
ref
reviceData
,
100
,
out
isOk
);
...
...
source/DeviceLibrary/KangNaiDe/KNDAIManager.cs
查看文件 @
474ee95
...
@@ -314,7 +314,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -314,7 +314,7 @@ namespace OnlineStore.DeviceLibrary
break
;
break
;
}
}
}
}
LOGGER
.
Info
(
"Read data:【"
+
reviceMsg
+
"】 "
);
LOGGER
.
Debug
(
"Read data:【"
+
reviceMsg
+
"】 "
);
if
(
ID
==
0xFF
)
if
(
ID
==
0xFF
)
{
{
return
;
return
;
...
...
source/DeviceLibrary/StoreConfig/AC/StoreConfig.csv
查看文件 @
474ee95
此文件的差异被折叠,
点击展开。
source/DeviceLibrary/StoreConfig/AC/linePositions.csv
查看文件 @
474ee95
此文件的差异被折叠,
点击展开。
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean.cs
查看文件 @
474ee95
...
@@ -939,7 +939,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -939,7 +939,7 @@ namespace OnlineStore.DeviceLibrary
IO_VALUE
checkIO
=
KNDIOValue
(
IO_Type
.
TrayCheck_Door
);
IO_VALUE
checkIO
=
KNDIOValue
(
IO_Type
.
TrayCheck_Door
);
//判断料门口是否有料
//判断料门口是否有料
if
((
checkIO
.
Equals
(
IO_VALUE
.
HIGH
)))
if
((
checkIO
.
Equals
(
IO_VALUE
.
HIGH
))
&&
GetHeight
()>
0
)
{
{
if
(
IsScanCode
)
if
(
IsScanCode
)
{
{
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论