Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
SO827-AutoScanAndLabel
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 501ae682
由
张东亮
编写于
2023-01-18 10:23:42 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
agv按钮状态上报
1 个父辈
8f19e344
全部展开
显示空白字符变更
内嵌
并排
正在显示
24 个修改的文件
包含
370 行增加
和
63 行删除
AutoScanAndLabel/App.config
AutoScanAndLabel/AutoScanAndLabel.csproj
AutoScanAndLabel/LogControl.cs
AutoScanAndLabel/Properties/Resources.Designer.cs
AutoScanAndLabel/Properties/Settings.Designer.cs
AutoScanAndLabel/SettingControl.Designer.cs
Common/Common.csproj
Common/bean/Bean.cs
Common/util/MyWebClient.cs
DL.StandardRobots/DL.StandardRobots.csproj
DeviceLibrary/AGVManager.cs
DeviceLibrary/AGVService/Controllers/deviceOperateController.cs
DeviceLibrary/AGVService/Controllers/taskNotificationController.cs
DeviceLibrary/AGVService/HttpService.cs
DeviceLibrary/AGVService/Schemas/DeviceCheckDto.cs
DeviceLibrary/AGVService/Schemas/NotificationDto.cs
DeviceLibrary/AGVService/Schemas/RtnData.cs
DeviceLibrary/AutoScanAndLabel/MainMachine.cs
DeviceLibrary/AutoScanAndLabel/RobotManage.cs
DeviceLibrary/DeviceLibrary.csproj
DeviceLibrary/DeviceLibrary/ServerCommunication.cs
DeviceLibrary/app.config
DeviceLibrary/packages.config
LoadCVSLibrary/LoadCSVLibrary.csproj
AutoScanAndLabel/App.config
查看文件 @
501ae68
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
configuration
>
<
configuration
>
<
configSections
>
<
configSections
>
<
section
name
=
"log4net"
type
=
"log4net.Config.Log4NetConfigurationSectionHandler,log4net"
/>
<
section
name
=
"log4net"
type
=
"log4net.Config.Log4NetConfigurationSectionHandler,log4net"
/>
</
configSections
>
</
configSections
>
<
appSettings
>
<
appSettings
>
<!--是否开机自动启动料仓-->
<!--是否开机自动启动料仓-->
<
add
key
=
"App_AutoRun"
value
=
"1"
/>
<
add
key
=
"App_AutoRun"
value
=
"1"
/>
<
add
key
=
"CameraName"
value
=
"GigE:acA3800-10gc (23124327)#"
/>
<
add
key
=
"CameraName"
value
=
"GigE:acA3800-10gc (23124327)#"
/>
<
add
key
=
"Config_Pwd"
value
=
"123456"
/>
<
add
key
=
"Config_Pwd"
value
=
"123456"
/>
<
add
key
=
"CodeType"
value
=
"QR Code#Data Matrix ECC 200#barcode"
/>
<
add
key
=
"CodeType"
value
=
"QR Code#Data Matrix ECC 200#barcode"
/>
<!--二维码参数文件所在路径,文件名与二维码类型名一样-->
<!--二维码参数文件所在路径,文件名与二维码类型名一样-->
<
add
key
=
"CodeParamPath"
value
=
"Conifg\"
/>
<
add
key
=
"CodeParamPath"
value
=
"Conifg\"
/>
<
add
key
=
"CodeCount"
value
=
"3"
/>
<
add
key
=
"CodeCount"
value
=
"3"
/>
</
appSettings
>
</
appSettings
>
<
log4net
>
<
log4net
>
<
appender
name
=
"RollingLogFileAppender"
type
=
"log4net.Appender.RollingFileAppender"
>
<
appender
name
=
"RollingLogFileAppender"
type
=
"log4net.Appender.RollingFileAppender"
>
<
file
value
=
"logs/AutoScanAndLabel.log"
/>
<
file
value
=
"logs/AutoScanAndLabel.log"
/>
<
param
name
=
"Encoding"
value
=
"UTF-8"
/>
<
param
name
=
"Encoding"
value
=
"UTF-8"
/>
<
appendToFile
value
=
"true"
/>
<
appendToFile
value
=
"true"
/>
<
rollingStyle
value
=
"Date"
/>
<
rollingStyle
value
=
"Date"
/>
<
datePattern
value
=
"yyyy-MM-dd"
/>
<
datePattern
value
=
"yyyy-MM-dd"
/>
<
layout
type
=
"log4net.Layout.PatternLayout"
>
<
layout
type
=
"log4net.Layout.PatternLayout"
>
<
conversionPattern
value
=
"[%date][%t]%-5p %m%n"
/>
<
conversionPattern
value
=
"[%date][%t]%-5p %m%n"
/>
</
layout
>
</
layout
>
</
appender
>
</
appender
>
<
appender
name
=
"LngResource"
type
=
"log4net.Appender.RollingFileAppender"
>
<
appender
name
=
"LngResource"
type
=
"log4net.Appender.RollingFileAppender"
>
<
file
value
=
"logs/LngResource.log"
/>
<
file
value
=
"logs/LngResource.log"
/>
<
param
name
=
"Encoding"
value
=
"UTF-8"
/>
<
param
name
=
"Encoding"
value
=
"UTF-8"
/>
<
appendToFile
value
=
"true"
/>
<
appendToFile
value
=
"true"
/>
<
rollingStyle
value
=
"Date"
/>
<
rollingStyle
value
=
"Date"
/>
<
datePattern
value
=
"yyyy-MM-dd"
/>
<
datePattern
value
=
"yyyy-MM-dd"
/>
<
layout
type
=
"log4net.Layout.PatternLayout"
>
<
layout
type
=
"log4net.Layout.PatternLayout"
>
<
conversionPattern
value
=
"%m%n"
/>
<
conversionPattern
value
=
"%m%n"
/>
</
layout
>
</
layout
>
</
appender
>
</
appender
>
<
appender
name
=
"standrobot"
type
=
"log4net.Appender.RollingFileAppender"
>
<
appender
name
=
"standrobot"
type
=
"log4net.Appender.RollingFileAppender"
>
<
file
value
=
"logs/standrobot/standrobot.log"
/>
<
file
value
=
"logs/standrobot/standrobot.log"
/>
<
param
name
=
"Encoding"
value
=
"UTF-8"
/>
<
param
name
=
"Encoding"
value
=
"UTF-8"
/>
<
appendToFile
value
=
"true"
/>
<
appendToFile
value
=
"true"
/>
<
rollingStyle
value
=
"Date"
/>
<
rollingStyle
value
=
"Date"
/>
<
datePattern
value
=
"yyyy-MM-dd"
/>
<
datePattern
value
=
"yyyy-MM-dd"
/>
<
layout
type
=
"log4net.Layout.PatternLayout"
>
<
layout
type
=
"log4net.Layout.PatternLayout"
>
<
conversionPattern
value
=
"%m%n"
/>
<
conversionPattern
value
=
"%m%n"
/>
</
layout
>
</
layout
>
</
appender
>
</
appender
>
<
logger
name
=
"RollingLogFileAppender"
>
<
logger
name
=
"RollingLogFileAppender"
>
<
level
value
=
"ALL"
/>
<
level
value
=
"ALL"
/>
<
appender
-
ref
ref
=
"RollingLogFileAppender"
/>
<
appender
-
ref
ref
=
"RollingLogFileAppender"
/>
</
logger
>
</
logger
>
<
logger
name
=
"LngResource"
>
<
logger
name
=
"LngResource"
>
<
level
value
=
"ALL"
/>
<
level
value
=
"ALL"
/>
<
appender
-
ref
ref
=
"LngResource"
/>
<
appender
-
ref
ref
=
"LngResource"
/>
</
logger
>
</
logger
>
<
logger
name
=
"HCBOARD"
>
<
logger
name
=
"HCBOARD"
>
<
level
value
=
"ALL"
/>
<
level
value
=
"ALL"
/>
<
appender
-
ref
ref
=
"RollingLogFileAppender"
/>
<
appender
-
ref
ref
=
"RollingLogFileAppender"
/>
</
logger
>
</
logger
>
<
logger
name
=
"standrobot"
>
<
logger
name
=
"standrobot"
>
<
level
value
=
"info"
/>
<
level
value
=
"info"
/>
<
appender
-
ref
ref
=
"standrobot"
/>
<
appender
-
ref
ref
=
"standrobot"
/>
</
logger
>
</
logger
>
<!--<
root
>
<!--<
root
>
<
level
value
=
"Info"
/>
<
level
value
=
"Info"
/>
...
@@ -66,13 +66,13 @@
...
@@ -66,13 +66,13 @@
</
root
>-->
</
root
>-->
</
log4net
>
</
log4net
>
<
startup
>
<
startup
>
<
supportedRuntime
version
=
"v4.0"
sku
=
".NETFramework,Version=v4.
7.2"
/>
<
supportedRuntime
version
=
"v4.0"
sku
=
".NETFramework,Version=v4.
8"
/>
</
startup
>
</
startup
>
<
runtime
>
<
runtime
>
<
assemblyBinding
xmlns
=
"urn:schemas-microsoft-com:asm.v1"
>
<
assemblyBinding
xmlns
=
"urn:schemas-microsoft-com:asm.v1"
>
<
dependentAssembly
>
<
dependentAssembly
>
<
assemblyIdentity
name
=
"Newtonsoft.Json"
publicKeyToken
=
"30ad4fe6b2a6aeed"
culture
=
"neutral"
/>
<
assemblyIdentity
name
=
"Newtonsoft.Json"
publicKeyToken
=
"30ad4fe6b2a6aeed"
culture
=
"neutral"
/>
<
bindingRedirect
oldVersion
=
"0.0.0.0-13.0.0.0"
newVersion
=
"13.0.0.0"
/>
<
bindingRedirect
oldVersion
=
"0.0.0.0-13.0.0.0"
newVersion
=
"13.0.0.0"
/>
</
dependentAssembly
>
</
dependentAssembly
>
</
assemblyBinding
>
</
assemblyBinding
>
</
runtime
>
</
runtime
>
...
...
AutoScanAndLabel/AutoScanAndLabel.csproj
查看文件 @
501ae68
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<OutputType>WinExe</OutputType>
<OutputType>WinExe</OutputType>
<RootNamespace>AutoScanAndLabel</RootNamespace>
<RootNamespace>AutoScanAndLabel</RootNamespace>
<AssemblyName>AutoScanAndLabel</AssemblyName>
<AssemblyName>AutoScanAndLabel</AssemblyName>
<TargetFrameworkVersion>v4.
7.2
</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.
8
</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>false</Deterministic>
<Deterministic>false</Deterministic>
...
...
AutoScanAndLabel/LogControl.cs
查看文件 @
501ae68
...
@@ -15,6 +15,7 @@ namespace AutoScanAndLabel
...
@@ -15,6 +15,7 @@ namespace AutoScanAndLabel
{
{
public
LogControl
()
public
LogControl
()
{
{
CheckForIllegalCrossThreadCalls
=
false
;
InitializeComponent
();
InitializeComponent
();
showLogProDelegate
=
new
ShowLogProDelegate
(
ShowLogPro
);
showLogProDelegate
=
new
ShowLogProDelegate
(
ShowLogPro
);
LogUtil
.
ShowLog
+=
LogUtil_ShowLog
;
LogUtil
.
ShowLog
+=
LogUtil_ShowLog
;
...
...
AutoScanAndLabel/Properties/Resources.Designer.cs
查看文件 @
501ae68
...
@@ -19,7 +19,7 @@ namespace AutoScanAndLabel.Properties {
...
@@ -19,7 +19,7 @@ namespace AutoScanAndLabel.Properties {
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
// (以 /str 作为命令选项),或重新生成 VS 项目。
// (以 /str 作为命令选项),或重新生成 VS 项目。
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCodeAttribute
(
"System.Resources.Tools.StronglyTypedResourceBuilder"
,
"1
6
.0.0.0"
)]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCodeAttribute
(
"System.Resources.Tools.StronglyTypedResourceBuilder"
,
"1
7
.0.0.0"
)]
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
[
global
::
System
.
Runtime
.
CompilerServices
.
CompilerGeneratedAttribute
()]
[
global
::
System
.
Runtime
.
CompilerServices
.
CompilerGeneratedAttribute
()]
internal
class
Resources
{
internal
class
Resources
{
...
...
AutoScanAndLabel/Properties/Settings.Designer.cs
查看文件 @
501ae68
...
@@ -12,7 +12,7 @@ namespace AutoScanAndLabel.Properties {
...
@@ -12,7 +12,7 @@ namespace AutoScanAndLabel.Properties {
[
global
::
System
.
Runtime
.
CompilerServices
.
CompilerGeneratedAttribute
()]
[
global
::
System
.
Runtime
.
CompilerServices
.
CompilerGeneratedAttribute
()]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCodeAttribute
(
"Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator"
,
"1
6.10
.0.0"
)]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCodeAttribute
(
"Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator"
,
"1
7.4
.0.0"
)]
internal
sealed
partial
class
Settings
:
global
::
System
.
Configuration
.
ApplicationSettingsBase
{
internal
sealed
partial
class
Settings
:
global
::
System
.
Configuration
.
ApplicationSettingsBase
{
private
static
Settings
defaultInstance
=
((
Settings
)(
global
::
System
.
Configuration
.
ApplicationSettingsBase
.
Synchronized
(
new
Settings
())));
private
static
Settings
defaultInstance
=
((
Settings
)(
global
::
System
.
Configuration
.
ApplicationSettingsBase
.
Synchronized
(
new
Settings
())));
...
...
AutoScanAndLabel/SettingControl.Designer.cs
查看文件 @
501ae68
...
@@ -98,7 +98,7 @@ namespace AutoScanAndLabel
...
@@ -98,7 +98,7 @@ namespace AutoScanAndLabel
this
.
cb_labelselect
.
FormattingEnabled
=
true
;
this
.
cb_labelselect
.
FormattingEnabled
=
true
;
this
.
cb_labelselect
.
Location
=
new
System
.
Drawing
.
Point
(
134
,
75
);
this
.
cb_labelselect
.
Location
=
new
System
.
Drawing
.
Point
(
134
,
75
);
this
.
cb_labelselect
.
Name
=
"cb_labelselect"
;
this
.
cb_labelselect
.
Name
=
"cb_labelselect"
;
this
.
cb_labelselect
.
Size
=
new
System
.
Drawing
.
Size
(
198
,
2
0
);
this
.
cb_labelselect
.
Size
=
new
System
.
Drawing
.
Size
(
198
,
2
3
);
this
.
cb_labelselect
.
TabIndex
=
0
;
this
.
cb_labelselect
.
TabIndex
=
0
;
this
.
cb_labelselect
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
cb_labelselect_SelectedIndexChanged
);
this
.
cb_labelselect
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
cb_labelselect_SelectedIndexChanged
);
//
//
...
@@ -107,7 +107,7 @@ namespace AutoScanAndLabel
...
@@ -107,7 +107,7 @@ namespace AutoScanAndLabel
this
.
cb_printerselect
.
FormattingEnabled
=
true
;
this
.
cb_printerselect
.
FormattingEnabled
=
true
;
this
.
cb_printerselect
.
Location
=
new
System
.
Drawing
.
Point
(
134
,
37
);
this
.
cb_printerselect
.
Location
=
new
System
.
Drawing
.
Point
(
134
,
37
);
this
.
cb_printerselect
.
Name
=
"cb_printerselect"
;
this
.
cb_printerselect
.
Name
=
"cb_printerselect"
;
this
.
cb_printerselect
.
Size
=
new
System
.
Drawing
.
Size
(
198
,
2
0
);
this
.
cb_printerselect
.
Size
=
new
System
.
Drawing
.
Size
(
198
,
2
3
);
this
.
cb_printerselect
.
TabIndex
=
0
;
this
.
cb_printerselect
.
TabIndex
=
0
;
this
.
cb_printerselect
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
cb_printerselect_SelectedIndexChanged
);
this
.
cb_printerselect
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
cb_printerselect_SelectedIndexChanged
);
//
//
...
@@ -116,7 +116,7 @@ namespace AutoScanAndLabel
...
@@ -116,7 +116,7 @@ namespace AutoScanAndLabel
this
.
chbAutoRun
.
AutoSize
=
true
;
this
.
chbAutoRun
.
AutoSize
=
true
;
this
.
chbAutoRun
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
185
);
this
.
chbAutoRun
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
185
);
this
.
chbAutoRun
.
Name
=
"chbAutoRun"
;
this
.
chbAutoRun
.
Name
=
"chbAutoRun"
;
this
.
chbAutoRun
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
16
);
this
.
chbAutoRun
.
Size
=
new
System
.
Drawing
.
Size
(
104
,
19
);
this
.
chbAutoRun
.
TabIndex
=
1
;
this
.
chbAutoRun
.
TabIndex
=
1
;
this
.
chbAutoRun
.
Text
=
"开机自启动"
;
this
.
chbAutoRun
.
Text
=
"开机自启动"
;
this
.
chbAutoRun
.
UseVisualStyleBackColor
=
true
;
this
.
chbAutoRun
.
UseVisualStyleBackColor
=
true
;
...
@@ -141,16 +141,17 @@ namespace AutoScanAndLabel
...
@@ -141,16 +141,17 @@ namespace AutoScanAndLabel
this
.
groupBox2
.
TabIndex
=
4
;
this
.
groupBox2
.
TabIndex
=
4
;
this
.
groupBox2
.
TabStop
=
false
;
this
.
groupBox2
.
TabStop
=
false
;
this
.
groupBox2
.
Text
=
"PN匹配规则"
;
this
.
groupBox2
.
Text
=
"PN匹配规则"
;
this
.
groupBox2
.
Visible
=
false
;
//
//
// listEdit_pn
// listEdit_pn
//
//
this
.
listEdit_pn
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
listEdit_pn
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
listEdit_pn
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
listEdit_pn
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
listEdit_pn
.
ListFile
=
"config/pn.list"
;
this
.
listEdit_pn
.
ListFile
=
"config/pn.list"
;
this
.
listEdit_pn
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
17
);
this
.
listEdit_pn
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
21
);
this
.
listEdit_pn
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
5
);
this
.
listEdit_pn
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
5
);
this
.
listEdit_pn
.
Name
=
"listEdit_pn"
;
this
.
listEdit_pn
.
Name
=
"listEdit_pn"
;
this
.
listEdit_pn
.
Size
=
new
System
.
Drawing
.
Size
(
354
,
15
8
);
this
.
listEdit_pn
.
Size
=
new
System
.
Drawing
.
Size
(
354
,
15
4
);
this
.
listEdit_pn
.
TabIndex
=
3
;
this
.
listEdit_pn
.
TabIndex
=
3
;
this
.
listEdit_pn
.
DataRefresh
+=
new
System
.
EventHandler
(
this
.
listEdit_pn_DataRefresh
);
this
.
listEdit_pn
.
DataRefresh
+=
new
System
.
EventHandler
(
this
.
listEdit_pn_DataRefresh
);
//
//
...
@@ -163,16 +164,17 @@ namespace AutoScanAndLabel
...
@@ -163,16 +164,17 @@ namespace AutoScanAndLabel
this
.
groupBox3
.
TabIndex
=
4
;
this
.
groupBox3
.
TabIndex
=
4
;
this
.
groupBox3
.
TabStop
=
false
;
this
.
groupBox3
.
TabStop
=
false
;
this
.
groupBox3
.
Text
=
"QTY匹配规则"
;
this
.
groupBox3
.
Text
=
"QTY匹配规则"
;
this
.
groupBox3
.
Visible
=
false
;
//
//
// listEditControl1
// listEditControl1
//
//
this
.
listEditControl1
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
listEditControl1
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
listEditControl1
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
listEditControl1
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
listEditControl1
.
ListFile
=
"config/qty.list"
;
this
.
listEditControl1
.
ListFile
=
"config/qty.list"
;
this
.
listEditControl1
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
17
);
this
.
listEditControl1
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
21
);
this
.
listEditControl1
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
5
);
this
.
listEditControl1
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
5
);
this
.
listEditControl1
.
Name
=
"listEditControl1"
;
this
.
listEditControl1
.
Name
=
"listEditControl1"
;
this
.
listEditControl1
.
Size
=
new
System
.
Drawing
.
Size
(
354
,
20
8
);
this
.
listEditControl1
.
Size
=
new
System
.
Drawing
.
Size
(
354
,
20
4
);
this
.
listEditControl1
.
TabIndex
=
3
;
this
.
listEditControl1
.
TabIndex
=
3
;
this
.
listEditControl1
.
DataRefresh
+=
new
System
.
EventHandler
(
this
.
listEdit_pn_DataRefresh
);
this
.
listEditControl1
.
DataRefresh
+=
new
System
.
EventHandler
(
this
.
listEdit_pn_DataRefresh
);
//
//
...
@@ -180,7 +182,7 @@ namespace AutoScanAndLabel
...
@@ -180,7 +182,7 @@ namespace AutoScanAndLabel
//
//
this
.
txt_code
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
24
);
this
.
txt_code
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
24
);
this
.
txt_code
.
Name
=
"txt_code"
;
this
.
txt_code
.
Name
=
"txt_code"
;
this
.
txt_code
.
Size
=
new
System
.
Drawing
.
Size
(
264
,
2
1
);
this
.
txt_code
.
Size
=
new
System
.
Drawing
.
Size
(
264
,
2
5
);
this
.
txt_code
.
TabIndex
=
5
;
this
.
txt_code
.
TabIndex
=
5
;
//
//
// btn_codetest
// btn_codetest
...
@@ -211,6 +213,7 @@ namespace AutoScanAndLabel
...
@@ -211,6 +213,7 @@ namespace AutoScanAndLabel
this
.
groupBox4
.
TabIndex
=
8
;
this
.
groupBox4
.
TabIndex
=
8
;
this
.
groupBox4
.
TabStop
=
false
;
this
.
groupBox4
.
TabStop
=
false
;
this
.
groupBox4
.
Text
=
"条码匹配测试"
;
this
.
groupBox4
.
Text
=
"条码匹配测试"
;
this
.
groupBox4
.
Visible
=
false
;
//
//
// SettingControl
// SettingControl
//
//
...
...
Common/Common.csproj
查看文件 @
501ae68
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>OnlineStore.Common</RootNamespace>
<RootNamespace>OnlineStore.Common</RootNamespace>
<AssemblyName>MyCommon</AssemblyName>
<AssemblyName>MyCommon</AssemblyName>
<TargetFrameworkVersion>v4.
6.1
</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.
8
</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
<TargetFrameworkProfile />
</PropertyGroup>
</PropertyGroup>
...
...
Common/bean/Bean.cs
查看文件 @
501ae68
...
@@ -9,7 +9,7 @@ namespace OnlineStore.Common
...
@@ -9,7 +9,7 @@ namespace OnlineStore.Common
public
class
LineGetPosOp
public
class
LineGetPosOp
{
{
public
LineGetPosOp
(
string
cids
,
string
code
)
public
LineGetPosOp
(
string
cids
,
string
code
)
{
{
this
.
cids
=
cids
;
this
.
cids
=
cids
;
this
.
code
=
code
;
this
.
code
=
code
;
...
@@ -72,6 +72,11 @@ namespace OnlineStore.Common
...
@@ -72,6 +72,11 @@ namespace OnlineStore.Common
get
{
return
_data
;
}
get
{
return
_data
;
}
set
{
_data
=
value
;
}
set
{
_data
=
value
;
}
}
}
public
Dictionary
<
String
,
Dictionary
<
String
,
String
>>
mimoOpMap
=
new
Dictionary
<
string
,
Dictionary
<
string
,
string
>>();
/// <summary>
/// agv的日志信息
/// </summary>
public
List
<
AgvLogInfo
>
logList
=
new
List
<
AgvLogInfo
>();
/// <summary>
/// <summary>
/// 整体料仓状态
/// 整体料仓状态
/// 1=正常运行中
/// 1=正常运行中
...
@@ -89,6 +94,12 @@ namespace OnlineStore.Common
...
@@ -89,6 +94,12 @@ namespace OnlineStore.Common
/// 警告:出库盘到达工位但是没有工人操作
/// 警告:出库盘到达工位但是没有工人操作
/// </summary>
/// </summary>
public
string
msg
{
get
;
set
;
}
public
string
msg
{
get
;
set
;
}
// public Dictionary<string, string> msgData { get; set; } = new Dictionary<string, string>() { {"zh","" },{ "en", "" }, { "jp", "" } };
public
Dictionary
<
string
,
string
>
msgData
{
get
;
set
;
}
=
new
Dictionary
<
string
,
string
>();
public
string
msgParam
{
get
;
set
;
}
public
string
msgCode
{
get
;
set
;
}
public
string
msgEn
{
get
;
set
;
}
public
string
msgJp
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 包含的多个 BOX 的状态信息
/// 包含的多个 BOX 的状态信息
/// </summary>
/// </summary>
...
@@ -98,7 +109,35 @@ namespace OnlineStore.Common
...
@@ -98,7 +109,35 @@ namespace OnlineStore.Common
/// </summary>
/// </summary>
public
List
<
AlarmInfo
>
alarmList
=
new
List
<
AlarmInfo
>();
public
List
<
AlarmInfo
>
alarmList
=
new
List
<
AlarmInfo
>();
}
}
/**
* agv日志信息
*/
public
class
AgvLogInfo
{
/**
* 消息字符串Code
*/
public
String
msgCode
{
get
;
set
;
}
/**
* 消息内容
*/
public
String
msg
{
get
;
set
;
}
/**
* 参数
*/
public
String
[]
msgParams
{
get
;
set
;
}
/**
* 出现时间
*/
public
long
time
{
get
;
set
;
}
public
AgvLogInfo
(
string
msg
)
{
this
.
msgCode
=
msgCode
;
this
.
msg
=
msg
;
this
.
msgParams
=
msgParams
;
this
.
time
=
DateTime
.
Now
.
Ticks
;
}
}
/// <summary>
/// <summary>
/// 单台料仓状态(包含流水线)
/// 单台料仓状态(包含流水线)
/// </summary>
/// </summary>
...
@@ -251,5 +290,24 @@ namespace OnlineStore.Common
...
@@ -251,5 +290,24 @@ namespace OnlineStore.Common
public
static
string
barcode
=
"barcode"
;
public
static
string
barcode
=
"barcode"
;
/// <summary>
/// 贴标机交互按钮,出口 满料串取出
/// </summary>
public
static
string
SendFullShelf
=
"SendFullShelf"
;
/// <summary>
/// 贴标机交互按钮,出口 空料串送入
/// </summary>
public
static
string
NeedEmptySHelf
=
"NeedEmptySHelf"
;
/// <summary>
/// 贴标机交互按钮,入口 满料串送入
/// </summary>
public
static
string
NeedFullShelf
=
"NeedFullShelf"
;
/// <summary>
/// 贴标机交互按钮,入口 空料串取出
/// </summary>
public
static
string
SendEmptyShelf
=
"SendEmptyShelf"
;
public
static
string
doit
=
"doit"
;
public
static
string
disable
=
"disable"
;
public
static
string
enable
=
"enable"
;
}
}
}
}
Common/util/MyWebClient.cs
查看文件 @
501ae68
using
System
;
using
Newtonsoft.Json
;
using
System
;
using
System.Collections.Generic
;
using
System.Collections.Generic
;
using
System.IO
;
using
System.IO
;
using
System.Linq
;
using
System.Linq
;
...
@@ -75,7 +76,26 @@ namespace OnlineStore.Common
...
@@ -75,7 +76,26 @@ namespace OnlineStore.Common
{
{
return
Post
(
url
,
paramData
,
Encoding
.
UTF8
,
timeOut
);
return
Post
(
url
,
paramData
,
Encoding
.
UTF8
,
timeOut
);
}
}
public
static
T
Post
<
T
>(
string
url
,
T
operation
,
int
timeout
=
5000
,
bool
printlog
=
false
)
where
T
:
new
()
{
try
{
string
json
=
JsonConvert
.
SerializeObject
(
operation
);
string
result
=
Post
(
url
,
json
,
timeout
);
T
op
=
JsonConvert
.
DeserializeObject
<
T
>(
result
);
if
(
printlog
)
{
LogUtil
.
info
(
"Send ["
+
json
+
"] Revice ["
+
result
+
"]"
);
}
return
op
;
}
catch
(
Exception
ex
)
{
LogUtil
.
error
(
"Post 出错:"
+
ex
);
}
return
default
;
}
public
static
string
Post
(
string
url
,
string
paramData
,
Encoding
encoding
,
int
timeOut
=
10000
)
public
static
string
Post
(
string
url
,
string
paramData
,
Encoding
encoding
,
int
timeOut
=
10000
)
{
{
...
...
DL.StandardRobots/DL.StandardRobots.csproj
查看文件 @
501ae68
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>DL.StandardRobot</RootNamespace>
<RootNamespace>DL.StandardRobot</RootNamespace>
<AssemblyName>DL.StandardRobot</AssemblyName>
<AssemblyName>DL.StandardRobot</AssemblyName>
<TargetFrameworkVersion>v4.
6.1
</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.
8
</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
<TargetFrameworkProfile />
...
...
DeviceLibrary/AGVManager.cs
查看文件 @
501ae68
此文件的差异被折叠,
点击展开。
DeviceLibrary/AGVService/Controllers/deviceOperateController.cs
0 → 100644
查看文件 @
501ae68
using
DeviceLib.WebApi.Schemas
;
using
DeviceLibrary
;
using
DeviceLibrary.AGVService.Schemas
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
using
System.Web.Http
;
namespace
DeviceLib.WebApi.Controllers
{
/// <summary>
/// 设备操作
/// </summary>
[
RoutePrefix
(
"nepconSmf/deviceOperate"
)]
public
class
deviceOperateController
:
ApiController
{
[
HttpPost
]
public
RtnData
agvOp
([
FromBody
]
DeviceCheckDto
dto
)
{
AGVManager
.
HandleDeviceOperate
(
dto
,
out
RtnData
rtnData
);
return
rtnData
;
}
}
}
DeviceLibrary/AGVService/Controllers/taskNotificationController.cs
0 → 100644
查看文件 @
501ae68
using
DeviceLib.WebApi.Schemas
;
using
DeviceLibrary.AGVService.Schemas
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
using
System.Web.Http
;
namespace
DeviceLibrary.AGVService.Controllers
{
/// <summary>
/// 任务执行通知
/// </summary>
[
RoutePrefix
(
"nepconSmf/notification"
)]
public
class
taskNotificationController
:
ApiController
{
[
HttpPost
]
public
RtnData
taskStatus
([
FromBody
]
NotificationDto
dto
)
{
AGVManager
.
HandleTaskNotification
(
dto
,
out
RtnData
rtnData
);
return
rtnData
;
}
}
}
DeviceLibrary/AGVService/HttpService.cs
0 → 100644
查看文件 @
501ae68
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
using
System.Web.Http
;
using
System.Web.Http.SelfHost
;
namespace
DeviceLib.WebApi
{
public
class
HttpService
:
IDisposable
{
public
int
Port
{
get
;
set
;
}
private
readonly
HttpSelfHostServer
_server
;
public
HttpService
(
int
port
)
{
this
.
Port
=
port
;
var
config
=
new
HttpSelfHostConfiguration
(
$
"http://0.0.0.0:{this.Port}"
);
config
.
MapHttpAttributeRoutes
();
config
.
Routes
.
MapHttpRoute
(
"DefaultApi"
,
"nepconSmf/{controller}"
);
_server
=
new
HttpSelfHostServer
(
config
);
}
public
Task
StartHttpServer
()
{
return
_server
.
OpenAsync
();
}
public
Task
CloseHttpServer
()
{
return
_server
.
CloseAsync
();
}
public
void
Dispose
()
{
_server
?.
Dispose
();
}
}
}
DeviceLibrary/AGVService/Schemas/DeviceCheckDto.cs
0 → 100644
查看文件 @
501ae68
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
DeviceLib.WebApi.Schemas
{
public
class
DeviceCheckDto
{
/// <summary>
/// 设备标识
/// </summary>
public
string
device_code
{
get
;
set
;
}
/// <summary>
/// 操作
/// </summary>
public
string
operate
{
get
;
set
;
}
/// <summary>
/// 任务类型
/// </summary>
public
string
task_type
{
get
;
set
;
}
/// <summary>
/// 上料请求
/// </summary>
public
const
string
LOAD_REQ
=
"LOAD_REQ"
;
/// <summary>
/// 上料完成
/// </summary>
public
const
string
LOAD_DONE
=
"LOAD_DONE"
;
/// <summary>
/// 下料请求
/// </summary>
public
const
string
UNLOAD_REQ
=
"UNLOAD_REQ"
;
/// <summary>
/// 下料完成
/// </summary>
public
const
string
UNLOAD_DONE
=
"UNLOAD_DONE"
;
/// <summary>
/// 开门请求
/// </summary>
public
const
string
OPEN_DOOR
=
"OPEN_DOOR"
;
/// <summary>
/// 关门请求
/// </summary>
public
const
string
CLOSE_DOOR
=
"CLOSE_DOOR"
;
}
}
DeviceLibrary/AGVService/Schemas/NotificationDto.cs
0 → 100644
查看文件 @
501ae68
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
DeviceLibrary.AGVService.Schemas
{
public
class
NotificationDto
{
/// <summary>
/// 订单执行状态
/// </summary>
public
string
status
{
get
;
set
;
}
/// <summary>
/// task_code
/// </summary>
public
string
task_code
{
get
;
set
;
}
/// <summary>
/// 队列中
/// </summary>
public
const
string
QUEUEING
=
"QUEUEING"
;
/// <summary>
/// 正在执行
/// </summary>
public
const
string
EXECUTING
=
"EXECUTING"
;
/// <summary>
/// 失败
/// </summary>
public
const
string
FAILED
=
"FAILED"
;
/// <summary>
/// 已取消
/// </summary>
public
const
string
CANCELLED
=
"CANCELLED"
;
/// <summary>
/// 成功
/// </summary>
public
const
string
SUCCESS
=
"SUCCESS"
;
/// <summary>
/// 已挂起
/// </summary>
public
const
string
HANG
=
"HANG"
;
}
}
DeviceLibrary/AGVService/Schemas/RtnData.cs
0 → 100644
查看文件 @
501ae68
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
DeviceLibrary.AGVService.Schemas
{
public
class
RtnData
{
public
int
code
{
get
;
set
;
}
=
0
;
public
object
data
{
get
;
set
;
}
public
string
msg
{
get
;
set
;
}
=
"ok"
;
}
}
DeviceLibrary/AutoScanAndLabel/MainMachine.cs
查看文件 @
501ae68
...
@@ -68,8 +68,9 @@ namespace DeviceLibrary
...
@@ -68,8 +68,9 @@ namespace DeviceLibrary
/// </summary>
/// </summary>
public
bool
isInSuddenDown
=
false
;
public
bool
isInSuddenDown
=
false
;
public
ServerCommunication
ServerCM
;
DeviceLib
.
WebApi
.
HttpService
agvService
=
new
DeviceLib
.
WebApi
.
HttpService
(
ConfigHelper
.
Config
.
Get
(
"AGVService_Port"
,
8088
));
public
MainMachine
(
Robot_Config
_config
)
public
MainMachine
(
Robot_Config
_config
)
{
{
Config
=
_config
;
Config
=
_config
;
...
@@ -112,6 +113,8 @@ namespace DeviceLibrary
...
@@ -112,6 +113,8 @@ namespace DeviceLibrary
InitPrint
();
InitPrint
();
LedProcessInit
();
LedProcessInit
();
agvService
.
StartHttpServer
();
ServerCM
=
new
ServerCommunication
();
crc
.
LanguageChangeEvent
+=
Crc_LanguageChangeEvent
;
crc
.
LanguageChangeEvent
+=
Crc_LanguageChangeEvent
;
}
}
...
...
DeviceLibrary/AutoScanAndLabel/RobotManage.cs
查看文件 @
501ae68
...
@@ -70,6 +70,7 @@ namespace DeviceLibrary
...
@@ -70,6 +70,7 @@ namespace DeviceLibrary
if
(!
IsDebug
)
if
(!
IsDebug
)
return
;
return
;
}
}
mainMachine
.
ServerCM
.
StartConnectServer
();
var
ElectricGripperPort
=
ConfigHelper
.
Config
.
Get
(
"ElectricGripperPort"
);
var
ElectricGripperPort
=
ConfigHelper
.
Config
.
Get
(
"ElectricGripperPort"
);
electricGripper
.
OpenPort
(
ElectricGripperPort
);
electricGripper
.
OpenPort
(
ElectricGripperPort
);
mainThread
=
new
Thread
(
new
ThreadStart
(
mainMachine
.
Run
));
mainThread
=
new
Thread
(
new
ThreadStart
(
mainMachine
.
Run
));
...
@@ -88,8 +89,8 @@ namespace DeviceLibrary
...
@@ -88,8 +89,8 @@ namespace DeviceLibrary
public
static
void
Stop
()
public
static
void
Stop
()
{
{
LogUtil
.
info
(
"开始停止系统."
);
LogUtil
.
info
(
"开始停止系统."
);
mainMachine
.
ServerCM
.
StopConnectServer
();
mainMachine
.
Stop
();
mainMachine
?
.
Stop
();
mainMachine
.
UserPause
=
false
;
mainMachine
.
UserPause
=
false
;
//IOManager.CloseAllConnection();
//IOManager.CloseAllConnection();
//electricGripper.ClosePort();
//electricGripper.ClosePort();
...
...
DeviceLibrary/DeviceLibrary.csproj
查看文件 @
501ae68
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>DeviceLibrary</RootNamespace>
<RootNamespace>DeviceLibrary</RootNamespace>
<AssemblyName>DeviceLibrary</AssemblyName>
<AssemblyName>DeviceLibrary</AssemblyName>
<TargetFrameworkVersion>v4.
7.2
</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.
8
</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
<TargetFrameworkProfile />
...
@@ -50,6 +50,9 @@
...
@@ -50,6 +50,9 @@
<Reference Include="log4net, Version=2.0.12.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<Reference Include="log4net, Version=2.0.12.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<HintPath>..\packages\log4net.2.0.12\lib\net45\log4net.dll</HintPath>
<HintPath>..\packages\log4net.2.0.12\lib\net45\log4net.dll</HintPath>
</Reference>
</Reference>
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="RmaxisV2, Version=1.0.0.0, Culture=neutral, processorArchitecture=AMD64">
<Reference Include="RmaxisV2, Version=1.0.0.0, Culture=neutral, processorArchitecture=AMD64">
<SpecificVersion>False</SpecificVersion>
<SpecificVersion>False</SpecificVersion>
<HintPath>..\AutoScanAndLabel\bin\Debug\RmaxisV2.dll</HintPath>
<HintPath>..\AutoScanAndLabel\bin\Debug\RmaxisV2.dll</HintPath>
...
@@ -64,7 +67,16 @@
...
@@ -64,7 +67,16 @@
<Reference Include="System.Configuration" />
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Http.Formatting, Version=5.2.9.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNet.WebApi.Client.5.2.9\lib\net45\System.Net.Http.Formatting.dll</HintPath>
</Reference>
<Reference Include="System.Web" />
<Reference Include="System.Web" />
<Reference Include="System.Web.Http, Version=5.2.9.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNet.WebApi.Core.5.2.9\lib\net45\System.Web.Http.dll</HintPath>
</Reference>
<Reference Include="System.Web.Http.SelfHost, Version=5.2.9.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNet.WebApi.SelfHost.5.2.9\lib\net45\System.Web.Http.SelfHost.dll</HintPath>
</Reference>
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Data.DataSetExtensions" />
...
@@ -74,6 +86,12 @@
...
@@ -74,6 +86,12 @@
<Reference Include="System.Xml" />
<Reference Include="System.Xml" />
</ItemGroup>
</ItemGroup>
<ItemGroup>
<ItemGroup>
<Compile Include="AGVService\Controllers\deviceOperateController.cs" />
<Compile Include="AGVService\Controllers\taskNotificationController.cs" />
<Compile Include="AGVService\HttpService.cs" />
<Compile Include="AGVService\Schemas\DeviceCheckDto.cs" />
<Compile Include="AGVService\Schemas\NotificationDto.cs" />
<Compile Include="AGVService\Schemas\RtnData.cs" />
<Compile Include="AutoScanAndLabel\AxisBean.cs" />
<Compile Include="AutoScanAndLabel\AxisBean.cs" />
<Compile Include="AutoScanAndLabel\Common.cs" />
<Compile Include="AutoScanAndLabel\Common.cs" />
<Compile Include="AutoScanAndLabel\LabelParam.cs" />
<Compile Include="AutoScanAndLabel\LabelParam.cs" />
...
@@ -101,6 +119,7 @@
...
@@ -101,6 +119,7 @@
<Compile Include="DeviceLibrary\HC\HCIOManager.cs" />
<Compile Include="DeviceLibrary\HC\HCIOManager.cs" />
<Compile Include="DeviceLibrary\I_IOManager.cs" />
<Compile Include="DeviceLibrary\I_IOManager.cs" />
<Compile Include="DeviceLibrary\IOManager.cs" />
<Compile Include="DeviceLibrary\IOManager.cs" />
<Compile Include="DeviceLibrary\ServerCommunication.cs" />
<Compile Include="DeviceLibrary\ZebraPrinter.cs" />
<Compile Include="DeviceLibrary\ZebraPrinter.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="userControl\AxisMoveControl.cs">
<Compile Include="userControl\AxisMoveControl.cs">
...
@@ -130,7 +149,7 @@
...
@@ -130,7 +149,7 @@
<Name>Common</Name>
<Name>Common</Name>
</ProjectReference>
</ProjectReference>
<ProjectReference Include="..\DL.StandardRobots\DL.StandardRobots.csproj">
<ProjectReference Include="..\DL.StandardRobots\DL.StandardRobots.csproj">
<Project>{
f85a7412-b5b3-4291-a448-a10564602e1a
}</Project>
<Project>{
F85A7412-B5B3-4291-A448-A10564602E1A
}</Project>
<Name>DL.StandardRobots</Name>
<Name>DL.StandardRobots</Name>
</ProjectReference>
</ProjectReference>
<ProjectReference Include="..\LoadCVSLibrary\LoadCSVLibrary.csproj">
<ProjectReference Include="..\LoadCVSLibrary\LoadCSVLibrary.csproj">
...
@@ -150,5 +169,6 @@
...
@@ -150,5 +169,6 @@
</None>
</None>
<None Include="packages.config" />
<None Include="packages.config" />
</ItemGroup>
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
</Project>
\ No newline at end of file
\ No newline at end of file
DeviceLibrary/DeviceLibrary/ServerCommunication.cs
0 → 100644
查看文件 @
501ae68
此文件的差异被折叠,
点击展开。
DeviceLibrary/app.config
查看文件 @
501ae68
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
configuration
>
<
configuration
>
<
runtime
>
<
runtime
>
<
assemblyBinding
xmlns
=
"urn:schemas-microsoft-com:asm.v1"
>
<
assemblyBinding
xmlns
=
"urn:schemas-microsoft-com:asm.v1"
>
<
dependentAssembly
>
<
dependentAssembly
>
<
assemblyIdentity
name
=
"Newtonsoft.Json"
publicKeyToken
=
"30ad4fe6b2a6aeed"
culture
=
"neutral"
/>
<
assemblyIdentity
name
=
"Newtonsoft.Json"
publicKeyToken
=
"30ad4fe6b2a6aeed"
culture
=
"neutral"
/>
<
bindingRedirect
oldVersion
=
"0.0.0.0-
13.0.0.0"
newVersion
=
"13.0.0.0"
/>
<
bindingRedirect
oldVersion
=
"0.0.0.0-
6.0.0.0"
newVersion
=
"6.0.0.0"
/>
</
dependentAssembly
>
</
dependentAssembly
>
</
assemblyBinding
>
</
assemblyBinding
>
</
runtime
>
</
runtime
>
</
configuration
>
\ No newline at end of file
\ No newline at end of file
<
startup
><
supportedRuntime
version
=
"v4.0"
sku
=
".NETFramework,Version=v4.8"
/></
startup
></
configuration
>
DeviceLibrary/packages.config
查看文件 @
501ae68
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
packages
>
<
packages
>
<
package
id
=
"log4net"
version
=
"2.0.12"
targetFramework
=
"net472"
/>
<
package
id
=
"log4net"
version
=
"2.0.12"
targetFramework
=
"net472"
/>
<
package
id
=
"Microsoft.AspNet.WebApi.Client"
version
=
"5.2.9"
targetFramework
=
"net472"
/>
<
package
id
=
"Microsoft.AspNet.WebApi.Core"
version
=
"5.2.9"
targetFramework
=
"net472"
/>
<
package
id
=
"Microsoft.AspNet.WebApi.SelfHost"
version
=
"5.2.9"
targetFramework
=
"net472"
/>
<
package
id
=
"Newtonsoft.Json"
version
=
"6.0.4"
targetFramework
=
"net472"
/>
<
package
id
=
"System.ValueTuple"
version
=
"4.5.0"
targetFramework
=
"net461"
requireReinstallation
=
"true"
/>
<
package
id
=
"System.ValueTuple"
version
=
"4.5.0"
targetFramework
=
"net461"
requireReinstallation
=
"true"
/>
</
packages
>
</
packages
>
\ No newline at end of file
\ No newline at end of file
LoadCVSLibrary/LoadCSVLibrary.csproj
查看文件 @
501ae68
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>OnlineStore.LoadCSVLibrary</RootNamespace>
<RootNamespace>OnlineStore.LoadCSVLibrary</RootNamespace>
<AssemblyName>LoadCSVLibrary</AssemblyName>
<AssemblyName>LoadCSVLibrary</AssemblyName>
<TargetFrameworkVersion>v4.
6.1
</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.
8
</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
<TargetFrameworkProfile />
</PropertyGroup>
</PropertyGroup>
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论