chenluhua1980
2026-01-06 4d9d8d22e3666076988c30afb4e7c6fe365c19aa
SourceCode/Bond/Servo/Model.h
@@ -1,5 +1,8 @@
#pragma once
#include "Configuration.h"
#include "HsmsPassive.h"
#include "CMaster.h"
#include "CGlassPool.h"
class CModel
{
@@ -9,7 +12,12 @@
public:
   IObservable* getObservable();
   SERVO::CMaster& getMaster();
   void setWorkDir(const char* pszWorkDir);
   void loadPortParams();
   void setPortType(unsigned int index, SERVO::PortType type);;
   void setPortCassetteType(unsigned int index, SERVO::CassetteType type);
   void setPortEnable(unsigned int index, BOOL bEnable);
   int init();
   int term();
@@ -29,6 +37,9 @@
public:
   CConfiguration m_configuration;
   CHsmsPassive m_hsmsPassive;
   SERVO::CGlassPool m_glassPool;
   SERVO::CMaster m_master;
private:
   IObservable* m_pObservable;