Files
ATV_STDLabelAttach/QRValidation/CapCleaningControl/CUnPortInfo.cs
atvstdla dc66158497 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>
2025-10-02 11:38:38 +09:00

74 lines
2.1 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Text;
namespace UIControl
{
public partial class Unloader
{
public class CPort
{
public int SortKey { get; set; }
public int portNo { get; set; }
public string portName { get; set; }
public int idx { get; set; }
[Browsable(false)]
public Rectangle rect_title { get; set; }
[Browsable(false)]
public Rectangle rect { get; set; }
[Browsable(false)]
public Rectangle rect_count { get; set; }
[Browsable(false)]
public Rectangle rect_signL { get; set; }
[Browsable(false)]
public Rectangle rect_signR { get; set; }
public List<CPortData> reelSID;
public int cartSize { get; set; }
public ushort cartState { get; set; }
public Boolean SIDUpdate { get; set; }
/// <summary>
/// 이값은 PLC에서 읽은 값이다
/// </summary>
public int reelCount { get; set; }
public int reelCountPLC { get; set; }
public string Mode { get; set; }
public CPort()
{
SortKey = 0;
idx = -1;
Mode = "AUTO";// ePortMode.Auto;
rect_title = Rectangle.Empty;
rect = Rectangle.Empty;
rect_count = Rectangle.Empty;
rect_signL = Rectangle.Empty;
rect_signR = Rectangle.Empty;
reelSID = new List<CPortData>();
cartSize = 0;
cartState = 0;
Clear();
SIDUpdate = true;
}
public void Clear()
{
reelSID.Clear();// = new string[0];// string.Empty;
reelCount = 0;
reelCountPLC = 0;
//기존에 있었는데 지웠다면 업데이트해야함
if (reelSID.Count > 0) SIDUpdate = true;
}
}
}
}