//using Keyence.AutoID.SDK; using System; using System.Collections.Generic; using System.Configuration; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; using System.Media; using System.Text.RegularExpressions; using ScaBox30.Model; using ScaBox30.Controller; using System.Text.Json; using System.Runtime.InteropServices; namespace ScaBox30 { struct barcode_pos { public string code; public int position; public int xpos; public int ypos; } struct operation_mode { public const string manual = "Manual"; public const string automatico = "Scanbox"; } public partial class Principal : Form { private TcpReaderAccessor m_reader = new TcpReaderAccessor(); private TcpReaderSearcher m_searcher = new TcpReaderSearcher(); //private ReaderAccessor m_reader = new ReaderAccessor(); //private ReaderSearcher m_searcher = new ReaderSearcher(); List m_nicList = new List(); private NicSearchResult host_ip_nic = null; private List sensor_ip_list = new List(); private bool reader_found = false; private bool reader_connected = false; private int numberOfBoxesSelected = 100; private string received_data_package = ""; List