- Notifications
You must be signed in to change notification settings - Fork0
License
TrueAnalyticsSolutions/Mtconnect.PcAdapter
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a simple, interactive demo of a MTConnect Adapter using theTAMS Adapter SDK.
- Run the Terminal project (console application)
- Accept the security warning. This is because of the TcpAdapter implementation opening a connection on
localhost:7878
, depending on your local App.config. - Move your mouse around and switch windows to see the SHDR commands in the console window.
- If properly connected to thereference C++ Agent, you should see changes reflected in the MTConnect Current response
This demo showcases the implementation of bothIAdapterSource
andIAdapterDataModel
from theTAMS Adapter SDK.
Within thePCAdapter
project:
ThePCAdapterSource
implementsIAdapterSource
. This class implements a simple timer, which upon tick, will reference windows handles for cursor position and window titles. At the end of the tick method, changes to the model are published to the underlying Adapter SDK for publishing thru TCP.
ThePCModel.cs
implementsIAdapterDataModel
. This file contains multiple classes that describe the MTConnect component model and implements the explicit MTConnect observation Types/Sub-Types.
About
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.