12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Shaker.Models
- {
- public class RandomDataModel : BaseModel, IResultDataModel
- {
- public double CurrentIdentifyDisplacement = 0.05;
- public double CurrentIdentifyRms = 0;
- public int IdentifyIndex = 0;
- public List<double[]> CurrentAccelerationPSD = new List<double[]>();
- public double[] CurrentAccelerationSynthesisPSD = new double[0];
- public double[] TransferFunction = new double[0];
- public double[] DriverPSD = new double[0];
- public double DriverSpectrumRMS = 0;
- public double TimeDomainRMS = 0;
- public RandomStatus RandomStatus = RandomStatus.Start;
- public RandomTestStep RandomTestStep = RandomTestStep.Start;
- public double CurrentTestLevel = 0;
- public uint CurrentTestTime = 0;
- public uint CurrentLevelTestMaxTime = 0;
- public override object Clone()
- {
- return this.CloneBase();
- }
- public MainPageType MainPageType = MainPageType.RandomPage;
- }
- public enum RandomStatus
- {
- [Description("RandomStatusStart")]
- Start,
- [Description("RandomStatusUp")]
- Up,
- [Description("RandomStatusIdentify")]
- Identify,
- [Description("RandomStatusStop")]
- Stop,
- [Description("RandomStatusTest")]
- Test,
- [Description("RandomStatusIdentifyMaxLevel")]
- IdentifyMaxLevel,
- [Description("RandomStatusIdentifyOpenLoop")]
- IdentifyOpenLoop,
- [Description("RandomStatusTestUpStop")]
- TestUpStop,
- [Description("RandomStatusTestDownStop")]
- TestDownStop,
- [Description("RandomStatusTestRMSError")]
- TestRMSError,
- }
- }
|