Files
DP44/DataPRO/SLICECommands/CommandBase.cs
2026-04-17 14:55:32 -04:00

36 lines
995 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Reflection;
using System.IO;
using System.Diagnostics;
using DTS.Common.ICommunication;
using DTS.Common.Utilities.Logging;
namespace DTS.DASLib.Command.SLICE
{
public abstract class CommandBase : SliceCommandBase
{
public CommandBase(DTS.Common.Interface.DASFactory.ICommunication sock) : base(sock)
{
command = new CommandPacket();
}
public CommandBase(DTS.Common.Interface.DASFactory.ICommunication sock, int TimeoutMillisec) : base(sock, TimeoutMillisec)
{
command = new CommandPacket();
}
protected override CommandPacketBase GetCommandPacket()
{
return new CommandPacket();
}
protected override CommandPacketBase GetCommandPacket(byte[] buffer)
{
return new CommandPacket(buffer);
}
}
}