/*
 * Go2PartPlaneYAngle.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_Z_GO2PARTPLANEYANGLE_H_INCLUDED
#define LMITECH_Z_GO2PARTPLANEYANGLE_H_INCLUDED

#include <Go2Measurement.h>
#include <Go2PartTypes.h>
#include <Go2ApiBegin.h>

/*
 * Go2PartPlaneYAngle Class 
 */

typedef Go2PartMeasurement Go2PartPlaneYAngle;           // Represents part Go2PartPlaneYAngle measurement configuration.

GO2_EXPORT(Go2Status) Go2PartPlaneYAngle_SetId(Go2PartPlaneYAngle measurement, Go2UInt32 id); //
//
//  Description:
//      Sets the unique measurement identifier for the measurement.
//  Arguments:
//      measurement - Go2PartPlaneYAngle object. 
//      id - Unique measurement identifier. 
//  Returns:
//      Operation status. 

GO2_EXPORT(Go2UInt32) Go2PartPlaneYAngle_Id(Go2PartPlaneYAngle measurement); //
//
//  Description:
//      Gets the unique measurement identifier for the measurement.
//  Arguments:
//      measurement - Go2PartPlaneYAngle object. 
//  Returns:
//      Unique measurement identifier

GO2_EXPORT(Go2Status) Go2PartPlaneYAngle_SetName(Go2PartPlaneYAngle measurement, const Go2Char* name); //
//
//  Description:
//      Sets the descriptive name for the measurement.
//  Arguments:
//      measurement - Go2PartPlaneYAngle object. 
//      name - Descriptive name. 
//  Returns:
//      Operation status. 
 
GO2_EXPORT(Go2Status) Go2PartPlaneYAngle_Name(Go2PartPlaneYAngle measurement, Go2Char* name, Go2UInt32 capacity); //
//
//  Description:
//      Gets the descriptive name for the measurement.
//  Arguments:
//      measurement - Go2PartPlaneYAngle object. 
//      name - Receives descriptive name. 
//      capacity - Capacity of name buffer. 
//  Returns:
//      Operation status.  

GO2_EXPORT(Go2Status) Go2PartPlaneYAngle_SetDecisionMin(Go2PartPlaneYAngle measurement, Go2Double min); //
//
//  Description:
//      Sets the decision threshold minimum value.
//  Arguments:
//      measurement - Go2PartPlaneYAngle object. 
//      min - Decision threshold minimum value. 
//  Returns:
//      Operation status.
//  Remarks: 
//      A decision is said to pass if the measurement value is between the minimum and maximum thresholds.
 
GO2_EXPORT(Go2Double) Go2PartPlaneYAngle_DecisionMin(Go2PartPlaneYAngle measurement); //
//
//  Description:
//      Gets the decision threshold minimum value.
//  Arguments:
//      measurement - Go2PartPlaneYAngle object. 
//  Returns:
//      Decision threshold minimum.
//  Remarks: 
//      A decision is said to pass if the measurement value is between the minimum and maximum thresholds.

GO2_EXPORT(Go2Status) Go2PartPlaneYAngle_SetDecisionMax(Go2PartPlaneYAngle measurement, Go2Double max); //
//
//  Description:
//      Sets the decision threshold maximum value.
//  Arguments:
//      measurement - Go2PartPlaneYAngle object. 
//      max - Decision threshold maximum value. 
//  Returns:
//      Operation status.
//  Remarks: 
//      A decision is said to pass if the measurement value is between the minimum and maximum thresholds.
 
GO2_EXPORT(Go2Double) Go2PartPlaneYAngle_DecisionMax(Go2PartPlaneYAngle measurement); //
//
//  Description:
//      Gets the decision threshold maximum value.
//  Arguments:
//      measurement - Go2PartPlaneYAngle object. 
//  Returns:
//      Decision threshold maximum.
//  Remarks: 
//      A decision is said to pass if the measurement value is between the minimum and maximum thresholds.
 
GO2_EXPORT(Go2Status) Go2PartPlaneYAngle_EnableHold(Go2PartPlaneYAngle measurement, Go2Bool enable); //
//
//  Description:
//      Enables measurement value hold.
//  Arguments:
//      measurement - Go2PartPlaneYAngle object.
//      enable - GO2_TRUE to enable, or GO2_FALSE to disable.
//  Returns:
//      Operation status.

GO2_EXPORT(Go2Bool) Go2PartPlaneYAngle_HoldEnabled(Go2PartPlaneYAngle measurement); //
//
//  Description:
//      Reports whether value hold is currently enabled.
//  Arguments:
//      measurement - Go2PartPlaneYAngle object. 
//  Returns:
//      GO2_TRUE if enabled, or GO2_FALSE if disabled.

GO2_EXPORT(Go2Status) Go2PartPlaneYAngle_EnableSmoothing(Go2PartPlaneYAngle measurement, Go2Bool enable); //
//
//  Description:
//      Enables measurement value smoothing.
//  Arguments:
//      measurement - Go2PartPlaneYAngle object.
//      enable - GO2_TRUE to enable, or GO2_FALSE to disable.
//  Returns:
//      Operation status.

GO2_EXPORT(Go2Bool) Go2PartPlaneYAngle_SmoothingEnabled(Go2PartPlaneYAngle measurement); //
//
//  Description:
//      Reports whether value smoothing is currently enabled.
//  Arguments:
//      measurement - Go2PartPlaneYAngle object. 
//  Returns:
//      GO2_TRUE if enabled, or GO2_FALSE if disabled.

GO2_EXPORT(Go2UInt32) Go2PartPlaneYAngle_SmoothingWindowMin(Go2PartPlaneYAngle measurement); //
//
//  Description:
//      Gets the minimum smoothing window value.
//  Arguments:
//      measurement - Go2PartPlaneYAngle object. 
//  Returns:
//      Minimum smoothing window value.

GO2_EXPORT(Go2UInt32) Go2PartPlaneYAngle_SmoothingWindowMax(Go2PartPlaneYAngle measurement); //
//
//  Description:
//      Gets the maximum smoothing window value.
//  Arguments:
//      measurement - Go2PartPlaneYAngle object. 
//  Returns:
//      Maximum smoothing window value.

GO2_EXPORT(Go2Status) Go2PartPlaneYAngle_SetSmoothingWindow(Go2PartPlaneYAngle measurement, Go2UInt32 window); //
//
//  Description:
//      Sets the smoothing window value.
//  Arguments:
//      measurement - Go2PartPlaneYAngle object. 
//      window - Smoothing window value.
//  Returns:
//      Operation status.

GO2_EXPORT(Go2UInt32) Go2PartPlaneYAngle_SmoothingWindow(Go2PartPlaneYAngle measurement); //
//
//  Description:
//      Gets the smoothing window value.
//  Arguments:
//      measurement - Go2PartPlaneYAngle object. 
//  Returns:
//      Smoothing window value.

GO2_EXPORT(Go2Status) Go2PartPlaneYAngle_EnableLink(Go2PartPlaneYAngle measurement, Go2Bool enable); //
//
//  Description:
//      Enables measurement linking.  When enabled, another measurement of the same base type can be 
//      linked, provided that it is a different measurement.  
//      E.g. A Go2PartPlaneYAngle and Go2PartPlaneYAngle measurement can link, but two Go2PartPlaneYAngle measurements can not be linked.
//  Arguments:
//      measurement - Go2PartPlaneYAngle object. 
//      enable - GO2_TRUE to enable, or GO2_FALSE to disable.
//  Returns:
//      Operation status.
 
GO2_EXPORT(Go2Bool) Go2PartPlaneYAngle_LinkEnabled(Go2PartPlaneYAngle measurement); //
//
//  Description:
//      Reports whether measurement linking is enabled.
//  Arguments:
//      measurement - Go2PartPlaneYAngle object. 
//  Returns:
//      GO2_TRUE if the link is enabled; GO2_FALSE otherwise.

GO2_EXPORT(Go2Status) Go2PartPlaneYAngle_SetLink(Go2PartPlaneYAngle measurement, Go2UInt32 link); //
//
//  Description:
//      Sets the measurement id to which this measurement should link. Linked measurements must:
//          -link to a valid measurement id
//          -not link to themselves
//          -not link to a measurement that is already linked
//          -link only to measurements of the same basic type (eg, all PartPlane_? measurements)
//  Arguments:
//      measurement - Go2PartPlaneYAngle object. 
//      link - Measurement id to link to.
//  Returns:
//      Operation status.

GO2_EXPORT(Go2UInt32) Go2PartPlaneYAngle_Link(Go2PartPlaneYAngle measurement); //
//
//  Description:
//      Gets the measurement id of the linked measurement.
//  Arguments:
//      measurement - Go2PartPlaneYAngle object. 
//  Returns:
//      The linked measurement ID.

GO2_EXPORT(Go2Status) Go2PartPlaneYAngle_EnableRegions(Go2PartPlaneYAngle measurement, Go2Bool enable); //
//
//  Description:
//      Enables measurement regions.  
//  Arguments:
//      measurement - Go2PartPlaneYAngle object. 
//      enable - GO2_TRUE to enable, or GO2_FALSE to disable.
//  Returns:
//      Operation status.

GO2_EXPORT(Go2Bool) Go2PartPlaneYAngle_RegionsEnabled(Go2PartPlaneYAngle measurement); //
//
//  Description:
//      Reports whether measurement regions are enabled.
//  Arguments:
//      measurement - Go2PartPlaneYAngle object. 
//  Returns:
//      GO2_TRUE if regions are enabled; GO2_FALSE otherwise.

GO2_EXPORT(Go2UInt32) Go2PartPlaneYAngle_RegionCount(Go2PartPlaneYAngle measurement); //
//
//  Description:
//      Gets the number of regions. 
//  Arguments:
//      measurement - Go2PartPlaneYAngle object. 
//  Returns:
//      Number of regions.

GO2_EXPORT(Go2Status) Go2PartPlaneYAngle_SetRegionCount(Go2PartPlaneYAngle measurement, Go2UInt32 count); //
//
//  Description:
//      Sets the number of regions to use. 
//  Arguments:
//      measurement - Go2PartPlaneYAngle object. 
//      count - Number of regions.
//  Returns:
//      Operation status.

GO2_EXPORT(Go2PartRegion3d) Go2PartPlaneYAngle_RegionAt(Go2PartPlaneYAngle measurement, Go2UInt32 index); //
//
//  Description:
//      Gets the region object at the specified index. 
//  Arguments:
//      measurement - Go2PartPlaneYAngle object. 
//      index - Index of the desired area.
//  Returns:
//      Region object.

GO2_EXPORT(Go2Double) Go2PartPlaneYAngle_Offset(Go2PartPlaneYAngle measurement); //
//
//  Description:
//      Gets the measurement value offset.
//  Arguments:
//      measurement - Go2PartPlaneYAngle object.
//  Returns:
//      Measurement value offset.

GO2_EXPORT(Go2Status) Go2PartPlaneYAngle_SetOffset(Go2PartPlaneYAngle measurement, Go2Double offset); //
//
//  Description:
//      Sets the measurement value offset.
//  Arguments:
//      measurement - Go2PartPlaneYAngle object.
//      offset - Offset factor.
//  Returns:
//      Operation status.

GO2_EXPORT(Go2Double) Go2PartPlaneYAngle_Scale(Go2PartPlaneYAngle measurement); //
//
//  Description:
//      Gets the measurement value scale factor.
//  Arguments:
//      measurement - Go2PartPlaneYAngle object.
//  Returns:
//      Measurement value scale factor.

GO2_EXPORT(Go2Status) Go2PartPlaneYAngle_SetScale(Go2PartPlaneYAngle measurement, Go2Double scale); //
//
//  Description:
//      Sets the measurement value scale factor.
//  Arguments:
//      measurement - Go2PartPlaneYAngle object.
//      scale - Scale factor.
//  Returns:
//      Operation status.

GO2_EXPORT(Go2UInt32) Go2PartPlaneYAngle_LinkOptionAt(Go2PartPlaneYAngle measurement, Go2UInt32 index); //
//
//  Description:
//      Gets the link-able measurement id at the specified index. 
//    Arguments:
//      measurement - Go2PartMeasurement object.
//  Returns:
//      The link-able measurement ID at the specified index.

GO2_EXPORT(Go2UInt32) Go2PartPlaneYAngle_LinkOptionCount(Go2PartPlaneYAngle measurement); //
//
//  Description:
//      Gets the number of link-able measurement IDs.
//  Arguments:
//      measurement - Go2PartMeasurement object.
//  Returns:
//      The link-able measurement count.

#include <Go2ApiEnd.h>
#endif
