private static void ModbusClientStart(object _obj) { ModbusTcpClient mod = (ModbusTcpClient)_obj; mod.DoWork(); }