Add QRValidation project to repository
- Added QRValidation vision control system - Includes CapCleaningControl UI components - WebSocket-based barcode validation system - Support for Crevis PLC integration - Test projects for PLC emulator, motion, IO panel, and Modbus 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
28
QRValidation/CapCleaningControl/CIcon.cs
Normal file
28
QRValidation/CapCleaningControl/CIcon.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace UIControl
|
||||
{
|
||||
public class CIcon
|
||||
{
|
||||
public string Text { get; set; }
|
||||
public string Tag { get; set; }
|
||||
public RectangleF Rect { get; set; }
|
||||
public Boolean Focus { get; set; }
|
||||
public Boolean Select { get; set; }
|
||||
public CIcon() : this(string.Empty, RectangleF.Empty) { }
|
||||
public CIcon(string tag,RectangleF rect)
|
||||
{
|
||||
Text = string.Empty;
|
||||
Tag = tag;
|
||||
Rect = rect;
|
||||
}
|
||||
public float X { get { return Rect.X; } }
|
||||
public float Y { get { return Rect.Y; } }
|
||||
public float W { get { return Rect.Width; } }
|
||||
public float H { get { return Rect.Height; } }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user