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,41 @@
#pragma once
//////////////////////////////////////////////////////////////////////
//
// HAL_Illumination.h : interface for the Illumination related functions
//
//////////////////////////////////////////////////////////////////////
bool IsTopLight(int nLamp);
bool IsBottomLight(int nLamp);
bool IsRingLight(int nLamp);
int PCDRingBulbToMicroVu(int Lamp);
int PCDRingBulbToMicroVu_8x2(int Lamp);
int PCDRingBulbToMicroVu_8x5(int Lamp);
HAL_STATUS HAL_Illumination_IsSupported(UINT &Type);
HAL_STATUS HAL_Illumination_Startup(void);
HAL_STATUS HAL_Illumination_GetLampCount(int &nLamps);
HAL_STATUS HAL_Illumination_GetLampInfo(int nLamp, TCHAR LampName[HAL_MaxLampNameLength+1],
TCHAR LampDescription[HAL_MaxLampDescriptionLength+1],
enum HAL_ILLUMINATION_LAMP_LOCATION_TYPE &LocationType,
int &LocationAngle,
enum HAL_ILLUMINATION_BULB_TYPE &BulbType,
enum HAL_ILLUMINATION_BULB_CONTROL_TYPE &BulbControlType,
enum HAL_ILLUMINATION_INTENSITY_CONTROL_TYPE &IntensityControlType,
int &NumColors, COLORREF *Colors,
int &NumRings, int *NumSectors,
double &MinAngle, double &MaxAngle,
bool &bCanBeCalibrated);
HAL_STATUS HAL_Illumination_GetLampState(int nLamp, bool *bBulbStates, double *Intensities,
int & Color, double & Angle);
HAL_STATUS HAL_Illumination_GetLampState_2x8(int nLamp, bool *bBulbStates, double *Intensities,
int & Color, double & Angle);
HAL_STATUS HAL_Illumination_GetLampState_5x8(int nLamp, bool *bBulbStates, double *Intensities,
int & Color, double & Angle);
HAL_STATUS HAL_Illumination_SetLampState(int nLamp, bool *bBulbStates, double *Intensities,
int Color, double Angle, bool bWait);
HAL_STATUS HAL_Illumination_SetLampState_2x8(int nLamp, bool *bBulbStates, double *Intensities,
int Color, double Angle, bool bWait);
HAL_STATUS HAL_Illumination_SetLampState_5x8(int nLamp, bool *bBulbStates, double *Intensities,
int Color, double Angle, bool bWait);
HAL_STATUS HAL_Illumination_Shutdown(void);