X13.Periphery.MsDevice.MsGSerial.Close C# (CSharp) Méthode

Close() public static méthode

public static Close ( ) : void
Résultat void
      public static void Close() {
        if(_gates!=null) {
          lock(_gates) {
            var gates=_gates.Select(z => z as MsGSerial).Where(z => z!=null).ToArray();
            for(int i=0; i<gates.Length; i++) {
              gates[i].Stop();
            }
          }
        }

      }