/*
 * zGo2PartPlaneZOffset.h
 * 
 * Gocator system communication library
 * Copyright (C) 2013 by LMI Technologies Inc.
 * 
 * Licensed under The MIT License.
 * Redistributions of files must retain the above copyright notice.
 */

#ifndef LMITECH_GO2PARTPLANEZOFFSET_H_INCLUDED
#define LMITECH_GO2PARTPLANEZOFFSET_H_INCLUDED

#include <Go2Measurements/Go2PartPlaneZOffset.h>
#include <z/zGo2Measurement.h>
#include <z/zGo2Api.h>
#include <Go2ApiBegin.h>

/*
 * Go2PartPlaneZOffset Class 
 */

typedef struct Go2PartPlaneZOffsetClass
{   
    GO2_PART_MEASUREMENT_FIELDS(); 

    Go2Bool regionsEnabled;
    Go2PartRegion3d regions[GO2_MAX_PLANE_REGIONS];
    Go2UInt32 regionCount;
} Go2PartPlaneZOffsetClass; 

GO2_EXPORT(Go2Status) Go2PartPlaneZOffset_Construct(Go2PartPlaneZOffset* measurement, Go2UInt32 id, Go2System system); 
GO2_EXPORT(Go2Status) Go2PartPlaneZOffset_Init(Go2PartPlaneZOffset measurement, Go2UInt32 id, Go2System system);
GO2_EXPORT(Go2Status) Go2PartPlaneZOffset_VRelease(Go2PartPlaneZOffset measurement);
GO2_EXPORT(Go2Status) Go2PartPlaneZOffset_VRead(Go2PartPlaneZOffset measurement, zXml xml, zXmlItem item); 
GO2_EXPORT(Go2Status) Go2PartPlaneZOffset_VWrite(Go2PartPlaneZOffset measurement, zXml xml, zXmlItem item); 



#include <Go2ApiEnd.h>
#endif
