Skip to content

Commit

Permalink
Added Agents directory ReadMe
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickRitchie committed Apr 24, 2024
1 parent 35422e0 commit 4740f36
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MTConnect.NET.sln
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Processors", "Processors", "{98D838F5-2AEB-4F62-A803-115C57C1E982}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Agent", "Agent", "{C3791CDD-9446-4584-AA80-0C41FCB63B88}"
ProjectSection(SolutionItems) = preProject
agent\README.md = agent\README.md
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Adapter", "Adapter", "{5C1723BE-3FA0-4C64-AFEC-4343ADCEAE2B}"
EndProject
Expand Down
26 changes: 26 additions & 0 deletions agent/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Standalone MTConnect Agent
> https://github.com/TrakHound/MTConnect.NET/tree/version-6.0/agent/MTConnect.NET-Agent
# Embedded MTConnect Agent
An MTConnect Agent can be embedded into an application where the DataSource(s) can be read and the MTConnect Agent can be combined into the same application. This eliminates the need to transfer data from an Adapter to an Agent (typically using the SHDR protocol).

## Option 1
The first option is to use the **[dotnet CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/)** to install the MTConnect.NET-Agent-Template using the below commands:

### Install Template
```
dotnet new install MTConnect.NET-Agent-Template
```

### Create New Project
This will create a new project using the template in the current working directory
```
dotnet new mtconnect.net-agent
```

## Option 2
The second option is to use the **[MTConnect.NET-Applications-Agents](https://www.nuget.org/packages/MTConnect.NET-Applications-Agents)** Nuget Package directly in your own project.
```
dotnet add package MTConnect.NET-Applications-Agents
```

0 comments on commit 4740f36

Please sign in to comment.