This commit is contained in:
2026-04-17 14:55:32 -04:00
commit bc3ac1d4c9
18017 changed files with 4371742 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
using DTS.Common.ICommunication;
namespace DTS.DASLib.Command.SLICE.RealtimeCommands
{
public class StartRealtimeMode : RealtimeCommandBase
{
private bool _bSupportsMultipleSampleRealtime = true;
public bool SupportsMultipleSampleRealtime
{
get => _bSupportsMultipleSampleRealtime;
set
{
_bSupportsMultipleSampleRealtime = value;
if (value) { command.Parameter = new byte[1]; }
else { command.Parameter = new byte[0]; }
}
}
protected override Commands _Command => Commands.StartRealtimeMode;
public StartRealtimeMode(DTS.Common.Interface.DASFactory.ICommunication sock)
: base(sock)
{
// don't need to put anything in here ... its presense
// tells the firmware that we support multiple-sample
// realtime
command.Parameter = new byte[1];
}
public StartRealtimeMode(DTS.Common.Interface.DASFactory.ICommunication sock, int timeoutMillisec)
: base(sock, timeoutMillisec)
{
// don't need to put anything in here ... its presense
// tells the firmware that we support multiple-sample
// realtime
command.Parameter = new byte[1];
}
}
}