示例#1
0
 /// <summary>
 /// Change the Framerate of the Simulation.
 /// </summary>
 /// <param name="frames"></param>
 public void PitchSimulation(byte frames)
 {
     try
     {
         channel.PitchSimulation(frames);
     }
     catch (FaultException <AntMeFault> fault)
     {
         throw new ArgumentException(fault.Detail.Description);
     }
     catch (Exception ex)
     {
         CloseByError(ex);
         throw;
     }
 }