Old fashion design for PC-104
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

62 lines
1.4 KiB

//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright © 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 08/10/2003
// PROJECT:
// SUBSYSTEM:
// FILE: DNesher.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of DNesher.h
//----------------------------------------------------------------------------
#ifndef __PTZ__DEVICE__NESHER__H__INCLUDED__
#define __PTZ__DEVICE__NESHER__H__INCLUDED__
#if _MSC_VER > 1000
#pragma once
#endif
#ifdef __BORLANDC__
#include "..\LgLib\Device\LgDevPTZ.h"
#include "..\LgLib\Comm\PNesher.h"
#else
#include "LgDevPTZ.h"
#include "..\Comm\PNesher.h"
#endif
class CLgDevicePTZNesher : public CLgDevicePTZ
{
public:
CLgDevicePTZNesher();
virtual ~CLgDevicePTZNesher();
public:
virtual BOOL WriteProc( void *pProtocol, PLONG pTimeout );
virtual BOOL ReadProc( void *pProtocol, LONG lTimeout, BOOL bLastChance );
private:
INT m_nMode;
private:
void OnPerformCmd();
private:
CLgDevicePTZ::PTZ_POSITION m_RealPosition;
protected:
INT32 m_nTimeoutCommand;
INT32 m_nTimeoutAfterCommand;
INT32 m_nTimeoutEnterSwitch;
INT32 m_nTimeoutInterSwitch;
INT32 m_nSwitchMode;
private:
BOOL m_bPause;
INT m_nSwitchEnterRemain;
INT m_nSwitchInterRemain;
INT m_nSwitchInterDir;
};
#endif