Machine Interface Utility:VER1.0

This commit is contained in:
TAO Cheng
2013-05-09 20:29:54 +08:00
commit 036cdcb228
743 changed files with 104786 additions and 0 deletions
@@ -0,0 +1,39 @@
//////////////////////////////////////////////////////////////////////
//
// HAL_VideoProbe.cpp : interface for the Video Probe related functions
//
//////////////////////////////////////////////////////////////////////
#include "StdAfx.h"
#include "HAL.h"
#include "HSI.h"
#include "HAL_Pendant.h"
extern CHALMicroVuExt g_HSIExt;
HAL_STATUS HAL_VP_GetActiveProbe(int &/*nProbe*/)
{
HAL_STATUS Status = HAL_STATUS_NORMAL;
return Status;
}
HAL_STATUS HAL_VP_SetActiveProbe(int nProbe)
{
HAL_STATUS Status = HAL_STATUS_NORMAL;
switch(nProbe)
{
case -1:
break;
default:
g_HSIExt.m_ActiveProbe = APT_VISION;
SetupPendantSpeeds();
break;
}
return Status;
}