This page documents the important concepts related to writing code that utilizes AgGateway's ADAPT Application Data Model. This application note is written from a developer's perspective and is part of the ADAPT minimum viable product (MVP).
AgGateway has posted resources on AdaptFramework.org to help you get started. They include:
AgGateway holds frequent ADAPT technical meetings. Consider attending or ask questions by email at ADAPT.email@example.com.
The application data model and related code is available from two separate sources: NuGet packages and GitHub repositories.
When creating an application in Microsoft's Visual Studio or another environment that supports NuGet packages, the NuGet packages provide the most convenient method of acquiring and referencing the necessary assemblies and dependencies. To insert the appropriate NuGet package, search for "AgGateway ADAPT" in the NuGet Package Manager.
The data model and related code can also be retrieved from the following GitHub repositories:
AgGateway's ADAPT Application Data Model can be used by many applications in many different ways. Consider how you will be using ADAPT within your application to better understand how to begin, and which parts of ADAPT apply to that situation.
The source code for the ISO v4Plugin and the ADM Plugin are both available on GitHub. The code in these projects should provide meaningful guidance for anyone developing a plugin for consumption by other applications.
FMIS developers should also consider reviewing the sample code projects available on GitHub. The TreeDemo project demonstrates how an application might create, populate and serialize a data model with Grower, Farm, Field, and CropZone information. The ActiveCropZones project demonstrates how the TreeDemo serialized model can be imported into a data model and then queried to retrieve the desired information.
AgGateway's ADAPT Technical Team welcomes questions and feedback via email at ADAPT.firstname.lastname@example.org. And this team meets regularly.
AgGateway's ADAPT Application Data Model is simply a vehicle to allow data transmission between an FMIS (and its proprietary data) and another FMIS or an MICS and its data.
Key concepts to understand the ADAPT data model include:
A plugin is the code that understands the proprietary data and also the ADAPT data model. A plugin can either read proprietary data and create ADAPT data or read ADAPT data and populate proprietary data. Getting started with ADAPT means that you will either use an existing ADAPT plugin or create a new plugin for a given format.
It's easy to use ADAPT code within a Visual Studio project by taking advantage of the available NuGet packages.
Review the ADAPT toolkit documentation
Review User Stories and Application Notes:
Read a 2-page flyer on ADAPT
Letter of Support from Grower Organizations
Find more resources on Open-Source ADAPT site: AdaptFramework.org
For more information, including
materials for joining ADAPT,
You must be a member to access some areas of the Wiki. Contact Member Services at Member.Services@AgGateway.org for more information.
Mark Stelford, Premier Crop
Dan Danford, CNH