示例#1
0
 public void Close()
 {
     if (_CommMode != UsbMode.ACM && _IsOpen == true)
     {
         InstanceofHID.HIDDeviceClose();
     }
     if (_CommMode == UsbMode.ACM && _IsOpen == true)
     {
         InstanceofVC.Close();
     }
     _IsOpen = false;
 }