#pragma once //vcDP5 SDK #include "afxcmn.h" #include "afxwin.h" #include "resource.h" class CTuneSlowThreshold { public: CTuneSlowThreshold(void); ~CTuneSlowThreshold(void); void SetSlowThreshToChPos(int ChPosIn, int mcaCH); void DelayTask(DWORD d); int GetSlowThreshCalStart(double * SpectrumBuffer, double UpperChMax, int mcaCH); double GetUpperChCounts(double * SpectrumBuffer, int mcaCH); double GetUpperChMax(double * SpectrumBuffer, int mcaCH); void GetSpectrumData(double * dblMCAData, long * lngMCAData, int mcaCH); int UpdatePlotCursorPosFromIntChPos(int CurCh, double dblPixPerChan); void DisplaySpecBuf25(double * SpectrumBuffer); int GetSlowThreshChStrFromVal(unsigned char byteSlowThres, int mcaCH); };