示例#1
0
 public void DeleteAllTracks()
 {
     if (!IsConnected)
     {
         return;
     }
     using (var session = new SerialPortSession(_commport))
     {
         var cmd = new DeleteAllTracksCommand();
         cmd.Execute(session.Port);
     }
 }
 public void DeleteAllTracks()
 {
     if (!IsConnected)
     {
         return;
     }
     using (var session = new SerialPortSession(_commport))
     {
         var cmd = new DeleteAllTracksCommand();
         cmd.Execute(session.Port);
     }
 }