| | |
| | | using Bro.Common.Model; |
| | | using Bro.Common.Model.Interface; |
| | | using Bro.Device.HikCamera; |
| | | using System; |
| | | using Newtonsoft.Json; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel; |
| | | using System.Drawing.Design; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace A032.Process |
| | | { |
| | |
| | | [TypeConverter(typeof(PLCDeviceConverter))] |
| | | public string DeviceOwner { get; set; } |
| | | |
| | | [Browsable(false)] |
| | | [JsonIgnore] |
| | | public bool IsOccupied { get; set; } = false; |
| | | |
| | | public string GetDisplayText() |
| | | { |
| | | return $"{PositionCode}-{Description}"; |
| | |
| | | [Editor(typeof(PropertyObjectEditor), typeof(UITypeEditor))] |
| | | public HikCameraOperationConfig CameraOpConfig { get; set; } = new HikCameraOperationConfig(); |
| | | |
| | | [Category("示教配置")] |
| | | [Description("机器人拍照位置")] |
| | | [TypeConverter(typeof(ComplexObjectConvert))] |
| | | [Editor(typeof(PropertyObjectEditor), typeof(UITypeEditor))] |
| | | public RobotPoint RobotSnapshotPoint { get; set; } = new RobotPoint(); |
| | | |
| | | [Category("示教配置")] |
| | | [Description("机器人示教位置到实际抓取位置的偏移")] |
| | | [TypeConverter(typeof(ComplexObjectConvert))] |
| | | [Editor(typeof(PropertyObjectEditor), typeof(UITypeEditor))] |
| | | public RobotPoint RobotShift { get; set; } = new RobotPoint(); |
| | | |
| | | public string GetDisplayText() |
| | | { |
| | | return $"{PositionCode}:曝光:{CameraOpConfig.Exposure};标定矩阵:{string.Join(",", Matrix)}"; |