asmrobot
2019-10-29 f25f89101a98ad815c0ae2d25e1a8dc35d53a5dd
src/RichCreator.Utility/CV/GroupCVHelper.cs
@@ -215,11 +215,11 @@
        /// <param name="noPoint"></param>
        /// <param name="limitRect"></param>
        /// <returns></returns>
        public static bool FindYaoqingZuduiWindow(out ZTPoint yesPoint,out ZTPoint noPoint, ZTRectangle limitRect)
        public static bool FindYaoqingZuduiWindow(out Structs.ZTPoint yesPoint,out Structs.ZTPoint noPoint, ZTRectangle limitRect)
        {
            ZTRectangle textRect = ZTRectangle.Empty;
            yesPoint = ZTPoint.Empty;
            noPoint = ZTPoint.Empty;
            yesPoint = Structs.ZTPoint.Empty;
            noPoint = Structs.ZTPoint.Empty;
            Image<Rgb, byte> image = ScreenCapture.Instance.CaptureScreenReturnImage();
            if (!CVHelper.FindColorArray(out textRect, image, YaoqingZuduiWindowTitle, limitRect))
@@ -233,9 +233,9 @@
                return false;
            }
            ZTPoint center = textRect.GetCenterPoint();
            yesPoint = new ZTPoint(center.X - 28, center.Y + 186);
            noPoint = new ZTPoint(center.X + 28, center.Y + 186);
            Structs.ZTPoint center = textRect.GetCenterPoint();
            yesPoint = new Structs.ZTPoint(center.X - 28, center.Y + 186);
            noPoint = new Structs.ZTPoint(center.X + 28, center.Y + 186);
            return true;
        }