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.
75 lines
2.4 KiB
75 lines
2.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: SingleIPI.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of SingleIPI.h
|
|
//----------------------------------------------------------------------------
|
|
#ifndef __SINGLE__IPI__H__INCLUDED__
|
|
#define __SINGLE__IPI__H__INCLUDED__
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "..\..\LgLib\Thread.h"
|
|
#include "..\..\SingleIPI\Profile.h"
|
|
#include "ObjectFactory.h"
|
|
|
|
class CHiddenZoneList;
|
|
class CBorderLGS;
|
|
|
|
using namespace OFNS;
|
|
|
|
class CSingleIPI : public CLgThread
|
|
{
|
|
public:
|
|
CSingleIPI();
|
|
virtual ~CSingleIPI();
|
|
|
|
public:
|
|
bool SetBorderLGS( CBorderLGS *pBorderLGS );
|
|
bool SetCameraParams( INT nType, LPCTSTR pCommPort, int nVideoDevice, int nVideoInput,
|
|
BOOL bMigvanAuto, PBYTE pMigvanSerialNumber, INT nMic1300Address,
|
|
BOOL bRemoteCamera, double dShift, double *pTiltTable, COFDeviceSensor::PTRANSFORM pTransform,
|
|
double *pZoomTable, double *pFocusTable, INT nDoplerAngle, DWORD dwDoplerTimeout );
|
|
|
|
bool SetLgsParams( LPCTSTR pCommPort, int nBoudRate, int nAddress, double dRange,
|
|
int MasterOffset, int MasterDelta, int MasterWidth, int MasterOrder, int MasterSST, int MasterFlip,
|
|
int SlaveOffset, int SlaveDelta, int SlaveWidth, int SlaveOrder, int SlaveSST, int SlaveFlip );
|
|
|
|
bool SetZeroShift( double dZeroShift, BOOL bClockwise );
|
|
|
|
public:
|
|
bool GetCameraParams( PBOOL pRemoteCamera, double *pShift, double *pTiltTable, COFDeviceSensor::PTRANSFORM pTransform,
|
|
double *pZoomTable, double *pFocusTable, PINT pDoplerAngle, PDWORD pDoplerTimeout );
|
|
|
|
public:
|
|
bool GetLgsParams( double &dRange,
|
|
int &MasterOffset, int &MasterDelta, int &MasterWidth, int &MasterOrder, int &MasterSST, int &MasterFlip,
|
|
int &SlaveOffset, int &SlaveDelta, int &SlaveWidth, int &SlaveOrder, int &SlaveSST, int &SlaveFlip );
|
|
|
|
public:
|
|
bool GetZeroShift( double *pZeroShift, PBOOL pClockwise );
|
|
|
|
public:
|
|
bool Run( bool bWait, LPCTSTR pExecutableName, CWnd *pWnd );
|
|
|
|
protected:
|
|
virtual DWORD ThreadProc();
|
|
bool OnRun();
|
|
|
|
protected:
|
|
CProfile m_Profile;
|
|
CBorderLGS *m_pBorderLGS;
|
|
TCHAR m_pExecutableName[MAX_PATH];
|
|
CWnd *m_pParentWnd;
|
|
};
|
|
|
|
#endif
|