void RoomTemperatureInquiryStop(RoomTemperatureInquirer inqurier) { if (null != inqurier) { inqurier.StopInquiry(); inqurier = null; } }
private RoomTemperatureInquirer RoomTemperatureInquiryStart(List<ModbusDeviceInfo> roomThermometerList) { RoomTemperatureInquirer inquirer = new RoomTemperatureInquirer(roomThermometerList); inquirer.CyclePeriod = Update_period; inquirer.TbxControl = textBox3; inquirer.StartInquiry(); return inquirer; }