Beispiel #1
0
 void RoomTemperatureInquiryStop(RoomTemperatureInquirer inqurier)
 {
     if (null != inqurier)
     {
         inqurier.StopInquiry();
         inqurier = null;
     }
 }
Beispiel #2
0
        private RoomTemperatureInquirer RoomTemperatureInquiryStart(List <ModbusDeviceInfo> roomThermometerList)
        {
            RoomTemperatureInquirer inquirer = new RoomTemperatureInquirer(roomThermometerList);

            inquirer.CyclePeriod = Update_period;
            inquirer.TbxControl  = textBox3;
            inquirer.StartInquiry();
            return(inquirer);
        }