- 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>
29 lines
810 B
C#
29 lines
810 B
C#
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; } }
|
|
}
|
|
}
|