Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC30-AutoInOutStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 907df38e
由
LN
编写于
2019-09-20 15:16:48 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
中英文
1 个父辈
b117e876
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
55 行增加
和
3 行删除
dll/CodeLibrary.dll
dll/resources/resources.txt
source/ACSingleStore/Properties/Resource.en-US.resx
source/ACSingleStore/Properties/Resource.zh-CN.resx
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean.cs
dll/CodeLibrary.dll
查看文件 @
907df38
此文件类型无法预览
dll/resources/resources.txt
0 → 100644
查看文件 @
907df38
FrmCodeDecode_Text,二维码识别,Qr code recognition
FrmCodeDecode_label4_Text,参数路径,Parameters of the path
FrmCodeDecode_chbUseParam_Text,使用参数,operation parameter
FrmCodeDecode_btnAn_Text,变暗,darken
FrmCodeDecode_btnLight_Text,提亮,brighten
FrmCodeDecode_btnCopyN_Text,复制名称,Copy Name
FrmCodeDecode_label3_Text,条码类型:,Bar code type:
FrmCodeDecode_label2_Text,相机列表:,Camera list:
FrmCodeDecode_btnExit_Text,退出,Exit
FrmCodeDecode_btnCameraImage_Text,相机获取图片,camera image
FrmCodeDecode_lblCount_Text,条码数量:,Barcode number:
FrmCodeDecode_btnClearLog_Text,清理日志,Clear log
FrmCodeDecode_btnDCode_Text,二维码识别,Qr code recognition
FrmCodeDecode_btnLearn_Text,学习,learn
FrmCodeDecode_btnbarCode_Text,一维码识别,One dimensional code recognition
FrmCodeDecode_btnGray_Text,图像转灰,Turning grey
FrmCodeDecode_btnErZhi_Text,二值化,binaryzation
FrmCodeDecode_btnSelImage_Text,打开本地图片,Open local image
FrmCodeDecode_label1_Text,图片路径,Image path
FrmCodeLearn_Text,条码参数学习,Bar code parameter learning
FrmCodeLearn_chbHalcon_Text,Halcon获取图片,Halcon Get photo
FrmCodeLearn_label4_Text,图片路径,Image path
FrmCodeLearn_btnDelOld_Text,删除旧参数,Delete old parameter
FrmCodeLearn_chbUseCamera_Text,相机获取实时图片,camera image
FrmCodeLearn_btnSelImage_Text,打开本地图片,Open local image
FrmCodeLearn_chbTest_Text,学习结束自动识别测试,Automatic identification test
FrmCodeLearn_btnClearLog_Text,清理日志,Clear log
FrmCodeLearn_lblCount_Text,条码数量:,Barcode number:
FrmCodeLearn_label3_Text,参数路径,Parameters of the path
FrmCodeLearn_label2_Text,类型:,Type:
FrmCodeLearn_label1_Text,相机:,camera:
FrmCodeLearn_btnExit_Text,退出,Exit
FrmCodeLearn_btnStop_Text,结束学习,End of learning
FrmCodeLearn_btnOpen_Text,开始学习,start to learn
selCamera,请先选择相机,Please select camera
selImage,请先选择图片,Please select picture
title,提示,Notice
imageIsNull,获取二维码图片为空,Get the two-dimensional code picture is empty
sureDelete,确定删除文件:,Make sure to delete the file:
\ No newline at end of file
source/ACSingleStore/Properties/Resource.en-US.resx
查看文件 @
907df38
...
...
@@ -1330,4 +1330,7 @@
<data name="确定将[{0}]保存为单盘入库默认库位?" xml:space="preserve">
<value>Are you sure to save [{0}] as the default position of single storing ?</value>
</data>
<data name="启动失败:设备未初始化完成" xml:space="preserve">
<value>Startup failure: device initialization is not complete</value>
</data>
</root>
\ No newline at end of file
source/ACSingleStore/Properties/Resource.zh-CN.resx
查看文件 @
907df38
...
...
@@ -1329,4 +1329,7 @@
<data name="确定将[{0}]保存为单盘入库默认库位?" xml:space="preserve">
<value>确定将[{0}]保存为单盘入库默认库位?</value>
</data>
<data name="启动失败:设备未初始化完成" xml:space="preserve">
<value>启动失败:设备未初始化完成</value>
</data>
</root>
\ No newline at end of file
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean.cs
查看文件 @
907df38
...
...
@@ -38,6 +38,7 @@ namespace OnlineStore.DeviceLibrary
private
IO_VALUE
preAirValue
=
IO_VALUE
.
HIGH
;
private
bool
IsHasCompress_Axis
=
true
;
private
bool
LoadOk
=
false
;
public
AC_SA_BoxBean
(
AUTO_SA_Config
config
)
{
StoreName
=
(
"AUTO_BOX_"
+
config
.
Id
+
" "
).
ToUpper
();
...
...
@@ -78,17 +79,18 @@ namespace OnlineStore.DeviceLibrary
if
(
ConfigAppSettings
.
GetIntValue
(
Setting_Init
.
CodeRun
).
Equals
(
1
))
{
}
else
{
IOManager
.
instance
.
ConnectionIOList
(
Config
.
DIODeviceNameList
);
int
isAuto
=
ConfigAppSettings
.
GetIntValue
(
Setting_Init
.
App_AutoRun
);
mainTimer
.
Enabled
=
(
isAuto
==
1
);
Task
.
Factory
.
StartNew
(
delegate
{
IOManager
.
instance
.
ConnectionIOList
(
Config
.
DIODeviceNameList
);
int
isAuto
=
ConfigAppSettings
.
GetIntValue
(
Setting_Init
.
App_AutoRun
);
Thread
.
Sleep
(
300
);
//默认三个灯都亮
IOManager
.
IOMove
(
IO_Type
.
Alarm_HddLed
,
IO_VALUE
.
LOW
);
IOManager
.
IOMove
(
IO_Type
.
AutoRun_HddLed
,
IO_VALUE
.
LOW
);
IOManager
.
IOMove
(
IO_Type
.
RunSign_HddLed
,
IO_VALUE
.
LOW
);
IOManager
.
IOMove
(
IO_Type
.
Buzzer_Sign
,
IO_VALUE
.
LOW
);
mainTimer
.
Enabled
=
(
isAuto
==
1
);
LoadOk
=
true
;
});
}
}
...
...
@@ -204,6 +206,11 @@ namespace OnlineStore.DeviceLibrary
{
try
{
if
(!
LoadOk
)
{
SetWarnMsg
(
"启动失败:设备未初始化完成"
);
return
false
;
}
runTimeWatch
.
Restart
();
LogUtil
.
info
(
LOGGER
,
StoreName
+
"开始启动,启动时间:"
+
DateTime
.
Now
.
ToLongTimeString
());
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论