ShakerConfigModel.cs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using Shaker.Model;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace Shaker.Models
  8. {
  9. public class ShakerConfigModel : BaseModel
  10. {
  11. public AccelerationSynthesisType SynthesisType = AccelerationSynthesisType.Synthesis;
  12. public float OutSignalGain = 1;
  13. public uint MaxRiseCount = 120000;
  14. public uint MaxZeroChangedCount = 40000;
  15. public uint MaxSignalCount = 20000;
  16. public uint MaxEmergencyStopCount = 6000;
  17. public uint MaxStopWindowCount = 16000;
  18. public uint MaxAdjustCount = 4000;
  19. public uint MaxFallCount = 60000;
  20. public uint StartCount = 70000;
  21. public float InitialLocation = -45;
  22. public uint SampleRate = 4000;
  23. public uint FPGAClock = 40_000_000;
  24. public float MaxFrequency = 200f;
  25. public float MinFrequency = 0.1f;
  26. public List<AnalogSignalConfigModel> AnalogSignalConfigs = new List<AnalogSignalConfigModel>();
  27. public float MaxOutInput = 16;
  28. public float MaxAcceleration = 10;
  29. public float MaxDisplacement = 10;
  30. public float MaxDriver = 10;
  31. public float MaxJitterAcceleration = 32;
  32. public float MaxJitterDisplacement = 1000;
  33. public float MaxVelocity = 0.6f;
  34. public float DisplacementSensitivity = 100;
  35. public List<AccelerationConfigModel> AccelerationConfigs = new List<AccelerationConfigModel>();
  36. public override object Clone()
  37. {
  38. return this.CloneBase();
  39. }
  40. }
  41. }