| 12345678910111213141516171819202122232425262728293031323334353637383940414243 | #pragma once#include "IClassifyEngine.h"#include "ExpressionClassifyEngine.h"#include "InclutionClassifyEngine.h"#include "SpectrumCompareEngine.h"#include <OTSParticleClr.h>#include <PosXrayClr.h>using namespace System;namespace OTSCLRINTERFACE {	using namespace OTSClassifyEngine;	public   enum class EngineType	{		ExpressionClassifyEng = 1,		InclutionEng = 2,		SpectrumCompare = 3	};	public ref class COTSClassifyEngineClr :public Object	{	public:		COTSClassifyEngineClr(EngineType engineType, System::String^ libFileName);		bool ReloadEngineDB();		bool ClassifyByExpression(COTSParticleClr^ particle);//		bool ClassifyBySpectrum(COTSParticleClr^ particle);//		bool ClassifyByExpressionTemporarySpectrum(COTSParticleClr^ particle);//				bool ClassifyIncA(COTSParticleClr^ particle, int SteelTech);//		bool IfNeedMaxEDS(COTSParticleClr^ particle, double% maxedstime);		bool ZeroElementProcess(COTSParticleClr^ particle);             	private:		IClassifyEngine* engine;	};	}
 |