| | |
| | | { |
| | | [Category("关联配置")] |
| | | [Description("位置序号")] |
| | | [TypeConverter(typeof(PositionNoConverter))] |
| | | public int PositionNo { get; set; } |
| | | [TypeConverter(typeof(PositionCodeConverter))] |
| | | public string PositionCode { get; set; } |
| | | |
| | | [Category("关联配置")] |
| | | [Description("适用相机编号")] |
| | |
| | | |
| | | public string GetDisplayText() |
| | | { |
| | | return $"PositionNo:{PositionNo}; Configs:{Configs.Count}"; |
| | | return $"PositionNo:{PositionCode}; Configs:{Configs.Count}"; |
| | | } |
| | | |
| | | public List<string> GetHalconToolPathList() |
| | |
| | | [Editor(typeof(PropertyObjectEditor), typeof(UITypeEditor))] |
| | | public HalconRelatedCameraOprerationConfigBase CameraOpConfig { get; set; } = new HalconRelatedCameraOprerationConfigBase(); |
| | | |
| | | //[Category("运动平台设置")] |
| | | //[Description("平台当前坐标")] |
| | | //[TypeConverter(typeof(ComplexObjectConvert))] |
| | | //[Editor(typeof(PropertyObjectEditor), typeof(UITypeEditor))] |
| | | //public CustomizedPoint CurrentPlatPoint { get; set; } = new CustomizedPoint(); |
| | | |
| | | [Category("运动平台设置")] |
| | | [Description("平台当前坐标")] |
| | | [Description("机器人运动坐标")] |
| | | [TypeConverter(typeof(ComplexObjectConvert))] |
| | | [Editor(typeof(PropertyObjectEditor), typeof(UITypeEditor))] |
| | | public CustomizedPoint CurrentPlatPoint { get; set; } = new CustomizedPoint(); |
| | | public RobotPoint PlatPoint { get; set; } = new RobotPoint(); |
| | | |
| | | public event PropertyChangedEventHandler PropertyChanged; |
| | | |