#pragma once #include "CCOS.Dev.MechanicalMoudle.hpp" namespace CCOS::Dev::Detail::Generator { class SINOminiDevice; } using namespace CCOS::Dev::Detail::Mechanical; using namespace CCOS::Dev::Detail::Generator; class OemMechanical :public MechanicalDevice { using super = MechanicalDevice; class SINOminiDevice* m_pGEN; public: OemMechanical(std::shared_ptr EventCenter, int nGrid = 0, unsigned int nAE = 0, unsigned int nFT = 0, unsigned int nThickness = 0, unsigned int nCompPressureDEC = 0, unsigned int nDepress = 0, float fMechAngle = 0.0, float fMechHeight = 0.0, float fPressureValue = 0.0, float fAGD = 0.0, float fMAG = 0.0); ~OemMechanical(); void SetCtrlDev(SINOminiDevice* pCtrlDev); virtual bool Prepare() override; virtual void Register() override; virtual RET_STATUS GetTomoResults(ResDataObject& resultAngle, ResDataObject& resultHeight) override; virtual RET_STATUS SetGrid(unsigned int GridType) override; virtual RET_STATUS SetAutoTracking(unsigned int nAutoTracking) override; };