123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- 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;
- }
- }
- }
- }
|