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.
66 lines
2.5 KiB
66 lines
2.5 KiB
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 08/10/2003
|
|
// PROJECT:
|
|
// SUBSYSTEM:
|
|
// FILE: LgNetMessagePTZ.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of LgNetMessagePTZ.h
|
|
//----------------------------------------------------------------------------
|
|
#ifndef __LG__NET__MESSAGE__PTZ__H__INCLUDED__
|
|
#define __LG__NET__MESSAGE__PTZ__H__INCLUDED__
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "LgNetMessage.h"
|
|
#include "..\Device\LgDevPTZ.h"
|
|
|
|
class CLgNetMessagePTZ :
|
|
public CLgNetMessage
|
|
{
|
|
public:
|
|
BOOL BuildCmdGetPTZ();
|
|
BOOL BuildCmdSetPTZ( CLgDevicePTZ::PTZ_DEGREE dPan, CLgDevicePTZ::PTZ_DEGREE dTilt, CLgDevicePTZ::PTZ_PERCENT dZoom );
|
|
BOOL BuildCmdSetIris( CLgDevicePTZ::PTZ_PERCENT dIris );
|
|
BOOL BuildCmdSetFocus( CLgDevicePTZ::PTZ_PERCENT dFocus );
|
|
BOOL BuildCmdGetFocus();
|
|
|
|
BOOL BuildCmdMoveTilt( BOOL bUp, CLgDevicePTZ::PTZ_PERCENT dSpeed );
|
|
BOOL BuildCmdMovePan( BOOL bRight, CLgDevicePTZ::PTZ_PERCENT dSpeed );
|
|
BOOL BuildCmdMoveZoom( BOOL bTele, CLgDevicePTZ::PTZ_PERCENT dSpeed );
|
|
BOOL BuildCmdMoveFocus( BOOL bFar, CLgDevicePTZ::PTZ_PERCENT dSpeed );
|
|
|
|
BOOL BuildCmdWiper( BOOL bOn );
|
|
|
|
public:
|
|
BOOL BuildEvtGetPTZ( CLgDevicePTZ::PTZ_DEGREE dPan, CLgDevicePTZ::PTZ_DEGREE dTilt, CLgDevicePTZ::PTZ_PERCENT dZoom );
|
|
BOOL BuildEvtSetPTZ( CLgDevicePTZ::PTZ_DEGREE dPan, CLgDevicePTZ::PTZ_DEGREE dTilt, CLgDevicePTZ::PTZ_PERCENT dZoom );
|
|
BOOL BuildEvtSetIris( CLgDevicePTZ::PTZ_PERCENT dIris );
|
|
BOOL BuildEvtSetFocus( CLgDevicePTZ::PTZ_PERCENT dFocus );
|
|
BOOL BuildEvtGetFocus( CLgDevicePTZ::PTZ_PERCENT dFocus );
|
|
|
|
BOOL BuildEvtMoveTilt( BOOL bUp, CLgDevicePTZ::PTZ_PERCENT dSpeed );
|
|
BOOL BuildEvtMovePan( BOOL bRight, CLgDevicePTZ::PTZ_PERCENT dSpeed );
|
|
BOOL BuildEvtMoveZoom( BOOL bTele, CLgDevicePTZ::PTZ_PERCENT dSpeed );
|
|
BOOL BuildEvtMoveFocus( BOOL bTele, CLgDevicePTZ::PTZ_PERCENT dSpeed );
|
|
|
|
BOOL BuildEvtWiper( BOOL bOn );
|
|
|
|
public:
|
|
BOOL GetPTZ( CLgDevicePTZ::PPTZ_POSITION pPosition );
|
|
BOOL GetPan( CLgDevicePTZ::PPTZ_PAN pPan );
|
|
BOOL GetTilt( CLgDevicePTZ::PPTZ_TILT pTilt );
|
|
BOOL GetZoom( CLgDevicePTZ::PPTZ_ZOOM pZoom );
|
|
BOOL GetIris( CLgDevicePTZ::PTZ_PERCENT *pIris );
|
|
BOOL GetWiper( PBOOL pOn );
|
|
BOOL GetFocus( CLgDevicePTZ::PTZ_PERCENT *pFocus );
|
|
BOOL GetFocus( CLgDevicePTZ::PPTZ_FOCUS pFocus );
|
|
};
|
|
|
|
#endif
|