SweepConfigModel.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using Shaker.Model;
  2. using Shaker.Model.Tools;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using System.Windows.Markup;
  9. namespace Shaker.Models
  10. {
  11. public class SweepConfigModel : BaseModel
  12. {
  13. public readonly float Increment = 0.01f;
  14. public readonly int MaxSweepItemCount = 50;
  15. public uint SweepCount = 1;
  16. public SweepType SweepType = SweepType.Log;
  17. public SweepDirection SweepDirection = SweepDirection.Up;
  18. public SignalType SignalType = SignalType.Sweep;
  19. public float StartFrequency = 0.1f;
  20. public float EndFrequency = 200f;
  21. public float OnceSweepTime = 1;
  22. public float SweepSpeed = 1;
  23. public float SweepStartLevel = 0.5f;
  24. public float CrossoverPoint = 5;
  25. public float SweepLevelGain = 0.99f;
  26. public float LowFrequencyMinCorrect = 0.97f;
  27. public float LowFrequencyMaxCorrect = 1.01f;
  28. public float HigthFrequencyMinCorrect = 0.9f;
  29. public float HigthFrequencyMaxCorrect = 1.1f;
  30. public int SelectChannel = 0;
  31. public float LowFreq = 3;
  32. public float HighFreq = 6;
  33. public List<SweepItemModel> SweepItems = new List<SweepItemModel>();
  34. public override object Clone()
  35. {
  36. return this.CloneBase();
  37. }
  38. }
  39. }