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.

43 lines
1.2 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 08/10/2003
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: LgNetMessageMic1300PTZ.cpp
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Source file of LgNetMessageMic1300PTZ.cpp
  13. //----------------------------------------------------------------------------
  14. #include "stdafx.h"
  15. #include "..\Version.h"
  16. #include "LgNetMessageMic1300PTZ.h"
  17. #include "..\Device\DMicPtz.h"
  18. BOOL CLgNetMessageMic1300PTZ::BuildCmdSetAddress( BYTE bAddress )
  19. {
  20. return Build( CLgDevicePTZMic1300::CMD_SET_ADDRESS, &bAddress, sizeof(BYTE) );
  21. }
  22. BOOL CLgNetMessageMic1300PTZ::BuildEvtSetAddress( BYTE bAddress )
  23. {
  24. return Build( CLgDevicePTZMic1300::EVT_SET_ADDRESS, &bAddress, sizeof(BYTE) );
  25. }
  26. BOOL CLgNetMessageMic1300PTZ::GetAddress( PBYTE pAddress )
  27. {
  28. return CLgNetMessage::GetData( pAddress, sizeof(BYTE) );
  29. }
  30. BOOL CLgNetMessageMic1300PTZ::BuildCmdInit()
  31. {
  32. return Build( CLgDevicePTZMic1300::CMD_INIT );
  33. }
  34. BOOL CLgNetMessageMic1300PTZ::BuildEvtInit()
  35. {
  36. return Build( CLgDevicePTZMic1300::EVT_INIT );
  37. }