iso 11783 task controller lecture 9 task controller – part 3 iso 11783 part 10 bae 5030 - 353...
TRANSCRIPT
ISO 11783 Task Controller
Lecture 9 Task Controller – Part 3ISO 11783 Part 10
BAE 5030 - 353Spring 2009
Instructor: Marvin StoneBiosystems and Agricultural Engineering
Oklahoma State University
April 6, 2009 BAE 5030-353
FMIS to MICS to FMIS communication
• FMIS -> MICS communication and back is based on data transfer files– XML data transfer files
• Formatted as XML version 1.0 and coded in UTF-8– Optional binary-coded data files for:
• gridcell definitions• logged process data
– All files are in the same directory.– Coding data and task data stored in the same set of XML
files upon transmission from FMIS to the MICS. During processing of tasks by the task controller, these files are likely to be modified and, when tasks are finished, can be transferred back to the FMIS.
April 6, 2009 BAE 5030-353
Origination and modification of Task Data
• Modified Task Data are added to the Taskdata file by the MICS (Task Controller and transported back to the desktop
April 6, 2009 BAE 5030-353
Main XML coded data transfer file
• Case sensitive names• File Name
– TASKDATA.XML
• Root element– ISO 11783_TaskData
• Recommended location– in a directory named “TASKDATA”
• Structure example:
April 6, 2009 BAE 5030-353
<?xml version="1.0" encoding="UTF-8"?><ISO11783_TaskData VersionMajor="..." VersionMinor="..." TaskControllerManufacturer="..." TaskControllerVersion="..." ManagementSoftwareManufacturer="..." ManagementSoftwareVersion="...“ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="… " DataTransferOrigin="..."></ISO11783_TaskData>
Prescription transfer FMIS to MICS
April 6, 2009 BAE 5030-353
Log file transfer from MICS to FMIS
April 6, 2009 BAE 5030-353
CTR = Customer
XML element types and acronyms
• Examples:
April 6, 2009 BAE 5030-353
XML element designator Coding data XML element nameAllocationStamp ASPCodedComment X CCTCodedCommentGroup X CCGCodedCommentListValue X CCLColourLegend X CLDColourRange X CRGCommentAllocation CANConnection CNNCropType X CTPCropVariety X CVTCulturalPractice X CPCCustomer X CTRDataLogTrigger DLTDataLogValue DLV
XML element example (ASP)
• The AllocationStamp XML element specifies a recording of an allocation event.
April 6, 2009 BAE 5030-353
Example:<ASP A="2003-08-20T08:10:00" D="4">
<PTN A="54.588945" B="9.989209" D="3"/></ASP><ASP A="2003-08-20T08:10:00" C="3512" D="4"/>
PTN = Position
Attributes
Attribute
XML
Use Type Length/Range
Comment
Start A o xs:datetime Max. 19 Time of start. Format: yyyy-mm-ddThh:mm:ss
Stop B o xs:datetime Max. 19 Time of end. Format: yyyy-mm-ddThh:mm:ss
Duration
C o xs:unsignedLong
0..(232-2) Time between start and stop in number of second
Type D r xs:NMTOKEN 1,4 Type of the AllocationStamp, possible values: 1 = Planned 4 = Effective
Position o xs:element Includes a single XML element Position
Task File data structure
April 6, 2009 BAE 5030-353
Tutorial on ERDs
Device Description within Task Data
April 6, 2009 BAE 5030-353
DVC – DeviceDET – DeviceElementDOR – DeviceObjectReferenceDPT – DevicePropertyDPD – DeviceProcessDataDVP – DeviceValuePresentation
Relationship among XML elements
April 6, 2009 BAE 5030-353
Relationship among XML elements - Task
April 6, 2009 BAE 5030-353
FMIS to MICS to FMIS communication Features
• Define a Task on the desktop (FMIS)– Includes both Coding data and Task Data– May include spatial prescriptions
• Encode this information in an standard XML format for use at the Task Controller– Will result in a “TASKDATA.XML” File(s)
• May include associated binary files
• Insert the “As acquired” Task Data during the task with the mobile system (MICS)– Will result in an amended “TASKDATA.XML” File(s)
• May include associated binary files
April 6, 2009 BAE 5030-353