新增mtconenct驱动
This commit is contained in:
parent
2de55c7895
commit
ad30078f2e
Binary file not shown.
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.0.31919.166
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.31313.79
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IoTGateway", "IoTGateway\IoTGateway.csproj", "{68ABBDF2-1485-4756-9A94-6AFA874D69A3}"
|
||||
EndProject
|
||||
@ -31,7 +31,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DriverModbusMaster", "Plugi
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DriverSiemensS7", "Plugins\Drivers\DriverSiemensS7\DriverSiemensS7.csproj", "{B884FBE3-C8C5-471E-B629-12ECA0FC5DAC}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DriverOPCUaClient", "Plugins\Drivers\DriverOPCUaClient\DriverOPCUaClient.csproj", "{DABB562D-5EB7-4F9D-90EF-424C2BF63A4D}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DriverOPCUaClient", "Plugins\Drivers\DriverOPCUaClient\DriverOPCUaClient.csproj", "{DABB562D-5EB7-4F9D-90EF-424C2BF63A4D}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DriverMTConnect", "Plugins\Drivers\DriverMTConnect\DriverMTConnect.csproj", "{0602DC6C-FB26-41B1-972E-298679826E3F}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
@ -87,6 +89,10 @@ Global
|
||||
{DABB562D-5EB7-4F9D-90EF-424C2BF63A4D}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{DABB562D-5EB7-4F9D-90EF-424C2BF63A4D}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{DABB562D-5EB7-4F9D-90EF-424C2BF63A4D}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{0602DC6C-FB26-41B1-972E-298679826E3F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{0602DC6C-FB26-41B1-972E-298679826E3F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{0602DC6C-FB26-41B1-972E-298679826E3F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{0602DC6C-FB26-41B1-972E-298679826E3F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
@ -101,6 +107,7 @@ Global
|
||||
{4FC43620-00B1-48C1-A5A0-02FCC038FB08} = {52D96C24-2F2F-49B5-9F29-00414DEA41D8}
|
||||
{B884FBE3-C8C5-471E-B629-12ECA0FC5DAC} = {52D96C24-2F2F-49B5-9F29-00414DEA41D8}
|
||||
{DABB562D-5EB7-4F9D-90EF-424C2BF63A4D} = {52D96C24-2F2F-49B5-9F29-00414DEA41D8}
|
||||
{0602DC6C-FB26-41B1-972E-298679826E3F} = {52D96C24-2F2F-49B5-9F29-00414DEA41D8}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {1F219808-E6E8-4C1D-B846-41F2F7CF20FA}
|
||||
|
Binary file not shown.
91
README.md
91
README.md
@ -1,9 +1,6 @@
|
||||
# iotgateway
|
||||
|
||||
## github地址:[iotgateway](https://github.com/iioter/iotgateway/) https://github.com/iioter/iotgateway
|
||||
|
||||
## gitee地址:[iotgateway](https://gitee.com/wang_haidong/iotgateway/) https://gitee.com/iioter/iotgateway
|
||||
|
||||
基于.net5的跨平台物联网网关。通过可视化配置,轻松的连接到你的任何设备和系统(如PLC、扫码枪、CNC、数据库、串口设备、上位机、OPC Server、OPC UA Server、Mqtt Server等),从而与 Thingsboard、IoTSharp或您自己的物联网平台进行双向数据通讯。提供简单的驱动开发接口;当然也可以进行边缘计算。
|
||||
|
||||
* 抛砖引玉,共同进步
|
||||
@ -21,14 +18,12 @@
|
||||
* 目前只支持遥测数据上传,后续支持属性的双向通信
|
||||
* 简单集成了web组态项目
|
||||
|
||||
|
||||
# 免责声明
|
||||
|
||||
## 生产环境使用请做好评估;
|
||||
|
||||
## 项目中OPCUA相关功能仅用作学习及测试,如使用OPCUA协议请联系OPC基金会进行授权,产生一切纠纷与本项目无关
|
||||
|
||||
# 体验
|
||||
|
||||
1. 在线体验[iotgateway](http://42.193.160.84:518/)后台:http://42.193.160.84:518/
|
||||
2. 用户名 admin 密码 000000
|
||||
3. 内置Modbustcp模拟设备 ip 172.17.0.1 port 16051 不要修改,否则连不上
|
||||
@ -37,17 +32,16 @@
|
||||
6. 外网访问测试mqtt服务器,42.193.160.84:1888 admin 000000
|
||||
7. 外网访问测试opcua服务,opc.tcp://42.193.160.84:62541/Quickstarts/ReferenceServer 匿名访问
|
||||
8. 想要通过mqtt接收数据,请连接mqttserver:42.193.160.84,1888 admin 000000;订阅topic: v1/gateway/telemetry
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
|
||||
# 运行
|
||||
|
||||
## windows主机运行:
|
||||
|
||||
1. [下载Releasev0.03](https://github.com/iioter/iotgateway/releases/download/v0.03/iotgateway-winx64-v0.03.zip)发布版本
|
||||
2. [下载.net5](https://dotnet.microsoft.com/en-us/download/dotnet/5.0) sdk或runtime
|
||||
3. 安装.net5
|
||||
@ -55,53 +49,46 @@
|
||||
5. 访问[iotgateway](http://localhost:518/)后台:http://localhost:518
|
||||
|
||||
## linux/amd64,win/amd64 docker运行(官方仓)
|
||||
|
||||
1. docker run -d -p 518:518 -p 1888:1888 -p 62541:62541 --name iotgateway --restart always 15261671110/iotgateway
|
||||
|
||||
## linux/amd64,win/amd64 docker运行(阿里仓)
|
||||
2. docker pull registry.cn-hangzhou.aliyuncs.com/wanghaidong/iotgateway
|
||||
3. docker tag registry.cn-hangzhou.aliyuncs.com/wanghaidong/iotgateway 15261671110/iotgateway
|
||||
4. docker run -d -p 518:518 -p 1888:1888 -p 62541:62541 --name iotgateway --restart always 15261671110/iotgateway
|
||||
|
||||
## linux/amd64,win/amd64 docker运行(阿里仓)
|
||||
1. docker pull registry.cn-hangzhou.aliyuncs.com/wanghaidong/iotgateway
|
||||
2. docker tag registry.cn-hangzhou.aliyuncs.com/wanghaidong/iotgateway 15261671110/iotgateway
|
||||
3. docker run -d -p 518:518 -p 1888:1888 -p 62541:62541 --name iotgateway --restart always 15261671110/iotgateway
|
||||
|
||||
## linux/arm docker运行(官方仓)
|
||||
|
||||
1. docker run -d -p 518:518 -p 1888:1888 -p 62541:62541 --name iotgateway --restart always 15261671110/iotgateway:arm
|
||||
|
||||
## linux/arm docker运行(阿里仓)
|
||||
2. docker pull registry.cn-hangzhou.aliyuncs.com/wanghaidong/iotgateway:arm
|
||||
3. docker tag registry.cn-hangzhou.aliyuncs.com/wanghaidong/iotgateway:arm 15261671110/iotgateway
|
||||
4. docker run -d -p 518:518 -p 1888:1888 -p 62541:62541 --name iotgateway --restart always 15261671110/iotgateway
|
||||
## linux/arm docker运行(阿里仓)
|
||||
1. docker pull registry.cn-hangzhou.aliyuncs.com/wanghaidong/iotgateway:arm
|
||||
2. docker tag registry.cn-hangzhou.aliyuncs.com/wanghaidong/iotgateway:arm 15261671110/iotgateway
|
||||
3. docker run -d -p 518:518 -p 1888:1888 -p 62541:62541 --name iotgateway --restart always 15261671110/iotgateway
|
||||
|
||||
## 登入系统
|
||||
|
||||
1. 用户名 admin,密码 000000
|
||||
2. 打开发布文件路径下的ReadMe文件夹中的手摸手,按照顺序添加设备进行采集
|
||||
|
||||
# 采集配置
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
# thingsboard接入教程
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
# 采集配置
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
# thingsboard接入教程
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
|
||||
|
||||
|
||||
# 善于假于物
|
||||
|
||||
1. [WTM(MIT)](https://github.com/dotnetcore/WTM)
|
||||
2. [OPCUA(OPCUA)](https://github.com/OPCFoundation/UA-.NETStandard)
|
||||
3. [NModbus4(MIT)](https://github.com/NModbus4/NModbus4)
|
||||
|
111
drivers/net5.0/DriverMTConnect.deps.json
Normal file
111
drivers/net5.0/DriverMTConnect.deps.json
Normal file
@ -0,0 +1,111 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v5.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v5.0": {
|
||||
"DriverMTConnect/1.0.0": {
|
||||
"dependencies": {
|
||||
"PluginInterface": "1.0.0",
|
||||
"opennetcf-mtconnect-client": "1.0.17160"
|
||||
},
|
||||
"runtime": {
|
||||
"DriverMTConnect.dll": {}
|
||||
}
|
||||
},
|
||||
"Newtonsoft.Json/13.0.1": {
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Newtonsoft.Json.dll": {
|
||||
"assemblyVersion": "13.0.0.0",
|
||||
"fileVersion": "13.0.1.25517"
|
||||
}
|
||||
}
|
||||
},
|
||||
"opennetcf-extensions-standard/1.0.17160": {
|
||||
"runtime": {
|
||||
"lib/netstandard1.1/OpenNETCF.Extensions.dll": {
|
||||
"assemblyVersion": "1.0.17160.0",
|
||||
"fileVersion": "1.0.17160.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"opennetcf-mtconnect-client/1.0.17160": {
|
||||
"dependencies": {
|
||||
"opennetcf-extensions-standard": "1.0.17160",
|
||||
"opennetcf-restconnector": "1.0.17160"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard1.2/OpenNETCF.MTConnect.Client.dll": {
|
||||
"assemblyVersion": "1.0.17160.0",
|
||||
"fileVersion": "1.0.17160.0"
|
||||
},
|
||||
"lib/netstandard1.2/OpenNETCF.MTConnect.Common.dll": {
|
||||
"assemblyVersion": "1.0.17160.0",
|
||||
"fileVersion": "1.0.17160.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"opennetcf-restconnector/1.0.17160": {
|
||||
"dependencies": {
|
||||
"opennetcf-extensions-standard": "1.0.17160"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard1.1/OpenNETCF.RestConnector.dll": {
|
||||
"assemblyVersion": "1.0.17160.0",
|
||||
"fileVersion": "1.0.17160.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"PluginInterface/1.0.0": {
|
||||
"dependencies": {
|
||||
"Newtonsoft.Json": "13.0.1"
|
||||
},
|
||||
"runtime": {
|
||||
"PluginInterface.dll": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"DriverMTConnect/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"Newtonsoft.Json/13.0.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==",
|
||||
"path": "newtonsoft.json/13.0.1",
|
||||
"hashPath": "newtonsoft.json.13.0.1.nupkg.sha512"
|
||||
},
|
||||
"opennetcf-extensions-standard/1.0.17160": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-E2Hbli8QfD2vwGq5mk91zipJp8bOi5+ZXlvVp4z5JeMJTCe5cY5uEV0LabnkoLUPOlrm+z/hIunigAl2gAxC8A==",
|
||||
"path": "opennetcf-extensions-standard/1.0.17160",
|
||||
"hashPath": "opennetcf-extensions-standard.1.0.17160.nupkg.sha512"
|
||||
},
|
||||
"opennetcf-mtconnect-client/1.0.17160": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-p8d5hsvhHE80PugqQGfGS4iOiXmFAcu36B5g/AJan1Eq2vxK4E6GsovRfoEFohZjaEQLhyNxoPVBMC8mxFArlA==",
|
||||
"path": "opennetcf-mtconnect-client/1.0.17160",
|
||||
"hashPath": "opennetcf-mtconnect-client.1.0.17160.nupkg.sha512"
|
||||
},
|
||||
"opennetcf-restconnector/1.0.17160": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-CvEhOVtrXB2gp95fXOnibRulHvjnpHITBMSlXnSFKWxtl2DwEBvsid1afWt06BxYB8MJ6Qfv5ablgQojz0MGdg==",
|
||||
"path": "opennetcf-restconnector/1.0.17160",
|
||||
"hashPath": "opennetcf-restconnector.1.0.17160.nupkg.sha512"
|
||||
},
|
||||
"PluginInterface/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
}
|
||||
}
|
||||
}
|
BIN
drivers/net5.0/DriverMTConnect.dll
Normal file
BIN
drivers/net5.0/DriverMTConnect.dll
Normal file
Binary file not shown.
BIN
drivers/net5.0/DriverMTConnect.pdb
Normal file
BIN
drivers/net5.0/DriverMTConnect.pdb
Normal file
Binary file not shown.
BIN
drivers/net5.0/OpenNETCF.Extensions.dll
Normal file
BIN
drivers/net5.0/OpenNETCF.Extensions.dll
Normal file
Binary file not shown.
BIN
drivers/net5.0/OpenNETCF.MTConnect.Client.dll
Normal file
BIN
drivers/net5.0/OpenNETCF.MTConnect.Client.dll
Normal file
Binary file not shown.
BIN
drivers/net5.0/OpenNETCF.MTConnect.Common.dll
Normal file
BIN
drivers/net5.0/OpenNETCF.MTConnect.Common.dll
Normal file
Binary file not shown.
BIN
iotgateway.db
BIN
iotgateway.db
Binary file not shown.
Loading…
Reference in New Issue
Block a user