//---------------------------------------------------------------------------- // Laser Guard Ltd. // Copyright © 2000-2002. All Rights Reserved. // Version 1.0 01/01/2000 // Last modification: 08/10/2003 // PROJECT: // SUBSYSTEM: // FILE: LgNetMessageMic1300PTZ.cpp // AUTHOR: Sergey Chizhevskiy // OVERVIEW // ~~~~~~~~ // Source file of LgNetMessageMic1300PTZ.cpp //---------------------------------------------------------------------------- #include "stdafx.h" #include "..\Version.h" #include "LgNetMessageMic1300PTZ.h" #include "..\Device\DMicPtz.h" BOOL CLgNetMessageMic1300PTZ::BuildCmdSetAddress( BYTE bAddress ) { return Build( CLgDevicePTZMic1300::CMD_SET_ADDRESS, &bAddress, sizeof(BYTE) ); } BOOL CLgNetMessageMic1300PTZ::BuildEvtSetAddress( BYTE bAddress ) { return Build( CLgDevicePTZMic1300::EVT_SET_ADDRESS, &bAddress, sizeof(BYTE) ); } BOOL CLgNetMessageMic1300PTZ::GetAddress( PBYTE pAddress ) { return CLgNetMessage::GetData( pAddress, sizeof(BYTE) ); } BOOL CLgNetMessageMic1300PTZ::BuildCmdInit() { return Build( CLgDevicePTZMic1300::CMD_INIT ); } BOOL CLgNetMessageMic1300PTZ::BuildEvtInit() { return Build( CLgDevicePTZMic1300::EVT_INIT ); }