|
@@ -3,7 +3,7 @@
|
|
|
#include "Event.h"
|
|
|
#include "rec_common.h"
|
|
|
#include "SpComm.hpp"
|
|
|
-
|
|
|
+#include "CommEntityUtil.hpp"
|
|
|
#if defined(RVC_OS_WIN)
|
|
|
#include <tchar.h>
|
|
|
#include "SetupApi.h"
|
|
@@ -92,13 +92,13 @@ void CCameraConfigManageEntity::OnPreStart(
|
|
|
CSmartPointer<IEntityFunction> spFunction = GetFunction();
|
|
|
CSystemStaticInfo stStaticinfo;
|
|
|
spFunction->GetSystemStaticInfo(stStaticinfo);
|
|
|
- SP::MachineFormat::Site site = SP::MachineFormat::Str2Site(stStaticinfo.strSite);
|
|
|
- SP::MachineFormat::What type = SP::MachineFormat::Str2Type(stStaticinfo.strSite);
|
|
|
+ SP::Module::Comm::Site site = SP::Module::Comm::Str2Site(stStaticinfo.strSite);
|
|
|
+ SP::Module::Comm::What type = SP::Module::Comm::Str2Type(stStaticinfo.strSite);
|
|
|
|
|
|
|
|
|
- if (type == SP::MachineFormat::RVC_PAD)
|
|
|
+ if (type == SP::Module::Comm::RVC_PAD)
|
|
|
{
|
|
|
- if (site == SP::MachineFormat::CMB_FLB)
|
|
|
+ if (site == SP::Module::Comm::CMB_FLB)
|
|
|
{
|
|
|
LOG_TRACE("the type is mobile pad");
|
|
|
m_eDeviceType = eMobilePadType;
|
|
@@ -109,16 +109,11 @@ void CCameraConfigManageEntity::OnPreStart(
|
|
|
m_eDeviceType = ePadtype;
|
|
|
}
|
|
|
}
|
|
|
- else if (type == SP::MachineFormat::RVC_Desk2S)
|
|
|
+ else if (type == SP::Module::Comm::RVC_Desk2S)
|
|
|
{
|
|
|
LOG_TRACE("the type is Desk2S");
|
|
|
m_eDeviceType = eDesk2SType;
|
|
|
}
|
|
|
- else if (type == SP::MachineFormat::RPM_Stand1S)
|
|
|
- {
|
|
|
- LOG_TRACE("the type is RPM.Stand1S");
|
|
|
- m_eDeviceType = eRpm1sType;
|
|
|
- }
|
|
|
else
|
|
|
{
|
|
|
LOG_TRACE("the type is standard");
|