init
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
using DTS.Common.Interface.DASFactory;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using static DTS.DASLib.Service.ServiceBase;
|
||||
|
||||
namespace DTS.DASLib.Service.StateMachine
|
||||
{
|
||||
public class RealtimeParameters : IStatusParameters
|
||||
{
|
||||
public List<IDASCommunication> UnitsToStartRealtime { get; set; }
|
||||
public int RealtimeDelayBetweenPollsInMilliSecond { get; set; }
|
||||
public bool AllowMultipleSampleRealtime { get; set; }
|
||||
public bool UseSingleSampleMode { get; set; }
|
||||
public List<int> ModuleIndices { get; set; }
|
||||
public Dictionary<IDASCommunication, byte[]> IdasToActiveChannels { get; set; }
|
||||
public double RealtimeSampleRate { get; set; }
|
||||
public byte RealtimeSampleRateAAFilterRatio { get; set; }
|
||||
public bool SliceTurnOffAAFRealtime { get; set; }
|
||||
|
||||
public void Reset()
|
||||
{
|
||||
UnitsToStartRealtime = new List<IDASCommunication>();
|
||||
RealtimeDelayBetweenPollsInMilliSecond = 0;
|
||||
AllowMultipleSampleRealtime = false;
|
||||
UseSingleSampleMode = false;
|
||||
ModuleIndices = new List<int>();
|
||||
IdasToActiveChannels = new Dictionary<IDASCommunication, byte[]>();
|
||||
RealtimeSampleRate = 0.0;
|
||||
RealtimeSampleRateAAFilterRatio = 0;
|
||||
SliceTurnOffAAFRealtime = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user