#pragma once #include "IClassifyEngine.h" #include "ExpressionClassifyEngine.h" #include "InclutionClassifyEngine.h" #include "SpectrumCompareEngine.h" #include #include 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; }; }