没有合适的资源?快使用搜索试试~ 我知道了~
首页MTConnect SDK
MTConnect SDK

The .NET software development kit (SDK) was written to reduce the time and effort required to implement an MTConnect interface. It consists of four Visual Studio Projects that allow implementers to use the SDK in a variety of scenarios. The SDK was developed in Visual Studio 2008 and written in C#. It can be embedded directly into your application, used as a stand-alone Windows application or run as a Windows service.
资源详情
资源评论
资源推荐

MTConnect .NET
Software Development Kit (SDK)
Version 2.1.7
March 7, 2011
MTConnect is a registered trademark of AMT - The Association for Manufacturing Technology.
Use of MTConnect is limited to use as specified on http://www.mtconnect.org/.

MTConnect .NET SDK Guide Page 1
Table of Contents
Revision History ....................................................................................................... 3!
Introduction ............................................................................................................ 4!
Architecture ............................................................................................................ 4!
SDK Solution and Projects ........................................................................................ 5!
MTConnectAgent Solution .................................................................................. 5!
MTConnectAgentCore Project ............................................................................. 5!
MTConnectAgentCoreWindows Project ................................................................ 5!
MTConnectAgentCoreWindowsService Project ...................................................... 5!
MTConnectAgentCoreWindowsServiceSetup Project ............................................. 5!
Implementation Scenarios ........................................................................................ 6!
Independent Adapter and Independent Agent ........................................................ 6!
Combined Adapter and Agent ................................................................................ 6!
Embedded Agent .................................................................................................. 7!
How to Guide .......................................................................................................... 8!
Windows Application Version ................................................................................. 8!
How do I install the Windows Application Version? ............................................... 8!
How do I run the Windows Application Version? ................................................... 8!
Windows Service Version ...................................................................................... 9!
How do I install the Windows Service Version? .................................................... 9!
How to Run ....................................................................................................... 9!
How to Stop ...................................................................................................... 9!
How to Uninstall ................................................................................................ 9!
Agent Interaction ............................................................................................... 10!
How do I send an HTTP Request to the Core Agent? .......................................... 10!
How do I send Data to the Core via HTTP? ........................................................ 10!
How do I configure the Core Agent? ................................................................. 10!
How can I view data stored by the Agent? ......................................................... 10!
Development ...................................................................................................... 11!
How can I Use the DLL in a Visual Studio 2005 C# Project? ................................ 11!
Start Function .................................................................................................... 12!
Stop Function ..................................................................................................... 12!
StoreSample Function ......................................................................................... 13!
StoreEvent Function ........................................................................................... 14!
StoreCondition Function ...................................................................................... 15!
HTTP Interface ...................................................................................................... 16!
debug ................................................................................................................ 17!
storeSample ....................................................................................................... 17!
storeEvent ......................................................................................................... 18!
storeCondition .................................................................................................... 19!
version .............................................................................................................. 19!
Agent Configuration ............................................................................................... 20!
SDK Package Structure ........................................................................................... 21!
General .............................................................................................................. 21!

MTConnect .NET SDK Guide Page 2
Core Agent ........................................................................................................ 21!
Windows Executable to Run Core Agent ............................................................... 21!
Windows Service to Run Core Agent .................................................................... 21!
Create Core Agent Windows Service .................................................................... 22!
Known Issues ........................................................................................................ 23!
Comments or Questions ......................................................................................... 23!

MTConnect .NET SDK Guide Page 3
Revision History
Date Description Author Version
Date
Description
Author
Version
4/30/2008
Initial Draft
Georgia Tech
Prerelease
5/1/2008
Changes and Recommendations from
Paul Warndorf.
Georgia Tech
0.1
5/19/2008
Updated images. Added table of contents,
terminology, and revision history. Various
edits throughput.
Georgia Tech
0.2
6/3/2008
Updated images.
Georgia Tech
0.21
6/26/2008
Modified scenario section. See change log
for list of code changes.
Georgia Tech
0.22
7/11/2008
Significant rewrite of the documentation.
See change log for list of code changes.
Georgia Tech
0.3
8/7/2008
Changed the syntax for http storeEvent
and storeSample requests. Added LDAP
functionality. See change log for list of
code changes.
Georgia Tech
0.4
8/15/2008
SHDR rejecting Event other than type
Alarm. Various other fixes. See change
log for list of code changes.
Georgia Tech
0.41
10/20/2008
Changed Adapter to be a MS service for
the Core Agent and the SHDR Agent.
Georgia Tech
0.45
12/22/2008
Revamped the Agent SDK document for
clarity and further definition.
Georgia Tech
0.5
12/8/2010
Updated for MTConnect version 1.1.0
Georgia Tech
2.1
03/11/2011
Updated by Lei Yang version 2.1.7
Georgia Tech
2.1.7

MTConnect .NET SDK Guide Page 4
Introduction
The .NET software development kit (SDK) was written to reduce the time and effort
required to implement an MTConnect interface. It consists of four Visual Studio Projects
that allow implementers to use the SDK in a variety of scenarios.
The SDK was developed in Visual Studio 2008 and written in C#. It can be embedded
directly into your application, used as a stand-alone Windows application or run as a
Windows service.
Architecture
The following diagram provides an overview of the .NET Agent SDK architecture:
MTC onnect)
C lient)A pplication
Adapter
MTC onnect)Device
<X ML >
C onfiguration
Agent)C ore
Agent)AP I
Data)S toreAgent)F unctionality
MTC onnect
I nterface
HT T P )Input
The Agent Core of the SDK contains the base functionality of the agent and can be
accessed via function calls or HTTP. Functional and HTTP access allow the SDK to be used
in a variety of ways
剩余23页未读,继续阅读











安全验证
文档复制为VIP权益,开通VIP直接复制

评论1