Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
AutoCountMachine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 5ef664e8
由
LN
编写于
2020-05-25 17:29:57 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
0690b6b8
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
24 行增加
和
13 行删除
RC1266-AutoCountMachine/source/AutoCountClient/App.config
RC1266-AutoCountMachine/source/DeviceLibrary/RobotConfig/Config_InputEquip.csv
RC1266-AutoCountMachine/source/DeviceLibrary/RobotConfig/Config_OutputEquip.csv
RC1266-AutoCountMachine/source/DeviceLibrary/RobotConfig/Config_Robot.csv
RC1266-AutoCountMachine/source/DeviceLibrary/manager/RobotManager.cs
RC1266-AutoCountMachine/source/DeviceLibrary/manager/SServerManager.cs
RC1266-AutoCountMachine/source/AutoCountClient/App.config
查看文件 @
5ef664e
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<
add
key
=
"App_AutoRun"
value
=
"1"
/>
<
add
key
=
"App_AutoRun"
value
=
"1"
/>
<
add
key
=
"App_Title"
value
=
"自动点料机"
/>
<
add
key
=
"App_Title"
value
=
"自动点料机"
/>
<!--<
add
key
=
"ServerAddr"
value
=
"http://
localhost/myproject/service/store/emptyPosForPutin
"
/>-->
<!--<
add
key
=
"ServerAddr"
value
=
"http://
10.85.17.233
"
/>-->
<
add
key
=
"ConfigPath_Robot"
value
=
"\RobotConfig\Config_Robot.csv"
/>
<
add
key
=
"ConfigPath_Robot"
value
=
"\RobotConfig\Config_Robot.csv"
/>
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
<!--标签文件名称-->
<!--标签文件名称-->
<
add
key
=
"LabelName"
value
=
"test2"
/>
<
add
key
=
"LabelName"
value
=
"test2"
/>
<!--打印机名称-->
<!--打印机名称-->
<
add
key
=
"PrinterName"
value
=
"ZDesigner GT800
(EPL)
"
/>
<
add
key
=
"PrinterName"
value
=
"ZDesigner GT800
-300dpi EPL
"
/>
</
appSettings
>
</
appSettings
>
<
log4net
>
<
log4net
>
...
...
RC1266-AutoCountMachine/source/DeviceLibrary/RobotConfig/Config_InputEquip.csv
查看文件 @
5ef664e
...
@@ -17,7 +17,7 @@ PRO,0,右侧提升轴缓慢上升目标位置P3,R_BatchAxisP3,5787415,,,,,
...
@@ -17,7 +17,7 @@ PRO,0,右侧提升轴缓慢上升目标位置P3,R_BatchAxisP3,5787415,,,,,
,,,,,,,,,
,,,,,,,,,
PRO,0,提升轴P1速度,BatchAxis_P1Speed,3000,,,,,
PRO,0,提升轴P1速度,BatchAxis_P1Speed,3000,,,,,
,0,提升轴P2速度,BatchAxis_P2Speed,3000,,,,,
,0,提升轴P2速度,BatchAxis_P2Speed,3000,,,,,
PRO,0,提升轴P3速度,BatchAxis_P3Speed,
5
00,,,,,
PRO,0,提升轴P3速度,BatchAxis_P3Speed,
10
00,,,,,
PRO,0,提升轴高度转换系数(1mm对应的脉冲),Height_ChangeValue,10446,,,,,
PRO,0,提升轴高度转换系数(1mm对应的脉冲),Height_ChangeValue,10446,,,,,
,,,,,,,,,
,,,,,,,,,
PRO,0,取料升降轴待机点P1,UpdownAxis_P1,72000,,,,,
PRO,0,取料升降轴待机点P1,UpdownAxis_P1,72000,,,,,
...
...
RC1266-AutoCountMachine/source/DeviceLibrary/RobotConfig/Config_OutputEquip.csv
查看文件 @
5ef664e
...
@@ -7,12 +7,12 @@ PRO,0,料架出口AGV站号名称,AgvOutName,F4,,,,,
...
@@ -7,12 +7,12 @@ PRO,0,料架出口AGV站号名称,AgvOutName,F4,,,,,
PRO,0,相机名称,CameraName,GigE:MV-CE200-10GC (00E02588177),,,,,
PRO,0,相机名称,CameraName,GigE:MV-CE200-10GC (00E02588177),,,,,
,,,,,,,,,
,,,,,,,,,
PRO,0,出料提升轴上升待机点 P1,BatchAxisP1,6332000,,,,,
PRO,0,出料提升轴上升待机点 P1,BatchAxisP1,6332000,,,,,
PRO,0,出料提升轴下降位置P2,BatchAxisP2,-
88500
,,,,,
PRO,0,出料提升轴下降位置P2,BatchAxisP2,-
65841
,,,,,
PRO,0,出料提升轴缓慢上升目标位置P3,BatchAxisP3,5610528,,,,,
PRO,0,出料提升轴缓慢上升目标位置P3,BatchAxisP3,5610528,,,,,
,,,,,,,,,
,,,,,,,,,
PRO,0,出料提升轴P1速度,BatchAxis_P1Speed,4000,,,,,
PRO,0,出料提升轴P1速度,BatchAxis_P1Speed,4000,,,,,
PRO,0,出料提升轴P2速度,BatchAxis_P2Speed,4000,,,,,
PRO,0,出料提升轴P2速度,BatchAxis_P2Speed,4000,,,,,
PRO,0,出料提升轴P3速度,BatchAxis_P3Speed,
5
00,,,,,
PRO,0,出料提升轴P3速度,BatchAxis_P3Speed,
10
00,,,,,
PRO,0,出料提升轴高度转换系数(1mm对应的脉冲),Height_ChangeValue,10446,,,,,
PRO,0,出料提升轴高度转换系数(1mm对应的脉冲),Height_ChangeValue,10446,,,,,
,,,,,,,,,
,,,,,,,,,
PRO,0,取料X轴待机点-P1,MoveX_P1,2001,,,,,
PRO,0,取料X轴待机点-P1,MoveX_P1,2001,,,,,
...
@@ -56,3 +56,4 @@ PRO,0,贴标机构R轴贴标点P3,LabelR_P3,500,,,,,
...
@@ -56,3 +56,4 @@ PRO,0,贴标机构R轴贴标点P3,LabelR_P3,500,,,,,
PRO,0,贴标机构R轴P1速度,LabelR_P1Speed,20,,,,,
PRO,0,贴标机构R轴P1速度,LabelR_P1Speed,20,,,,,
PRO,0,贴标机构R轴P2速度,LabelR_P2Speed,20,,,,,
PRO,0,贴标机构R轴P2速度,LabelR_P2Speed,20,,,,,
PRO,0,贴标机构R轴P3速度,LabelR_P3Speed,20,,,,,
PRO,0,贴标机构R轴P3速度,LabelR_P3Speed,20,,,,,
RC1266-AutoCountMachine/source/DeviceLibrary/RobotConfig/Config_Robot.csv
查看文件 @
5ef664e
...
@@ -4,15 +4,15 @@ PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,1,,,,,,,,,,,,
...
@@ -4,15 +4,15 @@ PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,1,,,,,,,,,,,,
AXIS,,取料机构旋转轴_SVD01,Take_Middle_Axis,1,COM2,,250,500,500,100,200,1000,10,1000,0,0
AXIS,,取料机构旋转轴_SVD01,Take_Middle_Axis,1,COM2,,250,500,500,100,200,1000,10,1000,0,0
AXIS,,取料机构上下轴_SVD02,Take_UpDown_Axis,2,COM2,,1000,1000,1000,200,500,500,10,1000,0,0
AXIS,,取料机构上下轴_SVD02,Take_UpDown_Axis,2,COM2,,1000,1000,1000,200,500,500,10,1000,0,0
AXIS,,取料机构进出轴_SVD03,Take_InOut_Axis,3,COM2,,800,1000,1000,200,500,500,10,1000,0,0
AXIS,,取料机构进出轴_SVD03,Take_InOut_Axis,3,COM2,,800,1000,1000,200,500,500,10,1000,0,0
AXIS,,左轨道提升轴_SVD04,Left_Batch_Axis,4,COM2,,3000,
500,5
00,200,1000,200,10,1000,0,0
AXIS,,左轨道提升轴_SVD04,Left_Batch_Axis,4,COM2,,3000,
1000,10
00,200,1000,200,10,1000,0,0
AXIS,,右轨道提升轴_SVD05,Right_Batch_Axis,5,COM2,,3000,
500,5
00,200,1000,200,10,1000,0,0
AXIS,,右轨道提升轴_SVD05,Right_Batch_Axis,5,COM2,,3000,
1000,10
00,200,1000,200,10,1000,0,0
AXIS,,取料移栽机构X轴_SVD06,Move_X_Axis,6,COM4,,100,
3000,30
00,30,100,1000,10,1000,0,0
AXIS,,取料移栽机构X轴_SVD06,Move_X_Axis,6,COM4,,100,
1500,15
00,30,100,1000,10,1000,0,0
AXIS,,取料移栽机构Z轴_SVD07,Move_Z_Axis,7,COM4,,100,1000,1000,50,250,1000,10,1000,0,0
AXIS,,取料移栽机构Z轴_SVD07,Move_Z_Axis,7,COM4,,100,1000,1000,50,250,1000,10,1000,0,0
AXIS,,贴标移栽机构X轴_SVD08,Label_X_Axis,8,COM4,,100,1000,1000,50,250,500,10,1000,0,0
AXIS,,贴标移栽机构X轴_SVD08,Label_X_Axis,8,COM4,,100,1000,1000,50,250,500,10,1000,0,0
AXIS,,贴标移栽机构Y轴_SVD09,Label_Y_Axis,9,COM4,,100,
500,5
00,50,150,500,10,1000,0,0
AXIS,,贴标移栽机构Y轴_SVD09,Label_Y_Axis,9,COM4,,100,
1000,10
00,50,150,500,10,1000,0,0
AXIS,,贴标移栽机构Z轴_SVD10,Label_Z_Axis,10,COM4,,100,
500,5
00,50,150,500,10,1000,0,0
AXIS,,贴标移栽机构Z轴_SVD10,Label_Z_Axis,10,COM4,,100,
1000,10
00,50,150,500,10,1000,0,0
AXIS,,贴标移栽机构R轴_SVD11,Label_R_Axis,11,COM4,,10,2000,2000,1,5,200,500,1000,0,0
AXIS,,贴标移栽机构R轴_SVD11,Label_R_Axis,11,COM4,,10,2000,2000,1,5,200,500,1000,0,0
AXIS,,出料工位提升轴_SVD12,Out_Batch_Axis,12,COM4,,2000,
500,5
00,200,1000,500,10,1000,0,0
AXIS,,出料工位提升轴_SVD12,Out_Batch_Axis,12,COM4,,2000,
1000,10
00,200,1000,500,10,1000,0,0
,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,
...
...
RC1266-AutoCountMachine/source/DeviceLibrary/manager/RobotManager.cs
查看文件 @
5ef664e
...
@@ -196,6 +196,16 @@ namespace OnlineStore.DeviceLibrary
...
@@ -196,6 +196,16 @@ namespace OnlineStore.DeviceLibrary
PrintBean
.
Printer
(
PrintName
,
false
);
PrintBean
.
Printer
(
PrintName
,
false
);
LogUtil
.
info
(
"打印机初始化完成【"
+
labelName
+
"】【"
+
PrintName
+
"】"
);
LogUtil
.
info
(
"打印机初始化完成【"
+
labelName
+
"】【"
+
PrintName
+
"】"
);
System
.
Drawing
.
Printing
.
PrintDocument
print
=
new
System
.
Drawing
.
Printing
.
PrintDocument
();
string
sDefault
=
print
.
PrinterSettings
.
PrinterName
;
//默认打印机名
LogUtil
.
info
(
"本机默认打印机:"
+
sDefault
);
int
index
=
1
;
foreach
(
string
sPrint
in
System
.
Drawing
.
Printing
.
PrinterSettings
.
InstalledPrinters
)
//获取所有打印机名称
{
LogUtil
.
info
(
"打印机_"
+
index
+
"_名称:"
+
sPrint
);
index
++;
}
}
}
public
static
Asa
.
PrintLabel
.
PrinterStatus
LastPrintStatus
=
Asa
.
PrintLabel
.
PrinterStatus
.
Unknown
;
public
static
Asa
.
PrintLabel
.
PrinterStatus
LastPrintStatus
=
Asa
.
PrintLabel
.
PrinterStatus
.
Unknown
;
private
static
void
Print_PrintStatusChanged
(
Asa
.
PrintLabel
.
PrinterStatus
sta
)
private
static
void
Print_PrintStatusChanged
(
Asa
.
PrintLabel
.
PrinterStatus
sta
)
...
...
RC1266-AutoCountMachine/source/DeviceLibrary/manager/SServerManager.cs
查看文件 @
5ef664e
...
@@ -17,8 +17,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -17,8 +17,8 @@ namespace OnlineStore.DeviceLibrary
//http://10.85.17.233/ReturnOne/WebServiceF.asmx?op=Return_Material
//http://10.85.17.233/ReturnOne/WebServiceF.asmx?op=Return_Material
private
static
string
Addr_VMICheckRLC
=
"/
service/store/emptyPosForPutin
"
;
private
static
string
Addr_VMICheckRLC
=
"/
ESMTCommonInterface/CommonService.asmx?op=VMICheckRLC
"
;
private
static
string
Addr_Return_Material
=
"/
rest/api/qisda/device/getSize
"
;
private
static
string
Addr_Return_Material
=
"/
ReturnOne/WebServiceF.asmx?op=Return_Material
"
;
public
static
string
Get_VMICheckRLC
(
string
deviceName
,
string
codeStr
,
out
bool
need
)
public
static
string
Get_VMICheckRLC
(
string
deviceName
,
string
codeStr
,
out
bool
need
)
{
{
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论