From 9b2ad9bafb0739f8ba1e76107011fada5e5883c3 Mon Sep 17 00:00:00 2001
From: C3204 <zhengyabo@lanpucloud.cn>
Date: 星期五, 10 四月 2026 16:23:08 +0800
Subject: [PATCH] 修复LB3D相机参数设置问题以及新增兰宝3D相机参数存储在本地以及初始化给相机参数。

---
 LB_SmartVisionCameraDevice/PHM6000/PHM6000SensorConfig.cs |  435 ++---------------------------------------------------
 1 files changed, 22 insertions(+), 413 deletions(-)

diff --git a/LB_SmartVisionCameraDevice/PHM6000/PHM6000SensorConfig.cs b/LB_SmartVisionCameraDevice/PHM6000/PHM6000SensorConfig.cs
index ded7fc6..9929320 100644
--- a/LB_SmartVisionCameraDevice/PHM6000/PHM6000SensorConfig.cs
+++ b/LB_SmartVisionCameraDevice/PHM6000/PHM6000SensorConfig.cs
@@ -16,477 +16,86 @@
     /// PHM6000Sensor閰嶇疆鍙傛暟绫�
     /// </summary>
     [JsonObject(MemberSerialization.OptOut)]
+    [TypeConverter(typeof(PropertySorter))]
     public class PHM6000SensorConfig
     {
-        [Category("鐐逛簯璁剧疆"), PropertyOrder(39)]
-        [DisplayName("ZROI")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Master)]
-        [Browsable(false)]
-        [IsCustom]
-        public EnumZDirectionRoi ZDirectionRoi { get; set; }            //ZROI
-
-        [Category("鐐逛簯璁剧疆"), PropertyOrder(40)]
-        [DisplayName("Filter")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Master)]
-        [Browsable(false)]
-        public EnumFilter Filter { get; set; }            //Filter
-
-        [Category("鐐逛簯璁剧疆"), PropertyOrder(41)]
-        [DisplayName("MeanFilterWindowSize")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Master)]
-        [Browsable(false)]
-        [IsCustom]
-        public EnumMeanFilterWindowSize MeanFilterWindowSize { get; set; }            //MeanFilterWindowSize
-
-        [Category("鐐逛簯璁剧疆"), PropertyOrder(42)]
-        [DisplayName("MedianFilterWindowSize")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Master)]
-        [Browsable(false)]
-        [IsCustom]
-        public EnumMedianFilterWindowSize MedianFilterWindowSize { get; set; }            //MedianFilterWindowSize
-
-        [Category("鐐逛簯璁剧疆"), PropertyOrder(43)]
-        [DisplayName("GapFilling")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Master)]
-        [Browsable(false)]
-        public int GapFilling { get; set; }            //GapFilling
-
-        [Category("鐐逛簯璁剧疆"), PropertyOrder(44)]
-        [DisplayName("GapFillingEdgePreservation")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Master)]
-        [Browsable(false)]
-        public int GapFillingEdgePreservation { get; set; }            //GapFilling
-
-        [Category("鐐逛簯璁剧疆"), PropertyOrder(45)]
-        [DisplayName("闄嶉噰鏍�")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Master)]
-        [Browsable(false)]
-        [IsCustom]
-        public EnumDownsampling Downsampling { get; set; } = EnumDownsampling.X1;
-
-        [Category("鐐逛簯璁剧疆"), PropertyOrder(46)]
-        [DisplayName("閲嶉噰鏍�")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Master)]
-        [Browsable(false)]
-        public EnumResampling Resampling { get; set; } = EnumResampling.Nearest;
-
-        [Category("鐐逛簯璁剧疆"), PropertyOrder(47)]
-        [DisplayName("閲嶉噰鏍疯竟缂樹繚鎸�")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Master)]
-        [Range(0, 1)]
-        [Browsable(false)]
-        public int ResamplingEdgePreservation { get; set; }
-
-        [Category("鐐逛簯璁剧疆"), PropertyOrder(48)]
-        [DisplayName("鍚敤 Z 杞村榻�")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Master)]
-        [Browsable(false)]
-        [IsCustom]
-        public bool EnableZAxisAlignment { get; set; }
-
-        [Category("鐐逛簯璁剧疆"), PropertyOrder(49)]
-        [DisplayName("鍚敤 X 杞村榻�")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Master)]
-        [Browsable(false)]
-        [IsCustom]
-        public bool EnableXAxisAlignment { get; set; }
-
-        [Category("鐐逛簯璁剧疆"), PropertyOrder(50)]
-        [DisplayName("鍚敤鐩茬偣杩囨护")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Master)]
-        [Browsable(false)]
-        [IsCustom]
-        public bool EnableBlindSpotFiltering { get; set; }
-
-        [Category("鐐逛簯璁剧疆"), PropertyOrder(51)]
-        [DisplayName("鍚敤鍣0娑堥櫎")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Master)]
-        [Browsable(false)]
-        [IsCustom]
-        public bool EnableNoiseRemoval { get; set; }
-
-        [Category("鐐逛簯璁剧疆"), PropertyOrder(52)]
-        [DisplayName("鍣0鍘婚櫎寮哄害")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Master)]
-        [Browsable(false)]
-        [IsCustom]
-        public EnumNoiseRemovalIntensity NoiseRemovalIntensity { get; set; }
-
-        [Category("杞粨绾垮叴瓒e尯鍨�"), PropertyOrder(53)]
-        [DisplayName("XOZ-ROI")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Master)]
-        [Browsable(false)]
-        [IsCustom]
-        public LBProfileROI ROI { get; set; }            //ROI
-
-        [Category("鐩告満灞炴��"), PropertyOrder(54)]
-        [DisplayName("NameIdMax")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Master)]
-        [Browsable(false)]
-        [IsCustom]
-        public int NameIdMax { get; set; }            //NameIdMax
-
         [Category("瑙﹀彂璁剧疆"), PropertyOrder(0)]
         [DisplayName("鏁版嵁閲囬泦瑙﹀彂婧�")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Primary)]
         public EnumDataAcquisitionTriggerSource DataAcquisitionTriggerSource { get; set; } = EnumDataAcquisitionTriggerSource.杞Е鍙�;            //鏁版嵁閲囬泦瑙﹀彂婧�:0=Software,1=External
-
         [Category("瑙﹀彂璁剧疆"), PropertyOrder(1)]
         [DisplayName("琛屾壂鎻忚Е鍙戞簮")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Primary)]
         public EnumLineScanTriggerSource LineScanTriggerSource { get; set; } = EnumLineScanTriggerSource.鍥哄畾棰戠巼;            //濡傛灉閫夋嫨鍥哄畾棰戠巼涓嬮潰鍙湁涓�涓鐜囧�� 锛屽惁鍒欐樉绀鸿Е鍙戞柟鍚戙�佽Е鍙戜俊鍙疯鏁版ā寮忋�佽Е鍙戦棿闅�
-
         [Category("瑙﹀彂璁剧疆"), PropertyOrder(2)]
         [DisplayName("瑙﹀彂棰戠巼")]
         public float SoftwareTriggerRate { get; set; } = 1000;            //瑙﹀彂棰戠巼
-
         [Category("瑙﹀彂璁剧疆"), PropertyOrder(3)]
-        [DisplayName("鏈�澶ф壂鎻忛�熺巼")]
-        [Browsable(false)]
-        [IsCustom]
-        public float MaxScanRate { get; set; }            //鏈�澶ф壂鎻忛�熺巼
-
-        [Category("瑙﹀彂璁剧疆"), PropertyOrder(4)]
-        [DisplayName("瑙﹀彂寤惰繜")]
-        public int TriggerDelay { get; set; }            //瑙﹀彂寤惰繜
-
-        [Category("瑙﹀彂璁剧疆"), PropertyOrder(5)]
         [DisplayName("瑙﹀彂鏂瑰悜")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Primary)]
         public EnumEncoderTriggerDirection EncoderTriggerDirection { get; set; } = EnumEncoderTriggerDirection.鍙屽悜;            //瑙﹀彂鏂瑰悜
-
-        [Category("瑙﹀彂璁剧疆"), PropertyOrder(6)]
+        [Category("瑙﹀彂璁剧疆"), PropertyOrder(4)]
         [DisplayName("瑙﹀彂淇″彿璁℃暟妯″紡")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Primary)]
         public EnumEncoderTriggerSignalCountingMode EncoderTriggerSignalCountingMode { get; set; } = EnumEncoderTriggerSignalCountingMode.X4;           //瑙﹀彂淇″彿璁℃暟妯″紡
-
-        [Category("瑙﹀彂璁剧疆"), PropertyOrder(7)]
+        [Category("瑙﹀彂璁剧疆"), PropertyOrder(5)]
         [DisplayName("瑙﹀彂闂撮殧")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Primary)]
         public int EncoderTriggerInterval { get; set; } = 100;            //瑙﹀彂闂撮殧
-
-        [Category("琛屾壂鎻忚缃�"), PropertyOrder(8)]
+        [Category("琛屾壂鎻忚缃�"), PropertyOrder(6)]
         [DisplayName("鎵弿琛屾暟")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Primary)]
         public int ScanLineCount { get; set; } = 5000;            //鎵弿琛屾暟
-
-        [Category("琛屾壂鎻忚缃�"), PropertyOrder(9)]
-        [DisplayName("姣忎釜閰嶇疆鏂囦欢鐨勬暟鎹偣鏁�")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Primary)]
-        [Browsable(false)]
-        [IsCustom]
-        public int DataPointsPerProfile { get; set; } = 50000 * 4096;            //姣忎釜閰嶇疆鏂囦欢鐨勬暟鎹偣鏁�
-
-        [Category("琛屾壂鎻忚缃�"), PropertyOrder(10)]
-        [DisplayName("鏇濆厜寤惰繜")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Primary)]
-        [IsCustom]
-        public int ExposureDelay { get; set; } = 0;            //鏇濆厜寤惰繜
-
-        [Category("琛屾壂鎻忚缃�"), PropertyOrder(11)]
-        [DisplayName("鎵归噺妫�绱㈣秴鏃�")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Primary)]
-        [Browsable(false)]
-        public int BatchRetrievalTimeout { get; set; } = 4000;
-
-        [Category("琛屾壂鎻忚缃�"), PropertyOrder(12)]
+        [Category("琛屾壂鎻忚缃�"), PropertyOrder(7)]
         [DisplayName("瓒呮椂鏃堕棿")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Primary)]
         public int CallbackRetrievalTimeout { get; set; } = 4000;
-
-        [Category("鐐逛簯璁剧疆"), PropertyOrder(13)]
+        [Category("鐐逛簯璁剧疆"), PropertyOrder(8)]
         [DisplayName("X杞村垎杈ㄧ巼")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Expert)]
-        [Browsable(false)]
         public float XAxisResolution { get; set; } = 105f;
-
-        [Category("鐐逛簯璁剧疆"), PropertyOrder(14)]
+        [Category("鐐逛簯璁剧疆"), PropertyOrder(9)]
         [DisplayName("Y杞村垎杈ㄧ巼")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Expert)]
-        [Browsable(false)]
         public float YResolution { get; set; } = 105f;            //YAxisResolution
-
-        [Category("鐐逛簯璁剧疆"), PropertyOrder(15)]
-        [DisplayName("鍊炬枩鏍℃瑙掑害")]
-        [Browsable(false)]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Expert)]
-        public float TiltCorrectionAngle { get; set; }          //TiltCorrectionAngle
-
-        [Category("鐐逛簯璁剧疆"), PropertyOrder(16)]
-        [DisplayName("楂樺害鏍℃姣�")]
-        [Browsable(false)]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Expert)]
-        public float HeightCorrectionRatio { get; set; }          //HeightCorrectionRatio
-
-        [Category("鐐逛簯璁剧疆"), PropertyOrder(17)]
-        [DisplayName("鍧愭爣鍙樻崲")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Expert)]
-        [Browsable(false)]
-        [IsCustom]
-        public float[] CoordinateTransformation { get; set; }          //CoordinateTransformation
-
-
-        [Category("杞粨绾挎彁鍙�"), PropertyOrder(18)]
+        [Category("杞粨绾挎彁鍙�"), PropertyOrder(10)]
         [DisplayName("鏈�灏忕伆搴�")]
         [Description("鏈�灏忕伆搴�")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Expert)]
         public int MinGrayscaleValue { get; set; }            //鏈�灏忕伆搴�
 
-        [Category("杞粨绾挎彁鍙�"), PropertyOrder(19)]
-        [DisplayName("鎻愬彇鐐规渶灏忓己搴�")]
-        [Description("鎻愬彇鐐规渶灏忓己搴�")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Expert)]
-        public int MinSpotIntensity { get; set; }            //
+        //public int MinSpotIntensity { get; set; }            //鎻愬彇鐐规渶灏忓己搴�
 
-        [Category("杞粨绾挎彁鍙�"), PropertyOrder(20)]
-        [DisplayName("鎻愬彇鐐规渶澶у己搴�")]
-        [Description("鎻愬彇鐐规渶澶у己搴�")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Expert)]
-        public int MaxSpotIntensity { get; set; }            //
-
-        [Category("杞粨绾挎彁鍙�"), PropertyOrder(21)]
-        [DisplayName("闃堝��")]
-        [Description("闃堝��")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Expert)]
-        [IsCustom]
-        public int ProductThresholdValues { get; set; } //
-
-        [Category("杞粨绾挎彁鍙�"), PropertyOrder(22)]
+        //public int MaxSpotIntensity { get; set; }            //鎻愬彇鐐规渶澶у己搴�
+        [Category("杞粨绾挎彁鍙�"), PropertyOrder(11)]
         [DisplayName("婵�鍏夌嚎鏈�灏忓搴�")]
         [Description("婵�鍏夌嚎鏈�灏忓搴�")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Expert)]
         public int MinLaserLineWidth { get; set; }            //婵�鍏夌嚎鏈�灏忓搴�
-
-        [Category("杞粨绾挎彁鍙�"), PropertyOrder(23)]
+        [Category("杞粨绾挎彁鍙�"), PropertyOrder(12)]
         [DisplayName("婵�鍏夌嚎鏈�澶у搴�")]
         [Description("婵�鍏夌嚎鏈�澶у搴�")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Expert)]
         public int MaxLaserLineWidth { get; set; }            //婵�鍏夌嚎鏈�澶у搴�
-
-        [Category("杞粨绾挎彁鍙�"), PropertyOrder(24)]
+        [Category("杞粨绾挎彁鍙�"), PropertyOrder(13)]
         [DisplayName("鎻愬彇鐐归�夋嫨")]
         [Description("鎻愬彇鐐归�夋嫨")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Expert)]
         public EnumSpotSelection SpotSelection { get; set; }            //鎻愬彇鐐归�夋嫨
-
-        [Category("杞粨绾挎彁鍙�"), PropertyOrder(25)]
-        [DisplayName("杈圭紭閫夋嫨")]
-        [Description("杈圭紭閫夋嫨")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Expert)]
-        public EnumEdgeSelection EdgeSelection { get; set; }
-
-        [Category("杞粨绾挎彁鍙�"), PropertyOrder(26)]
-        [DisplayName("鏈�灏忛攼搴�")]
-        [Description("鏈�灏忛攼搴�")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Expert)]
-        [Browsable(false)]
-        public int MinSharpness { get; set; }
-
-        [Category("杞粨绾挎彁鍙�"), PropertyOrder(27)]
-        [DisplayName("浜害璋冭妭")]
-        [Description("浜害璋冭妭")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Expert)]
-        [Browsable(false)]
-        public EnumBrightnessAdjustment BrightnessAdjustment { get; set; }
-
-        [Category("浼犳劅鍣ㄥ弬鏁�"), PropertyOrder(28)]
+        [Category("浼犳劅鍣ㄥ弬鏁�"), PropertyOrder(14)]
         [DisplayName("鏇濆厜妯″紡")]
         [Description("鏇濆厜妯″紡")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Expert)]
-        [Browsable(false)]
+        //鏇濆厜妯″紡 HDR=ProductExpTime,HdrExposureTimeProportion1,HdrExposureTimeProportion2
+        //鍥哄畾棰戠巼TIMED=ProductexposureTime
+        //鐩存帴瀹氭鎴愬浐瀹氶鐜�
         public EnumExposureMode ExposureMode { get; set; } = EnumExposureMode.Timed;
-        [Category("浼犳劅鍣ㄥ弬鏁�"), PropertyOrder(29)]
+        [Category("浼犳劅鍣ㄥ弬鏁�"), PropertyOrder(15)]
         [DisplayName("鏇濆厜鏃堕棿")]
         [Description("鏇濆厜鏃堕棿")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Expert)]
         public int ExposureTime { get; set; }//鏇濆厜鏃堕棿
-
-        [Category("浼犳劅鍣ㄥ弬鏁�"), PropertyOrder(30)]
-        [DisplayName("浜у搧鏇濆厜鏃堕棿")]
-        [Description("鏇濆厜鏃堕棿")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Master)]
-        [Browsable(false)]
-        [IsCustom]
-        public int ProductExpTime { get; set; }            //鏇濆厜鏃堕棿
-
-        [Category("浼犳劅鍣ㄥ弬鏁�"), PropertyOrder(31)]
-        [DisplayName("hdr璋冭妭1")]
-        [Description("hdr璋冭妭1")]
-        [Range(0, 100)]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Expert)]
-        [Browsable(false)]
-        [IsCustom]
-        public int HdrExposureTimeProportion1 { get; set; }            //hdr璋冭妭1
-
-        [Category("浼犳劅鍣ㄥ弬鏁�"), PropertyOrder(32)]
-        [DisplayName("hdr璋冭妭2")]
-        [Description("hdr璋冭妭2")]
-        [Range(0, 100)]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Expert)]
-        [Browsable(false)]
-        [IsCustom]
-        public int HdrExposureTimeProportion2 { get; set; }            //hdr璋冭妭2
-
-        [Category("浼犳劅鍣ㄥ弬鏁�"), PropertyOrder(33)]
-        [DisplayName("hdr闃堝��1")]
-        [Description("hdr闃堝��")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Expert)]
-        [Browsable(false)]
-        [IsCustom]
-        public int HdrFirstThreshold { get; set; }            //hdr闃堝��
-
-        [Category("浼犳劅鍣ㄥ弬鏁�"), PropertyOrder(34)]
-        [DisplayName("hdr闃堝��2")]
-        [Description("hdr闃堝��")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Expert)]
-        [Browsable(false)]
-        [IsCustom]
-        public int HdrSecondThreshold { get; set; }            //hdr闃堝��2
-
-        [Category("浼犳劅鍣ㄥ弬鏁�"), PropertyOrder(35)]
+        [Category("浼犳劅鍣ㄥ弬鏁�"), PropertyOrder(16)]
         [DisplayName("妯℃嫙澧炵泭")]
         [Description("妯℃嫙澧炵泭")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Expert)]
-        [Browsable(false)]
         public EnumAnalogGain AnalogGain { get; set; }            //妯℃嫙澧炵泭
-
-        [Category("浼犳劅鍣ㄥ弬鏁�"), PropertyOrder(36)]
+        [Category("浼犳劅鍣ㄥ弬鏁�"), PropertyOrder(17)]
         [DisplayName("妯℃嫙澧炵泭6030")]
         [Description("妯℃嫙澧炵泭6030")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Expert)]
-        [Browsable(false)]
         public EnumAnalogGainFor6030 AnalogGainFor6030 { get; set; }            //妯℃嫙澧炵泭for6030
-
-        [Category("浼犳劅鍣ㄥ弬鏁�"), PropertyOrder(37)]
+        [Category("浼犳劅鍣ㄥ弬鏁�"), PropertyOrder(18)]
         [DisplayName("鏁板瓧澧炵泭")]
         [Description("鏁板瓧澧炵泭")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Expert)]
-        [Browsable(false)]
         public int DigitalGain { get; set; }            //鏁板瓧澧炵泭
-
-        [Category("浼犳劅鍣ㄥ弬鏁�"), PropertyOrder(38)]
+        [Category("浼犳劅鍣ㄥ弬鏁�"), PropertyOrder(19)]
         [DisplayName("婵�鍏夊姛鐜�")]
         [Description("婵�鍏夊姛鐜�")]
-        [Permission(typeof(CameraUserRole), CameraUserRole.Expert)]
         public int LaserPower { get; set; }            //婵�鍏夊姛鐜�
-
-        #region 杞粨绾挎爣瀹�
-        [Category("PARAM_BAR"), PropertyOrder(60)]
-        [DisplayName("Height")]
-        [Browsable(false)]
-        [IsCustom]
-        public float BarHeight { get; set; } = 2;
-        [Category("PARAM_BAR"), PropertyOrder(61)]
-        [DisplayName("Width")]
-        [Browsable(false)]
-        [IsCustom]
-        public float BarWidth { get; set; } = 35;
-        [Category("PARAM_BAR"), PropertyOrder(62)]
-        [DisplayName("HoleCount")]
-        [Browsable(false)]
-        [IsCustom]
-        public int BarHoleCount { get; set; }
-        [Category("PARAM_BAR"), PropertyOrder(63)]
-        [DisplayName("HoleDiameter")]
-        [Browsable(false)]
-        [IsCustom]
-        public float BarHoleDiameter { get; set; }
-        [Category("PARAM_BAR"), PropertyOrder(64)]
-        [DisplayName("HoleDistance")]
-        [Browsable(false)]
-        [IsCustom]
-        public float BarHoleDistance { get; set; }
-        [Category("PARAM_BAR"), PropertyOrder(65)]
-        [DisplayName("DOF")]
-        [Browsable(false)]
-        [IsCustom]
-        public int BarDOF { get; set; }
-        [Category("娴嬮噺鐩爣鐗╁弬鏁拌缃�"), PropertyOrder(66)]
-        [DisplayName("M")]
-        [Browsable(false)]
-        [IsCustom]
-        public int nPartitionX { get; set; }//M
-        [Category("娴嬮噺鐩爣鐗╁弬鏁拌缃�"), PropertyOrder(67)]
-        [DisplayName("N")]
-        [Browsable(false)]
-        [IsCustom]
-        public int nPartitionY { get; set; }//N
-        #endregion
-
-        #region  骞抽潰鏍囧畾
-        protected const string ROIInfo = "鏍囧畾ROI鏁版嵁";
-        protected const string CameraInfo = "鐩告満瀹夎鍙傛暟";
-        [Category(ROIInfo), PropertyOrder(80)]
-        [DisplayName("骞抽潰鍖�")]
-        [Browsable(false)]
-        [IsCustom]
-        public string Plane { get; set; } = "0,0,0,0";
-        [Category(ROIInfo), PropertyOrder(81)]
-        [DisplayName("瀛斿尯1")]
-        [Browsable(false)]
-        [IsCustom]
-        public string Hole1 { get; set; } = "0,0,0,0";
-        [Category(ROIInfo), PropertyOrder(82)]
-        [DisplayName("瀛斿尯2")]
-        [Browsable(false)]
-        [IsCustom]
-        public string Hole2 { get; set; } = "0,0,0,0";
-        [Category(ROIInfo), PropertyOrder(83)]
-        [DisplayName("瀛斿尯3")]
-        [Browsable(false)]
-        [IsCustom]
-        public string Hole3 { get; set; } = "0,0,0,0";
-        [Category(CameraInfo), PropertyOrder(84)]
-        [DisplayName("x鍊掑簭")]
-        [Browsable(false)]
-        [IsCustom]
-        public int IsReverse { get; set; } = 0;        //x鍊掑簭
-        [Category(CameraInfo), PropertyOrder(85)]
-        [DisplayName("z鐩稿")]
-        [Browsable(false)]
-        [IsCustom]
-        public int IsOpposite { get; set; } = 0;       //z鐩稿
-        [Category(CameraInfo), PropertyOrder(86)]
-        [DisplayName("鏍囧噯璺濈")]
-        [Browsable(false)]
-        [IsCustom]
-        public float fStdDistance { get; set; } = 325;
-        [Category(CameraInfo), PropertyOrder(87)]
-        [DisplayName("X杞翠腑蹇�")]
-        [Browsable(false)]
-        [IsCustom]
-        public float fXCenter { get; set; } = 215.04f;
-        [Category(CameraInfo), PropertyOrder(88)]
-        [DisplayName("X杞�")]
-        [Browsable(false)]
-        [IsCustom]
-        public float x { get; set; } = 0;
-        [Category(CameraInfo), PropertyOrder(89)]
-        [DisplayName("Y杞�")]
-        [Browsable(false)]
-        [IsCustom]
-        public float y { get; set; } = 0;
-        [Category(CameraInfo), PropertyOrder(90)]
-        [DisplayName("Z杞�")]
-        [Browsable(false)]
-        [IsCustom]
-        public float z { get; set; } = 417.75f;
-        [Category(CameraInfo), PropertyOrder(91)]
-        [DisplayName("X杞磋搴�")]
-        [Browsable(false)]
-        [IsCustom]
-        public float xAngle { get; set; } = 0;
-        [Category(CameraInfo), PropertyOrder(92)]
-        [DisplayName("Y杞磋搴�")]
-        [Browsable(false)]
-        [IsCustom]
-        public float yAngle { get; set; } = 0;
-        [Category(CameraInfo), PropertyOrder(93)]
-        [DisplayName("Z杞磋搴�")]
-        [Browsable(false)]
-        [IsCustom]
-        public float zAngle { get; set; } = 0;
-        #endregion
     }
     /// <summary>
     /// IsCustomAttribute

--
Gitblit v1.9.3