init
This commit is contained in:
35
DataPRO/SLICECommands/CommandBase.cs
Normal file
35
DataPRO/SLICECommands/CommandBase.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
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);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user