示例#1
0
        private static void _OpenDrive(string drive)
        {
            _CloseDrive();

            _device = new PhisonDevice(drive[0]);
            _device.Open();
        }
示例#2
0
 private static void _CloseDrive()
 {
     if (_device != null)
     {
         _device.Close();
         _device = null;
     }
 }
示例#3
0
 private static void _CloseDrive()
 {
     if (_device != null)
     {
         _device.Close();
         _device = null;
     }
 }
示例#4
0
        private static void _OpenDrive(string drive)
        {
            _CloseDrive();

            _device = new PhisonDevice(drive[0]);
            _device.Open();
        }