36 lines
995 B
C#
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);
|
|
}
|
|
|
|
}
|
|
}
|