1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- using Shaker.Model;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Shaker.Models
- {
- public class ShakerConfigModel : BaseModel
- {
- public AccelerationSynthesisType SynthesisType = AccelerationSynthesisType.Synthesis;
- public float OutSignalGain = 1;
- public uint MaxRiseCount = 120000;
- public uint MaxZeroChangedCount = 40000;
- public uint MaxSignalCount = 20000;
- public uint MaxEmergencyStopCount = 6000;
- public uint MaxStopWindowCount = 16000;
- public uint MaxAdjustCount = 4000;
- public uint MaxFallCount = 60000;
- public uint StartCount = 70000;
- public float InitialLocation = -45;
- public uint SampleRate = 4000;
- public uint FPGAClock = 40_000_000;
- public float MaxFrequency = 200f;
- public float MinFrequency = 0.1f;
- public List<AnalogSignalConfigModel> AnalogSignalConfigs = new List<AnalogSignalConfigModel>();
- public float MaxOutInput = 16;
- public float MaxAcceleration = 10;
- public float MaxDisplacement = 10;
- public float MaxDriver = 10;
- public float MaxJitterAcceleration = 32;
- public float MaxJitterDisplacement = 1000;
- public float MaxVelocity = 0.6f;
- public float DisplacementSensitivity = 100;
- public List<AccelerationConfigModel> AccelerationConfigs = new List<AccelerationConfigModel>();
- public override object Clone()
- {
- return this.CloneBase();
- }
- }
- }
|