|
|
|
|
// OutputController_HSL.h: interface for the COutputController_HSL class.
|
|
|
|
|
//
|
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
#if !defined(AFX_OUTPUTCONTROLLER_HSL_H__94AEC25E_91FB_447E_95E6_CCE471C3F118__INCLUDED_)
|
|
|
|
|
#define AFX_OUTPUTCONTROLLER_HSL_H__94AEC25E_91FB_447E_95E6_CCE471C3F118__INCLUDED_
|
|
|
|
|
|
|
|
|
|
#if _MSC_VER > 1000
|
|
|
|
|
#pragma once
|
|
|
|
|
#endif // _MSC_VER > 1000
|
|
|
|
|
|
|
|
|
|
#include "OutputControllerBase.h"
|
|
|
|
|
|
|
|
|
|
class COutputController_HSL : public COutputControllerBase
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
COutputController_HSL();
|
|
|
|
|
virtual ~COutputController_HSL();
|
|
|
|
|
|
|
|
|
|
// method to initialise the input controller card
|
|
|
|
|
BOOL Init(int nCardType, CArray<stCard, stCard> &astCard);
|
|
|
|
|
|
|
|
|
|
// method to close the input controller card
|
|
|
|
|
void Close(int nCardType);
|
|
|
|
|
|
|
|
|
|
// method to set analog voltage
|
|
|
|
|
BOOL SetVoltage(const COutputSetting &OutputSetting, double dVoltage, double dRange);
|
|
|
|
|
|
|
|
|
|
// method to turn output OFF
|
|
|
|
|
BOOL Off(const COutputSetting &OutputSetting);
|
|
|
|
|
|
|
|
|
|
// method to turn output ON
|
|
|
|
|
BOOL On(const COutputSetting &OutputSetting);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // !defined(AFX_OUTPUTCONTROLLER_HSL_H__94AEC25E_91FB_447E_95E6_CCE471C3F118__INCLUDED_)
|