using System;
using System.Collections.Generic;
using System.IO.Ports;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CircuitForms
{
public delegate void DataParam(byte[] param1, int numb);
public class CrtHelp
{
public SerialPort sp;
public delegate void ComReciveData(string data);
public ComReciveData OnHandel = null;
public DataParam param;
static List<string> datas = new List<string>();
static List<byte[]> byteslist = new List<byte[]>();
static int number=0;
public string[] seialName { get; set; }
public Encoding EncodingType { get; set; } = Encoding.ASCII;
public CrtHelp()
{