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.
67 lines
1.6 KiB
67 lines
1.6 KiB
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 08/10/2003
|
|
// PROJECT:
|
|
// SUBSYSTEM:
|
|
// FILE: LgNetSocketPTZ.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of LgNetSocketPTZ.h
|
|
//----------------------------------------------------------------------------
|
|
#ifndef __LG__NET__SOCKET__PTZ__H__INCLUDED__
|
|
#define __LG__NET__SOCKET__PTZ__H__INCLUDED__
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "LgNetSocket.h"
|
|
#include "..\Comm\RS232.h"
|
|
#include "..\Comm\RS485.h"
|
|
#include "..\Comm\PTZPG3AD.h"
|
|
#include "..\Comm\PTKS576.h"
|
|
#include "..\Comm\ProtPTZm.h"
|
|
#include "..\Comm\PMic1300.h"
|
|
|
|
class CLgNetSocketPTZ :
|
|
public CLgNetSocket
|
|
{
|
|
public:
|
|
CLgNetSocketPTZ();
|
|
virtual ~CLgNetSocketPTZ();
|
|
|
|
public:
|
|
enum E_NET_SOCKET_PTZ_TYPE
|
|
{
|
|
NET_SOCKET_PTZ_NONE = 0,
|
|
NET_SOCKET_PTZ_TKS576 = 1,
|
|
NET_SOCKET_PTZ_PG3AD = 2,
|
|
NET_SOCKET_PTZ_MIGVAN = 3,
|
|
NET_SOCKET_PTZ_MIC1300 = 4,
|
|
};
|
|
|
|
public:
|
|
E_NET_SOCKET_PTZ_TYPE GetType() { return m_eType; }
|
|
|
|
public:
|
|
BOOL Create( E_NET_SOCKET_PTZ_TYPE eType, LPCTSTR pCommPort, BOOL bDemo );
|
|
void Destroy();
|
|
|
|
public:
|
|
virtual BOOL SetBaudrate( DWORD nBaudrate );
|
|
|
|
private:
|
|
CConnectionRS232 m_Connection;
|
|
CProtocolPTZTKS576 m_ProtocolTKS576;
|
|
CProtocolPTZPG3AD m_ProtocolPG3AD;
|
|
CProtocolMigvanPTZ m_ProtocolMigvan;
|
|
CProtocolMic1300PTZ m_ProtocolMic1300;
|
|
|
|
private:
|
|
E_NET_SOCKET_PTZ_TYPE m_eType;
|
|
};
|
|
|
|
#endif
|