Browse Source

3 November 2009

master
Gitea 4 years ago
parent
commit
78f19d7ef5
  1. 440
      BoardReceiver/BoardReceiver.plg
  2. 404
      EmulateLGS/EmulateLGS.plg
  3. 3
      LgLib/Advantech/LgLibAdvantech.vcproj
  4. 172
      LgLib/Comm/LGSM.bak
  5. 2
      LgLib/Comm/LgLibComm.vcproj
  6. 113
      LgLib/Comm/PTZPelco.h
  7. 88
      LgLib/Device/DPelco.cpp
  8. 6
      LgLib/Device/DPelco.h
  9. 11
      LgLib/Device/LgDeviceLGS.cpp
  10. 13
      LgLib/Device/LgDeviceLGS.h
  11. 3
      LgLib/Device/LgLibDevice.vcproj
  12. 3
      LgLib/DirectDraw/LgLibDirectDraw.vcproj
  13. 3
      LgLib/FSystem/LgLibFileSystem.vcproj
  14. 2
      LgLib/KernelIO/LgLibKernelIO.vcproj
  15. 32
      LgLib/LgLib.vcproj
  16. 3
      LgLib/Modem/LgLibModem.vcproj
  17. 3
      LgLib/Net/LgLibNet.vcproj
  18. 2
      LgLib/Net/LgNetSocketPTZPelco.cpp
  19. 2
      LgLib/Remote/LgLibRemote.vcproj
  20. 2
      LgLib/Socket/LgLibSocket.vcproj
  21. 3
      LgLib/Video/LgLibVideo.vcproj
  22. 94
      MiniLGS/ISA.c
  23. 4
      MiniLGS/SysClock.h
  24. 2
      SingleIPI/CameraDlg.h
  25. 2
      SingleIPI/EventWnd.cpp
  26. 2
      SingleIPI/LogFiles.cpp
  27. 7
      SingleIPI/SingleIPI.dsp
  28. 742
      SingleIPI/SingleIPI.plg
  29. 247
      SingleIPI/SingleIPI.sln
  30. BIN
      SingleIPI/SingleIPI.suo
  31. 4
      SingleIPI/SingleIPI.vcproj
  32. 8
      System/Calibration/Calibration.dsp
  33. 17
      System/Chicago/Chicago.dsp
  34. 1227
      System/Chicago/Chicago.plg
  35. 2
      System/Chicago/ChicagoDlg.cpp
  36. 2
      System/DLIB/DeviceLGSm.cpp
  37. 26
      System/DLIB/ObjectFactory.cpp
  38. 28
      System/DLIB/ObjectFactory.h
  39. 42
      System/DLIB/SensorArray.cpp
  40. 45
      System/SetupLGS/PropCameraPTZDlg.cpp
  41. 13
      System/SetupLGS/PropLgsDlg.cpp
  42. 7
      System/SetupLGS/PropSocketDlg.cpp
  43. BIN
      System/System.ncb
  44. BIN
      System/System.opt
  45. 0
      lgs/AUTORST.INI
  46. 2
      lgs/BOARD.CPP
  47. 0
      lgs/BOARD.H
  48. 0
      lgs/CHANGES.TXT
  49. 0
      lgs/CMicPTZ.cpp
  50. 0
      lgs/CMicPTZ.h
  51. 0
      lgs/CMigPTZ.cpp
  52. 0
      lgs/CMigPTZ.h
  53. 0
      lgs/Camera.cpp
  54. 0
      lgs/Camera.h
  55. 16
      lgs/Comm485.cpp
  56. 2
      lgs/Comm485.h
  57. 0
      lgs/Detector.cpp
  58. 0
      lgs/Detector.h
  59. 0
      lgs/Filters.cpp
  60. 0
      lgs/Filters.h
  61. 0
      lgs/GETFILE.CPP
  62. 0
      lgs/GETFILE.H
  63. 0
      lgs/ISR.H
  64. 34
      lgs/KERNEL.CPP
  65. 2
      lgs/KERNEL.H
  66. BIN
      lgs/LGS.IDE
  67. 4
      lgs/Main.cpp
  68. 0
      lgs/RELAY.CPP
  69. 0
      lgs/RELAY.H
  70. 0
      lgs/SCREEN.CPP
  71. 0
      lgs/SCREEN.H
  72. 0
      lgs/Shadow.cpp
  73. 0
      lgs/Shadow.h
  74. 0
      lgs/Smmcl.lib
  75. 0
      lgs/Stdafx.h
  76. 44
      lgs/Stream.h
  77. 0
      lgs/Tracker.cpp
  78. 0
      lgs/Tracker.h
  79. 0
      lgs/USER.INI
  80. 0
      lgs/areset.cpp
  81. 0
      lgs/areset.h
  82. 0
      lgs/board_.cpp
  83. 0
      lgs/chebron.cpp
  84. 0
      lgs/chebron.h
  85. 0
      lgs/cnesher.cpp
  86. 0
      lgs/cnesher.h
  87. 0
      lgs/cpelco.cpp
  88. 0
      lgs/cpelco.h
  89. 0
      lgs/cpg3ad.cpp
  90. 0
      lgs/cpg3ad.h
  91. 0
      lgs/cptzad.cpp
  92. 0
      lgs/cptzad.h
  93. 0
      lgs/ctks576.cpp
  94. 0
      lgs/ctks576.h
  95. 0
      lgs/cvicon.cpp
  96. 0
      lgs/cvicon.h
  97. 0
      lgs/detecto_.cpp
  98. 0
      lgs/filters_.cpp
  99. 0
      lgs/getfile_.cpp
  100. 2
      lgs/kernel_.cpp

440
BoardReceiver/BoardReceiver.plg

@ -3,74 +3,404 @@
<pre>
<h1>Build Log</h1>
<h3>
--------------------Configuration: BoardReceiver - Win32 Release--------------------
--------------------Configuration: BoardReceiver - Win32 Debug--------------------
</h3>
<h3>Command Lines</h3>
Creating temporary file "C:\DOCUME~1\Sergey\LOCALS~1\Temp\RSP6AF.tmp" with contents
Creating temporary file "D:\DOCUME~1\Gagua\LOCALS~1\Temp\RSPD.tmp" with contents
[
/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_AFXDLL" /Fp"..\Intermediate\6\Release\BoardReceiver/BoardReceiver.pch" /Yu"stdafx.h" /Fo"..\Intermediate\6\Release\BoardReceiver/" /Fd"..\Intermediate\6\Release\BoardReceiver/" /FD /c
"F:\Langs\Laserguard\BoardReceiver\BoardReceiverDoc.cpp"
/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /FR"..\Intermediate\6\Debug\BoardReceiver/" /Fp"..\Intermediate\6\Debug\BoardReceiver/BoardReceiver.pch" /Yu"stdafx.h" /Fo"..\Intermediate\6\Debug\BoardReceiver/" /Fd"..\Intermediate\6\Debug\BoardReceiver/" /FD /GZ /c
"C:\SXC\BoardReceiver\BoardReceiver.cpp"
"C:\SXC\BoardReceiver\BoardReceiverDlg.cpp"
"C:\SXC\BoardReceiver\BoardReceiverDoc.cpp"
"C:\SXC\BoardReceiver\BoardReceiverList.cpp"
"C:\SXC\BoardReceiver\BoardReceiverParamDlg.cpp"
"C:\SXC\BoardReceiver\BoardReceiverSeekDlg.cpp"
"C:\SXC\BoardReceiver\BoardReceiverSwitcher.cpp"
"C:\SXC\BoardReceiver\BoardReceiverVariableList.cpp"
"C:\SXC\BoardReceiver\BoardReceiverView.cpp"
"C:\SXC\lgs\Camera.cpp"
"C:\SXC\lgs\chebron.cpp"
"C:\SXC\BoardReceiver\ChildFrm.cpp"
"C:\SXC\lgs\CMicPTZ.cpp"
"C:\SXC\lgs\CMigPTZ.cpp"
"C:\SXC\lgs\cpelco.cpp"
"C:\SXC\lgs\cpg3ad.cpp"
"C:\SXC\lgs\cptzad.cpp"
"C:\SXC\lgs\ctks576.cpp"
"C:\SXC\lgs\cvicon.cpp"
"C:\SXC\BoardReceiver\DataStreamsServer.cpp"
"C:\SXC\lgs\detecto_.cpp"
"C:\SXC\lgs\Detector.cpp"
"C:\SXC\lgs\Filters.cpp"
"C:\SXC\lgs\filters_.cpp"
"C:\SXC\BoardReceiver\Kernel.cpp"
"C:\SXC\BoardReceiver\MainFrm.cpp"
"C:\SXC\lgs\RELAY.CPP"
"C:\SXC\lgs\relay_.cpp"
"C:\SXC\lgs\Shadow.cpp"
"C:\SXC\lgs\shadow_.cpp"
"C:\SXC\lgs\Tracker.cpp"
"C:\SXC\lgs\tracker_.cpp"
]
Creating command line "cl.exe @C:\DOCUME~1\Sergey\LOCALS~1\Temp\RSP6AF.tmp"
Creating temporary file "C:\DOCUME~1\Sergey\LOCALS~1\Temp\RSP6B0.tmp" with contents
Creating command line "cl.exe @D:\DOCUME~1\Gagua\LOCALS~1\Temp\RSPD.tmp"
Creating temporary file "D:\DOCUME~1\Gagua\LOCALS~1\Temp\RSPE.tmp" with contents
[
ijl15.lib Ws2_32.lib shlwapi.lib /nologo /subsystem:windows /incremental:no /pdb:"..\Intermediate\6\Release\BoardReceiver/BoardReceiver.pdb" /machine:I386 /out:"..\test\BoardReceiver.exe"
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\areset.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\BoardReceiver.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\BoardReceiverDlg.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\BoardReceiverDoc.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\BoardReceiverList.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\BoardReceiverParamDlg.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\BoardReceiverSeekDlg.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\BoardReceiverSwitcher.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\BoardReceiverVariableList.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\BoardReceiverView.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\Camera.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\chebron.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\ChildFrm.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\CMicPTZ.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\CMigPTZ.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\cpelco.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\cpg3ad.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\cptzad.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\ctks576.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\cvicon.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\DataStreamsServer.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\detecto_.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\Detector.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\EventQueue.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\Filters.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\filters_.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\Kernel.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\MainFrm.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\MemoryDC.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\RELAY.OBJ
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\relay_.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\Shadow.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\shadow_.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\StdAfx.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\Tracker.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\tracker_.obj
\Langs\Laserguard\Intermediate\6\Release\BoardReceiver\BoardReceiver.res
\Langs\Laserguard\Intermediate\6\LgLib.lib
\Langs\Laserguard\Intermediate\6\LgLibComm.lib
\Langs\Laserguard\Intermediate\6\LgLibDevice.lib
\Langs\Laserguard\Intermediate\6\LgLibNet.lib
\Langs\Laserguard\Intermediate\6\LgLibFileSystem.lib
\Langs\Laserguard\Intermediate\6\LgLibRemote.lib
ijl15.lib Ws2_32.lib shlwapi.lib /nologo /subsystem:windows /incremental:yes /pdb:"..\Intermediate\6\Debug\BoardReceiver/BoardReceiver.pdb" /debug /machine:I386 /out:"..\Intermediate\6\Debug\BoardReceiver/BoardReceiver.exe" /pdbtype:sept
\SXC\Intermediate\6\Debug\BoardReceiver\areset.obj
\SXC\Intermediate\6\Debug\BoardReceiver\BoardReceiver.obj
\SXC\Intermediate\6\Debug\BoardReceiver\BoardReceiverDlg.obj
\SXC\Intermediate\6\Debug\BoardReceiver\BoardReceiverDoc.obj
\SXC\Intermediate\6\Debug\BoardReceiver\BoardReceiverList.obj
\SXC\Intermediate\6\Debug\BoardReceiver\BoardReceiverParamDlg.obj
\SXC\Intermediate\6\Debug\BoardReceiver\BoardReceiverSeekDlg.obj
\SXC\Intermediate\6\Debug\BoardReceiver\BoardReceiverSwitcher.obj
\SXC\Intermediate\6\Debug\BoardReceiver\BoardReceiverVariableList.obj
\SXC\Intermediate\6\Debug\BoardReceiver\BoardReceiverView.obj
\SXC\Intermediate\6\Debug\BoardReceiver\Camera.obj
\SXC\Intermediate\6\Debug\BoardReceiver\chebron.obj
\SXC\Intermediate\6\Debug\BoardReceiver\ChildFrm.obj
\SXC\Intermediate\6\Debug\BoardReceiver\CMicPTZ.obj
\SXC\Intermediate\6\Debug\BoardReceiver\CMigPTZ.obj
\SXC\Intermediate\6\Debug\BoardReceiver\cpelco.obj
\SXC\Intermediate\6\Debug\BoardReceiver\cpg3ad.obj
\SXC\Intermediate\6\Debug\BoardReceiver\cptzad.obj
\SXC\Intermediate\6\Debug\BoardReceiver\ctks576.obj
\SXC\Intermediate\6\Debug\BoardReceiver\cvicon.obj
\SXC\Intermediate\6\Debug\BoardReceiver\DataStreamsServer.obj
\SXC\Intermediate\6\Debug\BoardReceiver\detecto_.obj
\SXC\Intermediate\6\Debug\BoardReceiver\Detector.obj
\SXC\Intermediate\6\Debug\BoardReceiver\EventQueue.obj
\SXC\Intermediate\6\Debug\BoardReceiver\Filters.obj
\SXC\Intermediate\6\Debug\BoardReceiver\filters_.obj
\SXC\Intermediate\6\Debug\BoardReceiver\Kernel.obj
\SXC\Intermediate\6\Debug\BoardReceiver\MainFrm.obj
\SXC\Intermediate\6\Debug\BoardReceiver\MemoryDC.obj
\SXC\Intermediate\6\Debug\BoardReceiver\RELAY.OBJ
\SXC\Intermediate\6\Debug\BoardReceiver\relay_.obj
\SXC\Intermediate\6\Debug\BoardReceiver\Shadow.obj
\SXC\Intermediate\6\Debug\BoardReceiver\shadow_.obj
\SXC\Intermediate\6\Debug\BoardReceiver\StdAfx.obj
\SXC\Intermediate\6\Debug\BoardReceiver\Tracker.obj
\SXC\Intermediate\6\Debug\BoardReceiver\tracker_.obj
\SXC\Intermediate\6\Debug\BoardReceiver\BoardReceiver.res
\SXC\Intermediate\6\LgLibD.lib
\SXC\Intermediate\6\LgLibCommD.lib
\SXC\Intermediate\6\LgLibDeviceD.lib
\SXC\Intermediate\6\LgLibNetD.lib
\SXC\Intermediate\6\LgLibFileSystemD.lib
\SXC\Intermediate\6\LgLibRemoteD.lib
]
Creating command line "link.exe @C:\DOCUME~1\Sergey\LOCALS~1\Temp\RSP6B0.tmp"
Creating command line "link.exe @D:\DOCUME~1\Gagua\LOCALS~1\Temp\RSPE.tmp"
<h3>Output Window</h3>
Compiling...
BoardReceiver.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
BoardReceiverDlg.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
BoardReceiverDoc.cpp
Linking...
LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4089: all references to "ijl15.dll" discarded by /OPT:REF
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
BoardReceiverList.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
BoardReceiverParamDlg.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
BoardReceiverSeekDlg.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
C:\SXC\BoardReceiver\BoardReceiverSeekDlg.cpp(71) : error C2065: 'UDM_SETPOS32' : undeclared identifier
C:\SXC\BoardReceiver\BoardReceiverSeekDlg.cpp(92) : error C2065: 'UDM_GETPOS32' : undeclared identifier
BoardReceiverSwitcher.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
BoardReceiverVariableList.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
BoardReceiverView.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
Camera.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
chebron.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
ChildFrm.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
CMicPTZ.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
CMigPTZ.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
cpelco.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
cpg3ad.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
cptzad.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
ctks576.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
cvicon.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
DataStreamsServer.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
Generating Code...
Compiling...
detecto_.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
Detector.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
Filters.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
filters_.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
Kernel.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
MainFrm.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
Shadow.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
Tracker.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
tracker_.cpp
c:\sxc\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
Generating Code...
Compiling...
RELAY.CPP
Generating Code...
Compiling...
relay_.cpp
shadow_.cpp
Generating Code...
Error executing cl.exe.
<h3>Results</h3>
BoardReceiver.exe - 0 error(s), 2 warning(s)
BoardReceiver.exe - 263 error(s), 0 warning(s)
</pre>
</body>
</html>

404
EmulateLGS/EmulateLGS.plg

@ -6,373 +6,135 @@
--------------------Configuration: EmulateLGS - Win32 Debug--------------------
</h3>
<h3>Command Lines</h3>
Creating command line "rc.exe /l 0x409 /fo"..\Intermediate\6\Debug\EmulateLGS/EmulateLGS.res" /d "_DEBUG" /d "_AFXDLL" "C:\SXC2\EmulateLGS\EmulateLGS.rc""
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSPB0.tmp" with contents
Creating command line "rc.exe /l 0x409 /fo"..\Intermediate\6\Debug\EmulateLGS/EmulateLGS.res" /d "_DEBUG" /d "_AFXDLL" "C:\SXC\EmulateLGS\EmulateLGS.rc""
Creating temporary file "D:\DOCUME~1\Gagua\LOCALS~1\Temp\RSP2319.tmp" with contents
[
/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"..\Intermediate\6\Debug\EmulateLGS/EmulateLGS.pch" /YX"stdafx.h" /Fo"..\Intermediate\6\Debug\EmulateLGS/" /Fd"..\Intermediate\6\Debug\EmulateLGS/" /FD /GZ /c
"C:\SXC2\lgs\areset.cpp"
"C:\SXC2\lgs\Camera.cpp"
"C:\SXC2\lgs\chebron.cpp"
"C:\SXC2\lgs\CMicPTZ.cpp"
"C:\SXC2\lgs\CMigPTZ.cpp"
"C:\SXC2\lgs\cnesher.cpp"
"C:\SXC2\lgs\cpelco.cpp"
"C:\SXC2\lgs\cpg3ad.cpp"
"C:\SXC2\lgs\cptzad.cpp"
"C:\SXC2\lgs\ctks576.cpp"
"C:\SXC2\lgs\cvicon.cpp"
"C:\SXC2\lgs\detecto_.cpp"
"C:\SXC2\lgs\Detector.cpp"
"C:\SXC2\EmulateLGS\EmulateHW.cpp"
"C:\SXC2\EmulateLGS\EmulateLGS.cpp"
"C:\SXC2\EmulateLGS\EmulateLGSDlg.cpp"
"C:\SXC2\lgs\Filters.cpp"
"C:\SXC2\lgs\filters_.cpp"
"C:\SXC2\lgs\GETFILE.CPP"
"C:\SXC2\lgs\getfile_.cpp"
"C:\SXC2\lgs\KERNEL.CPP"
"C:\SXC2\lgs\kernel_.cpp"
"C:\SXC2\lgs\RELAY.CPP"
"C:\SXC2\lgs\relay_.cpp"
"C:\SXC2\lgs\Shadow.cpp"
"C:\SXC2\lgs\shadow_.cpp"
"C:\SXC2\EmulateLGS\StdAfx.cpp"
"C:\SXC2\lgs\Tracker.cpp"
"C:\SXC2\lgs\tracker_.cpp"
"C:\SXC2\lgs\voltage.cpp"
"C:\SXC2\lgs\voltage_.cpp"
"C:\SXC2\lgs\watchdo_.cpp"
"C:\SXC2\lgs\watchdog.cpp"
"C:\SXC\lgs\areset.cpp"
"C:\SXC\lgs\Camera.cpp"
"C:\SXC\lgs\chebron.cpp"
"C:\SXC\lgs\CMicPTZ.cpp"
"C:\SXC\lgs\CMigPTZ.cpp"
"C:\SXC\lgs\cnesher.cpp"
"C:\SXC\lgs\cpelco.cpp"
"C:\SXC\lgs\cpg3ad.cpp"
"C:\SXC\lgs\cptzad.cpp"
"C:\SXC\lgs\ctks576.cpp"
"C:\SXC\lgs\cvicon.cpp"
"C:\SXC\lgs\detecto_.cpp"
"C:\SXC\lgs\Detector.cpp"
"C:\SXC\EmulateLGS\EmulateHW.cpp"
"C:\SXC\EmulateLGS\EmulateLGS.cpp"
"C:\SXC\EmulateLGS\EmulateLGSDlg.cpp"
"C:\SXC\lgs\Filters.cpp"
"C:\SXC\lgs\filters_.cpp"
"C:\SXC\lgs\GETFILE.CPP"
"C:\SXC\lgs\getfile_.cpp"
"C:\SXC\lgs\KERNEL.CPP"
"C:\SXC\lgs\kernel_.cpp"
"C:\SXC\lgs\RELAY.CPP"
"C:\SXC\lgs\relay_.cpp"
"C:\SXC\lgs\Shadow.cpp"
"C:\SXC\lgs\shadow_.cpp"
"C:\SXC\EmulateLGS\StdAfx.cpp"
"C:\SXC\lgs\Tracker.cpp"
"C:\SXC\lgs\tracker_.cpp"
"C:\SXC\lgs\voltage.cpp"
"C:\SXC\lgs\voltage_.cpp"
"C:\SXC\lgs\watchdo_.cpp"
"C:\SXC\lgs\watchdog.cpp"
]
Creating command line "cl.exe @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSPB0.tmp"
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSPB1.tmp" with contents
Creating command line "cl.exe @D:\DOCUME~1\Gagua\LOCALS~1\Temp\RSP2319.tmp"
Creating temporary file "D:\DOCUME~1\Gagua\LOCALS~1\Temp\RSP231A.tmp" with contents
[
shlwapi.lib /nologo /subsystem:windows /incremental:yes /pdb:"..\Intermediate\6\Debug\EmulateLGS/EmulateLGS.pdb" /debug /machine:I386 /out:"..\Intermediate\6\Debug\EmulateLGS/EmulateLGS.exe" /pdbtype:sept
\SXC2\Intermediate\6\Debug\EmulateLGS\areset.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\Camera.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\chebron.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\CMicPTZ.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\CMigPTZ.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\cnesher.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\cpelco.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\cpg3ad.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\cptzad.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\ctks576.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\cvicon.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\detecto_.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\Detector.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\EmulateHW.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\EmulateLGS.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\EmulateLGSDlg.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\Filters.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\filters_.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\GETFILE.OBJ
\SXC2\Intermediate\6\Debug\EmulateLGS\getfile_.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\KERNEL.OBJ
\SXC2\Intermediate\6\Debug\EmulateLGS\kernel_.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\RELAY.OBJ
\SXC2\Intermediate\6\Debug\EmulateLGS\relay_.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\Shadow.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\shadow_.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\StdAfx.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\Tracker.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\tracker_.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\voltage.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\voltage_.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\watchdo_.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\watchdog.obj
\SXC2\Intermediate\6\Debug\EmulateLGS\EmulateLGS.res
\SXC2\Intermediate\6\LgLibD.lib
\SXC2\Intermediate\6\LgLibCommD.lib
\SXC2\Intermediate\6\LgLibDeviceD.lib
\SXC2\Intermediate\6\LgLibFileSystemD.lib
\SXC\Intermediate\6\Debug\EmulateLGS\areset.obj
\SXC\Intermediate\6\Debug\EmulateLGS\Camera.obj
\SXC\Intermediate\6\Debug\EmulateLGS\chebron.obj
\SXC\Intermediate\6\Debug\EmulateLGS\CMicPTZ.obj
\SXC\Intermediate\6\Debug\EmulateLGS\CMigPTZ.obj
\SXC\Intermediate\6\Debug\EmulateLGS\cnesher.obj
\SXC\Intermediate\6\Debug\EmulateLGS\cpelco.obj
\SXC\Intermediate\6\Debug\EmulateLGS\cpg3ad.obj
\SXC\Intermediate\6\Debug\EmulateLGS\cptzad.obj
\SXC\Intermediate\6\Debug\EmulateLGS\ctks576.obj
\SXC\Intermediate\6\Debug\EmulateLGS\cvicon.obj
\SXC\Intermediate\6\Debug\EmulateLGS\detecto_.obj
\SXC\Intermediate\6\Debug\EmulateLGS\Detector.obj
\SXC\Intermediate\6\Debug\EmulateLGS\EmulateHW.obj
\SXC\Intermediate\6\Debug\EmulateLGS\EmulateLGS.obj
\SXC\Intermediate\6\Debug\EmulateLGS\EmulateLGSDlg.obj
\SXC\Intermediate\6\Debug\EmulateLGS\Filters.obj
\SXC\Intermediate\6\Debug\EmulateLGS\filters_.obj
\SXC\Intermediate\6\Debug\EmulateLGS\GETFILE.OBJ
\SXC\Intermediate\6\Debug\EmulateLGS\getfile_.obj
\SXC\Intermediate\6\Debug\EmulateLGS\KERNEL.OBJ
\SXC\Intermediate\6\Debug\EmulateLGS\kernel_.obj
\SXC\Intermediate\6\Debug\EmulateLGS\RELAY.OBJ
\SXC\Intermediate\6\Debug\EmulateLGS\relay_.obj
\SXC\Intermediate\6\Debug\EmulateLGS\Shadow.obj
\SXC\Intermediate\6\Debug\EmulateLGS\shadow_.obj
\SXC\Intermediate\6\Debug\EmulateLGS\StdAfx.obj
\SXC\Intermediate\6\Debug\EmulateLGS\Tracker.obj
\SXC\Intermediate\6\Debug\EmulateLGS\tracker_.obj
\SXC\Intermediate\6\Debug\EmulateLGS\voltage.obj
\SXC\Intermediate\6\Debug\EmulateLGS\voltage_.obj
\SXC\Intermediate\6\Debug\EmulateLGS\watchdo_.obj
\SXC\Intermediate\6\Debug\EmulateLGS\watchdog.obj
\SXC\Intermediate\6\Debug\EmulateLGS\EmulateLGS.res
\SXC\Intermediate\6\LgLibD.lib
\SXC\Intermediate\6\LgLibCommD.lib
\SXC\Intermediate\6\LgLibDeviceD.lib
\SXC\Intermediate\6\LgLibFileSystemD.lib
]
Creating command line "link.exe @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSPB1.tmp"
Creating command line "link.exe @D:\DOCUME~1\Gagua\LOCALS~1\Temp\RSP231A.tmp"
<h3>Output Window</h3>
Compiling resources...
Compiling...
areset.cpp
Camera.cpp
c:\sxc2\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc2\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc2\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc2\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
chebron.cpp
c:\sxc2\lglib\comm\hebron.h(138) : warning C4244: '=' : conversion from 'unsigned long' to 'unsigned char', possible loss of data
c:\sxc2\lglib\comm\hebron.h(139) : warning C4244: '=' : conversion from 'unsigned long' to 'unsigned char', possible loss of data
c:\sxc2\lglib\comm\hebron.h(140) : warning C4244: '=' : conversion from 'unsigned long' to 'unsigned char', possible loss of data
c:\sxc2\lglib\comm\hebron.h(141) : warning C4244: '=' : conversion from 'unsigned long' to 'unsigned char', possible loss of data
c:\sxc2\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc2\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc2\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc2\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
c:\sxc\lglib\comm\hebron.h(138) : warning C4244: '=' : conversion from 'unsigned long' to 'unsigned char', possible loss of data
c:\sxc\lglib\comm\hebron.h(139) : warning C4244: '=' : conversion from 'unsigned long' to 'unsigned char', possible loss of data
c:\sxc\lglib\comm\hebron.h(140) : warning C4244: '=' : conversion from 'unsigned long' to 'unsigned char', possible loss of data
c:\sxc\lglib\comm\hebron.h(141) : warning C4244: '=' : conversion from 'unsigned long' to 'unsigned char', possible loss of data
CMicPTZ.cpp
c:\sxc2\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc2\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc2\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc2\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
CMigPTZ.cpp
c:\sxc2\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc2\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc2\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc2\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
cnesher.cpp
c:\sxc2\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc2\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc2\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc2\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
C:\SXC2\lgs\cnesher.cpp(55) : error C2039: 'nAutoEnterTimeout' : is not a member of 'SWITCHER_SETTINGS_'
c:\sxc2\lgs\camera.h(32) : see declaration of 'SWITCHER_SETTINGS_'
C:\SXC2\lgs\cnesher.cpp(56) : error C2039: 'nAutoSwitchTimeout' : is not a member of 'SWITCHER_SETTINGS_'
c:\sxc2\lgs\camera.h(32) : see declaration of 'SWITCHER_SETTINGS_'
C:\SXC2\lgs\cnesher.cpp(57) : error C2039: 'nAutoMode' : is not a member of 'SWITCHER_SETTINGS_'
c:\sxc2\lgs\camera.h(32) : see declaration of 'SWITCHER_SETTINGS_'
cpelco.cpp
c:\sxc2\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc2\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc2\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc2\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
cpg3ad.cpp
c:\sxc2\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc2\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc2\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc2\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
cptzad.cpp
c:\sxc2\lglib\comm\ptzad.h(245) : warning C4244: 'return' : conversion from 'unsigned long' to 'unsigned short', possible loss of data
c:\sxc2\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc2\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc2\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc2\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
c:\sxc\lglib\comm\ptzad.h(245) : warning C4244: 'return' : conversion from 'unsigned long' to 'unsigned short', possible loss of data
ctks576.cpp
c:\sxc2\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc2\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc2\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc2\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
cvicon.cpp
c:\sxc2\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc2\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc2\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc2\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
detecto_.cpp
c:\sxc2\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc2\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc2\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc2\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
Detector.cpp
c:\sxc2\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc2\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc2\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc2\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
EmulateHW.cpp
EmulateLGS.cpp
c:\sxc2\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc2\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc2\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc2\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
EmulateLGSDlg.cpp
c:\sxc2\emulatelgs\emulatelgs.h(21) : error C2504: 'CWinApp' : base class undefined
c:\sxc2\emulatelgs\emulatelgs.h(39) : error C2143: syntax error : missing ';' before '}'
c:\sxc2\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc2\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc2\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc2\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
c:\sxc2\emulatelgs\emulatelgsdlg.h(17) : error C2504: 'CDialog' : base class undefined
c:\sxc2\emulatelgs\emulatelgsdlg.h(21) : error C2629: unexpected 'class CEmulateLGSDlg ('
c:\sxc2\emulatelgs\emulatelgsdlg.h(21) : error C2238: unexpected token(s) preceding ';'
c:\sxc2\emulatelgs\emulatelgsdlg.h(32) : error C2061: syntax error : identifier 'CDataExchange'
c:\sxc2\emulatelgs\emulatelgsdlg.h(42) : error C2144: syntax error : missing ';' before type 'void'
c:\sxc2\emulatelgs\emulatelgsdlg.h(42) : error C2501: 'afx_msg' : missing storage-class or type specifiers
c:\sxc2\emulatelgs\emulatelgsdlg.h(43) : error C2144: syntax error : missing ';' before type 'void'
c:\sxc2\emulatelgs\emulatelgsdlg.h(43) : error C2501: 'afx_msg' : missing storage-class or type specifiers
c:\sxc2\emulatelgs\emulatelgsdlg.h(44) : error C2146: syntax error : missing ';' before identifier 'HCURSOR'
c:\sxc2\emulatelgs\emulatelgsdlg.h(44) : error C2501: 'afx_msg' : missing storage-class or type specifiers
c:\sxc2\emulatelgs\emulatelgsdlg.h(47) : error C2143: syntax error : missing ';' before 'public'
C:\SXC2\EmulateLGS\EmulateLGSDlg.cpp(18) : error C2504: 'CDialog' : base class undefined
C:\SXC2\EmulateLGS\EmulateLGSDlg.cpp(30) : error C2061: syntax error : identifier 'CDataExchange'
C:\SXC2\EmulateLGS\EmulateLGSDlg.cpp(38) : error C2143: syntax error : missing ';' before '}'
C:\SXC2\EmulateLGS\EmulateLGSDlg.cpp(41) : error C2614: 'CAboutDlg' : illegal member initialization: 'CDialog' is not a base or member
C:\SXC2\EmulateLGS\EmulateLGSDlg.cpp(46) : error C2065: 'CDataExchange' : undeclared identifier
C:\SXC2\EmulateLGS\EmulateLGSDlg.cpp(46) : error C2065: 'pDX' : undeclared identifier
C:\SXC2\EmulateLGS\EmulateLGSDlg.cpp(47) : error C2448: '<Unknown>' : function-style initializer appears to be a function definition
C:\SXC2\EmulateLGS\EmulateLGSDlg.cpp(53) : error C2061: syntax error : identifier 'CDialog'
C:\SXC2\EmulateLGS\EmulateLGSDlg.cpp(57) : error C2146: syntax error : missing ';' before identifier 'END_MESSAGE_MAP'
C:\SXC2\EmulateLGS\EmulateLGSDlg.cpp(57) : fatal error C1004: unexpected end of file found
Filters.cpp
c:\sxc2\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc2\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc2\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc2\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
filters_.cpp
c:\sxc2\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc2\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc2\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc2\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
GETFILE.CPP
getfile_.cpp
KERNEL.CPP
c:\sxc2\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc2\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc2\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc2\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
c:\sxc2\lgs\kernel.cpp(1774) : error C2039: 'nAutoMode' : is not a member of 'SWITCHER_SETTINGS_'
c:\sxc2\lgs\camera.h(32) : see declaration of 'SWITCHER_SETTINGS_'
c:\sxc2\lgs\kernel.cpp(1775) : error C2039: 'nAutoEnterTimeout' : is not a member of 'SWITCHER_SETTINGS_'
c:\sxc2\lgs\camera.h(32) : see declaration of 'SWITCHER_SETTINGS_'
c:\sxc2\lgs\kernel.cpp(1776) : error C2039: 'nAutoSwitchTimeout' : is not a member of 'SWITCHER_SETTINGS_'
c:\sxc2\lgs\camera.h(32) : see declaration of 'SWITCHER_SETTINGS_'
c:\sxc2\lgs\kernel.cpp(1827) : error C2039: 'nAutoMode' : is not a member of 'SWITCHER_SETTINGS_'
c:\sxc2\lgs\camera.h(32) : see declaration of 'SWITCHER_SETTINGS_'
c:\sxc2\lgs\kernel.cpp(1828) : error C2039: 'nAutoEnterTimeout' : is not a member of 'SWITCHER_SETTINGS_'
c:\sxc2\lgs\camera.h(32) : see declaration of 'SWITCHER_SETTINGS_'
c:\sxc2\lgs\kernel.cpp(1829) : error C2039: 'nAutoSwitchTimeout' : is not a member of 'SWITCHER_SETTINGS_'
c:\sxc2\lgs\camera.h(32) : see declaration of 'SWITCHER_SETTINGS_'
c:\sxc2\lgs\kernel.cpp(1856) : error C2039: 'nAutoMode' : is not a member of 'SWITCHER_SETTINGS_'
c:\sxc2\lgs\camera.h(32) : see declaration of 'SWITCHER_SETTINGS_'
c:\sxc2\lgs\kernel.cpp(1857) : error C2039: 'nAutoEnterTimeout' : is not a member of 'SWITCHER_SETTINGS_'
c:\sxc2\lgs\camera.h(32) : see declaration of 'SWITCHER_SETTINGS_'
c:\sxc2\lgs\kernel.cpp(1858) : error C2039: 'nAutoSwitchTimeout' : is not a member of 'SWITCHER_SETTINGS_'
c:\sxc2\lgs\camera.h(32) : see declaration of 'SWITCHER_SETTINGS_'
kernel_.cpp
c:\sxc2\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc2\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc2\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc2\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
C:\SXC2\lgs\kernel_.cpp(348) : error C2039: 'GetBSN' : is not a member of 'CBoard'
c:\sxc2\emulatelgs\emulatehw.h(136) : see declaration of 'CBoard'
RELAY.CPP
relay_.cpp
Shadow.cpp
c:\sxc2\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc2\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc2\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc2\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
shadow_.cpp
StdAfx.cpp
Tracker.cpp
c:\sxc2\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc2\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc2\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc2\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
tracker_.cpp
c:\sxc2\lgs\camera.h(36) : error C2146: syntax error : missing ';' before identifier 'nAutoMode'
c:\sxc2\lgs\camera.h(36) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(36) : error C2501: 'nAutoMode' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2146: syntax error : missing ';' before identifier 'nAutoEnterTimeout'
c:\sxc2\lgs\camera.h(37) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(37) : error C2501: 'nAutoEnterTimeout' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2146: syntax error : missing ';' before identifier 'nAutoSwitchTimeout'
c:\sxc2\lgs\camera.h(38) : error C2501: 'INT16' : missing storage-class or type specifiers
c:\sxc2\lgs\camera.h(38) : error C2501: 'nAutoSwitchTimeout' : missing storage-class or type specifiers
voltage.cpp
voltage_.cpp
watchdo_.cpp
watchdog.cpp
Error executing cl.exe.
Linking...
<h3>Results</h3>
EmulateLGS.exe - 225 error(s), 5 warning(s)
EmulateLGS.exe - 0 error(s), 5 warning(s)
</pre>
</body>
</html>

3
LgLib/Advantech/LgLibAdvantech.vcproj

@ -3,7 +3,7 @@
ProjectType="Visual C++"
Version="8.00"
Name="LgLibAdvantech"
ProjectGUID="{8AC30DD0-CCB9-45AD-945D-03AA30D18C40}"
ProjectGUID="{E0C226E5-5902-4A5A-A17F-5C304C43DED9}"
>
<Platforms>
<Platform
@ -121,7 +121,6 @@
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
AdditionalIncludeDirectories="C:\Program Files\Intel\IJL\include"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
StringPooling="true"
RuntimeLibrary="0"

172
LgLib/Comm/LGSM.bak

@ -34,10 +34,10 @@
#define LGS_MAX_BORDER_ANGLES 360L
#define LGS_MAX_SHADOW_ANGLES 360L
#define LGS_MAX_SHADOW_TYPES 32L
#ifdef LGS_MIRROR
#if defined( INCLUDE_WINDOWS_DEFINITIONS ) && defined( LGS_MIRROR )
#define LGS_MAX_DETECTOR_ANGLES 1500L
#else
#define LGS_MAX_DETECTOR_ANGLES 6000L
#define LGS_MAX_DETECTOR_ANGLES 6000L
#endif
#define LGS_MIRROR_ANGLE_OF_VIEW 110
#define LGS_MAX_DETECTOR_RANGE_POINTS 2048L
@ -59,7 +59,7 @@
#ifdef LGS_MIRROR
#define LGS_DETECTOR_BLIND_ANGLE_WIDTH ( LGS_MAX_DETECTOR_ANGLES * 2 / 3 )
#else
#define LGS_DETECTOR_BLIND_ANGLE_WIDTH ( LGS_MAX_DETECTOR_ANGLES / 2 )
#define LGS_DETECTOR_BLIND_ANGLE_WIDTH ( LGS_MAX_DETECTOR_ANGLES / 2 )
#endif
#define LGS_SEND_BOARDDATA_BAUDRATE 115200L
#define LGS_MAX_SETTINGS_FILENAME 255
@ -86,7 +86,7 @@
//#define LGS_DETECTOR_MEDIUM_RANGE_HISTORY_LENGTH 100L // in flips
#define LGS_DETECTOR_MEDIUM_RANGE_HISTORY_LENGTH 7 // 2^7=128 in flips
#ifdef LGS_MIRROR
#define LGS_DETECTOR_MEDIUM_RANGE_DELTA_ENTER 40L // in percent
#define LGS_DETECTOR_MEDIUM_RANGE_DELTA_ENTER 10L // in percent
#else
#define LGS_DETECTOR_MEDIUM_RANGE_DELTA_ENTER 5L // in percent
#endif
@ -203,7 +203,7 @@ typedef struct LGS
{
ID_MASK = 0x40, // 01000000
ID_DEVICE0 = 0x00, // 00000000
ID_DEVICE1 = 0x40 // 01000000
ID_DEVICE1 = 0x40 // 01000000
};
// target type
@ -237,8 +237,8 @@ typedef struct LGS
ER_SUNBIT = 0x02, // 00000010
ER_OVERFLOW = 0x04, // 00000100
ER_SSTOVERFLOW = 0x08, // 00001000
ER_MODE = 0x10, // 00010000
ER_NOIRQ = 0x20 // 00100000
ER_MODE = 0x10, // 00010000
ER_NOIRQ = 0x20 // 00100000
};
static INT BuildError( PBYTE& pBuffer, BYTE bDevice, BYTE bError, INT nAngle )
@ -286,11 +286,10 @@ typedef struct LGS
*pBuffer++ = nAngle & 0xFF;
*pBuffer++ = wRange & 0xFF;
#ifdef LGS_TEST_SEND_TARGET_WIDTH
*pBuffer++ = (BYTE)( 0 ); //(BYTE)( nWidth >> 24 ) & 0xFF;
*pBuffer++ = (BYTE)( 0 ); //(BYTE)( nWidth >> 16 ) & 0xFF;
*pBuffer++ = (BYTE)( 0 ); //(BYTE)( nWidth >> 8 ) & 0xFF;
*pBuffer++ = (BYTE)( 0 ); //(BYTE)( nWidth >> 0 ) & 0xFF;
return 7;
*pBuffer++ = (BYTE)( nWidth >> 16 ) & 0xFF;
*pBuffer++ = (BYTE)( nWidth >> 8 ) & 0xFF;
*pBuffer++ = (BYTE)( nWidth >> 0 ) & 0xFF;
return 6;
#else
return 3;
#endif
@ -336,9 +335,7 @@ typedef struct LGS
*pWidth |= (*pBuffer++);
*pWidth <<= 8;
*pWidth |= (*pBuffer++);
*pWidth <<= 8;
*pWidth |= (*pBuffer++);
return 7;
return 6;
#else
return 3;
#endif
@ -802,8 +799,6 @@ typedef struct LGS
CMD_CAMERA_GET_DOPLER = 13,
CMD_CAMERA_SET_DOPLER = 14,
CMD_CAMERA_DOPLER_ALARM = 15,
CMD_CAMERA_GET_DOPLER_MASK = 16,
CMD_CAMERA_SET_DOPLER_MASK = 17,
}E_CAMERA_CMD;
enum
@ -811,11 +806,6 @@ typedef struct LGS
CAMERA_ERROR_NO_CAMERA = 0
};
enum
{
CAMERA_MAX_DOPLER_MASK = 8
};
#pragma pack(1)
typedef struct CAMERA_POS_PTZ
{
@ -874,17 +864,6 @@ typedef struct LGS
BYTE doplerAlarm;
WORD doplerPan;
}CAMERA_DOPLER_ALARM;
typedef struct CAMERA_DOPLER_MASK
{
WORD nStart;
WORD nStop;
}CAMERA_DOPLER_MASK;
typedef struct CAMERA_DOPLER_MASK_ARRAY
{
BYTE bEnabled;
BYTE nCount;
CAMERA_DOPLER_MASK pMask[CAMERA_MAX_DOPLER_MASK];
}CAMERA_DOPLER_MASK_ARRAY;
typedef struct CAMERA_DATA
{
BYTE nCommand;
@ -900,9 +879,8 @@ typedef struct LGS
CAMERA_WIPER wiper;
CAMERA_POS_FOCUS posFocus;
CAMERA_MOVE_FOCUS moveFocus;
CAMERA_DOPLER dopler;
CAMERA_DOPLER_ALARM doplerAlarm;
CAMERA_DOPLER_MASK_ARRAY doplerMask;
CAMERA_DOPLER dopler;
CAMERA_DOPLER_ALARM doplerAlarm;
};
}CAMERA_DATA, *PCAMERA_DATA;
#pragma pack()
@ -923,9 +901,7 @@ typedef struct LGS
case CMD_CAMERA_WIPER: nCount += sizeof(CAMERA_WIPER); break;
case CMD_CAMERA_SET_FOCUS: nCount += sizeof(CAMERA_POS_FOCUS); break;
case CMD_CAMERA_SET_DOPLER: nCount += sizeof(CAMERA_DOPLER); break;
case CMD_CAMERA_SET_DOPLER_MASK:nCount += sizeof(CAMERA_DOPLER_MASK_ARRAY); break;
case CMD_CAMERA_GET_DOPLER:
case CMD_CAMERA_GET_DOPLER_MASK:
case CMD_CAMERA_DOPLER_ALARM:
case CMD_CAMERA_GET_FOCUS:
case CMD_CAMERA_GET_STATUS:
@ -946,20 +922,18 @@ typedef struct LGS
INT nCount = 1;
switch( pTempCameraData->nCommand )
{
case CMD_CAMERA_SET_PTZ: nCount += sizeof(CAMERA_POS_PTZ); break;
case CMD_CAMERA_SET_PTZ: nCount += sizeof(CAMERA_POS_PTZ); break;
case CMD_CAMERA_MOVE_PAN: nCount += sizeof(CAMERA_MOVE_PAN); break;
case CMD_CAMERA_MOVE_TILT: nCount += sizeof(CAMERA_MOVE_TILT); break;
case CMD_CAMERA_MOVE_ZOOM: nCount += sizeof(CAMERA_MOVE_ZOOM); break;
case CMD_CAMERA_MOVE_FOCUS: nCount += sizeof(CAMERA_MOVE_FOCUS); break;
case CMD_CAMERA_SET_IRIS: nCount += sizeof(CAMERA_POS_IRIS); break;
case CMD_CAMERA_BUSY: nCount += sizeof(CAMERA_BUSY); break;
case CMD_CAMERA_ERROR: nCount += sizeof(CAMERA_ERROR); break;
case CMD_CAMERA_WIPER: nCount += sizeof(CAMERA_WIPER); break;
case CMD_CAMERA_BUSY: nCount += sizeof(CAMERA_BUSY); break;
case CMD_CAMERA_ERROR: nCount += sizeof(CAMERA_ERROR); break;
case CMD_CAMERA_WIPER: nCount += sizeof(CAMERA_WIPER); break;
case CMD_CAMERA_SET_FOCUS: nCount += sizeof(CAMERA_POS_FOCUS); break;
case CMD_CAMERA_SET_DOPLER: nCount += sizeof(CAMERA_DOPLER); break;
case CMD_CAMERA_SET_DOPLER_MASK: nCount += sizeof(CAMERA_DOPLER_MASK_ARRAY); break;
case CMD_CAMERA_SET_DOPLER: nCount += sizeof(CAMERA_DOPLER); break;
case CMD_CAMERA_GET_DOPLER:
case CMD_CAMERA_GET_DOPLER_MASK:
case CMD_CAMERA_DOPLER_ALARM:
case CMD_CAMERA_GET_FOCUS:
case CMD_CAMERA_GET_STATUS:
@ -979,20 +953,18 @@ typedef struct LGS
switch( pCameraData->nCommand )
{
case CMD_CAMERA_GET_PTZ:
case CMD_CAMERA_SET_PTZ: nCount += sizeof(CAMERA_POS_PTZ); break;
case CMD_CAMERA_SET_PTZ: nCount += sizeof(CAMERA_POS_PTZ); break;
case CMD_CAMERA_MOVE_PAN: nCount += sizeof(CAMERA_MOVE_PAN); break;
case CMD_CAMERA_MOVE_TILT: nCount += sizeof(CAMERA_MOVE_TILT); break;
case CMD_CAMERA_MOVE_ZOOM: nCount += sizeof(CAMERA_MOVE_ZOOM); break;
case CMD_CAMERA_MOVE_FOCUS: nCount += sizeof(CAMERA_MOVE_FOCUS); break;
case CMD_CAMERA_SET_IRIS: nCount += sizeof(CAMERA_POS_IRIS); break;
case CMD_CAMERA_BUSY: nCount += sizeof(CAMERA_BUSY); break;
case CMD_CAMERA_ERROR: nCount += sizeof(CAMERA_ERROR); break;
case CMD_CAMERA_WIPER: nCount += sizeof(CAMERA_WIPER); break;
case CMD_CAMERA_SET_DOPLER: nCount += sizeof(CAMERA_DOPLER); break;
case CMD_CAMERA_GET_DOPLER: nCount += sizeof(CAMERA_DOPLER); break;
case CMD_CAMERA_SET_DOPLER_MASK: nCount += sizeof(CAMERA_DOPLER_MASK_ARRAY); break;
case CMD_CAMERA_GET_DOPLER_MASK: nCount += sizeof(CAMERA_DOPLER_MASK_ARRAY); break;
case CMD_CAMERA_DOPLER_ALARM: nCount += sizeof(CAMERA_DOPLER_ALARM); break;
case CMD_CAMERA_BUSY: nCount += sizeof(CAMERA_BUSY); break;
case CMD_CAMERA_ERROR: nCount += sizeof(CAMERA_ERROR); break;
case CMD_CAMERA_WIPER: nCount += sizeof(CAMERA_WIPER); break;
case CMD_CAMERA_SET_DOPLER: nCount += sizeof(CAMERA_DOPLER); break;
case CMD_CAMERA_GET_DOPLER: nCount += sizeof(CAMERA_DOPLER); break;
case CMD_CAMERA_DOPLER_ALARM: nCount += sizeof(CAMERA_DOPLER_ALARM); break;
case CMD_CAMERA_SET_FOCUS:
case CMD_CAMERA_GET_FOCUS: nCount += sizeof(CAMERA_POS_FOCUS); break;
case CMD_CAMERA_GET_STATUS:
@ -1024,8 +996,6 @@ typedef struct LGS
case CMD_CAMERA_WIPER: nCount += sizeof(CAMERA_WIPER); break;
case CMD_CAMERA_SET_DOPLER: nCount += sizeof(CAMERA_DOPLER); break;
case CMD_CAMERA_GET_DOPLER: nCount += sizeof(CAMERA_DOPLER); break;
case CMD_CAMERA_SET_DOPLER_MASK:nCount += sizeof(CAMERA_DOPLER_MASK_ARRAY); break;
case CMD_CAMERA_GET_DOPLER_MASK:nCount += sizeof(CAMERA_DOPLER_MASK_ARRAY); break;
case CMD_CAMERA_DOPLER_ALARM: nCount += sizeof(CAMERA_DOPLER_ALARM); break;
case CMD_CAMERA_SET_FOCUS:
case CMD_CAMERA_GET_FOCUS: nCount += sizeof(CAMERA_POS_FOCUS); break;
@ -1046,14 +1016,11 @@ typedef struct LGS
CAMERA_TYPE_MIGVAN_KD6Z = 0x01,
CAMERA_TYPE_MIC1300 = 0x02,
CAMERA_TYPE_JVC_TKS576 = 0x03,
CAMERA_TYPE_PHILIPS_G3AD_NEW= 0x04,
CAMERA_TYPE_PHILIPS_G3AD = 0x04,
CAMERA_TYPE_VICON = 0x05,
CAMERA_TYPE_PELCO = 0x06,
CAMERA_TYPE_HEBRON = 0x07,
CAMERA_TYPE_3_TRACK = 0x08,
CAMERA_TYPE_AMERICAN_DYNAMICS = 0x09,
CAMERA_TYPE_PHILIPS_G3AD_OLD= 0x0A,
CAMERA_TYPE_NESHER = 0x0B,
CAMERA_TYPE_NONE = 0xFF,
}E_CAMERA_TYPE;
@ -1213,8 +1180,6 @@ typedef struct LGS
S2_IT_ERROR_ANGLE = 4,
S2_IT_FLIP = 5,
S2_IT_BLIND = 6,
S2_IT_TARGET_POLAR_WIDTH = 7, // SERGEY 2008/05/02
S2_IT_TARGET_DEKART_WIDTH = 8 // SERGEY 2008/05/02
}S2_INFO_TYPE;
typedef enum S2_INFO_TYPE_FLAGS
@ -1261,13 +1226,6 @@ typedef struct LGS
S2_RT_TARGET_DEKART = 0x01,
}S2_REQUEST_TYPE;
typedef enum S2_REQUEST_WIDTH
{
S2_RW_MASK = 0x02,
S2_RW_DISABLE = 0x00,
S2_RW_ENABLE = 0x02,
}S2_REQUEST_WIDTH;
static INT BuildCmdState2( PBYTE& pBuffer, BYTE bRequestType )
{
*pBuffer++ = bRequestType; // request type
@ -1296,22 +1254,6 @@ typedef struct LGS
*pBuffer++ = nRange & 0xFF;
return 6;
}
static INT BuildEvtState2TargetPolarW( PBYTE& pBuffer, BYTE nDevice, BYTE bType, INT nAngle, INT nRange, LONG nWidth )
{
*pBuffer++ = 6; // subsize
*pBuffer++ = S2_IT_TARGET_POLAR_WIDTH; // id
*pBuffer++ = nDevice | bType;
*pBuffer++ = ( ( nAngle & 0x1F00 ) >> 5 ) | ( ( nRange & 0x0700 ) >> 8 );
*pBuffer++ = nAngle & 0xFF;
*pBuffer++ = nRange & 0xFF;
*pBuffer++ = nWidth >> 24 & 0xFF;
*pBuffer++ = nWidth >> 16 & 0xFF;
*pBuffer++ = nWidth >> 8 & 0xFF;
*pBuffer++ = nWidth & 0xFF;
return 10;
}
static INT GetEvtState2TargetPolar( PBYTE& pBuffer, PBYTE pDevice, PBYTE pType, PINT pAngle, PINT pRange )
{
*pDevice = S2_ITT_DEVICE_MASK & *pBuffer;
@ -1322,26 +1264,12 @@ typedef struct LGS
*pRange |= (INT)*pBuffer++;
return 4;
}
static INT GetEvtState2TargetPolarW( PBYTE& pBuffer, PBYTE pDevice, PBYTE pType, PINT pAngle, PINT pRange, PLONG pWidth )
{
*pDevice = S2_ITT_DEVICE_MASK & *pBuffer;
*pType = S2_ITT_TYPE_MASK & *pBuffer++;
*pAngle = (((INT)*pBuffer ) << 5 ) & 0x1F00;
*pRange = (((INT)*pBuffer++) << 8 ) & 0x0700;
*pAngle |= (INT)*pBuffer++;
*pRange |= (INT)*pBuffer++;
*pWidth = ((INT)*pBuffer++) << 24;
*pWidth |= ((INT)*pBuffer++) << 16;
*pWidth |= ((INT)*pBuffer++) << 8;
*pWidth |= ((INT)*pBuffer++);
return 8;
}
// x 0..2047, y 0..2047
static INT BuildEvtState2TargetDekart( PBYTE& pBuffer, BYTE nDevice, BYTE bType, INT x, INT y )
{
*pBuffer++ = 4; // subsize
*pBuffer++ = S2_IT_TARGET_DEKART; // id
*pBuffer++ = S2_IT_TARGET_DEKART; // id
*pBuffer++ = nDevice | bType;
BYTE bSign = 0x00;
if( x < 0 ) { x = -x; bSign |= 0x80; }
@ -1351,23 +1279,6 @@ typedef struct LGS
*pBuffer++ = y & 0xFF;
return 6;
}
static INT BuildEvtState2TargetDekartW( PBYTE& pBuffer, BYTE nDevice, BYTE bType, INT x, INT y, LONG nWidth )
{
*pBuffer++ = 6; // subsize
*pBuffer++ = S2_IT_TARGET_DEKART_WIDTH; // id
*pBuffer++ = nDevice | bType;
BYTE bSign = 0x00;
if( x < 0 ) { x = -x; bSign |= 0x80; }
if( y < 0 ) { y = -y; bSign |= 0x40; }
*pBuffer++ = bSign | ( ( x & 0x700 ) >> 5 ) | ( ( y & 0x0700 ) >> 8 );
*pBuffer++ = x & 0xFF;
*pBuffer++ = y & 0xFF;
*pBuffer++ = nWidth >> 24 & 0xFF;
*pBuffer++ = nWidth >> 16 & 0xFF;
*pBuffer++ = nWidth >> 8 & 0xFF;
*pBuffer++ = nWidth & 0xFF;
return 10;
}
static INT GetEvtState2TargetDekart( PBYTE& pBuffer, PBYTE pDevice, PBYTE pType, PINT pX, PINT pY )
{
*pDevice = S2_ITT_DEVICE_MASK & *pBuffer;
@ -1377,32 +1288,15 @@ typedef struct LGS
*pY = (((INT)*pBuffer++) << 8 ) & 0x0700;
*pX |= (INT)*pBuffer++;
*pY |= (INT)*pBuffer++;
if( bSign & 0x80 ) *pX = -*pX;
if( bSign & 0x80 ) *pX = -*pX;
if( bSign & 0x40 ) *pY = -*pY;
return 4;
}
static INT GetEvtState2TargetDekartW( PBYTE& pBuffer, PBYTE pDevice, PBYTE pType, PINT pX, PINT pY, PLONG pWidth )
{
*pDevice = S2_ITT_DEVICE_MASK & *pBuffer;
*pType = S2_ITT_TYPE_MASK & *pBuffer++;
BYTE bSign = (*pBuffer) & 0xC0;
*pX = (((INT)*pBuffer ) << 5 ) & 0x0700;
*pY = (((INT)*pBuffer++) << 8 ) & 0x0700;
*pX |= (INT)*pBuffer++;
*pY |= (INT)*pBuffer++;
if( bSign & 0x80 ) *pX = -*pX;
if( bSign & 0x40 ) *pY = -*pY;
*pWidth = ((INT)*pBuffer++) << 24;
*pWidth |= ((INT)*pBuffer++) << 16;
*pWidth |= ((INT)*pBuffer++) << 8;
*pWidth |= ((INT)*pBuffer++);
return 8;
}
static INT BuildEvtState2Flags( PBYTE& pBuffer, BYTE bFlags )
{
*pBuffer++ = 1; // subsize
*pBuffer++ = S2_IT_FLAGS; // id
*pBuffer++ = S2_IT_FLAGS; // id
*pBuffer++ = bFlags; // flags
return 3;
}
@ -1415,9 +1309,9 @@ typedef struct LGS
static INT BuildEvtState2DeviceFlags( PBYTE& pBuffer, BYTE nDevice, BYTE bFlags )
{
*pBuffer++ = 2; // subsize
*pBuffer++ = S2_IT_DEVICE_FLAGS;// id
*pBuffer++ = nDevice; // device
*pBuffer++ = bFlags; // flags
*pBuffer++ = S2_IT_DEVICE_FLAGS;// id
*pBuffer++ = nDevice; // device
*pBuffer++ = bFlags; // flags
return 4;
}
static INT GetEvtState2DeviceFlags( PBYTE& pBuffer, PBYTE pDevice, PBYTE pFlags )

2
LgLib/Comm/LgLibComm.vcproj

@ -3,7 +3,7 @@
ProjectType="Visual C++"
Version="8.00"
Name="LgLibComm"
ProjectGUID="{237D8F15-A5D9-44DA-A393-3FE9538FD584}"
ProjectGUID="{E2858093-08D1-452D-AF74-D8F64421FC74}"
>
<Platforms>
<Platform

113
LgLib/Comm/PTZPelco.h

@ -101,10 +101,10 @@ typedef struct PTZ_PELCO
static INT BuildSetPan( LPBYTE pBuffer, BYTE bAddress, WORD wPan )
{
pBuffer[ 0] = 0xFF; // data byte 1
pBuffer[ 1] = bAddress; // data byte 2
pBuffer[ 1] = bAddress; // data byte 2
pBuffer[ 2] = 0x00; // data byte 3
pBuffer[ 3] = 0x4B; // data byte 4
pBuffer[ 4] = ( wPan >> 8 ) & 0xFF; // data byte 5
pBuffer[ 4] = ( wPan >> 8 ) & 0xFF; // data byte 5
pBuffer[ 5] = ( wPan >> 0 ) & 0xFF; // data byte 6
return CheckSum( pBuffer ); // data byte 9
}
@ -112,56 +112,55 @@ typedef struct PTZ_PELCO
static INT BuildSetTilt( LPBYTE pBuffer, BYTE bAddress, WORD wTilt )
{
pBuffer[ 0] = 0xFF; // data byte 1
pBuffer[ 1] = bAddress; // data byte 2
pBuffer[ 1] = bAddress; // data byte 2
pBuffer[ 2] = 0x00; // data byte 3
pBuffer[ 3] = 0x4D; // data byte 4
pBuffer[ 4] = ( wTilt >> 8 ) & 0xFF; // data byte 5
pBuffer[ 5] = ( wTilt >> 0 ) & 0xFF; // data byte 6
pBuffer[ 4] = ( wTilt >> 8 ) & 0xFF; // data byte 5
pBuffer[ 5] = ( wTilt >> 0 ) & 0xFF; // data byte 6
return CheckSum( pBuffer ); // data byte 9
}
static INT BuildSetZoom( LPBYTE pBuffer, BYTE bAddress, WORD wZoom )
{
pBuffer[ 0] = 0xFF; // data byte 1
pBuffer[ 1] = bAddress; // data byte 2
pBuffer[ 1] = bAddress; // data byte 2
pBuffer[ 2] = 0x00; // data byte 3
pBuffer[ 3] = 0x4F; // data byte 4
pBuffer[ 4] = ( wZoom >> 8 ) & 0xFF; // data byte 5
pBuffer[ 5] = ( wZoom >> 0 ) & 0xFF; // data byte 6
printf(" Camera SetZoom Package Sent: %d\n", wZoom );
pBuffer[ 4] = ( wZoom >> 8 ) & 0xFF; // data byte 5
pBuffer[ 5] = ( wZoom >> 0 ) & 0xFF; // data byte 6
return CheckSum( pBuffer ); // data byte 9
}
static INT BuildGetPan( LPBYTE pBuffer, BYTE bAddress )
{
pBuffer[ 0] = 0xFF; // data byte 1
pBuffer[ 1] = bAddress; // data byte 2
pBuffer[ 1] = bAddress; // data byte 2
pBuffer[ 2] = 0x00; // data byte 3
pBuffer[ 3] = 0x51; // data byte 4
pBuffer[ 4] = 0x00; // data byte 5
pBuffer[ 5] = 0x00; // data byte 6
pBuffer[ 5] = 0x00; // data byte 6
return CheckSum( pBuffer ); // data byte 9
}
static INT BuildGetTilt( LPBYTE pBuffer, BYTE bAddress )
{
pBuffer[ 0] = 0xFF; // data byte 1
pBuffer[ 1] = bAddress; // data byte 2
pBuffer[ 1] = bAddress; // data byte 2
pBuffer[ 2] = 0x00; // data byte 3
pBuffer[ 3] = 0x53; // data byte 4
pBuffer[ 4] = 0x00; // data byte 5
pBuffer[ 5] = 0x00; // data byte 6
pBuffer[ 5] = 0x00; // data byte 6
return CheckSum( pBuffer ); // data byte 9
}
static INT BuildGetZoom( LPBYTE pBuffer, BYTE bAddress )
{
pBuffer[ 0] = 0xFF; // data byte 1
pBuffer[ 1] = bAddress; // data byte 2
pBuffer[ 1] = bAddress; // data byte 2
pBuffer[ 2] = 0x00; // data byte 3
pBuffer[ 3] = 0x55; // data byte 4
pBuffer[ 4] = 0x00; // data byte 5
pBuffer[ 5] = 0x00; // data byte 6
pBuffer[ 5] = 0x00; // data byte 6
return CheckSum( pBuffer ); // data byte 9
}
@ -181,12 +180,12 @@ typedef struct PTZ_PELCO
{
PtzState.eZoomDir = eZoomDir;
return BuildMove( pBuffer, bAddress, PtzState );
printf("Camera BuildZoom !\n");
}
static INT BuildMove( LPBYTE pBuffer, BYTE bAddress, PTZ_STATE& PtzState )
{
BYTE bCommand1 = 0x88;
//BYTE bCommand1 = 0x88;
BYTE bCommand1 = 0x00;
BYTE bCommand2 = 0;
switch( PtzState.ePanDir & PAN_MASK )
{
@ -233,100 +232,116 @@ typedef struct PTZ_PELCO
static INT BuildAutoFocus( LPBYTE pBuffer, BYTE bAddress, BYTE bValue )
{
pBuffer[ 0] = 0xFF; // data byte 1
pBuffer[ 1] = bAddress; // data byte 2
pBuffer[ 1] = bAddress; // data byte 2
pBuffer[ 2] = 0x00; // data byte 3
pBuffer[ 3] = 0x2B; // data byte 4
pBuffer[ 4] = 0x00; // data byte 5
pBuffer[ 5] = bValue; // data byte 6
pBuffer[ 5] = bValue; // data byte 6
return CheckSum( pBuffer ); // data byte 9
}
static INT BuildAutoIris( LPBYTE pBuffer, BYTE bAddress, BYTE bValue )
{
pBuffer[ 0] = 0xFF; // data byte 1
pBuffer[ 1] = bAddress; // data byte 2
pBuffer[ 1] = bAddress; // data byte 2
pBuffer[ 2] = 0x00; // data byte 3
pBuffer[ 3] = 0x2D; // data byte 4
pBuffer[ 4] = 0x00; // data byte 5
pBuffer[ 5] = bValue; // data byte 6
pBuffer[ 5] = bValue; // data byte 6
return CheckSum( pBuffer ); // data byte 9
}
static INT BuildAutoGainControl( LPBYTE pBuffer, BYTE bAddress, BYTE bValue )
{
pBuffer[ 0] = 0xFF; // data byte 1
pBuffer[ 1] = bAddress; // data byte 2
pBuffer[ 1] = bAddress; // data byte 2
pBuffer[ 2] = 0x00; // data byte 3
pBuffer[ 3] = 0x2F; // data byte 4
pBuffer[ 4] = 0x00; // data byte 5
pBuffer[ 5] = bValue; // data byte 6
pBuffer[ 5] = bValue; // data byte 6
return CheckSum( pBuffer ); // data byte 9
}
static INT BuildBacklightCompensation( LPBYTE pBuffer, BYTE bAddress, BYTE bValue )
{
pBuffer[ 0] = 0xFF; // data byte 1
pBuffer[ 1] = bAddress; // data byte 2
pBuffer[ 1] = bAddress; // data byte 2
pBuffer[ 2] = 0x00; // data byte 3
pBuffer[ 3] = 0x31; // data byte 4
pBuffer[ 4] = 0x00; // data byte 5
pBuffer[ 5] = bValue; // data byte 6
pBuffer[ 5] = bValue; // data byte 6
return CheckSum( pBuffer ); // data byte 9
}
static INT BuildWhiteBalance( LPBYTE pBuffer, BYTE bAddress, BYTE bValue )
{
pBuffer[ 0] = 0xFF; // data byte 1
pBuffer[ 1] = bAddress; // data byte 2
pBuffer[ 1] = bAddress; // data byte 2
pBuffer[ 2] = 0x00; // data byte 3
pBuffer[ 3] = 0x33; // data byte 4
pBuffer[ 4] = 0x00; // data byte 5
pBuffer[ 5] = bValue; // data byte 6
pBuffer[ 5] = bValue; // data byte 6
return CheckSum( pBuffer ); // data byte 9
}
// conversion
public:
// pan
static CLgDevicePTZ::PTZ_DEGREE Pan2Degree( WORD wPan )
{
return 360 - wPan * 360L / 35999L;
}
static WORD Degree2Pan( CLgDevicePTZ::PTZ_DEGREE Angle )
{
return (WORD)( (360 - Angle) * 35999L / 360L );
static CLgDevicePTZ::PTZ_DEGREE Pan2Degree( WORD wPan , int PPR )
{
//PPR=1;
if ( PPR == 0 ){
return 360 - wPan * 360L / 35999L;
} else {
return wPan * 360L / 35999L;
};
}
static WORD Degree2Pan( CLgDevicePTZ::PTZ_DEGREE Angle, int PPR )
{
// PPR=1;
if ( PPR == 0 ){
return (WORD)( (360 - Angle) * 35999L / 360L );
} else {
return (WORD)( Angle * 35999L / 360L );
}
}
// tilt
static CLgDevicePTZ::PTZ_DEGREE Tilt2Degree( WORD wTilt )
{
{
return wTilt * 360L / 35999L;
}
}
static WORD Degree2Tilt( CLgDevicePTZ::PTZ_DEGREE dAngle )
{
{
return (WORD)( dAngle * 35999L / 360L );
}
// enum { ZOOM_LIMIT_MAX = 0xFFFFL };
// enum { ZOOM_LIMIT_MIN = 0x0000L };
/* enum
{
ZOOM_LIMIT_MAX = 0x2C85L,
ZOOM_LIMIT_MIN = 0x0164L,
ZOOM_LIMIT = ZOOM_LIMIT_MAX - ZOOM_LIMIT_MIN
enum
{
ZOOM_LIMIT_MAX = 0x2C85L, //11397
ZOOM_LIMIT_MIN = 0x0164L, //356
//ZOOM_LIMIT_MAX = 0xFFFFL,
//ZOOM_LIMIT_MIN = 0x0000L,
ZOOM_LIMIT = ZOOM_LIMIT_MAX - ZOOM_LIMIT_MIN // 11041
};
*/
#define ZOOM_LIMIT_MAX 0x2C85L
#define ZOOM_LIMIT_MIN 0x0164L
// zoom
static WORD Percent2Zoom( CLgDevicePTZ::PTZ_PERCENT dPercent )
static WORD Percent2Zoom( CLgDevicePTZ::PTZ_PERCENT dPercent , int MaxZoom )
{
float ZMIN = 0x0000L;//0x0164L;
float ZMAX = 0xffffL;//0x2C85L;
float ZLIM = ZMAX - ZMIN;
long AA = (long)((float)dPercent * ZLIM / 100.00 + ZMIN );
return (WORD) AA;
int ZMIN = 0;
int ZMAX = MaxZoom;
int ZLIM = ZMAX - ZMIN;
WORD PERC = ZLIM / 100;
WORD AA = (dPercent * PERC) & 0xFFFF;
return AA;
//return 0x0010;
}
static CLgDevicePTZ::PTZ_PERCENT Zoom2Percent( WORD wZoom )
{

88
LgLib/Device/DPelco.cpp

@ -25,31 +25,35 @@
#define DELAY_BEFORE_GET_POSITION 500
typedef enum PELCO_SETTING_TYPE
{
P_ST_NONE = -1,
P_ST_MAX_NO_REPLY_COUNT = 0,
P_ST_DELAY_BEFORE_GET_POSITION
P_ST_DELAY_BEFORE_GET_POSITION,
P_ST_MAX_OPTICAL_ZOOM,
P_ST_PAN_REVERSE
}PELCO_SETTING_TYPE;
LPCTSTR m_pPelco_Setting[] =
{
{ "MAX_NO_REPLY_COUNT" },
{ "DELAY_BEFORE_GET_POSITION" }
{ "DELAY_BEFORE_GET_POSITION" },
( "MAX_OPTICAL_ZOOM" ),
{ "PAN_REVERSE"}
};
int LoadUserSettings( void ) {
BOOL CLgDevicePTZPelco::LoadUserSettings( void ) {
// read delay number
int RetVal = MAX_NO_REPLY_COUNT;
FILE *pFile = fopen( "PELCO.INI", "rt" );
if( !pFile ) return RetVal;
if( !pFile ) return FALSE;
CHAR pLine[MAX_PATH];
while( fgets( pLine, MAX_PATH, pFile ) )
{
PELCO_SETTING_TYPE eType = P_ST_NONE;
PCHAR pTemp = NULL;
for( INT i = 0; i < sizeof( m_pPelco_Setting ) / sizeof( *m_pPelco_Setting ); i++ )
for( INT i = 0; i < 4; i++ )
{
pTemp = strstr( pLine, m_pPelco_Setting[i] );
if( pTemp )
@ -67,12 +71,20 @@ int LoadUserSettings( void ) {
switch( eType )
{
case P_ST_MAX_NO_REPLY_COUNT: RetVal = (BOOL)atoi( pTemp ); break;
case P_ST_MAX_NO_REPLY_COUNT: {
PELCO_MAX_NO_REPLY_COUNT = atoi( pTemp ); break;
};
case P_ST_MAX_OPTICAL_ZOOM: {
PELCO_MAX_OPTICAL_ZOOM = atoi( pTemp ); break;
};
case P_ST_PAN_REVERSE: {
PELCO_PAN_REVERSE = atoi( pTemp ); break;
};
}
}
fclose( pFile );
return RetVal;
return TRUE;
}
@ -87,7 +99,8 @@ CLgDevicePTZPelco::CLgDevicePTZPelco()
m_bPause = FALSE;
PELCO_MAX_NO_REPLY_COUNT = 20; // Default for Replaying Camera
PELCO_DELAY_BEFORE_GET_POSITION = 500; // Default for Replaying Camera
PELCO_MAX_NO_REPLY_COUNT = LoadUserSettings();
PELCO_MAX_OPTICAL_ZOOM = 0x2C85;
LoadUserSettings();
}
CLgDevicePTZPelco::~CLgDevicePTZPelco()
@ -135,10 +148,37 @@ BOOL CLgDevicePTZPelco::WriteProc( void *pProtocol, PLONG pTimeout )
case CMD_INIT:
m_nMode = CMD_INIT;
m_nStage = STAGE_INIT_TURN_ON;
/*switch( m_nStage )
{
case STAGE_INIT_TURN_ON:
nSendCount += PTZ_PELCO::BuildMove( pSendBuffer, GetAddress(), m_PtzState );
pProtocolPTZ->SetResponseSize( 4 );
break;
case STAGE_INIT_AUTO_FOCUS:
nSendCount += PTZ_PELCO::BuildAutoFocus( pSendBuffer, GetAddress(), 0 ); // 0 - On , 1 - Off
pProtocolPTZ->SetResponseSize( 4 );
break;
case STAGE_INIT_AUTO_IRIS:
nSendCount += PTZ_PELCO::BuildAutoIris( pSendBuffer, GetAddress(), 0 );
pProtocolPTZ->SetResponseSize( 4 );
break;
case STAGE_INIT_AUTO_GAIN_CONTROL:
nSendCount += PTZ_PELCO::BuildAutoGainControl( pSendBuffer, GetAddress(), 0 );
pProtocolPTZ->SetResponseSize( 4 );
break;
case STAGE_INIT_BACKLIGHT_COMPENSATION:
nSendCount += PTZ_PELCO::BuildBacklightCompensation( pSendBuffer, GetAddress(), 0 );
pProtocolPTZ->SetResponseSize( 4 );
break;
case STAGE_INIT_WHITE_BALANCE:
nSendCount += PTZ_PELCO::BuildWhiteBalance( pSendBuffer, GetAddress(), 2 ); // 0 - On, 1 - Off, 2 - Auto
pProtocolPTZ->SetResponseSize( 4 );
break;
}*/
break;
case CMD_GET_PTZ:
m_nMode = CMD_GET_PTZ;
m_nStage = STAGE_GET_PAN_POSITION;
m_nStage = STAGE_GET_PAN_POSITION;
break;
case CMD_SET_PTZ:
// validate positions
@ -146,7 +186,7 @@ BOOL CLgDevicePTZPelco::WriteProc( void *pProtocol, PLONG pTimeout )
PTZ_PELCO::ValidateTilt( m_Position.dTilt );
PTZ_PELCO::ValidateZoom( m_Position.dZoom );
m_nMode = CMD_SET_PTZ;
m_nStage = STAGE_SET_PAN_POSITION;
m_nStage = STAGE_SET_TILT_POSITION;
m_nNotInPositionCount = 0;
break;
case CMD_MOVE_TILT:
@ -208,21 +248,21 @@ BOOL CLgDevicePTZPelco::WriteProc( void *pProtocol, PLONG pTimeout )
case CMD_SET_PTZ:
switch( m_nStage )
{
case STAGE_SET_PAN_POSITION:
case STAGE_SET_TILT_POSITION:
// ask for pan position
nSendCount += PTZ_PELCO::BuildSetPan( pSendBuffer, GetAddress(), PTZ_PELCO::Degree2Pan( m_Position.dPan ) );
nSendCount += PTZ_PELCO::BuildSetTilt( pSendBuffer, GetAddress(), PTZ_PELCO::Degree2Tilt( m_Position.dTilt ) );
// set reply size
pProtocolPTZ->SetResponseSize( 4 );
break;
case STAGE_SET_TILT_POSITION:
case STAGE_SET_PAN_POSITION:
// ask for pan position
nSendCount += PTZ_PELCO::BuildSetTilt( pSendBuffer, GetAddress(), PTZ_PELCO::Degree2Tilt( m_Position.dTilt ) );
nSendCount += PTZ_PELCO::BuildSetPan( pSendBuffer, GetAddress(), PTZ_PELCO::Degree2Pan( m_Position.dPan ,PELCO_PAN_REVERSE) );
// set reply size
pProtocolPTZ->SetResponseSize( 4 );
break;
case STAGE_SET_ZOOM_POSITION:
// ask for pan position
nSendCount += PTZ_PELCO::BuildSetZoom( pSendBuffer, GetAddress(), PTZ_PELCO::Percent2Zoom( m_Position.dZoom ) );
nSendCount += PTZ_PELCO::BuildSetZoom( pSendBuffer, GetAddress(), PTZ_PELCO::Percent2Zoom( m_Position.dZoom, PELCO_MAX_OPTICAL_ZOOM ) );
// set reply size
pProtocolPTZ->SetResponseSize( 4 );
break;
@ -278,15 +318,15 @@ BOOL CLgDevicePTZPelco::WriteProc( void *pProtocol, PLONG pTimeout )
pProtocolPTZ->SetResponseSize( 4 );
break;
*/
case CMD_MOVE_PAN:
// ask for pan position
nSendCount += PTZ_PELCO::BuildPan( pSendBuffer, GetAddress(), m_MovePan.dSpeed > 0 ? ( m_MovePan.bRight ? PTZ_PELCO::PAN_RIGHT : PTZ_PELCO::PAN_LEFT ) : PTZ_PELCO::PAN_STOP, PTZ_PELCO::Percent2PanSpeed( m_MovePan.dSpeed ), m_PtzState );
case CMD_MOVE_TILT:
nSendCount += PTZ_PELCO::BuildTilt( pSendBuffer, GetAddress(), m_MoveTilt.dSpeed > 0 ? ( m_MoveTilt.bUp ? PTZ_PELCO::TILT_UP : PTZ_PELCO::TILT_DOWN ) : PTZ_PELCO::TILT_STOP, PTZ_PELCO::Percent2TiltSpeed( m_MoveTilt.dSpeed ), m_PtzState );
// set reply size
pProtocolPTZ->SetResponseSize( 4 );
break;
case CMD_MOVE_TILT:
nSendCount += PTZ_PELCO::BuildTilt( pSendBuffer, GetAddress(), m_MoveTilt.dSpeed > 0 ? ( m_MoveTilt.bUp ? PTZ_PELCO::TILT_UP : PTZ_PELCO::TILT_DOWN ) : PTZ_PELCO::TILT_STOP, PTZ_PELCO::Percent2TiltSpeed( m_MoveTilt.dSpeed ), m_PtzState );
case CMD_MOVE_PAN:
// ask for pan position
nSendCount += PTZ_PELCO::BuildPan( pSendBuffer, GetAddress(), m_MovePan.dSpeed > 0 ? ( m_MovePan.bRight ? PTZ_PELCO::PAN_RIGHT : PTZ_PELCO::PAN_LEFT ) : PTZ_PELCO::PAN_STOP, PTZ_PELCO::Percent2PanSpeed( m_MovePan.dSpeed ), m_PtzState );
// set reply size
pProtocolPTZ->SetResponseSize( 4 );
break;
@ -361,7 +401,7 @@ BOOL CLgDevicePTZPelco::ReadProc( void *pProtocol, LONG lTimeout, BOOL bLastChan
switch( m_nStage )
{
case STAGE_GET_PAN_POSITION:
m_Position.dPan = PTZ_PELCO::Pan2Degree( PTZ_PELCO::Pan2Value( pReadBuffer[4], pReadBuffer[5] ) );
m_Position.dPan = PTZ_PELCO::Pan2Degree( PTZ_PELCO::Pan2Value( pReadBuffer[4], pReadBuffer[5] ), PELCO_PAN_REVERSE );
m_nStage = STAGE_GET_TILT_POSITION;
break;
@ -383,8 +423,8 @@ BOOL CLgDevicePTZPelco::ReadProc( void *pProtocol, LONG lTimeout, BOOL bLastChan
case CMD_SET_PTZ:
switch( m_nStage )
{
case STAGE_SET_PAN_POSITION: m_nStage = STAGE_SET_TILT_POSITION; break;
case STAGE_SET_TILT_POSITION: m_nStage = STAGE_SET_ZOOM_POSITION; break;
case STAGE_SET_TILT_POSITION: m_nStage = STAGE_SET_PAN_POSITION; break;
case STAGE_SET_PAN_POSITION: m_nStage = STAGE_SET_ZOOM_POSITION; break;
case STAGE_SET_ZOOM_POSITION: /*m_nStage = STAGE_GET_PAN_POSITION; break;
case STAGE_GET_PAN_POSITION:
m_TempPosition.dPan = PTZ_PELCO::Pan2Degree( PTZ_PELCO::Pan2Value( pReadBuffer[4], pReadBuffer[5] ) );

6
LgLib/Device/DPelco.h

@ -52,8 +52,8 @@ private:
STAGE_INIT_BACKLIGHT_COMPENSATION,
STAGE_INIT_WHITE_BALANCE,
STAGE_SET_PAN_POSITION,
STAGE_SET_TILT_POSITION,
STAGE_SET_PAN_POSITION,
STAGE_SET_ZOOM_POSITION,
STAGE_GET_PAN_POSITION,
@ -62,9 +62,11 @@ private:
STAGE_SET_IRIS,
};
BOOL LoadUserSettings( void );
int PELCO_MAX_NO_REPLY_COUNT;
int PELCO_MAX_OPTICAL_ZOOM;
int PELCO_DELAY_BEFORE_GET_POSITION;
int PELCO_PAN_REVERSE;
public:
enum

11
LgLib/Device/LgDeviceLGS.cpp

@ -2003,8 +2003,8 @@ BOOL CLgDeviceLGS::ReadProc( CProtocolLGS *pProtocol, LONG lTimeout, BOOL bLastC
while( nReadCount > 0 )
{
BYTE bDevice, bType, bFlags, bDeviceFlags;
INT nAngle, nRange, nWidth, nLoops, x, y;
INT nAngle, nRange, nLoops, x, y;
LONG nWidth;
BYTE bInfoType, bInfoSize;
nReadCount -= LGS::GetEvtState2InfoType( pReadBuffer, &bInfoType, &bInfoSize );
@ -2031,8 +2031,7 @@ BOOL CLgDeviceLGS::ReadProc( CProtocolLGS *pProtocol, LONG lTimeout, BOOL bLastC
LGLOG( LOG_LEVEL_HIGH, LOG_TYPE_INFO, this, _T("CLgDeviceLGS::ReadProc"), _T("SetOperationMode on 'CMD_STATE_2 S2_IT_TARGET_POLAR_WIDTH'") );
SetOperationMode( LGS_OM_DETECTION );
// send notification
// gagua
//nReadCount -= LGS::GetEvtState2TargetPolarW( pReadBuffer, &bDevice, &bType, &nAngle, &nRange, &nWidth );
nReadCount -= LGS::GetEvtState2TargetPolarW( pReadBuffer, &bDevice, &bType, &nAngle, &nRange, &nWidth );
switch( bType )
{
case LGS::S2_ITT_NORMAL:
@ -2093,9 +2092,9 @@ BOOL CLgDeviceLGS::ReadProc( CProtocolLGS *pProtocol, LONG lTimeout, BOOL bLastC
m_Mode = LGS::MODE_DETECTOR;
}
if( bFlags & LGS::S2_ITF_ERROR_NO_IRQ )
_OnEvtError( LGS_ERROR_LEVEL_CRITICAL, LGS_ERROR_NO_IRQ, _T("NO IRQ FROM BOARD") );
_OnEvtError( LGS_ERROR_LEVEL_CRITICAL, LGS_ERROR_NO_IRQ , _T("NO IRQ FROM BOARD") );
if( bFlags & LGS::S2_ITF_ERROR_NO_ZERO_MARK )
_OnEvtError( LGS_ERROR_LEVEL_CRITICAL, LGS_ERROR_NO_ZERO_MARK, _T("NO ZERO MARK") );
_OnEvtError( LGS_ERROR_LEVEL_CRITICAL, LGS_ERROR_NO_ZERO_MARK , _T("NO ZERO MARK") );
if( bFlags & LGS::S2_ITF_VOLTAGE )
{
m_bVoltageCheck = TRUE;

13
LgLib/Device/LgDeviceLGS.h

@ -101,7 +101,7 @@ public:
BYTE bType;
double dAngle;
double dRange;
INT nWidth;
LONG nWidth;
}LGS_TARGET, *PLGS_TARGET;
typedef struct LGS_PARAMETERS_EX :
public LGS::LGS_PARAMETERS
@ -151,7 +151,16 @@ public:
LGS_ERROR_LRF_BROKEN = 0x00000006,
LGS_ERROR_BORDER_ANGLE = 0x00000007,
LGS_ERROR_GET_HZ_DATA = 0x00000008,
LGS_ERROR_SET_HZ_DATA = 0x00000009,
LGS_ERROR_SET_HZ_DATA = 0x00000009//,
/* LGS_ERROR_NO_ZERO_MARK_ = 0x00000011,
LGS_ERROR_NO_IRQ_ = 0x00000012,
LGS_ERROR_ANGLE_ = 0x00000013,
LGS_ERROR_TARGET_OVERFLOW_ = 0x00000014,
LGS_ERROR_SST_OVERFLOW_ = 0x00000015,
LGS_ERROR_LRF_BROKEN_ = 0x00000016,
LGS_ERROR_BORDER_ANGLE_ = 0x00000017,
LGS_ERROR_GET_HZ_DATA_ = 0x00000018,
LGS_ERROR_SET_HZ_DATA_ = 0x00000019, */
}LGS_ERROR_ID, *PLGS_ERROR_ID;
typedef struct LGS_ERROR

3
LgLib/Device/LgLibDevice.vcproj

@ -3,7 +3,7 @@
ProjectType="Visual C++"
Version="8.00"
Name="LgLibDevice"
ProjectGUID="{E29E2C37-2257-4615-8028-093363424FAD}"
ProjectGUID="{63CE43AF-0AB9-4D33-9C6F-6B5C1FA67048}"
>
<Platforms>
<Platform
@ -121,7 +121,6 @@
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
AdditionalIncludeDirectories="&quot;C:\Program Files\Microsoft Media Format 9 SDK\WMFSDK9\include&quot;"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
StringPooling="true"
RuntimeLibrary="0"

3
LgLib/DirectDraw/LgLibDirectDraw.vcproj

@ -3,7 +3,7 @@
ProjectType="Visual C++"
Version="8.00"
Name="LgLibDirectDraw"
ProjectGUID="{FA811F07-FD75-45C5-809B-92CD6D762112}"
ProjectGUID="{0DEFFF48-62B9-4195-BECD-DDE6C2C86246}"
>
<Platforms>
<Platform
@ -121,7 +121,6 @@
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
AdditionalIncludeDirectories="C:\Program Files\Microsoft SDK\include"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
StringPooling="true"
RuntimeLibrary="0"

3
LgLib/FSystem/LgLibFileSystem.vcproj

@ -3,7 +3,7 @@
ProjectType="Visual C++"
Version="8.00"
Name="LgLibFileSystem"
ProjectGUID="{78FB6B73-8DCF-4910-A0AB-F710B1BA9439}"
ProjectGUID="{E6D26471-034B-46AE-9219-C15B52A7F84F}"
>
<Platforms>
<Platform
@ -42,7 +42,6 @@
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
AdditionalIncludeDirectories="C:\Program Files\Microsoft SDK\include"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
StringPooling="true"
RuntimeLibrary="0"

2
LgLib/KernelIO/LgLibKernelIO.vcproj

@ -3,7 +3,7 @@
ProjectType="Visual C++"
Version="8.00"
Name="LgLibKernelIO"
ProjectGUID="{89B8A505-2626-4933-9724-4B86C9FF5137}"
ProjectGUID="{56EF6593-6DED-47A5-9904-C3F8DA674730}"
>
<Platforms>
<Platform

32
LgLib/LgLib.vcproj

@ -3,8 +3,7 @@
ProjectType="Visual C++"
Version="8.00"
Name="LgLib"
ProjectGUID="{561D4B62-2518-405D-A151-68351D821A14}"
AssemblyReferenceSearchPaths="&quot;..\..\Program Files\Intel\IJL\include&quot;;&quot;..\..\Program Files\Intel\IJL\lib&quot;"
ProjectGUID="{D8FB1874-608C-4FA0-A4B9-9EABF2D5E268}"
>
<Platforms>
<Platform
@ -122,7 +121,6 @@
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
AdditionalIncludeDirectories="C:\Program Files\Intel\IJL\include"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
StringPooling="true"
RuntimeLibrary="0"
@ -581,28 +579,6 @@
/>
</FileConfiguration>
</File>
<File
RelativePath=".\MaskSchedule\StdAfx.cpp"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\$(InputName)1.obj"
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\$(InputName)1.obj"
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
/>
</FileConfiguration>
</File>
<File
RelativePath="StdAfx.cpp"
>
@ -807,11 +783,7 @@
>
</File>
<File
RelativePath=".\MaskSchedule\resource.h"
>
</File>
<File
RelativePath=".\MaskSchedule\StdAfx.h"
RelativePath="StdAfx.h"
>
</File>
<File

3
LgLib/Modem/LgLibModem.vcproj

@ -3,7 +3,7 @@
ProjectType="Visual C++"
Version="8.00"
Name="LgLibModem"
ProjectGUID="{F0403D8C-15F0-4E96-8A9D-0ECF29828D68}"
ProjectGUID="{211B3D03-38A7-4C23-BE88-8215CB10C17B}"
>
<Platforms>
<Platform
@ -42,7 +42,6 @@
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
AdditionalIncludeDirectories="C:\Program Files\Microsoft Speech SDK 5.1\Include"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
StringPooling="true"
RuntimeLibrary="0"

3
LgLib/Net/LgLibNet.vcproj

@ -3,7 +3,7 @@
ProjectType="Visual C++"
Version="8.00"
Name="LgLibNet"
ProjectGUID="{B0115D06-704D-43A4-B29E-9C89879555F1}"
ProjectGUID="{84196599-AAEC-4DC9-B9E1-2B4244EE0518}"
>
<Platforms>
<Platform
@ -42,7 +42,6 @@
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
AdditionalIncludeDirectories="C:\Program Files\Microsoft SDK\include"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
StringPooling="true"
RuntimeLibrary="0"

2
LgLib/Net/LgNetSocketPTZPelco.cpp

@ -22,7 +22,6 @@ CLgNetSocketPTZPelco::CLgNetSocketPTZPelco()
CLgNetSocketPTZPelco::~CLgNetSocketPTZPelco()
{
Destroy();
// unlink all linked devices
CLgLinkP<CLgNetSocket,CLgNetSocketDevice>::Unlink();
}
@ -30,7 +29,6 @@ CLgNetSocketPTZPelco::~CLgNetSocketPTZPelco()
BOOL CLgNetSocketPTZPelco::Create( LPCTSTR pCommPort, BOOL bDemo )
{
Destroy();
if( !bDemo )
{
if( !m_Connection.Create( pCommPort, 2400, 8, NOPARITY, ONESTOPBIT, 1024, 1024 ) )

2
LgLib/Remote/LgLibRemote.vcproj

@ -3,7 +3,7 @@
ProjectType="Visual C++"
Version="8.00"
Name="LgLibRemote"
ProjectGUID="{E6C63D55-F43A-4D0D-B9AF-E8098348C3EC}"
ProjectGUID="{1BF1043F-C870-4510-82C2-AF37879D385F}"
>
<Platforms>
<Platform

2
LgLib/Socket/LgLibSocket.vcproj

@ -3,7 +3,7 @@
ProjectType="Visual C++"
Version="8.00"
Name="LgLibSocket"
ProjectGUID="{040F5FA5-1137-44FA-A326-E441ECE2C635}"
ProjectGUID="{C6FF9428-EE5B-49EF-B8FA-07825F6D0751}"
>
<Platforms>
<Platform

3
LgLib/Video/LgLibVideo.vcproj

@ -3,7 +3,7 @@
ProjectType="Visual C++"
Version="8.00"
Name="LgLibVideo"
ProjectGUID="{5F0BE4DD-03D5-4110-9073-BC22E43AA7B7}"
ProjectGUID="{6D8C8C03-CE64-4335-AC90-9803A19FE38A}"
>
<Platforms>
<Platform
@ -42,7 +42,6 @@
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
AdditionalIncludeDirectories="C:\Program Files\Microsoft SDK\include"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
StringPooling="true"
RuntimeLibrary="0"

94
MiniLGS/ISA.c

@ -7,6 +7,13 @@
//#define ENCODER_6000_PULSES
#define LGS_PULSE_COUNT 6000
#define LGS_SERIAL_ENABLE // Enable Embed Serial Number
#ifdef LGS_SERIAL_ENABLE
static WORD wBoardSN = 0xABCD; // Serial Number Of Board
static WORD wProgrammSN = 0;
static BOOL bWorkingEnable = FALSE;
#endif
#ifdef ENCODER_6000_PULSES
#define TEMPERATURE_ENABLE
@ -15,12 +22,12 @@
// #define MOTOR_GEAR_RATIO 61 /*150*/ // 61
// #define ENCODER_PULSE_COUNT 6 /*10*/ // 6
#define MOTOR_GEAR_RATIO 150
#define ENCODER_PULSE_COUNT 1
#define MOTOR_GEAR_RATIO 150 // 50
#define ENCODER_PULSE_COUNT 1 // 30
#define ENCODER_PULSE_HIRES_COUNT (LGS_PULSE_COUNT / MOTOR_GEAR_RATIO)
#define ENCODER_PULSE_HIRES_REMAIN (LGS_PULSE_COUNT % MOTOR_GEAR_RATIO)
#define HIRES_MEASUREMENT_START_TIME 100
#define HIRES_MEASUREMENT_START_TIME 150
#endif
//#define ISA_DEFAULT_MODE_READ_BUS
@ -211,6 +218,10 @@ void ISA_Serve()
// restart IRQ timer
HiResTimer1_Restart( -nPulseTime );
#endif
SFRPAGE = DAC0_PAGE; // Add 15Sep2009 to speed up motor
DAC0L = 0xFF;
DAC0H = 0xFF; // DAC mid value 0x7D
SFRPAGE = CONFIG_PAGE;
while( TRUE )
{
@ -222,7 +233,7 @@ void ISA_Serve()
if( ISA_IOR == 0 )
{
if( P6 == 0x04 || P6 == 0x05 || P6 == 0x09 )
if( P6 == 0x04 || P6 == 0x05 || P6 == 0x09 || P6 == 0x0A || P6 == 0x0B )
{
ISA_IRQ5 = 0; // clear interrupt
@ -238,6 +249,15 @@ void ISA_Serve()
case 0x04: P7 = ISA_bTxData4[ISA_bTxIndex]; break;
case 0x05: P7 = ISA_bTxData5[ISA_bTxIndex++]; break;
case 0x09: P7 = 0x5A; break;
// Serial Nuber Handshake
case 0x0A:{
P7 = ISA_BitReverseTable256[ 0xFF & wBoardSN ];
break;
};
case 0x0B:{
P7 = ISA_BitReverseTable256[( wBoardSN >> 8)];
break;
};
}
ISA_IOCHRDY = 1; // ready to end of bus circle
@ -259,7 +279,7 @@ void ISA_Serve()
else
if( ISA_IOW == 0 )
{
if( P6 == 0x06 || P6 == 0x07 || P6 == 0x08 )
if( P6 == 0x0A || P6 == 0x0A || P6 == 0x06 || P6 == 0x07 || P6 == 0x08 )
{
ISA_IRQ5 = 0; // clear interrupt
@ -276,6 +296,19 @@ void ISA_Serve()
case 0x06: bTemp = P7; bReset = (bTemp ^ ISA_bRegEnable) & 0xC0; ISA_bRegEnable = bTemp; break;
case 0x07: ISA_bRegIndex = ISA_BitReverseTable256[P7] & (ISA_REGISTER_COUNT-1); bReset = TRUE; break;
case 0x08: ISA_pRegValue[ISA_bRegIndex] = ISA_BitReverseTable256[P7]; bReset = TRUE; break;
// Serial Nuber Handshake
case 0x0A:{
bTemp = ISA_BitReverseTable256[P7];
bWorkingEnable = TRUE;
wProgrammSN = bTemp;
break;
};
case 0x0B:{
bTemp = ISA_BitReverseTable256[P7];
bWorkingEnable = TRUE;
wProgrammSN = wProgrammSN & ( bTemp<<8 );
break;
};
}
#ifndef ISA_DEFAULT_MODE_READ_BUS
@ -323,8 +356,12 @@ void ISA_Serve()
ISA_bAccessCount = 0;
ISA_IRQ5 = 0;
bZero = FALSE;
bZeroCheck = TRUE;
bZero = TRUE;
bZeroCheck = FALSE;
if ( wProgrammSN > 0 ) bWorkingEnable = TRUE;
#ifndef ENCODER_6000_PULSES
bReadyZero = FALSE;
@ -354,6 +391,12 @@ void ISA_Serve()
bSun1 = 0;
bSun2 = 0;
SFRPAGE = DAC0_PAGE; // Add 15Sep2009 to speed up motor after reset
DAC0L = 0xFF;
DAC0H = 0xFF; // DAC mid value 0x7D
SFRPAGE = CONFIG_PAGE;
}
#ifndef ENCODER_6000_PULSES
@ -392,7 +435,7 @@ void ISA_Serve()
bPhaseCheck = FALSE;
// find synch point
if( ++nAngle6 == ENCODER_PULSE_COUNT )
if( nAngle6 == ENCODER_PULSE_COUNT )
{
nAngle6 = 0;
bReady6 = TRUE;
@ -405,7 +448,7 @@ void ISA_Serve()
nPulseTime = nHiResolutionTimer / ( ENCODER_PULSE_HIRES_COUNT - 1 );
}
else
nPulseTime = nHiResolutionTimer / ( ENCODER_PULSE_HIRES_COUNT + 1 ); // changed to +1 from 0 for 6000, in 362 should be 0!!!
nPulseTime = nHiResolutionTimer / ( ENCODER_PULSE_HIRES_COUNT ); // changed to +1 from 0 for 6000, in 362 should be 0!!!
// validate time measurement
if( nHiResolutionStart )
@ -423,15 +466,17 @@ void ISA_Serve()
nHiResolutionTimer = 0;
// update DAC according to speed
SFRPAGE = DAC0_PAGE;
// DAC0L = nPulseTime << 2;
// DAC0H = nPulseTime >> 6;
DAC0L = nPulseTime << 3;
DAC0H = nPulseTime >> 7;
DAC0L = nPulseTime << 2;
DAC0H = nPulseTime >> 6;
/* DAC0L = 0xFF; // DAC mid value
DAC0H = 0x7D;
*/
SFRPAGE = CONFIG_PAGE;
}
nAngle6++; //moved from "if" condition to avoid false start without motor
}
}
else
@ -474,9 +519,11 @@ void ISA_Serve()
// wait for LRF ready (around 15 uS)
// HiResTimer0_Wait( MICRO_SEC_TO_HIRES(15) ); // 20 - ok, but 25 probably better
#ifdef ENCODER_6000_PULSES
HiResTimer1_Wait( 28+5+15+10 ); // +10 added 2006/11/08
// HiResTimer1_Wait( 28+5+15+10 ); // +10 added 2006/11/08
HiResTimer1_Wait( 58 ); // 07Sep2009 try to optimize
#else
HiResTimer1_Wait( 28+5+10 ); // +10 added 2006/11/08
// HiResTimer1_Wait( 28+5+10 ); // +10 added 2006/11/08
HiResTimer1_Wait( 30 ); // 07Sep2009 try to optimize (native 43)
#endif
// convert ranges
@ -520,11 +567,18 @@ void ISA_Serve()
}
#endif
// ranges will be negatived on PC side
wRange1.wValue = 0x0FFF - wRange1.wValue;
wRange2.wValue = 0x0FFF - wRange2.wValue;
if ( bWorkingEnable ){
// ranges will be negatived on PC side
wRange1.wValue = 0x0FFF - wRange1.wValue;
wRange2.wValue = 0x0FFF - wRange2.wValue;
} else {
wRange1.wValue = 0;
wRange2.wValue = 0;
if ( (nAngle - nZeroShift) == 1113 ) bZero = TRUE;
};
// prepare data for sending to other side
ISA_bTxData4[0] = (ISA_BitReverseTable256[ wRange1.bValue.bLo ] );
ISA_bTxData5[0] = (ISA_BitReverseTable256[ wRange1.bValue.bHi ] & ~0x0F);

4
MiniLGS/SysClock.h

@ -5,8 +5,8 @@
#define INTCLK_DIV_PWR 0L
#define INTCLK_DIV ( 1L << INTCLK_DIV_PWR )
#define INTCLK ( INTCLK_MAX / INTCLK_DIV )
#define PLL_MUL 15L //22L //15L
#define PLL_DIV 4L //6L //4L
#define PLL_MUL 19L //15L //22L //15L 06Oct2009 prev 15L
#define PLL_DIV 5L //4L //6L //4L 06Oct2009 prev 4L
#define SYSCLK ( PLL_MUL * INTCLK / PLL_DIV )
void SystemClock_Init( void );

2
SingleIPI/CameraDlg.h

@ -71,7 +71,7 @@ private:
CApplication *m_pApplication;
CLgsRadarWnd *m_pLocator;
PTZ_CTRL m_ptzCtrl;
CCameraPtz *m_pPTZ;
CCameraPtz *m_pPTZ;
HBITMAP m_hBitmap;
HBITMAP m_hBBitmaps[40];
BYTE m_CameraAddress;

2
SingleIPI/EventWnd.cpp

@ -335,7 +335,7 @@ void CEventWnd::AddTarget(TARGET_DESCRIPTION& td)
}
else
#ifdef DRAW_TARGET_WIDTH
_stprintf(pText, _T("%02d/%02d/%02d %02d:%02d:%02d %3.0f° %5.1fm. (W %d)"),
_stprintf(pText, _T("%02d/%02d/%02d %02d:%02d:%02d %3.0f° %5.1fm. (W %ld)"),
td.time.wDay, td.time.wMonth, td.time.wYear,
td.time.wHour, td.time.wMinute, td.time.wSecond,
dAngle, td.range, td.width );

2
SingleIPI/LogFiles.cpp

@ -178,7 +178,7 @@ void CLogFiles::StoreText(TARGET_DESCRIPTION& td)
}
else
#ifdef DRAW_TARGET_WIDTH
_stprintf(pBuffer, _T( "%02hu/%02hu/%04hu %02hu:%02hu:%02hu %s %3.0f° %3.1f m. (W %d)\r\n"),
_stprintf(pBuffer, _T( "%02hu/%02hu/%04hu %02hu:%02hu:%02hu %s %3.0f° %3.1f m. (W %ld)\r\n"),
td.time.wDay, td.time.wMonth, td.time.wYear,
td.time.wHour, td.time.wMinute, td.time.wSecond,
master, dAngle, td.range, td.width );

7
SingleIPI/SingleIPI.dsp

@ -43,7 +43,7 @@ RSC=rc.exe
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /Yu"stdafx.h" /FD /c
# ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /Yu"stdafx.h" /FD /c
# ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /FR /Yu"stdafx.h" /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
@ -53,7 +53,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386
# ADD LINK32 ddraw.lib tapi32.lib Msacm32.lib winmm.lib shlwapi.lib comctl32.lib vfw32.lib msimg32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib dxguid.lib dxerr8.lib strmiids.lib ijl15.lib Ws2_32.lib /nologo /subsystem:windows /machine:I386 /out:"..\test\SingleIPI.exe"
# ADD LINK32 "D:\SXC\MS_LIBS\Microsoft SDK\Lib\ddraw.lib" d3dx.lib d3dxd.lib tapi32.lib Msacm32.lib winmm.lib shlwapi.lib comctl32.lib vfw32.lib msimg32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib dxguid.lib "D:\SXC\MS_LIBS\Microsoft SDK\Lib\strmiids.lib" ijl15.lib Ws2_32.lib dxerr8.lib /machine:IX86 /out:"..\..\test\SingleIPI.exe"
!ELSEIF "$(CFG)" == "SingleIPI - Win32 Debug"
@ -79,7 +79,8 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
# ADD LINK32 ddraw.lib tapi32.lib Msacm32.lib winmm.lib shlwapi.lib comctl32.lib vfw32.lib msimg32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib dxguid.lib strmiids.lib ijl15.lib Ws2_32.lib dxerr8.lib /nologo /subsystem:windows /profile /debug /machine:I386
# ADD LINK32 "C:\SXC\MS_LIBS\Microsoft SDK\Lib\ddraw.lib" d3dx.lib d3dxd.lib tapi32.lib Msacm32.lib winmm.lib shlwapi.lib comctl32.lib vfw32.lib msimg32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib dxguid.lib "C:\SXC\MS_LIBS\Microsoft SDK\Lib\strmiids.lib" ijl15.lib Ws2_32.lib dxerr8.lib /nologo /subsystem:windows /profile /debug /machine:I386
# SUBTRACT LINK32 /nodefaultlib
!ENDIF

742
SingleIPI/SingleIPI.plg

@ -3,465 +3,367 @@
<pre>
<h1>Build Log</h1>
<h3>
--------------------Configuration: LgLibDevice - Win32 Debug--------------------
--------------------Configuration: LgLibDevice - Win32 Release--------------------
</h3>
<h3>Command Lines</h3>
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1C9.tmp" with contents
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP82B.tmp" with contents
[
/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /Fp"..\..\Intermediate\6\Debug\LgLibDevice/LgLibDevice.pch" /Yu"stdafx.h" /Fo"..\..\Intermediate\6\Debug\LgLibDevice/" /Fd"..\..\Intermediate\6\Debug\LgLibDevice/" /FD /GZ /c
"C:\SXC2\LgLib\Device\DDopler.cpp"
"C:\SXC2\LgLib\Device\dhebron.cpp"
"C:\SXC2\LgLib\Device\DMicPTZ.cpp"
"C:\SXC2\LgLib\Device\DMigPTZ.cpp"
"C:\SXC2\LgLib\Device\DNesher.cpp"
"C:\SXC2\LgLib\Device\DPelco.cpp"
"C:\SXC2\LgLib\Device\DPG3AD.cpp"
"C:\SXC2\LgLib\Device\DPTZAD.cpp"
"C:\SXC2\LgLib\Device\DTKS576.cpp"
"C:\SXC2\LgLib\Device\DVicon.cpp"
"C:\SXC2\LgLib\Device\LgDevice.cpp"
"C:\SXC2\LgLib\Device\LgDeviceCLD.cpp"
"C:\SXC2\LgLib\Device\LgDeviceGPIO.cpp"
"C:\SXC2\LgLib\Device\LgDeviceGPIOCOM.cpp"
"C:\SXC2\LgLib\Device\LgDeviceGPIOLPT.cpp"
"C:\SXC2\LgLib\Device\LgDeviceGPIOPCI1762.cpp"
"C:\SXC2\LgLib\Device\LgDeviceLGS.cpp"
"C:\SXC2\LgLib\Device\LgDeviceMD.cpp"
"C:\SXC2\LgLib\Device\LgDevPTZ.cpp"
/nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /Fp"..\..\Intermediate\6\Release/LgLibDevice/LgLibDevice.pch" /Yu"stdafx.h" /Fo"..\..\Intermediate\6\Release/LgLibDevice/" /Fd"..\..\Intermediate\6\Release/LgLibDevice/" /FD /c
"D:\SXC\LgLib\Device\DPelco.cpp"
]
Creating command line "cl.exe @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1C9.tmp"
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1CA.tmp" with contents
Creating command line "cl.exe @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP82B.tmp"
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP82C.tmp" with contents
[
/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /Fp"..\..\Intermediate\6\Debug\LgLibDevice/LgLibDevice.pch" /Yc"stdafx.h" /Fo"..\..\Intermediate\6\Debug\LgLibDevice/" /Fd"..\..\Intermediate\6\Debug\LgLibDevice/" /FD /GZ /c
"C:\SXC2\LgLib\Device\StdAfx.cpp"
/nologo /out:"..\..\Intermediate\6\LgLibDevice.lib"
\SXC\Intermediate\6\Release\LgLibDevice\DDopler.obj
\SXC\Intermediate\6\Release\LgLibDevice\dhebron.obj
\SXC\Intermediate\6\Release\LgLibDevice\DMicPTZ.obj
\SXC\Intermediate\6\Release\LgLibDevice\DMigPTZ.obj
\SXC\Intermediate\6\Release\LgLibDevice\DNesher.obj
\SXC\Intermediate\6\Release\LgLibDevice\DPelco.obj
\SXC\Intermediate\6\Release\LgLibDevice\DPG3AD.obj
\SXC\Intermediate\6\Release\LgLibDevice\DPTZAD.obj
\SXC\Intermediate\6\Release\LgLibDevice\DTKS576.obj
\SXC\Intermediate\6\Release\LgLibDevice\DVicon.obj
\SXC\Intermediate\6\Release\LgLibDevice\LgDevice.obj
\SXC\Intermediate\6\Release\LgLibDevice\LgDeviceCLD.obj
\SXC\Intermediate\6\Release\LgLibDevice\LgDeviceGPIO.obj
\SXC\Intermediate\6\Release\LgLibDevice\LgDeviceGPIOCOM.obj
\SXC\Intermediate\6\Release\LgLibDevice\LgDeviceGPIOLPT.obj
\SXC\Intermediate\6\Release\LgLibDevice\LgDeviceGPIOPCI1762.obj
\SXC\Intermediate\6\Release\LgLibDevice\LgDeviceLGS.obj
\SXC\Intermediate\6\Release\LgLibDevice\LgDeviceMD.obj
\SXC\Intermediate\6\Release\LgLibDevice\LgDevPTZ.obj
\SXC\Intermediate\6\Release\LgLibDevice\StdAfx.obj
]
Creating command line "cl.exe @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1CA.tmp"
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1CB.tmp" with contents
[
/nologo /out:"..\..\Intermediate\6\LgLibDeviceD.lib"
\SXC2\Intermediate\6\Debug\LgLibDevice\DDopler.obj
\SXC2\Intermediate\6\Debug\LgLibDevice\dhebron.obj
\SXC2\Intermediate\6\Debug\LgLibDevice\DMicPTZ.obj
\SXC2\Intermediate\6\Debug\LgLibDevice\DMigPTZ.obj
\SXC2\Intermediate\6\Debug\LgLibDevice\DNesher.obj
\SXC2\Intermediate\6\Debug\LgLibDevice\DPelco.obj
\SXC2\Intermediate\6\Debug\LgLibDevice\DPG3AD.obj
\SXC2\Intermediate\6\Debug\LgLibDevice\DPTZAD.obj
\SXC2\Intermediate\6\Debug\LgLibDevice\DTKS576.obj
\SXC2\Intermediate\6\Debug\LgLibDevice\DVicon.obj
\SXC2\Intermediate\6\Debug\LgLibDevice\LgDevice.obj
\SXC2\Intermediate\6\Debug\LgLibDevice\LgDeviceCLD.obj
\SXC2\Intermediate\6\Debug\LgLibDevice\LgDeviceGPIO.obj
\SXC2\Intermediate\6\Debug\LgLibDevice\LgDeviceGPIOCOM.obj
\SXC2\Intermediate\6\Debug\LgLibDevice\LgDeviceGPIOLPT.obj
\SXC2\Intermediate\6\Debug\LgLibDevice\LgDeviceGPIOPCI1762.obj
\SXC2\Intermediate\6\Debug\LgLibDevice\LgDeviceLGS.obj
\SXC2\Intermediate\6\Debug\LgLibDevice\LgDeviceMD.obj
\SXC2\Intermediate\6\Debug\LgLibDevice\LgDevPTZ.obj
\SXC2\Intermediate\6\Debug\LgLibDevice\StdAfx.obj
]
Creating command line "link.exe -lib @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1CB.tmp"
Creating command line "link.exe -lib @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP82C.tmp"
<h3>Output Window</h3>
Compiling...
StdAfx.cpp
Compiling...
DDopler.cpp
dhebron.cpp
c:\sxc2\lglib\comm\hebron.h(138) : warning C4244: '=' : conversion from 'unsigned long' to 'unsigned char', possible loss of data
c:\sxc2\lglib\comm\hebron.h(139) : warning C4244: '=' : conversion from 'unsigned long' to 'unsigned char', possible loss of data
c:\sxc2\lglib\comm\hebron.h(140) : warning C4244: '=' : conversion from 'unsigned long' to 'unsigned char', possible loss of data
c:\sxc2\lglib\comm\hebron.h(141) : warning C4244: '=' : conversion from 'unsigned long' to 'unsigned char', possible loss of data
DMicPTZ.cpp
DMigPTZ.cpp
DNesher.cpp
DPelco.cpp
DPG3AD.cpp
DPTZAD.cpp
c:\sxc2\lglib\comm\ptzad.h(245) : warning C4244: 'return' : conversion from 'unsigned long' to 'unsigned short', possible loss of data
C:\SXC2\LgLib\Device\DPTZAD.cpp(117) : warning C4244: 'argument' : conversion from 'unsigned long' to 'unsigned short', possible loss of data
C:\SXC2\LgLib\Device\DPTZAD.cpp(117) : warning C4244: 'argument' : conversion from 'unsigned long' to 'unsigned short', possible loss of data
DTKS576.cpp
DVicon.cpp
LgDevice.cpp
LgDeviceCLD.cpp
LgDeviceGPIO.cpp
LgDeviceGPIOCOM.cpp
LgDeviceGPIOLPT.cpp
LgDeviceGPIOPCI1762.cpp
LgDeviceLGS.cpp
LgDeviceMD.cpp
LgDevPTZ.cpp
Generating Code...
C:\SXC2\LgLib\Device\LgDeviceLGS.cpp(2039) : warning C4700: local variable 'nWidth' used without having been initialized
Creating library...
<h3>
--------------------Configuration: LgLibFileSystem - Win32 Debug--------------------
--------------------Configuration: LgLibNet - Win32 Release--------------------
</h3>
<h3>Command Lines</h3>
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1CC.tmp" with contents
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP82D.tmp" with contents
[
/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /Fp"..\..\Intermediate\6\Debug\LgLibFileSystem/LgLibFileSystem.pch" /Yu"stdafx.h" /Fo"..\..\Intermediate\6\Debug\LgLibFileSystem/" /Fd"..\..\Intermediate\6\Debug\LgLibFileSystem/" /FD /GZ /c
"C:\SXC2\LgLib\FSystem\FSClient.cpp"
"C:\SXC2\LgLib\FSystem\FSServer.cpp"
/nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /Fp"..\..\Intermediate\6\Release\LgLibNet/LgLibNet.pch" /Yu"stdafx.h" /Fo"..\..\Intermediate\6\Release\LgLibNet/" /Fd"..\..\Intermediate\6\Release\LgLibNet/" /FD /c
"D:\SXC\LgLib\Net\LgNetDevicePTZPelco.cpp"
"D:\SXC\LgLib\Net\LgNetMessagePTZPelco.cpp"
]
Creating command line "cl.exe @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1CC.tmp"
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1CD.tmp" with contents
Creating command line "cl.exe @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP82D.tmp"
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP82E.tmp" with contents
[
/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /Fp"..\..\Intermediate\6\Debug\LgLibFileSystem/LgLibFileSystem.pch" /Yc"stdafx.h" /Fo"..\..\Intermediate\6\Debug\LgLibFileSystem/" /Fd"..\..\Intermediate\6\Debug\LgLibFileSystem/" /FD /GZ /c
"C:\SXC2\LgLib\FSystem\StdAfx.cpp"
/nologo /out:"..\..\Intermediate\6\LgLibNet.lib"
\SXC\Intermediate\6\Release\LgLibNet\LgNetDevice.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetDeviceCLD.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetDeviceGPIOCOM.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetDeviceGPIOLPT.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetDeviceGPIOPCI1762.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetDeviceLGS.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetDeviceMD.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetDeviceMic1300PTZ.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetDeviceMigvanPTZ.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetDevicePTZAD.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetDevicePTZHebron.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetDevicePTZPelco.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetDevicePTZPG3AD.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetDevicePTZTKS576.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetDevicePTZVicon.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetMessage.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetMessageCLD.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetMessageDopler.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetMessageGPIO.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetMessageLGS.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetMessageMic1300PTZ.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetMessageMigvanPTZ.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetMessagePTZ.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetMessagePTZHebron.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetMessagePTZPelco.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetMessagePTZTKS576.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetMessagePTZVicon.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetObject.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetSocket.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetSocketCCC.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetSocketDevice.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetSocketMD.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetSocketMic1300PTZ.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetSocketMigvanPTZ.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetSocketPTZAD.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetSocketPTZPelco.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetSocketPTZPG3AD.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetSocketPTZTKS576.obj
\SXC\Intermediate\6\Release\LgLibNet\LgNetSocketPTZVicon.obj
\SXC\Intermediate\6\Release\LgLibNet\StdAfx.obj
]
Creating command line "cl.exe @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1CD.tmp"
Creating command line "link.exe -lib /nologo /out:"..\..\Intermediate\6\LgLibFileSystemD.lib" \SXC2\Intermediate\6\Debug\LgLibFileSystem\FSClient.obj \SXC2\Intermediate\6\Debug\LgLibFileSystem\FSServer.obj \SXC2\Intermediate\6\Debug\LgLibFileSystem\StdAfx.obj "
Creating command line "link.exe -lib @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP82E.tmp"
<h3>Output Window</h3>
Compiling...
StdAfx.cpp
Compiling...
FSClient.cpp
FSServer.cpp
Generating Code...
Creating library...
<h3>
--------------------Configuration: LgLibNet - Win32 Debug--------------------
</h3>
<h3>Command Lines</h3>
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1CE.tmp" with contents
[
/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /Fp"..\..\Intermediate\6\Debug\LgLibNet/LgLibNet.pch" /Yu"stdafx.h" /Fo"..\..\Intermediate\6\Debug\LgLibNet/" /Fd"..\..\Intermediate\6\Debug\LgLibNet/" /FD /GZ /c
"C:\SXC2\LgLib\Net\LgNetDevice.cpp"
"C:\SXC2\LgLib\Net\LgNetDeviceCLD.cpp"
"C:\SXC2\LgLib\Net\LgNetDeviceGPIOCOM.cpp"
"C:\SXC2\LgLib\Net\LgNetDeviceGPIOLPT.cpp"
"C:\SXC2\LgLib\Net\LgNetDeviceGPIOPCI1762.cpp"
"C:\SXC2\LgLib\Net\LgNetDeviceLGS.cpp"
"C:\SXC2\LgLib\Net\LgNetDeviceMD.cpp"
"C:\SXC2\LgLib\Net\LgNetDeviceMic1300PTZ.cpp"
"C:\SXC2\LgLib\Net\LgNetDeviceMigvanPTZ.cpp"
"C:\SXC2\LgLib\Net\LgNetDevicePTZAD.cpp"
"C:\SXC2\LgLib\Net\LgNetDevicePTZHebron.cpp"
"C:\SXC2\LgLib\Net\LgNetDevicePTZPelco.cpp"
"C:\SXC2\LgLib\Net\LgNetDevicePTZPG3AD.cpp"
"C:\SXC2\LgLib\Net\LgNetDevicePTZTKS576.cpp"
"C:\SXC2\LgLib\Net\LgNetDevicePTZVicon.cpp"
"C:\SXC2\LgLib\Net\LgNetMessage.cpp"
"C:\SXC2\LgLib\Net\LgNetMessageCLD.cpp"
"C:\SXC2\LgLib\Net\LgNetMessageDopler.cpp"
"C:\SXC2\LgLib\Net\LgNetMessageGPIO.cpp"
"C:\SXC2\LgLib\Net\LgNetMessageLGS.cpp"
"C:\SXC2\LgLib\Net\LgNetMessageMic1300PTZ.cpp"
"C:\SXC2\LgLib\Net\LgNetMessageMigvanPTZ.cpp"
"C:\SXC2\LgLib\Net\LgNetMessagePTZ.cpp"
"C:\SXC2\LgLib\Net\LgNetMessagePTZHebron.cpp"
"C:\SXC2\LgLib\Net\LgNetMessagePTZPelco.cpp"
"C:\SXC2\LgLib\Net\LgNetMessagePTZTKS576.cpp"
"C:\SXC2\LgLib\Net\LgNetMessagePTZVicon.cpp"
"C:\SXC2\LgLib\Net\LgNetObject.cpp"
"C:\SXC2\LgLib\Net\LgNetSocket.cpp"
"C:\SXC2\LgLib\Net\LgNetSocketCCC.cpp"
"C:\SXC2\LgLib\Net\LgNetSocketDevice.cpp"
"C:\SXC2\LgLib\Net\LgNetSocketMD.cpp"
"C:\SXC2\LgLib\Net\LgNetSocketMic1300PTZ.cpp"
"C:\SXC2\LgLib\Net\LgNetSocketMigvanPTZ.cpp"
"C:\SXC2\LgLib\Net\LgNetSocketPTZAD.cpp"
"C:\SXC2\LgLib\Net\LgNetSocketPTZPelco.cpp"
"C:\SXC2\LgLib\Net\LgNetSocketPTZPG3AD.cpp"
"C:\SXC2\LgLib\Net\LgNetSocketPTZTKS576.cpp"
"C:\SXC2\LgLib\Net\LgNetSocketPTZVicon.cpp"
]
Creating command line "cl.exe @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1CE.tmp"
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1CF.tmp" with contents
[
/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /Fp"..\..\Intermediate\6\Debug\LgLibNet/LgLibNet.pch" /Yc"stdafx.h" /Fo"..\..\Intermediate\6\Debug\LgLibNet/" /Fd"..\..\Intermediate\6\Debug\LgLibNet/" /FD /GZ /c
"C:\SXC2\LgLib\Net\StdAfx.cpp"
]
Creating command line "cl.exe @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1CF.tmp"
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1D0.tmp" with contents
[
/nologo /out:"..\..\Intermediate\6\LgLibNetD.lib"
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetDevice.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetDeviceCLD.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetDeviceGPIOCOM.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetDeviceGPIOLPT.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetDeviceGPIOPCI1762.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetDeviceLGS.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetDeviceMD.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetDeviceMic1300PTZ.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetDeviceMigvanPTZ.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetDevicePTZAD.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetDevicePTZHebron.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetDevicePTZPelco.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetDevicePTZPG3AD.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetDevicePTZTKS576.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetDevicePTZVicon.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetMessage.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetMessageCLD.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetMessageDopler.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetMessageGPIO.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetMessageLGS.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetMessageMic1300PTZ.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetMessageMigvanPTZ.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetMessagePTZ.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetMessagePTZHebron.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetMessagePTZPelco.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetMessagePTZTKS576.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetMessagePTZVicon.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetObject.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetSocket.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetSocketCCC.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetSocketDevice.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetSocketMD.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetSocketMic1300PTZ.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetSocketMigvanPTZ.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetSocketPTZAD.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetSocketPTZPelco.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetSocketPTZPG3AD.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetSocketPTZTKS576.obj
\SXC2\Intermediate\6\Debug\LgLibNet\LgNetSocketPTZVicon.obj
\SXC2\Intermediate\6\Debug\LgLibNet\StdAfx.obj
]
Creating command line "link.exe -lib @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1D0.tmp"
<h3>Output Window</h3>
Compiling...
StdAfx.cpp
Compiling...
LgNetDevice.cpp
LgNetDeviceCLD.cpp
LgNetDeviceGPIOCOM.cpp
LgNetDeviceGPIOLPT.cpp
LgNetDeviceGPIOPCI1762.cpp
LgNetDeviceLGS.cpp
LgNetDeviceMD.cpp
LgNetDeviceMic1300PTZ.cpp
LgNetDeviceMigvanPTZ.cpp
LgNetDevicePTZAD.cpp
c:\sxc2\lglib\comm\ptzad.h(245) : warning C4244: 'return' : conversion from 'unsigned long' to 'unsigned short', possible loss of data
LgNetDevicePTZHebron.cpp
c:\sxc2\lglib\comm\hebron.h(138) : warning C4244: '=' : conversion from 'unsigned long' to 'unsigned char', possible loss of data
c:\sxc2\lglib\comm\hebron.h(139) : warning C4244: '=' : conversion from 'unsigned long' to 'unsigned char', possible loss of data
c:\sxc2\lglib\comm\hebron.h(140) : warning C4244: '=' : conversion from 'unsigned long' to 'unsigned char', possible loss of data
c:\sxc2\lglib\comm\hebron.h(141) : warning C4244: '=' : conversion from 'unsigned long' to 'unsigned char', possible loss of data
LgNetDevicePTZPelco.cpp
LgNetDevicePTZPG3AD.cpp
LgNetDevicePTZTKS576.cpp
LgNetDevicePTZVicon.cpp
LgNetMessage.cpp
LgNetMessageCLD.cpp
LgNetMessageDopler.cpp
LgNetMessageGPIO.cpp
LgNetMessageLGS.cpp
Generating Code...
Compiling...
LgNetMessageMic1300PTZ.cpp
LgNetMessageMigvanPTZ.cpp
LgNetMessagePTZ.cpp
LgNetMessagePTZHebron.cpp
c:\sxc2\lglib\comm\hebron.h(138) : warning C4244: '=' : conversion from 'unsigned long' to 'unsigned char', possible loss of data
c:\sxc2\lglib\comm\hebron.h(139) : warning C4244: '=' : conversion from 'unsigned long' to 'unsigned char', possible loss of data
c:\sxc2\lglib\comm\hebron.h(140) : warning C4244: '=' : conversion from 'unsigned long' to 'unsigned char', possible loss of data
c:\sxc2\lglib\comm\hebron.h(141) : warning C4244: '=' : conversion from 'unsigned long' to 'unsigned char', possible loss of data
LgNetMessagePTZPelco.cpp
LgNetMessagePTZTKS576.cpp
LgNetMessagePTZVicon.cpp
LgNetObject.cpp
LgNetSocket.cpp
LgNetSocketCCC.cpp
LgNetSocketDevice.cpp
LgNetSocketMD.cpp
LgNetSocketMic1300PTZ.cpp
LgNetSocketMigvanPTZ.cpp
LgNetSocketPTZAD.cpp
c:\sxc2\lglib\comm\ptzad.h(245) : warning C4244: 'return' : conversion from 'unsigned long' to 'unsigned short', possible loss of data
LgNetSocketPTZPelco.cpp
LgNetSocketPTZPG3AD.cpp
LgNetSocketPTZTKS576.cpp
LgNetSocketPTZVicon.cpp
Generating Code...
Creating library...
<h3>
--------------------Configuration: LgLibRemote - Win32 Debug--------------------
--------------------Configuration: SingleIPI - Win32 Release--------------------
</h3>
<h3>Command Lines</h3>
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1D1.tmp" with contents
[
/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /Fp"..\..\Intermediate\6\Debug\LgLibRemote/LgLibRemote.pch" /Yu"stdafx.h" /Fo"..\..\Intermediate\6\Debug\LgLibRemote/" /Fd"..\..\Intermediate\6\Debug\LgLibRemote/" /FD /GZ /c
"C:\SXC2\LgLib\Remote\LgRemoteClientTcpIp.cpp"
"C:\SXC2\LgLib\Remote\LgRemoteClientTcpIpBoardReceiver.cpp"
"C:\SXC2\LgLib\Remote\LgRemoteClientTcpIpBoardReceiverClient.cpp"
"C:\SXC2\LgLib\Remote\LgRemoteClientTcpIpMaster.cpp"
"C:\SXC2\LgLib\Remote\LgRemoteClientTcpIpSlave.cpp"
"C:\SXC2\LgLib\Remote\LgRemoteInterface.cpp"
"C:\SXC2\LgLib\Remote\LgRemoteServerTcpIp.cpp"
"C:\SXC2\LgLib\Remote\LgRemoteServerTcpIpConnection.cpp"
"C:\SXC2\LgLib\Remote\LgRemoteServerTcpIpSession.cpp"
"C:\SXC2\LgLib\Remote\LgRemoteSocket.cpp"
]
Creating command line "cl.exe @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1D1.tmp"
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1D2.tmp" with contents
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP82F.tmp" with contents
[
/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /Fp"..\..\Intermediate\6\Debug\LgLibRemote/LgLibRemote.pch" /Yc"stdafx.h" /Fo"..\..\Intermediate\6\Debug\LgLibRemote/" /Fd"..\..\Intermediate\6\Debug\LgLibRemote/" /FD /GZ /c
"C:\SXC2\LgLib\Remote\StdAfx.cpp"
/nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /FR"..\Intermediate\6\Release\SingleIPI/" /Fp"..\Intermediate\6\Release\SingleIPI/SingleIPI.pch" /Yu"stdafx.h" /Fo"..\Intermediate\6\Release\SingleIPI/" /Fd"..\Intermediate\6\Release\SingleIPI/" /FD /c
"D:\SXC\SingleIPI\Application.cpp"
"D:\SXC\SingleIPI\CalibratePTZDlg.cpp"
"D:\SXC\SingleIPI\CameraDlg.cpp"
"D:\SXC\SingleIPI\CameraPtz.cpp"
"D:\SXC\SingleIPI\Fence.cpp"
"D:\SXC\SingleIPI\HZMaskDlg.cpp"
"D:\SXC\SingleIPI\Lgs.cpp"
"D:\SXC\SingleIPI\LgsRadar.cpp"
"D:\SXC\SingleIPI\PhoneDlg.cpp"
"D:\SXC\SingleIPI\PhoneEditDlg.cpp"
"D:\SXC\SingleIPI\ReportView.cpp"
"D:\SXC\SingleIPI\ServiceDlg.cpp"
"D:\SXC\SingleIPI\SetupDlg.cpp"
"D:\SXC\SingleIPI\SingleIPI.cpp"
"D:\SXC\SingleIPI\TransferDlg.cpp"
"D:\SXC\SingleIPI\VideoDirectShowWnd.cpp"
]
Creating command line "cl.exe @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1D2.tmp"
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1D3.tmp" with contents
Creating command line "cl.exe @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP82F.tmp"
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP830.tmp" with contents
[
/nologo /out:"..\..\Intermediate\6\LgLibRemoteD.lib"
\SXC2\Intermediate\6\Debug\LgLibRemote\LgRemoteClientTcpIp.obj
\SXC2\Intermediate\6\Debug\LgLibRemote\LgRemoteClientTcpIpBoardReceiver.obj
\SXC2\Intermediate\6\Debug\LgLibRemote\LgRemoteClientTcpIpBoardReceiverClient.obj
\SXC2\Intermediate\6\Debug\LgLibRemote\LgRemoteClientTcpIpMaster.obj
\SXC2\Intermediate\6\Debug\LgLibRemote\LgRemoteClientTcpIpSlave.obj
\SXC2\Intermediate\6\Debug\LgLibRemote\LgRemoteInterface.obj
\SXC2\Intermediate\6\Debug\LgLibRemote\LgRemoteServerTcpIp.obj
\SXC2\Intermediate\6\Debug\LgLibRemote\LgRemoteServerTcpIpConnection.obj
\SXC2\Intermediate\6\Debug\LgLibRemote\LgRemoteServerTcpIpSession.obj
\SXC2\Intermediate\6\Debug\LgLibRemote\LgRemoteSocket.obj
\SXC2\Intermediate\6\Debug\LgLibRemote\StdAfx.obj
"D:\SXC\MS_LIBS\Microsoft SDK\Lib\ddraw.lib" d3dx.lib d3dxd.lib tapi32.lib Msacm32.lib winmm.lib shlwapi.lib comctl32.lib vfw32.lib msimg32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib dxguid.lib "D:\SXC\MS_LIBS\Microsoft SDK\Lib\strmiids.lib" ijl15.lib Ws2_32.lib dxerr8.lib /incremental:no /pdb:"..\Intermediate\6\Release\SingleIPI/SingleIPI.pdb" /machine:IX86 /out:"..\..\test\SingleIPI.exe"
\SXC\Intermediate\6\Release\SingleIPI\AboutDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\Alarm.obj
\SXC\Intermediate\6\Release\SingleIPI\Application.obj
\SXC\Intermediate\6\Release\SingleIPI\CalibDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\CalibratePTZDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\CameraDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\CameraPtz.obj
\SXC\Intermediate\6\Release\SingleIPI\DebugConsole.obj
\SXC\Intermediate\6\Release\SingleIPI\Dialog.obj
\SXC\Intermediate\6\Release\SingleIPI\DialogItemsPosition.obj
\SXC\Intermediate\6\Release\SingleIPI\EventQueue.obj
\SXC\Intermediate\6\Release\SingleIPI\EventWnd.obj
\SXC\Intermediate\6\Release\SingleIPI\Fence.obj
\SXC\Intermediate\6\Release\SingleIPI\GenericWnd.obj
\SXC\Intermediate\6\Release\SingleIPI\HZMaskDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\ImageButton.obj
\SXC\Intermediate\6\Release\SingleIPI\ImageWnd.obj
\SXC\Intermediate\6\Release\SingleIPI\LgMemoryDC.obj
\SXC\Intermediate\6\Release\SingleIPI\Lgs.obj
\SXC\Intermediate\6\Release\SingleIPI\LgsBR.obj
\SXC\Intermediate\6\Release\SingleIPI\LgSocketServer.obj
\SXC\Intermediate\6\Release\SingleIPI\LgsRadar.obj
\SXC\Intermediate\6\Release\SingleIPI\LgsStateWnd.obj
\SXC\Intermediate\6\Release\SingleIPI\LgWatchDog.obj
\SXC\Intermediate\6\Release\SingleIPI\LgWnd.obj
\SXC\Intermediate\6\Release\SingleIPI\LocatorWnd.obj
\SXC\Intermediate\6\Release\SingleIPI\LogFiles.obj
\SXC\Intermediate\6\Release\SingleIPI\MessageBox.obj
\SXC\Intermediate\6\Release\SingleIPI\MessageDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\PasswordDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\PhoneCallCenter.obj
\SXC\Intermediate\6\Release\SingleIPI\PhoneDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\PhoneEditDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\Polygon.obj
\SXC\Intermediate\6\Release\SingleIPI\Preview.obj
\SXC\Intermediate\6\Release\SingleIPI\Profile.obj
\SXC\Intermediate\6\Release\SingleIPI\ReportServer.obj
\SXC\Intermediate\6\Release\SingleIPI\ReportView.obj
\SXC\Intermediate\6\Release\SingleIPI\ServiceDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\SetupDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\SetupFixedVideoDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\SetupPtzDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\SingleIPI.obj
\SXC\Intermediate\6\Release\SingleIPI\Spinner.obj
\SXC\Intermediate\6\Release\SingleIPI\StdAfx.obj
\SXC\Intermediate\6\Release\SingleIPI\Transfer.obj
\SXC\Intermediate\6\Release\SingleIPI\TransferDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\Transform.obj
\SXC\Intermediate\6\Release\SingleIPI\VideoDirectShowStation.obj
\SXC\Intermediate\6\Release\SingleIPI\VideoDirectShowWnd.obj
\SXC\Intermediate\6\Release\SingleIPI\VideoForWindowsWnd.obj
\SXC\Intermediate\6\Release\SingleIPI\VideoFrameGrabberWnd.obj
\SXC\Intermediate\6\Release\SingleIPI\VideoStaticWnd.obj
\SXC\Intermediate\6\Release\SingleIPI\VideoStation.obj
\SXC\Intermediate\6\Release\SingleIPI\VideoWnd.obj
\SXC\Intermediate\6\Release\SingleIPI\SingleIPI.res
\SXC\Intermediate\6\LgLib.lib
\SXC\Intermediate\6\LgLibComm.lib
\SXC\Intermediate\6\LgLibDevice.lib
\SXC\Intermediate\6\LgLibFileSystem.lib
\SXC\Intermediate\6\LgLibKernelIO.lib
\SXC\Intermediate\6\LgLibNet.lib
\SXC\Intermediate\6\LgLibRemote.lib
\SXC\Intermediate\6\LgLibSocket.lib
\SXC\Intermediate\6\LgLibVideo.lib
\SXC\Intermediate\6\LgLibModem.lib
\SXC\Intermediate\6\LgLibAdvantech.lib
\SXC\Intermediate\6\LgLibDirectDraw.lib
\SXC\Intermediate\6\LgLibMaskSchedule.lib
\SXC\Intermediate\6\Release\LgLibReport\Report.lib
]
Creating command line "link.exe -lib @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1D3.tmp"
Creating command line "link.exe @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP830.tmp"
<h3>Output Window</h3>
Compiling...
StdAfx.cpp
Compiling...
LgRemoteClientTcpIp.cpp
LgRemoteClientTcpIpBoardReceiver.cpp
LgRemoteClientTcpIpBoardReceiverClient.cpp
LgRemoteClientTcpIpMaster.cpp
LgRemoteClientTcpIpSlave.cpp
LgRemoteInterface.cpp
LgRemoteServerTcpIp.cpp
LgRemoteServerTcpIpConnection.cpp
LgRemoteServerTcpIpSession.cpp
LgRemoteSocket.cpp
Application.cpp
CalibratePTZDlg.cpp
CameraDlg.cpp
CameraPtz.cpp
Fence.cpp
HZMaskDlg.cpp
Lgs.cpp
LgsRadar.cpp
PhoneDlg.cpp
PhoneEditDlg.cpp
ReportView.cpp
ServiceDlg.cpp
SetupDlg.cpp
SingleIPI.cpp
TransferDlg.cpp
VideoDirectShowWnd.cpp
Generating Code...
Creating library...
<h3>
--------------------Configuration: LgLibSocket - Win32 Debug--------------------
</h3>
<h3>Command Lines</h3>
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1D4.tmp" with contents
[
/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /Fp"..\..\Intermediate\6\Debug\LgLibSocket/LgLibSocket.pch" /Yu"stdafx.h" /Fo"..\..\Intermediate\6\Debug\LgLibSocket/" /Fd"..\..\Intermediate\6\Debug\LgLibSocket/" /FD /GZ /c
"C:\SXC2\LgLib\Socket\LgSocket.cpp"
"C:\SXC2\LgLib\Socket\LgSocketClient.cpp"
"C:\SXC2\LgLib\Socket\LgSocketServer.cpp"
"C:\SXC2\LgLib\Socket\LgSocketServerConnection.cpp"
]
Creating command line "cl.exe @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1D4.tmp"
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1D5.tmp" with contents
[
/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /Fp"..\..\Intermediate\6\Debug\LgLibSocket/LgLibSocket.pch" /Yc"stdafx.h" /Fo"..\..\Intermediate\6\Debug\LgLibSocket/" /Fd"..\..\Intermediate\6\Debug\LgLibSocket/" /FD /GZ /c
"C:\SXC2\LgLib\Socket\StdAfx.cpp"
]
Creating command line "cl.exe @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1D5.tmp"
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1D6.tmp" with contents
[
/nologo /out:"..\..\Intermediate\6\LgLibSocketD.lib"
\SXC2\Intermediate\6\Debug\LgLibSocket\LgSocket.obj
\SXC2\Intermediate\6\Debug\LgLibSocket\LgSocketClient.obj
\SXC2\Intermediate\6\Debug\LgLibSocket\LgSocketServer.obj
\SXC2\Intermediate\6\Debug\LgLibSocket\LgSocketServerConnection.obj
\SXC2\Intermediate\6\Debug\LgLibSocket\StdAfx.obj
]
Creating command line "link.exe -lib @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1D6.tmp"
<h3>Output Window</h3>
Compiling...
StdAfx.cpp
Compiling...
LgSocket.cpp
LgSocketClient.cpp
LgSocketServer.cpp
LgSocketServerConnection.cpp
Generating Code...
Creating library...
<h3>
--------------------Configuration: LgLibVideo - Win32 Debug--------------------
</h3>
<h3>Command Lines</h3>
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1D7.tmp" with contents
[
/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /Fp"..\..\Intermediate\6\Debug\LgLibVideo/LgLibVideo.pch" /Yu"stdafx.h" /Fo"..\..\Intermediate\6\Debug\LgLibVideo/" /Fd"..\..\Intermediate\6\Debug\LgLibVideo/" /FD /GZ /c
"C:\SXC2\LgLib\Video\DirectShowBase.cpp"
"C:\SXC2\LgLib\Video\DirectShowSampleGrabberCB.cpp"
"C:\SXC2\LgLib\Video\DirectShowStream.cpp"
"C:\SXC2\LgLib\Video\DirectShowStreamMovie.cpp"
"C:\SXC2\LgLib\Video\DirectShowStreamVideo.cpp"
"C:\SXC2\LgLib\Video\DirectShowVideo.cpp"
"C:\SXC2\LgLib\Video\LgDirectShowCaptureGraph.cpp"
"C:\SXC2\LgLib\Video\LgDirectShowVideoInputEnum.cpp"
]
Creating command line "cl.exe @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1D7.tmp"
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1D8.tmp" with contents
[
/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /Fp"..\..\Intermediate\6\Debug\LgLibVideo/LgLibVideo.pch" /Yc"stdafx.h" /Fo"..\..\Intermediate\6\Debug\LgLibVideo/" /Fd"..\..\Intermediate\6\Debug\LgLibVideo/" /FD /GZ /c
"C:\SXC2\LgLib\Video\StdAfx.cpp"
]
Creating command line "cl.exe @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1D8.tmp"
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1D9.tmp" with contents
[
/nologo /out:"..\..\Intermediate\6\LgLibVideoD.lib"
\SXC2\Intermediate\6\Debug\LgLibVideo\DirectShowBase.obj
\SXC2\Intermediate\6\Debug\LgLibVideo\DirectShowSampleGrabberCB.obj
\SXC2\Intermediate\6\Debug\LgLibVideo\DirectShowStream.obj
\SXC2\Intermediate\6\Debug\LgLibVideo\DirectShowStreamMovie.obj
\SXC2\Intermediate\6\Debug\LgLibVideo\DirectShowStreamVideo.obj
\SXC2\Intermediate\6\Debug\LgLibVideo\DirectShowVideo.obj
\SXC2\Intermediate\6\Debug\LgLibVideo\LgDirectShowCaptureGraph.obj
\SXC2\Intermediate\6\Debug\LgLibVideo\LgDirectShowVideoInputEnum.obj
\SXC2\Intermediate\6\Debug\LgLibVideo\StdAfx.obj
]
Creating command line "link.exe -lib @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1D9.tmp"
<h3>Output Window</h3>
Compiling...
StdAfx.cpp
Compiling...
DirectShowBase.cpp
DirectShowSampleGrabberCB.cpp
DirectShowStream.cpp
DirectShowStreamMovie.cpp
DirectShowStreamVideo.cpp
DirectShowVideo.cpp
LgDirectShowCaptureGraph.cpp
LgDirectShowVideoInputEnum.cpp
Generating Code...
Creating library...
<h3>
--------------------Configuration: LgLibModem - Win32 Debug--------------------
</h3>
<h3>Command Lines</h3>
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1DA.tmp" with contents
[
/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /Fp"..\..\Intermediate\6\Debug\LgLibModem/LgLibModem.pch" /Yu"stdafx.h" /Fo"..\..\Intermediate\6\Debug\LgLibModem/" /Fd"..\..\Intermediate\6\Debug\LgLibModem/" /FD /GZ /c
"C:\SXC2\LgLib\Modem\LgModem.cpp"
]
Creating command line "cl.exe @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1DA.tmp"
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1DB.tmp" with contents
Linking...
Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
"D:\SXC\MS_LIBS\Microsoft SDK\Lib\ddraw.lib" d3dx.lib d3dxd.lib tapi32.lib Msacm32.lib winmm.lib shlwapi.lib comctl32.lib vfw32.lib msimg32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib dxguid.lib "D:\SXC\MS_LIBS\Microsoft SDK\Lib\strmiids.lib" ijl15.lib Ws2_32.lib dxerr8.lib /incremental:no "/pdb:..\Intermediate\6\Release\SingleIPI/SingleIPI.pdb" /machine:IX86 "/out:..\..\test\SingleIPI.exe"
\SXC\Intermediate\6\Release\SingleIPI\AboutDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\Alarm.obj
\SXC\Intermediate\6\Release\SingleIPI\Application.obj
\SXC\Intermediate\6\Release\SingleIPI\CalibDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\CalibratePTZDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\CameraDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\CameraPtz.obj
\SXC\Intermediate\6\Release\SingleIPI\DebugConsole.obj
\SXC\Intermediate\6\Release\SingleIPI\Dialog.obj
\SXC\Intermediate\6\Release\SingleIPI\DialogItemsPosition.obj
\SXC\Intermediate\6\Release\SingleIPI\EventQueue.obj
\SXC\Intermediate\6\Release\SingleIPI\EventWnd.obj
\SXC\Intermediate\6\Release\SingleIPI\Fence.obj
\SXC\Intermediate\6\Release\SingleIPI\GenericWnd.obj
\SXC\Intermediate\6\Release\SingleIPI\HZMaskDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\ImageButton.obj
\SXC\Intermediate\6\Release\SingleIPI\ImageWnd.obj
\SXC\Intermediate\6\Release\SingleIPI\LgMemoryDC.obj
\SXC\Intermediate\6\Release\SingleIPI\Lgs.obj
\SXC\Intermediate\6\Release\SingleIPI\LgsBR.obj
\SXC\Intermediate\6\Release\SingleIPI\LgSocketServer.obj
\SXC\Intermediate\6\Release\SingleIPI\LgsRadar.obj
\SXC\Intermediate\6\Release\SingleIPI\LgsStateWnd.obj
\SXC\Intermediate\6\Release\SingleIPI\LgWatchDog.obj
\SXC\Intermediate\6\Release\SingleIPI\LgWnd.obj
\SXC\Intermediate\6\Release\SingleIPI\LocatorWnd.obj
\SXC\Intermediate\6\Release\SingleIPI\LogFiles.obj
\SXC\Intermediate\6\Release\SingleIPI\MessageBox.obj
\SXC\Intermediate\6\Release\SingleIPI\MessageDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\PasswordDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\PhoneCallCenter.obj
\SXC\Intermediate\6\Release\SingleIPI\PhoneDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\PhoneEditDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\Polygon.obj
\SXC\Intermediate\6\Release\SingleIPI\Preview.obj
\SXC\Intermediate\6\Release\SingleIPI\Profile.obj
\SXC\Intermediate\6\Release\SingleIPI\ReportServer.obj
\SXC\Intermediate\6\Release\SingleIPI\ReportView.obj
\SXC\Intermediate\6\Release\SingleIPI\ServiceDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\SetupDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\SetupFixedVideoDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\SetupPtzDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\SingleIPI.obj
\SXC\Intermediate\6\Release\SingleIPI\Spinner.obj
\SXC\Intermediate\6\Release\SingleIPI\StdAfx.obj
\SXC\Intermediate\6\Release\SingleIPI\Transfer.obj
\SXC\Intermediate\6\Release\SingleIPI\TransferDlg.obj
\SXC\Intermediate\6\Release\SingleIPI\Transform.obj
\SXC\Intermediate\6\Release\SingleIPI\VideoDirectShowStation.obj
\SXC\Intermediate\6\Release\SingleIPI\VideoDirectShowWnd.obj
\SXC\Intermediate\6\Release\SingleIPI\VideoForWindowsWnd.obj
\SXC\Intermediate\6\Release\SingleIPI\VideoFrameGrabberWnd.obj
\SXC\Intermediate\6\Release\SingleIPI\VideoStaticWnd.obj
\SXC\Intermediate\6\Release\SingleIPI\VideoStation.obj
\SXC\Intermediate\6\Release\SingleIPI\VideoWnd.obj
\SXC\Intermediate\6\Release\SingleIPI\SingleIPI.res
\SXC\Intermediate\6\LgLib.lib
\SXC\Intermediate\6\LgLibComm.lib
\SXC\Intermediate\6\LgLibDevice.lib
\SXC\Intermediate\6\LgLibFileSystem.lib
\SXC\Intermediate\6\LgLibKernelIO.lib
\SXC\Intermediate\6\LgLibNet.lib
\SXC\Intermediate\6\LgLibRemote.lib
\SXC\Intermediate\6\LgLibSocket.lib
\SXC\Intermediate\6\LgLibVideo.lib
\SXC\Intermediate\6\LgLibModem.lib
\SXC\Intermediate\6\LgLibAdvantech.lib
\SXC\Intermediate\6\LgLibDirectDraw.lib
\SXC\Intermediate\6\LgLibMaskSchedule.lib
\SXC\Intermediate\6\Release\LgLibReport\Report.lib
LINK : warning LNK4089: all references to "OLEPRO32.DLL" discarded by /OPT:REF
Creating temporary file "C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP832.tmp" with contents
[
/nologo /out:"..\..\Intermediate\6\LgLibModemD.lib"
\SXC2\Intermediate\6\Debug\LgLibModem\LgModem.obj
\SXC2\Intermediate\6\Debug\LgLibModem\LgSpeechPlayer.obj
\SXC2\Intermediate\6\Debug\LgLibModem\LgVoiceModem.obj
\SXC2\Intermediate\6\Debug\LgLibModem\LgVoiceModemCallCenter.obj
\SXC2\Intermediate\6\Debug\LgLibModem\LgWaveFile.obj
\SXC2\Intermediate\6\Debug\LgLibModem\LgWavePlayer.obj
\SXC2\Intermediate\6\Debug\LgLibModem\StdAfx.obj
]
Creating command line "link.exe -lib @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP1DB.tmp"
/nologo /o"..\Intermediate\6\Release\SingleIPI/SingleIPI.bsc"
\SXC\Intermediate\6\Release\SingleIPI\StdAfx.sbr
\SXC\Intermediate\6\Release\SingleIPI\AboutDlg.sbr
\SXC\Intermediate\6\Release\SingleIPI\Alarm.sbr
\SXC\Intermediate\6\Release\SingleIPI\Application.sbr
\SXC\Intermediate\6\Release\SingleIPI\CalibDlg.sbr
\SXC\Intermediate\6\Release\SingleIPI\CalibratePTZDlg.sbr
\SXC\Intermediate\6\Release\SingleIPI\CameraDlg.sbr
\SXC\Intermediate\6\Release\SingleIPI\CameraPtz.sbr
\SXC\Intermediate\6\Release\SingleIPI\DebugConsole.sbr
\SXC\Intermediate\6\Release\SingleIPI\Dialog.sbr
\SXC\Intermediate\6\Release\SingleIPI\DialogItemsPosition.sbr
\SXC\Intermediate\6\Release\SingleIPI\EventQueue.sbr
\SXC\Intermediate\6\Release\SingleIPI\EventWnd.sbr
\SXC\Intermediate\6\Release\SingleIPI\Fence.sbr
\SXC\Intermediate\6\Release\SingleIPI\GenericWnd.sbr
\SXC\Intermediate\6\Release\SingleIPI\HZMaskDlg.sbr
\SXC\Intermediate\6\Release\SingleIPI\ImageButton.sbr
\SXC\Intermediate\6\Release\SingleIPI\ImageWnd.sbr
\SXC\Intermediate\6\Release\SingleIPI\LgMemoryDC.sbr
\SXC\Intermediate\6\Release\SingleIPI\Lgs.sbr
\SXC\Intermediate\6\Release\SingleIPI\LgsBR.sbr
\SXC\Intermediate\6\Release\SingleIPI\LgSocketServer.sbr
\SXC\Intermediate\6\Release\SingleIPI\LgsRadar.sbr
\SXC\Intermediate\6\Release\SingleIPI\LgsStateWnd.sbr
\SXC\Intermediate\6\Release\SingleIPI\LgWatchDog.sbr
\SXC\Intermediate\6\Release\SingleIPI\LgWnd.sbr
\SXC\Intermediate\6\Release\SingleIPI\LocatorWnd.sbr
\SXC\Intermediate\6\Release\SingleIPI\LogFiles.sbr
\SXC\Intermediate\6\Release\SingleIPI\MessageBox.sbr
\SXC\Intermediate\6\Release\SingleIPI\MessageDlg.sbr
\SXC\Intermediate\6\Release\SingleIPI\PasswordDlg.sbr
\SXC\Intermediate\6\Release\SingleIPI\PhoneCallCenter.sbr
\SXC\Intermediate\6\Release\SingleIPI\PhoneDlg.sbr
\SXC\Intermediate\6\Release\SingleIPI\PhoneEditDlg.sbr
\SXC\Intermediate\6\Release\SingleIPI\Polygon.sbr
\SXC\Intermediate\6\Release\SingleIPI\Preview.sbr
\SXC\Intermediate\6\Release\SingleIPI\Profile.sbr
\SXC\Intermediate\6\Release\SingleIPI\ReportServer.sbr
\SXC\Intermediate\6\Release\SingleIPI\ReportView.sbr
\SXC\Intermediate\6\Release\SingleIPI\ServiceDlg.sbr
\SXC\Intermediate\6\Release\SingleIPI\SetupDlg.sbr
\SXC\Intermediate\6\Release\SingleIPI\SetupFixedVideoDlg.sbr
\SXC\Intermediate\6\Release\SingleIPI\SetupPtzDlg.sbr
\SXC\Intermediate\6\Release\SingleIPI\SingleIPI.sbr
\SXC\Intermediate\6\Release\SingleIPI\Spinner.sbr
\SXC\Intermediate\6\Release\SingleIPI\Transfer.sbr
\SXC\Intermediate\6\Release\SingleIPI\TransferDlg.sbr
\SXC\Intermediate\6\Release\SingleIPI\Transform.sbr
\SXC\Intermediate\6\Release\SingleIPI\VideoDirectShowStation.sbr
\SXC\Intermediate\6\Release\SingleIPI\VideoDirectShowWnd.sbr
\SXC\Intermediate\6\Release\SingleIPI\VideoForWindowsWnd.sbr
\SXC\Intermediate\6\Release\SingleIPI\VideoFrameGrabberWnd.sbr
\SXC\Intermediate\6\Release\SingleIPI\VideoStaticWnd.sbr
\SXC\Intermediate\6\Release\SingleIPI\VideoStation.sbr
\SXC\Intermediate\6\Release\SingleIPI\VideoWnd.sbr]
Creating command line "bscmake.exe @C:\DOCUME~1\TestSt\LOCALS~1\Temp\RSP832.tmp"
Creating browse info file...
<h3>Output Window</h3>
Compiling...
LgModem.cpp
C:\SXC2\LgLib\Modem\LgModem.cpp(706) : error C2065: 'LINEERR_USERCANCELLED' : undeclared identifier
C:\SXC2\LgLib\Modem\LgModem.cpp(706) : error C2051: case expression not constant
C:\SXC2\LgLib\Modem\LgModem.cpp(712) : error C2065: 'LINEERR_INVALAGENTSESSIONSTATE' : undeclared identifier
C:\SXC2\LgLib\Modem\LgModem.cpp(712) : error C2051: case expression not constant
C:\SXC2\LgLib\Modem\LgModem.cpp(713) : error C2065: 'LINEERR_DISCONNECTED' : undeclared identifier
C:\SXC2\LgLib\Modem\LgModem.cpp(713) : error C2051: case expression not constant
C:\SXC2\LgLib\Modem\LgModem.cpp(714) : error C2065: 'LINEERR_SERVICE_NOT_RUNNING' : undeclared identifier
C:\SXC2\LgLib\Modem\LgModem.cpp(714) : error C2051: case expression not constant
Error executing cl.exe.
<h3>Results</h3>
SingleIPI.exe - 8 error(s), 18 warning(s)
SingleIPI.exe - 0 error(s), 1 warning(s)
</pre>
</body>
</html>

247
SingleIPI/SingleIPI.sln

@ -1,111 +1,210 @@
Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Microsoft Visual Studio Solution File, Format Version 8.00
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LgLib", "..\LgLib\LgLib.vcproj", "{561D4B62-2518-405D-A151-68351D821A14}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LgLibAdvantech", "..\LgLib\Advantech\LgLibAdvantech.vcproj", "{8AC30DD0-CCB9-45AD-945D-03AA30D18C40}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LgLibComm", "..\LgLib\Comm\LgLibComm.vcproj", "{237D8F15-A5D9-44DA-A393-3FE9538FD584}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LgLibDevice", "..\LGLIB\Device\LgLibDevice.vcproj", "{E29E2C37-2257-4615-8028-093363424FAD}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LgLibDirectDraw", "..\LgLib\DirectDraw\LgLibDirectDraw.vcproj", "{FA811F07-FD75-45C5-809B-92CD6D762112}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LgLibFileSystem", "..\LgLib\FSystem\LgLibFileSystem.vcproj", "{78FB6B73-8DCF-4910-A0AB-F710B1BA9439}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LgLibKernelIO", "..\LgLib\KernelIO\LgLibKernelIO.vcproj", "{89B8A505-2626-4933-9724-4B86C9FF5137}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LgLibModem", "..\LgLib\Modem\LgLibModem.vcproj", "{F0403D8C-15F0-4E96-8A9D-0ECF29828D68}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LgLibNet", "..\LgLib\Net\LgLibNet.vcproj", "{B0115D06-704D-43A4-B29E-9C89879555F1}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LgLibRemote", "..\LgLib\Remote\LgLibRemote.vcproj", "{E6C63D55-F43A-4D0D-B9AF-E8098348C3EC}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LgLibSocket", "..\LgLib\Socket\LgLibSocket.vcproj", "{040F5FA5-1137-44FA-A326-E441ECE2C635}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LgLibVideo", "..\LgLib\Video\LgLibVideo.vcproj", "{5F0BE4DD-03D5-4110-9073-BC22E43AA7B7}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SingleIPI", "SingleIPI.vcproj", "{8CEDFF82-F803-4B68-B895-05C3ECBA427A}"
ProjectSection(ProjectDependencies) = postProject
{89B8A505-2626-4933-9724-4B86C9FF5137} = {89B8A505-2626-4933-9724-4B86C9FF5137}
{B0115D06-704D-43A4-B29E-9C89879555F1} = {B0115D06-704D-43A4-B29E-9C89879555F1}
{FA811F07-FD75-45C5-809B-92CD6D762112} = {FA811F07-FD75-45C5-809B-92CD6D762112}
{237D8F15-A5D9-44DA-A393-3FE9538FD584} = {237D8F15-A5D9-44DA-A393-3FE9538FD584}
{E29E2C37-2257-4615-8028-093363424FAD} = {E29E2C37-2257-4615-8028-093363424FAD}
{E6C63D55-F43A-4D0D-B9AF-E8098348C3EC} = {E6C63D55-F43A-4D0D-B9AF-E8098348C3EC}
{561D4B62-2518-405D-A151-68351D821A14} = {561D4B62-2518-405D-A151-68351D821A14}
{78FB6B73-8DCF-4910-A0AB-F710B1BA9439} = {78FB6B73-8DCF-4910-A0AB-F710B1BA9439}
{8AC30DD0-CCB9-45AD-945D-03AA30D18C40} = {8AC30DD0-CCB9-45AD-945D-03AA30D18C40}
{F0403D8C-15F0-4E96-8A9D-0ECF29828D68} = {F0403D8C-15F0-4E96-8A9D-0ECF29828D68}
{89B8A505-2626-4933-9724-4B86C9FF5137} = {89B8A505-2626-4933-9724-4B86C9FF5137}
{78FB6B73-8DCF-4910-A0AB-F710B1BA9439} = {78FB6B73-8DCF-4910-A0AB-F710B1BA9439}
{E29E2C37-2257-4615-8028-093363424FAD} = {E29E2C37-2257-4615-8028-093363424FAD}
{040F5FA5-1137-44FA-A326-E441ECE2C635} = {040F5FA5-1137-44FA-A326-E441ECE2C635}
{8AC30DD0-CCB9-45AD-945D-03AA30D18C40} = {8AC30DD0-CCB9-45AD-945D-03AA30D18C40}
{E6C63D55-F43A-4D0D-B9AF-E8098348C3EC} = {E6C63D55-F43A-4D0D-B9AF-E8098348C3EC}
{B0115D06-704D-43A4-B29E-9C89879555F1} = {B0115D06-704D-43A4-B29E-9C89879555F1}
{5F0BE4DD-03D5-4110-9073-BC22E43AA7B7} = {5F0BE4DD-03D5-4110-9073-BC22E43AA7B7}
{237D8F15-A5D9-44DA-A393-3FE9538FD584} = {237D8F15-A5D9-44DA-A393-3FE9538FD584}
{561D4B62-2518-405D-A151-68351D821A14} = {561D4B62-2518-405D-A151-68351D821A14}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LgLibMaskSchedule", "..\LgLib\MaskSchedule\LgLibMaskSchedule.vcproj", "{3CA21EC5-35A4-4B1F-BCC5-247E99322C4A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
GlobalSection(SourceCodeControl) = preSolution
SccNumberOfProjects = 13
SccProjectUniqueName0 = ..\\LgLib\\LgLib.vcproj
SccProjectName0 = \u0022$/System/System\u0022,\u0020TRFAAAAA
SccLocalPath0 = ..\\system
SccProvider0 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
CanCheckoutShared = false
SccProjectFilePathRelativizedFromConnection0 = ..\\LgLib\\
SccProjectUniqueName1 = ..\\LgLib\\Advantech\\LgLibAdvantech.vcproj
SccProjectName1 = \u0022$/System/System\u0022,\u0020TRFAAAAA
SccLocalPath1 = ..\\system
SccProvider1 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
CanCheckoutShared = false
SccProjectFilePathRelativizedFromConnection1 = ..\\LgLib\\Advantech\\
SccProjectUniqueName2 = ..\\LgLib\\Comm\\LgLibComm.vcproj
SccProjectName2 = \u0022$/System/System\u0022,\u0020TRFAAAAA
SccLocalPath2 = ..\\system
SccProvider2 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
CanCheckoutShared = false
SccProjectFilePathRelativizedFromConnection2 = ..\\LgLib\\Comm\\
SccProjectUniqueName3 = ..\\LGLIB\\Device\\LgLibDevice.vcproj
SccProjectName3 = \u0022$/System/System\u0022,\u0020TRFAAAAA
SccLocalPath3 = ..\\system
SccProvider3 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
CanCheckoutShared = false
SccProjectFilePathRelativizedFromConnection3 = ..\\LGLIB\\Device\\
SccProjectUniqueName4 = ..\\LgLib\\DirectDraw\\LgLibDirectDraw.vcproj
SccProjectName4 = \u0022$/System/System\u0022,\u0020TRFAAAAA
SccLocalPath4 = ..\\system
SccProvider4 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
CanCheckoutShared = false
SccProjectFilePathRelativizedFromConnection4 = ..\\LgLib\\DirectDraw\\
SccProjectUniqueName5 = ..\\LgLib\\FSystem\\LgLibFileSystem.vcproj
SccProjectName5 = \u0022$/System/System\u0022,\u0020TRFAAAAA
SccLocalPath5 = ..\\system
SccProvider5 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
CanCheckoutShared = false
SccProjectFilePathRelativizedFromConnection5 = ..\\LgLib\\FSystem\\
SccProjectUniqueName6 = ..\\LgLib\\KernelIO\\LgLibKernelIO.vcproj
SccProjectName6 = \u0022$/System/System\u0022,\u0020TRFAAAAA
SccLocalPath6 = ..\\system
SccProvider6 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
CanCheckoutShared = false
SccProjectFilePathRelativizedFromConnection6 = ..\\LgLib\\KernelIO\\
SccProjectUniqueName7 = ..\\LgLib\\Modem\\LgLibModem.vcproj
SccProjectName7 = \u0022$/System/System\u0022,\u0020TRFAAAAA
SccLocalPath7 = ..\\system
SccProvider7 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
CanCheckoutShared = false
SccProjectFilePathRelativizedFromConnection7 = ..\\LgLib\\Modem\\
SccProjectUniqueName8 = ..\\LgLib\\Net\\LgLibNet.vcproj
SccProjectName8 = \u0022$/System/System\u0022,\u0020TRFAAAAA
SccLocalPath8 = ..\\system
SccProvider8 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
CanCheckoutShared = false
SccProjectFilePathRelativizedFromConnection8 = ..\\LgLib\\Net\\
SccProjectUniqueName9 = ..\\LgLib\\Remote\\LgLibRemote.vcproj
SccProjectName9 = \u0022$/System/System\u0022,\u0020TRFAAAAA
SccLocalPath9 = ..\\system
SccProvider9 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
CanCheckoutShared = false
SccProjectFilePathRelativizedFromConnection9 = ..\\LgLib\\Remote\\
SccProjectUniqueName10 = ..\\LgLib\\Socket\\LgLibSocket.vcproj
SccProjectName10 = \u0022$/System/System\u0022,\u0020TRFAAAAA
SccLocalPath10 = ..\\system
SccProvider10 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
CanCheckoutShared = false
SccProjectFilePathRelativizedFromConnection10 = ..\\LgLib\\Socket\\
SccProjectUniqueName11 = ..\\LgLib\\Video\\LgLibVideo.vcproj
SccProjectName11 = \u0022$/System/System\u0022,\u0020TRFAAAAA
SccLocalPath11 = ..\\system
SccProvider11 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
CanCheckoutShared = false
SccProjectFilePathRelativizedFromConnection11 = ..\\LgLib\\Video\\
SccProjectUniqueName12 = SingleIPI.vcproj
SccProjectName12 = \u0022$/System/System\u0022,\u0020TRFAAAAA
SccLocalPath12 = ..\\system
SccProvider12 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
CanCheckoutShared = false
SccProjectFilePathRelativizedFromConnection12 = ..\\SingleIPI\\
EndGlobalSection
GlobalSection(SolutionConfiguration) = preSolution
Debug = Debug
Release = Release
EndGlobalSection
GlobalSection(ProjectConfiguration) = postSolution
{561D4B62-2518-405D-A151-68351D821A14}.Debug.ActiveCfg = Debug|Win32
{561D4B62-2518-405D-A151-68351D821A14}.Debug.Build.0 = Debug|Win32
{561D4B62-2518-405D-A151-68351D821A14}.Release.ActiveCfg = Release|Win32
{561D4B62-2518-405D-A151-68351D821A14}.Release.Build.0 = Release|Win32
{8AC30DD0-CCB9-45AD-945D-03AA30D18C40}.Debug.ActiveCfg = Debug|Win32
{8AC30DD0-CCB9-45AD-945D-03AA30D18C40}.Debug.Build.0 = Debug|Win32
{8AC30DD0-CCB9-45AD-945D-03AA30D18C40}.Release.ActiveCfg = Release|Win32
{8AC30DD0-CCB9-45AD-945D-03AA30D18C40}.Release.Build.0 = Release|Win32
{237D8F15-A5D9-44DA-A393-3FE9538FD584}.Debug.ActiveCfg = Debug|Win32
{237D8F15-A5D9-44DA-A393-3FE9538FD584}.Debug.Build.0 = Debug|Win32
{237D8F15-A5D9-44DA-A393-3FE9538FD584}.Release.ActiveCfg = Release|Win32
{237D8F15-A5D9-44DA-A393-3FE9538FD584}.Release.Build.0 = Release|Win32
{E29E2C37-2257-4615-8028-093363424FAD}.Debug.ActiveCfg = Debug|Win32
{E29E2C37-2257-4615-8028-093363424FAD}.Debug.Build.0 = Debug|Win32
{E29E2C37-2257-4615-8028-093363424FAD}.Release.ActiveCfg = Release|Win32
{E29E2C37-2257-4615-8028-093363424FAD}.Release.Build.0 = Release|Win32
{FA811F07-FD75-45C5-809B-92CD6D762112}.Debug.ActiveCfg = Debug|Win32
{FA811F07-FD75-45C5-809B-92CD6D762112}.Debug.Build.0 = Debug|Win32
{FA811F07-FD75-45C5-809B-92CD6D762112}.Release.ActiveCfg = Release|Win32
{FA811F07-FD75-45C5-809B-92CD6D762112}.Release.Build.0 = Release|Win32
{78FB6B73-8DCF-4910-A0AB-F710B1BA9439}.Debug.ActiveCfg = Debug|Win32
{78FB6B73-8DCF-4910-A0AB-F710B1BA9439}.Debug.Build.0 = Debug|Win32
{78FB6B73-8DCF-4910-A0AB-F710B1BA9439}.Release.ActiveCfg = Release|Win32
{78FB6B73-8DCF-4910-A0AB-F710B1BA9439}.Release.Build.0 = Release|Win32
{89B8A505-2626-4933-9724-4B86C9FF5137}.Debug.ActiveCfg = Debug|Win32
{89B8A505-2626-4933-9724-4B86C9FF5137}.Debug.Build.0 = Debug|Win32
{89B8A505-2626-4933-9724-4B86C9FF5137}.Release.ActiveCfg = Release|Win32
{89B8A505-2626-4933-9724-4B86C9FF5137}.Release.Build.0 = Release|Win32
{F0403D8C-15F0-4E96-8A9D-0ECF29828D68}.Debug.ActiveCfg = Debug|Win32
{F0403D8C-15F0-4E96-8A9D-0ECF29828D68}.Debug.Build.0 = Debug|Win32
{F0403D8C-15F0-4E96-8A9D-0ECF29828D68}.Release.ActiveCfg = Release|Win32
{F0403D8C-15F0-4E96-8A9D-0ECF29828D68}.Release.Build.0 = Release|Win32
{B0115D06-704D-43A4-B29E-9C89879555F1}.Debug.ActiveCfg = Debug|Win32
{B0115D06-704D-43A4-B29E-9C89879555F1}.Debug.Build.0 = Debug|Win32
{B0115D06-704D-43A4-B29E-9C89879555F1}.Release.ActiveCfg = Release|Win32
{B0115D06-704D-43A4-B29E-9C89879555F1}.Release.Build.0 = Release|Win32
{E6C63D55-F43A-4D0D-B9AF-E8098348C3EC}.Debug.ActiveCfg = Debug|Win32
{E6C63D55-F43A-4D0D-B9AF-E8098348C3EC}.Debug.Build.0 = Debug|Win32
{E6C63D55-F43A-4D0D-B9AF-E8098348C3EC}.Release.ActiveCfg = Release|Win32
{E6C63D55-F43A-4D0D-B9AF-E8098348C3EC}.Release.Build.0 = Release|Win32
{040F5FA5-1137-44FA-A326-E441ECE2C635}.Debug.ActiveCfg = Debug|Win32
{040F5FA5-1137-44FA-A326-E441ECE2C635}.Debug.Build.0 = Debug|Win32
{040F5FA5-1137-44FA-A326-E441ECE2C635}.Release.ActiveCfg = Release|Win32
{040F5FA5-1137-44FA-A326-E441ECE2C635}.Release.Build.0 = Release|Win32
{5F0BE4DD-03D5-4110-9073-BC22E43AA7B7}.Debug.ActiveCfg = Debug|Win32
{5F0BE4DD-03D5-4110-9073-BC22E43AA7B7}.Debug.Build.0 = Debug|Win32
{5F0BE4DD-03D5-4110-9073-BC22E43AA7B7}.Release.ActiveCfg = Release|Win32
{5F0BE4DD-03D5-4110-9073-BC22E43AA7B7}.Release.Build.0 = Release|Win32
{8CEDFF82-F803-4B68-B895-05C3ECBA427A}.Debug.ActiveCfg = Debug|Win32
{8CEDFF82-F803-4B68-B895-05C3ECBA427A}.Debug.Build.0 = Debug|Win32
{8CEDFF82-F803-4B68-B895-05C3ECBA427A}.Release.ActiveCfg = Release|Win32
{8CEDFF82-F803-4B68-B895-05C3ECBA427A}.Release.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{561D4B62-2518-405D-A151-68351D821A14}.Debug|Win32.ActiveCfg = Debug|Win32
{561D4B62-2518-405D-A151-68351D821A14}.Debug|Win32.Build.0 = Debug|Win32
{561D4B62-2518-405D-A151-68351D821A14}.Release|Win32.ActiveCfg = Release|Win32
{561D4B62-2518-405D-A151-68351D821A14}.Release|Win32.Build.0 = Release|Win32
{8AC30DD0-CCB9-45AD-945D-03AA30D18C40}.Debug|Win32.ActiveCfg = Debug|Win32
{8AC30DD0-CCB9-45AD-945D-03AA30D18C40}.Debug|Win32.Build.0 = Debug|Win32
{8AC30DD0-CCB9-45AD-945D-03AA30D18C40}.Release|Win32.ActiveCfg = Release|Win32
{8AC30DD0-CCB9-45AD-945D-03AA30D18C40}.Release|Win32.Build.0 = Release|Win32
{237D8F15-A5D9-44DA-A393-3FE9538FD584}.Debug|Win32.ActiveCfg = Debug|Win32
{237D8F15-A5D9-44DA-A393-3FE9538FD584}.Debug|Win32.Build.0 = Debug|Win32
{237D8F15-A5D9-44DA-A393-3FE9538FD584}.Release|Win32.ActiveCfg = Release|Win32
{237D8F15-A5D9-44DA-A393-3FE9538FD584}.Release|Win32.Build.0 = Release|Win32
{E29E2C37-2257-4615-8028-093363424FAD}.Debug|Win32.ActiveCfg = Debug|Win32
{E29E2C37-2257-4615-8028-093363424FAD}.Debug|Win32.Build.0 = Debug|Win32
{E29E2C37-2257-4615-8028-093363424FAD}.Release|Win32.ActiveCfg = Release|Win32
{E29E2C37-2257-4615-8028-093363424FAD}.Release|Win32.Build.0 = Release|Win32
{FA811F07-FD75-45C5-809B-92CD6D762112}.Debug|Win32.ActiveCfg = Debug|Win32
{FA811F07-FD75-45C5-809B-92CD6D762112}.Debug|Win32.Build.0 = Debug|Win32
{FA811F07-FD75-45C5-809B-92CD6D762112}.Release|Win32.ActiveCfg = Release|Win32
{FA811F07-FD75-45C5-809B-92CD6D762112}.Release|Win32.Build.0 = Release|Win32
{78FB6B73-8DCF-4910-A0AB-F710B1BA9439}.Debug|Win32.ActiveCfg = Debug|Win32
{78FB6B73-8DCF-4910-A0AB-F710B1BA9439}.Debug|Win32.Build.0 = Debug|Win32
{78FB6B73-8DCF-4910-A0AB-F710B1BA9439}.Release|Win32.ActiveCfg = Release|Win32
{78FB6B73-8DCF-4910-A0AB-F710B1BA9439}.Release|Win32.Build.0 = Release|Win32
{89B8A505-2626-4933-9724-4B86C9FF5137}.Debug|Win32.ActiveCfg = Debug|Win32
{89B8A505-2626-4933-9724-4B86C9FF5137}.Debug|Win32.Build.0 = Debug|Win32
{89B8A505-2626-4933-9724-4B86C9FF5137}.Release|Win32.ActiveCfg = Release|Win32
{89B8A505-2626-4933-9724-4B86C9FF5137}.Release|Win32.Build.0 = Release|Win32
{F0403D8C-15F0-4E96-8A9D-0ECF29828D68}.Debug|Win32.ActiveCfg = Debug|Win32
{F0403D8C-15F0-4E96-8A9D-0ECF29828D68}.Debug|Win32.Build.0 = Debug|Win32
{F0403D8C-15F0-4E96-8A9D-0ECF29828D68}.Release|Win32.ActiveCfg = Release|Win32
{F0403D8C-15F0-4E96-8A9D-0ECF29828D68}.Release|Win32.Build.0 = Release|Win32
{B0115D06-704D-43A4-B29E-9C89879555F1}.Debug|Win32.ActiveCfg = Debug|Win32
{B0115D06-704D-43A4-B29E-9C89879555F1}.Debug|Win32.Build.0 = Debug|Win32
{B0115D06-704D-43A4-B29E-9C89879555F1}.Release|Win32.ActiveCfg = Release|Win32
{B0115D06-704D-43A4-B29E-9C89879555F1}.Release|Win32.Build.0 = Release|Win32
{E6C63D55-F43A-4D0D-B9AF-E8098348C3EC}.Debug|Win32.ActiveCfg = Debug|Win32
{E6C63D55-F43A-4D0D-B9AF-E8098348C3EC}.Debug|Win32.Build.0 = Debug|Win32
{E6C63D55-F43A-4D0D-B9AF-E8098348C3EC}.Release|Win32.ActiveCfg = Release|Win32
{E6C63D55-F43A-4D0D-B9AF-E8098348C3EC}.Release|Win32.Build.0 = Release|Win32
{040F5FA5-1137-44FA-A326-E441ECE2C635}.Debug|Win32.ActiveCfg = Debug|Win32
{040F5FA5-1137-44FA-A326-E441ECE2C635}.Debug|Win32.Build.0 = Debug|Win32
{040F5FA5-1137-44FA-A326-E441ECE2C635}.Release|Win32.ActiveCfg = Release|Win32
{040F5FA5-1137-44FA-A326-E441ECE2C635}.Release|Win32.Build.0 = Release|Win32
{5F0BE4DD-03D5-4110-9073-BC22E43AA7B7}.Debug|Win32.ActiveCfg = Debug|Win32
{5F0BE4DD-03D5-4110-9073-BC22E43AA7B7}.Debug|Win32.Build.0 = Debug|Win32
{5F0BE4DD-03D5-4110-9073-BC22E43AA7B7}.Release|Win32.ActiveCfg = Release|Win32
{5F0BE4DD-03D5-4110-9073-BC22E43AA7B7}.Release|Win32.Build.0 = Release|Win32
{8CEDFF82-F803-4B68-B895-05C3ECBA427A}.Debug|Win32.ActiveCfg = Debug|Win32
{8CEDFF82-F803-4B68-B895-05C3ECBA427A}.Debug|Win32.Build.0 = Debug|Win32
{8CEDFF82-F803-4B68-B895-05C3ECBA427A}.Release|Win32.ActiveCfg = Release|Win32
{8CEDFF82-F803-4B68-B895-05C3ECBA427A}.Release|Win32.Build.0 = Release|Win32
{3CA21EC5-35A4-4B1F-BCC5-247E99322C4A}.Debug|Win32.ActiveCfg = Debug|Win32
{3CA21EC5-35A4-4B1F-BCC5-247E99322C4A}.Debug|Win32.Build.0 = Debug|Win32
{3CA21EC5-35A4-4B1F-BCC5-247E99322C4A}.Release|Win32.ActiveCfg = Release|Win32
{3CA21EC5-35A4-4B1F-BCC5-247E99322C4A}.Release|Win32.Build.0 = Release|Win32
GlobalSection(ExtensibilityGlobals) = postSolution
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
GlobalSection(ExtensibilityAddIns) = postSolution
EndGlobalSection
EndGlobal

BIN
SingleIPI/SingleIPI.suo

Binary file not shown.

4
SingleIPI/SingleIPI.vcproj

@ -3,7 +3,7 @@
ProjectType="Visual C++"
Version="8.00"
Name="SingleIPI"
ProjectGUID="{8CEDFF82-F803-4B68-B895-05C3ECBA427A}"
ProjectGUID="{B4B25515-D801-43DF-8766-44D049D974A4}"
RootNamespace="SingleIPI"
>
<Platforms>
@ -49,7 +49,6 @@
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
AdditionalIncludeDirectories="&quot;C:\Program Files\Microsoft Speech SDK 5.1\Include&quot;;&quot;C:\Program Files\Microsoft SDK\include&quot;"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
StringPooling="true"
RuntimeLibrary="0"
@ -83,7 +82,6 @@
OutputFile="..\test\SingleIPI.exe"
LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="&quot;C:\Program Files\Microsoft SDK\Lib&quot;;&quot;C:\Program Files\Microsoft Media Format 9 SDK\WMFSDK9\lib&quot;;&quot;C:\Program Files\Intel\IJL\lib&quot;;&quot;C:\Program Files\Microsoft Speech SDK 5.1\Lib\i386&quot;"
ProgramDatabaseFile=".\..\Intermediate\6\Release\SingleIPI/SingleIPI.pdb"
SubSystem="2"
TargetMachine="1"

8
System/Calibration/Calibration.dsp

@ -156,6 +156,10 @@ SOURCE=..\DLIB\DeviceCameraMic1300.cpp
# End Source File
# Begin Source File
SOURCE=..\DLIB\DeviceCameraPelco.cpp
# End Source File
# Begin Source File
SOURCE=..\DLIB\DeviceCameraPhilipsG3AD.cpp
# End Source File
# Begin Source File
@ -344,6 +348,10 @@ SOURCE=..\DLIB\SocketCameraMic1300.cpp
# End Source File
# Begin Source File
SOURCE=..\DLIB\SocketCameraPelco.cpp
# End Source File
# Begin Source File
SOURCE=..\DLIB\SocketCameraPhilipsG3AD.cpp
# End Source File
# Begin Source File

17
System/Chicago/Chicago.dsp

@ -43,7 +43,7 @@ RSC=rc.exe
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /c
# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_AFXDLL" /Yu"stdafx.h" /FD /c
# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_AFXDLL" /FR /Yu"stdafx.h" /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL"
@ -53,7 +53,8 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386
# ADD LINK32 ijl15.lib strmiids.lib StrmBase.lib tapi32.lib Msacm32.lib winmm.lib vfw32.lib Winmm.lib ddraw.lib dxguid.lib dxerr8.lib shlwapi.lib /nologo /subsystem:windows /machine:I386 /out:"..\..\test\ISSC.exe"
# ADD LINK32 d3dx.lib d3dxd.lib ijl15.lib tapi32.lib Msacm32.lib winmm.lib vfw32.lib Winmm.lib "D:\SXC\MS_LIBS\Microsoft SDK\Lib\ddraw.lib" "D:\SXC\MS_LIBS\Microsoft SDK\Lib\strmiids.lib" dxguid.lib dxerr8.lib shlwapi.lib /nologo /subsystem:windows /machine:I386 /out:"..\..\test\ISSC.exe"
# SUBTRACT LINK32 /pdb:none
!ELSEIF "$(CFG)" == "Chicago - Win32 Debug"
@ -79,8 +80,8 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
# ADD LINK32 ijl15.lib strmiids.lib StrmBasd.lib tapi32.lib Msacm32.lib winmm.lib vfw32.lib Winmm.lib ddraw.lib dxguid.lib dxerr8.lib shlwapi.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
# SUBTRACT LINK32 /nodefaultlib
# ADD LINK32 d3dx.lib d3dxd.lib ijl15.lib tapi32.lib Msacm32.lib winmm.lib vfw32.lib Winmm.lib "D:\SXC\MS_LIBS\Microsoft SDK\Lib\ddraw.lib" "D:\SXC\MS_LIBS\Microsoft SDK\Lib\strmiids.lib" dxguid.lib dxerr8.lib shlwapi.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
# SUBTRACT LINK32 /pdb:none
!ENDIF
@ -157,6 +158,10 @@ SOURCE=..\DLIB\DeviceCameraMic1300.cpp
# End Source File
# Begin Source File
SOURCE=..\DLIB\DeviceCameraPelco.cpp
# End Source File
# Begin Source File
SOURCE=..\DLIB\DeviceCameraPhilipsG3AD.cpp
# End Source File
# Begin Source File
@ -417,6 +422,10 @@ SOURCE=..\DLIB\SocketCameraMic1300.cpp
# End Source File
# Begin Source File
SOURCE=..\DLIB\SocketCameraPelco.cpp
# End Source File
# Begin Source File
SOURCE=..\DLIB\SocketCameraPhilipsG3AD.cpp
# End Source File
# Begin Source File

1227
System/Chicago/Chicago.plg
File diff suppressed because it is too large
View File

2
System/Chicago/ChicagoDlg.cpp

@ -35,7 +35,7 @@
#include "RepairDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

2
System/DLIB/DeviceLGSm.cpp

@ -474,7 +474,7 @@ BOOL CDeviceLGSm::DeviceProcDispatcher_()
if( error.eErrorLevel == LGS_ERROR_LEVEL_CRITICAL )
{
TCHAR pErrorText[MAX_PATH];
_sntprintf( pErrorText, MAX_PATH, _T("%s critical error <%d>, please call technical support"), (LPCTSTR)m_pSensor->GetName(), error.eErrorID );
_sntprintf( pErrorText, MAX_PATH, _T("%s technical event type <%d>"), (LPCTSTR)m_pSensor->GetName(), error.eErrorID );
pErrorText[MAX_PATH-1] = 0;
GetSocket()->GetSensorArray()->GetEventQueue()->PostEvent( LGS_EVENT_ERROR, LGS_EVENT_ERROR_CRITICAL, 0, (DWORD)m_pSensor, RGB( 0xFF, 0, 0 ), (LPSTR)(LPCTSTR)pErrorText );
}

26
System/DLIB/ObjectFactory.cpp

@ -122,6 +122,7 @@ COLORREF COFPin::GetColor()
case PT_SOCKET_TKS576:
case PT_SOCKET_PG3AD:
case PT_SOCKET_AMERICAN_DYNAMIS:
case PT_SOCKET_PELCO:
case PT_SOCKET_VICON:
case PT_SOCKET_VM:
return RGB( 0,0xFF,0 );
@ -180,6 +181,7 @@ void COFPin::Initialize( int nOwnerType, int nOwnerPin, PIN_DESC *pPinDesk )
case PT_SOCKET_PG3AD: name = _T("line <PHILIPS G3 PTZ>"); break;
case PT_SOCKET_VICON: name = _T("line <VICON S2000 PTZ>"); break;
case PT_SOCKET_AMERICAN_DYNAMIS: name = _T("line <AMERICAN DYNAMICS PTZ>"); break;
case PT_SOCKET_PELCO: name = _T("line <PELCO PTZ>"); break;
case PT_CAMERA_SENSOR:name = _T("link with <SENSOR>"); break;
case PT_SENSOR_CAMERA:name = _T("link with <CAMERA>"); break;
@ -580,6 +582,8 @@ void COFDeviceCameraPTZ::Serialize( CArchive& ar )
void COFDeviceCameraPTZ::ChangeSubType( int nSubType )
{
GetOF()->DeviceDisconnect( this );
m_nSubType = nSubType;
switch( m_nSubType )
@ -641,6 +645,19 @@ void COFDeviceCameraPTZ::ChangeSubType( int nSubType )
CreatePins( pPD, sizeof(pPD) / sizeof(pPD[0]) );
}
break;
case PTZST_PELCO:
{
PIN_DESC pPD[] =
{
{ PT_VIDEO_OUT, PST_NONE, PT_VIDEO_IN, 1, { 4,15 }, 0, NULL },
{ PT_SOCKET_PELCO, PST_NONE, PT_SOCKET_PELCO, INT_MAX, { 15,31 }, 0, NULL },
{ PT_CAMERA_SENSOR, PST_NONE, PT_SENSOR_CAMERA, INT_MAX, { 15,0 }, 0, NULL }
};
CreatePins( pPD, sizeof(pPD) / sizeof(pPD[0]) );
}
break;
case PTZST_VICON:
{
PIN_DESC pPD[] =
@ -1397,6 +1414,15 @@ void COFDeviceSocket::ChangeSubType( int nSubType )
CreatePins( pPD, sizeof(pPD) / sizeof(pPD[0]) );
}
break;
case ST_PELCO:
{
PIN_DESC pPD[] =
{
{ PT_SOCKET_PELCO, PST_NONE, PT_SOCKET_PELCO, INT_MAX, { 31,16 }, 0, NULL }
};
CreatePins( pPD, sizeof(pPD) / sizeof(pPD[0]) );
}
break;
case ST_CCC:
CreatePins( NULL, 0 );
break;

28
System/DLIB/ObjectFactory.h

@ -91,6 +91,7 @@ enum E_PIN_TYPE
PT_OUTPUT_EVENT = 20, // logical connection for output to event
PT_EVENT_OUTPUT = 21, // logical connection for event to output
PT_SOCKET_PELCO = 22, // connection with communication line camera Pelco
};
enum E_PIN_SUB_TYPE
@ -423,17 +424,18 @@ public:
public:
enum
{
PTZST_NONE = 0,
PTZST_MIGVAN_878 = 1,
PTZST_MIGVAN_KD6Z = 2,
PTZST_MIC_1_300 = 3,
PTZST_TK_S576 = 4,
PTZST_PG3AD_NEW = 5,
PTZST_VICON = 6,
PTZST_HEBRON = 7,
PTZST_3_TRACK = 8,
PTZST_NONE = 0,
PTZST_MIGVAN_878 = 1,
PTZST_MIGVAN_KD6Z = 2,
PTZST_MIC_1_300 = 3,
PTZST_TK_S576 = 4,
PTZST_PG3AD_NEW = 5,
PTZST_VICON = 6,
PTZST_HEBRON = 7,
PTZST_3_TRACK = 8,
PTZST_AMERICAN_DYNAMICS = 9,
PTZST_PG3AD_OLD = 10
PTZST_PG3AD_OLD = 10,
PTZST_PELCO = 11
};
int GetSubType() { return m_nSubType; };
void ChangeSubType( int nSubType );
@ -479,6 +481,10 @@ public:
{
BYTE bAddress;
}american_dynamics;
struct PELCO
{
BYTE bAddress;
}pelco;
}m_uData;
public:
@ -593,7 +599,7 @@ public:
virtual void Serialize(CArchive& ar);
enum{ ST_MD, ST_PTZ, ST_LGS, ST_VM, ST_DI, ST_MIC1300, ST_TKS576, ST_PG3AD, ST_CCC, ST_VICON, ST_AMERICAN_DYNAMICS };
enum{ ST_MD, ST_PTZ, ST_LGS, ST_VM, ST_DI, ST_MIC1300, ST_TKS576, ST_PG3AD, ST_CCC, ST_VICON, ST_AMERICAN_DYNAMICS, ST_PELCO };
void ChangeSubType( int nSubType );

42
System/DLIB/SensorArray.cpp

@ -55,6 +55,8 @@
#include "..\DLIB\DeviceCameraPhilipsG3AD.h"
#include "..\DLIB\SocketCameraAmericanDynamics.h"
#include "..\DLIB\DeviceCameraAmericanDynamics.h"
#include "SocketCameraPelco.h"
#include "DeviceCameraPelco.h"
#include "..\DLIB\SocketCameraVicon.h"
#include "..\DLIB\DeviceCameraVicon.h"
#include "..\..\LgLib\MFC\LgBitCodeFile.h"
@ -354,6 +356,7 @@ static void GetSocketConnectionList( CSensorArray::CVoidList &list, OFNS::COFPin
case PT_SOCKET_TKS576:
case PT_SOCKET_PG3AD:
case PT_SOCKET_VICON:
case PT_SOCKET_PELCO:
case PT_SOCKET_AMERICAN_DYNAMIS:
if( !list.Find( pTempl->m_pDevice ) )
{
@ -896,6 +899,23 @@ BOOL CSensorArray::Load_( LPCTSTR pFileName, int nRunningMode, CSettings *pSetti
pVideoCamera->PostReady();
}
break;
case COFDeviceCameraPTZ::PTZST_PELCO:
{
pTempl->m_pDevice = m_ppDevice[ m_nDevice + nIndex ] = new CDeviceCameraPelco;
CDeviceCameraPelco *pDevice = static_cast<CDeviceCameraPelco*>(m_ppDevice[ m_nDevice + nIndex ]);
pDevice->SetAddress( pTempl->m_uData.pelco.bAddress );
pTempl->m_pVideoDevice[0] = m_ppVideoCamera[ m_nVideoCamera + nIndex ] = new CVideoCameraPTZ;
CVideoCameraPTZ *pVideoCamera = static_cast<CVideoCameraPTZ*>(m_ppVideoCamera[ m_nVideoCamera + nIndex ]);
pVideoCamera->SetSensorArray( this );
pVideoCamera->ConnectToDevice( pDevice );
pVideoCamera->SetName( &pTempl->GetName() );
pVideoCamera->SetRangeZoom( pTempl->m_dZoomTable );
if( bDemo )
pVideoCamera->PostReady();
}
break;
case COFDeviceCameraPTZ::PTZST_VICON:
{
pTempl->m_pDevice = m_ppDevice[ m_nDevice + nIndex ] = new CDeviceCameraVicon;
@ -964,6 +984,7 @@ BOOL CSensorArray::Load_( LPCTSTR pFileName, int nRunningMode, CSettings *pSetti
CSocketCameraTKS576 *pSocketTKS576;
CSocketCameraPhilipsG3AD *pSocketPG3AD;
CSocketCameraAmericanDynamics *pAmericanDynamics;
CSocketCameraPelco *pSocketPelco;
CSocketCameraVicon *pSocketVicon;
CSocketVM *pSocketVM;
CSocketLGS *pSocketLGS;
@ -1009,6 +1030,12 @@ BOOL CSensorArray::Load_( LPCTSTR pFileName, int nRunningMode, CSettings *pSetti
pAmericanDynamics->Create( this, pTempl->m_Port );
pAmericanDynamics->SetName( pTempl->m_Port + CString( _T("(American Dynamics PTZ)") ) );
break;
case COFDeviceSocket::ST_PELCO:
pTempl->m_pSocket = m_ppSocket[ m_nSocket + nIndex ] = new CSocketCameraPelco;
pSocketPelco = static_cast<CSocketCameraPelco*>(m_ppSocket[ m_nSocket + nIndex ]);
pSocketPelco->Create( this, pTempl->m_Port );
pSocketPelco->SetName( pTempl->m_Port + CString( _T("(Pelco PTZ)") ) );
break;
case COFDeviceSocket::ST_VICON:
pTempl->m_pSocket = m_ppSocket[ m_nSocket + nIndex ] = new CSocketCameraVicon;
pSocketVicon = static_cast<CSocketCameraVicon*>(m_ppSocket[ m_nSocket + nIndex ]);
@ -1143,6 +1170,7 @@ BOOL CSensorArray::Load_( LPCTSTR pFileName, int nRunningMode, CSettings *pSetti
CSocketCameraTKS576 *pSocketTKS576;
CSocketCameraPhilipsG3AD *pSocketPG3AD;
CSocketCameraAmericanDynamics *pSocketAmericanDynamics;
CSocketCameraPelco *pSocketPelco;
CSocketCameraVicon *pSocketVicon;
CSocketVM *pSocketVM;
CSocketLGS *pSocketLGS;
@ -1229,6 +1257,19 @@ BOOL CSensorArray::Load_( LPCTSTR pFileName, int nRunningMode, CSettings *pSetti
{
pDevice->SetSocket( pSocketAmericanDynamics );
pSocketAmericanDynamics->CLgLinkP<CLgNetSocket,CLgNetSocketDevice>::Link( pDevice );
// pDevice->InitDevice();
}
}
break;
case COFDeviceSocket::ST_PELCO:
pSocketPelco = (CSocketCameraPelco*)pTempl->m_pSocket;
while( pos )
{
CDeviceCameraPelco *pDevice = static_cast<CDeviceCameraPelco*>(list.GetNext( pos ));
if( pDevice )
{
pDevice->SetSocket( pSocketPelco );
pSocketPelco->CLgLinkP<CLgNetSocket,CLgNetSocketDevice>::Link( pDevice );
// pDevice->InitDevice();
}
}
@ -1347,6 +1388,7 @@ BOOL CSensorArray::Load_( LPCTSTR pFileName, int nRunningMode, CSettings *pSetti
case PT_SOCKET_MIC1300:
case PT_SOCKET_TKS576:
case PT_SOCKET_PG3AD:
case PT_SOCKET_PELCO:
case PT_SOCKET_AMERICAN_DYNAMIS:
break;

45
System/SetupLGS/PropCameraPTZDlg.cpp

@ -126,7 +126,8 @@ BOOL CPropCameraPTZDlg::OnInitDialog()
"3-Track",
"American Dynamics",
"PHILIPS G3 AutoDome (OLD)",
"Embedded LGS camera"
"Embedded LGS camera",
"Pelco PTZ camera"
};
m_cbSubType.AddString( pSubTypeName[0] );
@ -139,26 +140,30 @@ BOOL CPropCameraPTZDlg::OnInitDialog()
m_cbSubType.AddString( pSubTypeName[7] );
m_cbSubType.AddString( pSubTypeName[8] );
m_cbSubType.AddString( pSubTypeName[9] );
m_cbSubType.AddString( pSubTypeName[10] );
m_cbSubType.AddString( pSubTypeName[11] );
if( m_pDevice->GetType() == DT_CAMERA_LGS )
{
m_cbSubType.AddString( pSubTypeName[10] );
m_cbSubType.SetCurSel(10);
m_cbSubType.AddString( pSubTypeName[12] );
m_cbSubType.SetCurSel(12);
}
else
{
switch( m_pDevice->m_nSubType )
{
case COFDeviceCameraPTZ::PTZST_MIGVAN_878: m_cbSubType.SetCurSel(0); break;
case COFDeviceCameraPTZ::PTZST_MIGVAN_KD6Z: m_cbSubType.SetCurSel(1); break;
case COFDeviceCameraPTZ::PTZST_MIC_1_300: m_cbSubType.SetCurSel(2); break;
case COFDeviceCameraPTZ::PTZST_TK_S576: m_cbSubType.SetCurSel(3); break;
case COFDeviceCameraPTZ::PTZST_PG3AD_NEW: m_cbSubType.SetCurSel(4); break;
case COFDeviceCameraPTZ::PTZST_VICON: m_cbSubType.SetCurSel(5); break;
case COFDeviceCameraPTZ::PTZST_HEBRON: m_cbSubType.SetCurSel(6); break;
case COFDeviceCameraPTZ::PTZST_3_TRACK: m_cbSubType.SetCurSel(7); break;
case COFDeviceCameraPTZ::PTZST_AMERICAN_DYNAMICS: m_cbSubType.SetCurSel(8); break;
case COFDeviceCameraPTZ::PTZST_PG3AD_OLD: m_cbSubType.SetCurSel(9); break;
case COFDeviceCameraPTZ::PTZST_MIGVAN_878: m_cbSubType.SetCurSel(0); break;
case COFDeviceCameraPTZ::PTZST_MIGVAN_KD6Z: m_cbSubType.SetCurSel(1); break;
case COFDeviceCameraPTZ::PTZST_MIC_1_300: m_cbSubType.SetCurSel(2); break;
case COFDeviceCameraPTZ::PTZST_TK_S576: m_cbSubType.SetCurSel(3); break;
case COFDeviceCameraPTZ::PTZST_PG3AD_NEW: m_cbSubType.SetCurSel(4); break;
case COFDeviceCameraPTZ::PTZST_VICON: m_cbSubType.SetCurSel(5); break;
case COFDeviceCameraPTZ::PTZST_HEBRON: m_cbSubType.SetCurSel(6); break;
case COFDeviceCameraPTZ::PTZST_3_TRACK: m_cbSubType.SetCurSel(7); break;
case COFDeviceCameraPTZ::PTZST_AMERICAN_DYNAMICS: m_cbSubType.SetCurSel(8); break;
case COFDeviceCameraPTZ::PTZST_PG3AD_OLD: m_cbSubType.SetCurSel(9); break;
case COFDeviceCameraPTZ::PTZST_NONE: m_cbSubType.SetCurSel(10); break;
case COFDeviceCameraPTZ::PTZST_PELCO: m_cbSubType.SetCurSel(11); break;
}
}
@ -198,6 +203,9 @@ BOOL CPropCameraPTZDlg::OnInitDialog()
m_SpinDoplerAngle.SetPos( m_pDevice->m_uData.tri_track.nAngle );
m_SpinDoplerTimeout.SetPos( m_pDevice->m_uData.tri_track.dwTimeout );
break;
case COFDeviceCameraPTZ::PTZST_PELCO:
m_spPTZAddress.SetPos( m_pDevice->m_uData.pelco.bAddress );
break;
}
m_Name = m_pDevice->m_Name;
@ -231,6 +239,8 @@ void CPropCameraPTZDlg::OnOK()
case 7: nSubType = COFDeviceCameraPTZ::PTZST_3_TRACK; break;
case 8: nSubType = COFDeviceCameraPTZ::PTZST_AMERICAN_DYNAMICS; break;
case 9: nSubType = COFDeviceCameraPTZ::PTZST_PG3AD_OLD; break;
case 10: nSubType = COFDeviceCameraPTZ::PTZST_NONE; break;
case 11: nSubType = COFDeviceCameraPTZ::PTZST_PELCO; break;
}
#endif
@ -353,6 +363,14 @@ void CPropCameraPTZDlg::OnOK()
m_pDevice->m_uData.tri_track.dwTimeout = m_SpinDoplerTimeout.GetPos();
}
break;
case COFDeviceCameraPTZ::PTZST_PELCO:
if( m_pDevice->m_uData.pelco.bAddress != m_spPTZAddress.GetPos() )
{
bChange = TRUE;
m_pDevice->m_uData.pelco.bAddress = m_spPTZAddress.GetPos();
}
break;
}
if( bChange )
@ -479,6 +497,7 @@ void CPropCameraPTZDlg::OnSelchangeComboCameraPtzSubType()
case COFDeviceCameraPTZ::PTZST_PG3AD_OLD:
case COFDeviceCameraPTZ::PTZST_PG3AD_NEW:
case COFDeviceCameraPTZ::PTZST_AMERICAN_DYNAMICS:
case COFDeviceCameraPTZ::PTZST_PELCO:
case COFDeviceCameraPTZ::PTZST_VICON:
case COFDeviceCameraPTZ::PTZST_HEBRON:
//diable dopler

13
System/SetupLGS/PropLgsDlg.cpp

@ -577,7 +577,18 @@ void CPropLgsDlg::OnButtonIpiOperator()
dwDoplerTimeout = pCameraPTZ->m_uData.tri_track.dwTimeout;
}
else
nCameraType = PTZCT_LGS;
{
pCameraSocket = pCameraPTZ ? FindSocket( pCameraPTZ, PT_SOCKET_PELCO ) : NULL;
if( pCameraSocket )
{
nCameraType = PTZCT_PELCO;
nMic1300Address = pCameraPTZ->m_uData.tri_track.bAddress;
nDoplerAngle = pCameraPTZ->m_uData.tri_track.nAngle;
dwDoplerTimeout = pCameraPTZ->m_uData.tri_track.dwTimeout;
}
else
nCameraType = PTZCT_LGS;
}
}
}
}

7
System/SetupLGS/PropSocketDlg.cpp

@ -88,6 +88,8 @@ BOOL CPropSocketDlg::OnInitDialog()
m_Type.AddString( _T("CCC") );
m_Type.AddString( _T("PELCO") );
switch( m_pDevice->m_nSubType )
{
case COFDeviceSocket::ST_LGS: m_Type.SetCurSel( 0 ); break;
@ -104,6 +106,7 @@ BOOL CPropSocketDlg::OnInitDialog()
case COFDeviceSocket::ST_DI: m_Type.SetCurSel( 9 ); break;
case COFDeviceSocket::ST_CCC: m_Type.SetCurSel( 10 ); break;
case COFDeviceSocket::ST_PELCO: m_Type.SetCurSel( 11 ); break;
}
m_Port.SelectString( -1, m_pDevice->m_Port );
@ -146,6 +149,7 @@ void CPropSocketDlg::OnOK()
case 9: nSubType = COFDeviceSocket::ST_DI; break;
case 10: nSubType = COFDeviceSocket::ST_CCC; break;
case 11: nSubType = COFDeviceSocket::ST_PELCO; break;
}
#endif
@ -229,8 +233,8 @@ void CPropSocketDlg::OnSelchangeComboSocketType()
case 8: nSubType = COFDeviceSocket::ST_VM; break;
case 9: nSubType = COFDeviceSocket::ST_DI; break;
case 10: nSubType = COFDeviceSocket::ST_CCC; break;
case 11: nSubType = COFDeviceSocket::ST_PELCO; break;
}
#endif
@ -273,6 +277,7 @@ void CPropSocketDlg::OnSelchangeComboSocketType()
case COFDeviceSocket::ST_VICON:
case COFDeviceSocket::ST_AMERICAN_DYNAMICS:
case COFDeviceSocket::ST_CCC:
case COFDeviceSocket::ST_PELCO:
default:
m_BaudRate.EnableWindow(FALSE);
for( i = IDC_CHECK_DC_01; i <= IDC_CHECK_DC_04; i++ )

BIN
System/System.ncb

Binary file not shown.

BIN
System/System.opt

Binary file not shown.

0
lgs/AUTORST.INI

2
lgs/BOARD.CPP

@ -21,7 +21,7 @@ extern "C" void SMM( short, short[] );
short CBoard::s_pDataArray[4] = {0,0,0,0};
#endif
unsigned int CBoard::GetBSN( void ){
unsigned int CBoard::GetBSN( void ){ // Get Board Serial Number
if( m_bBoardMCU && m_nBoardType==BT_NEW ){
return BSNHB*256+BSNLB;

0
lgs/BOARD.H

0
lgs/CHANGES.TXT

0
lgs/CMicPTZ.cpp

0
lgs/CMicPTZ.h

0
lgs/CMigPTZ.cpp

0
lgs/CMigPTZ.h

0
lgs/Camera.cpp

0
lgs/Camera.h

16
lgs/Comm485.cpp

@ -402,10 +402,18 @@ DWORD CComm485::Write( IN PBYTE pBuffer, IN DWORD dwSize, IN DWORD dwTimeout )
{
// unused parameter
dwTimeout;
// write bytes to transmit stream
INT nWritten = m_OutputStream.Put( pBuffer, dwSize );
INT nWritten = 0;
if ( dwSize > 0 ) {
// write bytes to transmit stream
// Sending 0xFF after Data
pBuffer[dwSize]=0xFF;
dwSize++;
// Remove previews FF from queue
m_OutputStream.RemoveLast();
// write bytes to transmit stream
nWritten = m_OutputStream.Put( pBuffer, dwSize );
nWritten -- ; // decrease because +FF
};
#ifdef DEBUG_SHOW_COMMUNICATION
if( m_bShowCommunication )
{

2
lgs/Comm485.h

@ -185,7 +185,7 @@ private:
CFastStream<BYTE,7> m_OutputStream;
LONG m_nBaudRate;
INT m_nBitCount;
PARITY m_eParity;
PARITY m_eParity;
private:
static const BYTE c_acPort[];

0
lgs/Detector.cpp

0
lgs/Detector.h

0
lgs/Filters.cpp

0
lgs/Filters.h

0
lgs/GETFILE.CPP

0
lgs/GETFILE.H

0
lgs/ISR.H

34
lgs/KERNEL.CPP

@ -13,6 +13,7 @@
//----------------------------------------------------------------------------
#include "StdAfx.h"
#include <stdio.h>
#include <conio.h>
#include "kernel.h"
#include "..\lglib\comm\lgsm.h"
#include "..\lglib\lgbitcod.h"
@ -27,10 +28,11 @@
#include "CPelco.h"
#include "CHebron.h"
static DWORD far* g_Timer = (DWORD far*)0x46CL;
CHAR CKernel::s_pSoftwareVersion[MAX_PATH] = "";
INT CKernel::s_nSoftwareVersion = 0;
static DWORD far* g_Timer = (DWORD far*)0x46CL;
#ifdef INCLUDE_WINDOWS_DEFINITIONS
#define TIMER() *g_Timer
#else
@ -49,6 +51,8 @@ void CKernel::Reset( BOOL bFullReset )
memset( m_dwTimeErrorOverflowSST, 0, sizeof(m_dwTimeErrorOverflowSST)*4 );
memset( m_dwTimeErrorOverflow, 0, sizeof(m_dwTimeErrorOverflow)*4 );
memset( m_dwTimeErrorSun, 0, sizeof(m_dwTimeErrorSun)*4 );
m_dwTimeErrorDelay_EA = 0UL;
m_dwTimeErrorDelay_IQ = 0UL;
m_dwTimePower = 0UL;
// reset board
@ -1286,6 +1290,7 @@ LG_FS_RESULT CKernel::DoFindClose( DWORD dwHandle )
extern BOOL g_bShowErrors;
extern BOOL g_bHideFogError;
extern BOOL g_bDelayErrors;
void CKernel::OnCmdState2( PBYTE& pReadBufferPtr, INT& nReadCount, PBYTE& pSendBufferPtr, INT& nSendCount, BYTE& nMode, BOOL& bBoardNoIrq )
{
@ -1307,20 +1312,32 @@ void CKernel::OnCmdState2( PBYTE& pReadBufferPtr, INT& nReadCount, PBYTE& pSendB
// flags
BYTE bFlags = 0;
if (! m_dwTimeErrorDelay_EA ) m_dwTimeErrorDelay_EA = TIMER();
// check for ANGLE and ZERO MARK errors
if( g_bShowErrors && m_Detector[0].GetLastErrorAngle() )
{
INT nErrorAngle = m_Detector[0].GetLastErrorAngleValue();
if( nErrorAngle == -1 )
bFlags |= LGS::S2_ITF_ERROR_NO_ZERO_MARK;
else
nSendCount += LGS::BuildEvtState2ErrorAngle( pSendBufferPtr, nErrorAngle );
if ( TIMER() - m_dwTimeErrorDelay_EA < 200UL || !g_bDelayErrors ) {
if( nErrorAngle == -1 )
bFlags |= LGS::S2_ITF_ERROR_NO_ZERO_MARK;
else
nSendCount += LGS::BuildEvtState2ErrorAngle( pSendBufferPtr, nErrorAngle );
m_dwTimeErrorDelay_EA = TIMER();
} else {
m_dwTimeErrorDelay_EA = TIMER();
};
}
if (! m_dwTimeErrorDelay_IQ ) m_dwTimeErrorDelay_IQ = TIMER();
// check for NO IRQ
if( g_bShowErrors && bBoardNoIrq )
{
bFlags |= LGS::S2_ITF_ERROR_NO_IRQ;
if ( TIMER() - m_dwTimeErrorDelay_IQ < 200UL || !g_bDelayErrors ) {
bFlags |= LGS::S2_ITF_ERROR_NO_IRQ;
m_dwTimeErrorDelay_IQ = TIMER();
} else {
m_dwTimeErrorDelay_IQ = TIMER();
};
// clear no irq flag
bBoardNoIrq = FALSE;
}
@ -1335,8 +1352,9 @@ void CKernel::OnCmdState2( PBYTE& pReadBufferPtr, INT& nReadCount, PBYTE& pSendB
#endif
// apply flags
if( bFlags )
if( bFlags ) {
nSendCount += LGS::BuildEvtState2Flags( pSendBufferPtr, bFlags );
}
for( int i = 0; i < 2; i++ )
{

2
lgs/KERNEL.H

@ -92,6 +92,8 @@ private:
DWORD m_dwTimeErrorOverflowSST[4];
DWORD m_dwTimeErrorOverflow[4];
DWORD m_dwTimeErrorSun[4];
DWORD m_dwTimeErrorDelay_EA;
DWORD m_dwTimeErrorDelay_IQ;
DWORD m_dwTimePower;
#ifndef LGS_DISABLE_FILE_SYSTEM

BIN
lgs/LGS.IDE

Binary file not shown.

4
lgs/Main.cpp

@ -77,6 +77,7 @@ void CheckHeap( LPCTSTR pText )
#endif
BOOL g_bShowErrors = TRUE;
BOOL g_bDelayErrors = TRUE;
BOOL g_bHideFogError = FALSE;
void main( int argc, char * argv[] )
@ -102,6 +103,9 @@ void main( int argc, char * argv[] )
case 'f': case 'F':
g_bHideFogError = TRUE;
break;
case 'z': case 'Z':
g_bDelayErrors = FALSE;
break;
// case 'b':
/*

0
lgs/RELAY.CPP

0
lgs/RELAY.H

0
lgs/SCREEN.CPP

0
lgs/SCREEN.H

0
lgs/Shadow.cpp

0
lgs/Shadow.h

0
lgs/Smmcl.lib

0
lgs/Stdafx.h

44
lgs/Stream.h

@ -197,6 +197,20 @@ INT CStream<TYPE,MAX_CAPACITY,OVERFLOW>::Get( TYPE *pByte, INT nCount )
return i;
}
template< class TYPE, INT MAX_CAPACITY, BOOL OVERFLOW >
INT CStream<TYPE,MAX_CAPACITY,OVERFLOW>::RemoveLast( INT nCount )
{
for( INT i = 0; (i < nCount) && m_nCount; i++ )
{
m_nHead = ( m_nHead - 1 ) % MAX_CAPACITY;
m_nCount --;
}
return i;
}
template< class TYPE, INT MAX_CAPACITY, BOOL OVERFLOW >
void CStream<TYPE,MAX_CAPACITY,OVERFLOW>::Clear()
{
@ -230,9 +244,11 @@ public:
public:
virtual BOOL Put( TYPE byte );
BOOL RemoveLast( void );
BOOL Get( TYPE *pByte );
virtual INT Put( TYPE *pByte, INT nCount );
INT RemoveLast( INT nCount );
INT Get( TYPE *pByte, INT nCount );
INT GetCount() { return m_nCount; }
@ -314,6 +330,18 @@ BOOL CFastStream<TYPE,MAX_CAPACITY>::Get( TYPE *pByte )
return TRUE;
}
template< class TYPE, const INT MAX_CAPACITY >
BOOL CFastStream<TYPE,MAX_CAPACITY>::RemoveLast( void )
{
const INT cMaxCapacity = (1<<MAX_CAPACITY);
const INT cCapacityMask = cMaxCapacity-1;
if( m_nCount > 0 ){
m_nHead = ( m_nHead - 1 ) & cCapacityMask;
m_nCount --;
}
return TRUE;
}
template< class TYPE, const INT MAX_CAPACITY >
INT CFastStream<TYPE,MAX_CAPACITY>::Put( TYPE *pByte, INT nCount )
@ -347,6 +375,22 @@ INT CFastStream<TYPE,MAX_CAPACITY>::Get( TYPE *pByte, INT nCount )
return i;
}
template< class TYPE, const INT MAX_CAPACITY >
INT CFastStream<TYPE,MAX_CAPACITY>::RemoveLast( INT nCount )
{
const INT cMaxCapacity = (1<<MAX_CAPACITY);
const INT cCapacityMask = cMaxCapacity-1;
for( INT i = 0; (i < nCount) && m_nCount; i++ )
{
m_nHead = ( m_nHead - 1 ) & cCapacityMask;
m_nCount --;
}
return i;
}
template< class TYPE, const INT MAX_CAPACITY >
void CFastStream<TYPE,MAX_CAPACITY>::Clear()
{

0
lgs/Tracker.cpp

0
lgs/Tracker.h

0
lgs/USER.INI

0
lgs/areset.cpp

0
lgs/areset.h

0
lgs/board_.cpp

0
lgs/chebron.cpp

0
lgs/chebron.h

0
lgs/cnesher.cpp

0
lgs/cnesher.h

0
lgs/cpelco.cpp

0
lgs/cpelco.h

0
lgs/cpg3ad.cpp

0
lgs/cpg3ad.h

0
lgs/cptzad.cpp

0
lgs/cptzad.h

0
lgs/ctks576.cpp

0
lgs/ctks576.h

0
lgs/cvicon.cpp

0
lgs/cvicon.h

0
lgs/detecto_.cpp

0
lgs/filters_.cpp

0
lgs/getfile_.cpp

2
lgs/kernel_.cpp

@ -31,6 +31,8 @@ CKernel::CKernel()
memset( m_dwTimeErrorOverflowSST, 0, sizeof(m_dwTimeErrorOverflowSST)*4 );
memset( m_dwTimeErrorOverflow, 0, sizeof(m_dwTimeErrorOverflow)*4 );
memset( m_dwTimeErrorSun, 0, sizeof(m_dwTimeErrorSun)*4 );
m_dwTimeErrorDelay_EA = 0UL;
m_dwTimeErrorDelay_IQ = 0UL;
m_dwTimePower = 0UL;
m_LRFDisable.bMaster = m_LRFDisable.bSlave = FALSE;
#ifndef LGS_DISABLE_FILE_SYSTEM

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save