using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO.Ports; namespace UAS_LabelMachine.CustomControl { public partial class SerialPortWithTag : SerialPort { private string tag; int sleepTime; public SerialPortWithTag() { InitializeComponent(); } public string Tag { get { return tag; } set { tag = value; } } public int SleepTime { get { return sleepTime; } set { sleepTime = value; } } } }