From e10ccb7788a93c4ae4d5d4f1ac6d239004d0e65e Mon Sep 17 00:00:00 2001
From: C3204 <zhengyabo@lanpucloud.cn>
Date: 星期五, 16 一月 2026 09:28:46 +0800
Subject: [PATCH] 西门子S7通讯:支持多数据类型、UI布局调整及配置持久化修复        * 多类型支持:完善 SendMessage 和 ReceiveMsg,支持 Bool, Byte, Int, DInt, Real, Double, Word, DWord, String的读写。

---
 LB_SmartVisionCameraSDK/PHM6000/PHM6000Profiler.cs |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/LB_SmartVisionCameraSDK/PHM6000/PHM6000Profiler.cs b/LB_SmartVisionCameraSDK/PHM6000/PHM6000Profiler.cs
index 44cdddf..fdee162 100644
--- a/LB_SmartVisionCameraSDK/PHM6000/PHM6000Profiler.cs
+++ b/LB_SmartVisionCameraSDK/PHM6000/PHM6000Profiler.cs
@@ -874,6 +874,35 @@
         /// <param name="KeepImageSize">鍥惧儚澶у皬鏄惁淇濇寔</param>
         [DllImport("PHM6000API", CallingConvention = CallingConvention.StdCall, EntryPoint = "SetTransformParameter")]
         public static extern void SetTransformParameter(IntPtr pHandle, float fAngle, int xOffset, int yOffset, int hMirror, int vMirror, int KeepImageSize = 0);
+
+        #region PointCloud3D Functions
+        
+        [DllImport("PointCloud3D", CallingConvention = CallingConvention.StdCall, EntryPoint = "AddZAPoints")]
+        public static extern int AddZAPoints(IntPtr pInstance, IntPtr points, int nCount, float fStepX, float fStepY, int nDownSample);
+
+        [DllImport("PointCloud3D", CallingConvention = CallingConvention.StdCall, EntryPoint = "ClearPCLPoints")]
+        public static extern int ClearPCLPoints(IntPtr pInstance);
+
+        [DllImport("PointCloud3D", CallingConvention = CallingConvention.StdCall, EntryPoint = "GetPointCloudBound")]
+        public static extern int GetPointCloudBound(IntPtr pInstance, ref double pMin, ref double pMax);
+
+        [DllImport("PointCloud3D", CallingConvention = CallingConvention.StdCall, EntryPoint = "RenderPCLWindow")]
+        public static extern void RenderPCLWindow(IntPtr pInstance, int nWidth, int nHeight);
+
+        [DllImport("PointCloud3D", CallingConvention = CallingConvention.StdCall, EntryPoint = "SetLookUpTableRange")]
+        public static extern void SetLookUpTableRange(IntPtr pInstance, double fMin, double fMax);
+
+        [DllImport("PointCloud3D", CallingConvention = CallingConvention.StdCall, EntryPoint = "ShowCubeAxes")]
+        public static extern void ShowCubeAxes(IntPtr pInstance, int bInit);
+
+        [DllImport("PointCloud3D", CallingConvention = CallingConvention.StdCall, EntryPoint = "ShowLookUpTable")]
+        public static extern void ShowLookUpTable(IntPtr pInstance, double x, double y, double xWide, double yWide);
+
+        [DllImport("PointCloud3D", CallingConvention = CallingConvention.StdCall, EntryPoint = "UpdatePCLPointColors")]
+        public static extern int UpdatePCLPointColors(IntPtr pInstance, string szColoring);
+
+        #endregion
+
         /// <summary>
         /// 灏嗙粨鏋勪綋鎸囬拡杞崲涓篸ouble锛堟ā鎷烠++鐨�(double)(int64)&鎿嶄綔锛�
         /// </summary>

--
Gitblit v1.9.3