Пример #1
0
 public DeviceScanerThread(
     ServerDevice devices,
     long time,
     bool start = true,
     bool terminateException = false)
     : base(start, terminateException)
 {
     this.devices = devices;
     scanTime     = time;
 }
Пример #2
0
        public CalorimeterServer(UlIniFile ini)
        {
            Ini = ini;

            Clients = new Dictionary <string, ClientRow>();

            ClientList = new List <ClientRow>();

            Udp = new UdpClient(Ini.GetInteger("Server", "port"));

            Devices = new ServerDevice(this);

            Listener = new ServerListener(this);

            Sender = new ServerSender(this);
        }