Пример #1
0
 public void Close()
 {
     if (lmSensors != null)
     {
         lmSensors.Close();
     }
 }
Пример #2
0
 public void Close()
 {
     if (lmSensors != null)
     {
         lmSensors.Close();
     }
     foreach (Hardware hardware in superIOHardware)
     {
         hardware.Close();
     }
 }
Пример #3
0
 public void Close()
 {
     _lmSensors?.Close();
     foreach (IHardware iHardware in SubHardware)
     {
         if (iHardware is Hardware hardware)
         {
             hardware.Close();
         }
     }
 }