示例#1
0
文件: Form1.cs 项目: gangjian/work
 void RoomTemperatureInquiryStop(RoomTemperatureInquirer inqurier)
 {
     if (null != inqurier)
     {
         inqurier.StopInquiry();
         inqurier = null;
     }
 }
示例#2
0
文件: Form1.cs 项目: gangjian/work
 private RoomTemperatureInquirer RoomTemperatureInquiryStart(List<ModbusDeviceInfo> roomThermometerList)
 {
     RoomTemperatureInquirer inquirer = new RoomTemperatureInquirer(roomThermometerList);
     inquirer.CyclePeriod = Update_period;
     inquirer.TbxControl = textBox3;
     inquirer.StartInquiry();
     return inquirer;
 }