/*------------------------------------------------------------------------------*
 * File Name: 																	*
 * Creation: Sandy 11-11-2008													*
 * Purpose: Origin C Header Files												*
 * Copyright (c) ABCD Corp.	2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010		*
 * All Rights Reserved															*
  *------------------------------------------------------------------------------*/
  
#ifndef __PA_UTILS_H__
#define __PA_UTILS_H__


#define PA_WITH_XPS_BASELINE  ///  SR6 MACRO ----------Sandy 2008-11-4 QA80-12518 v8.0965 BRING_BACK_SPECIAL_BASELINE


///Sophy 11/10/2008 CLEAN_CODE_ADD_BASELINE_INFO_TO_REPORT_TABLE moved from PAWizCore.h to share in FitPeak
#define	STR_INTERP_FUNCTION_LIST	"Line|Spline|BSpline"	///Sophy 10/20/2008 CLEAN_CODE_ADD_BASELINE_INFO_TO_REPORT_TABLE
#define	STR_BASELINE_PARAM_TREE		"BaselineParamTree"		///Sophy 11/10/2008 CLEAN_CODE_ADD_BASELINE_INFO_TO_REPORT_TABLE


///Sandy 2008-11-11 add determinate index for theme convert would be easier.
enum{
	PA_BM_CONSTANT = 0,
	PA_BM_USERDEF = 1,
	PA_BM_USE_EX = 2,
	PA_BM_LOCAL = 4,
	
#ifdef PA_WITH_XPS_BASELINE 
	PA_BM_XPS = 5,/// Sandy 2008-11-4 QA80-12518 v8.0965 BRING_BACK_SPECIAL_BASELINE	
#endif
	
	PA_BM_None = 3,
};	
///end CLEAN_CODE_ADD_BASELINE_INFO_TO_REPORT_TABLE


//////////////////////////For PA Fit//////////////////////////
enum{	
	PLOT_TO_NONE 		= 0,		
	PLOT_TO_NEW_GRAPH,
	PLOT_TO_SOURCE_GRAPH,
};

#define	REPORT_GRAPH_DESTINATION_LIST 		_L("<None>|<New Graph>|<Source Graph>")

enum{
	PLOT_PEAK_CURVE, 
	PLOT_CUM_CURVE, 
	PLOT_ALL_CURVE
};

enum{
	EXTERNAL_MSG_PARA_CHANGE, 
	EXTERNAL_MSG_ADV_CHANGE,
	EXTERNAL_MSG_AFT_ITR, ///---Sim 02-25-2008 NO_FIT_AGAIN_CHECK_BOX
	EXTERNAL_MSG_FUNC_CHANGE,	///Jasmine 03/31/08 ALLOW_CHANGE_FUNCTION_IN_PARAM_DLG
	EXTERNAL_MSG_CHECK_AUTOINIT,
	EXTERNAL_MSG_DIALOG_CLOSE,	//------ Folger 10/17/08 NEED_TO_UPDATE_PARAMS_TREE_INTO_PA_FIT_GETNTREE_WHEN_PEAK_FIT_DIALOG_CLOSE
	EXTERNAL_MSG_UPDATE_PEAK_DATAS,
	EXTERNAL_MSG_FO_CHANGE_FUNC,	///Jasmine 04/14/10 QA81-15304 ANNOUNCE_FITTING_FUNC_CHANGE
};

enum{
	PARAM_DLG_NEW_GRID		=	0x0001,			//reconstruct the grid control
	PARAM_DLG_ENABLE_FIT	=	0x0002,
	PARAM_DLG_DISABLE_FIT	=	0x0004,
	PARAM_DLG_MULTI_FUNC	=	0x0008,		
	PARAM_DLG_ADVANCE		=	0x0010,
	PARAM_DLG_UPDATE_GRID   = 	0x0020, /// Iris 9/16/2008 PA_PARAM_DLG_USE_NEW_FIT_CLASS
	///Sophy 12/2/2008 v8.981b UPDATE_OK_BUTTON_AND_RELATIVE_FIT_BUTTONS_ON_ERROR
	PARAM_DLG_ENABLE_OK		=	0x0040,
	PARAM_DLG_DISABLE_OK	=	0x0080,
	///end UPDATE_OK_BUTTON_AND_RELATIVE_FIT_BUTTONS_ON_ERROR
};

#define STR_FIT_POINTER		 			"FitPointer"
//////////////////////////PA Fit End//////////////////////////


#endif	//	__PA_UTILS_H__