From 1f2fa3f54d4a7b5a2f601c4c947a06476342e3bd Mon Sep 17 00:00:00 2001 From: patrick.xu <patrick.xu@broconcentric.com> Date: 星期五, 22 一月 2021 09:23:06 +0800 Subject: [PATCH] 1. gocator驱动将system.stop移到system.ReceiveData之后 2. 修改测量完成后状态切换逻辑,避免安全光线等干扰 3. 添加设备异常输出日志记录 4. 产品结果输出时做硬盘文件记录 --- src/Bro.UI.Model.Winform/Element/PointIndicator.cs | 17 +---------------- 1 files changed, 1 insertions(+), 16 deletions(-) diff --git a/src/Bro.UI.Model.Winform/Element/PointIndicator.cs b/src/Bro.UI.Model.Winform/Element/PointIndicator.cs index f01b8f5..9559b7d 100644 --- a/src/Bro.UI.Model.Winform/Element/PointIndicator.cs +++ b/src/Bro.UI.Model.Winform/Element/PointIndicator.cs @@ -38,21 +38,6 @@ } #region ElementBase - public override void Calculate(Bitmap image) - { - } - - public override void Calculate(IntPtr imagePtr, int ptrSize, int imageWidth, int imageHeight) - { - } - - public override void Calculate(string imagePath) - { - } - - public override void CalculateBaseRectangle() - { - } public override object Clone() { @@ -73,7 +58,7 @@ g.DrawLine(Pen, (float)Center.X - Radius, (float)Center.Y, (float)Center.X + Radius, (float)Center.Y); string info = GetDisplayText(); - g.DrawString(info, new Font("NewRoman", FontSize), new SolidBrush(Pen.Color), new PointF((float)Center.X - Radius - FontDistance, (float)Center.Y - Radius - FontDistance)); + g.DrawString(info, Font, new SolidBrush(Pen.Color), new PointF((float)Center.X - Radius - FontDistance, (float)Center.Y - Radius - FontDistance)); } public override string GetDisplayText() -- Gitblit v1.8.0