From b0a4c47dd74bc41c5df3bab6ddd8de7bcc6a52b0 Mon Sep 17 00:00:00 2001
From: patrick <patrick.xu@broconcentric.com>
Date: 星期五, 06 十二月 2019 18:35:42 +0800
Subject: [PATCH] 1. 重新整理项目,按照A034模式,将设备异步操作修改为类同步操作。使用任务队列来存储和分配任务。

---
 src/A032.Process/AGVPath.cs |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/src/A032.Process/AGVPath.cs b/src/A032.Process/AGVPath.cs
index 2e19e32..426a620 100644
--- a/src/A032.Process/AGVPath.cs
+++ b/src/A032.Process/AGVPath.cs
@@ -3,6 +3,7 @@
 using Bro.Common.Model;
 using Bro.Common.Model.Interface;
 using Bro.Device.HikCamera;
+using Newtonsoft.Json;
 using System;
 using System.Collections.Generic;
 using System.ComponentModel;
@@ -48,6 +49,10 @@
         [TypeConverter(typeof(PLCDeviceConverter))]
         public string DeviceOwner { get; set; }
 
+        [Browsable(false)]
+        [JsonIgnore]
+        public bool IsOccupied { get; set; } = false;
+
         public string GetDisplayText()
         {
             return $"{PositionCode}-{Description}";
@@ -83,6 +88,18 @@
         [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)}";

--
Gitblit v1.8.0