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,41 @@
using System.Collections.Generic;
using DTS.Common.ICommunication;
namespace DTS.DASLib.Command.SLICE.MulticastCommands
{
public class MulticastSetDnsAddress : MulticastCommandBase
{
private const int COMMAND_PAYLOAD_SIZE = DOUBLE_MAC_ADDR_SIZE + IP_ADDR_SIZE;
protected override Commands Command => Commands.SetDnsAddress;
private string _dns;
public string Dns
{
set
{
_dns = value;
command.SetParameter(FIRST_PARAMETER_OFFSET, _dns);
}
}
public MulticastSetDnsAddress(DTS.Common.Interface.DASFactory.ICommunication sock)
: base(sock)
{
command.Parameter = new byte[COMMAND_PAYLOAD_SIZE];
}
public MulticastSetDnsAddress(DTS.Common.Interface.DASFactory.ICommunication sock, int timeoutMillisec)
: base(sock, timeoutMillisec)
{
command.Parameter = new byte[COMMAND_PAYLOAD_SIZE];
}
public override void CommandToString(ref List<List<string>> lines)
{
base.CommandToString(ref lines);
lines.Add(new List<string> { $"MAC: {CommandClientMac} DNS: {_dns}" });
}
}
}

View File

@@ -0,0 +1,19 @@
using DTS.Common.ICommunication;
namespace DTS.DASLib.Command.SLICE.DownloadCommands
{
public class ResetEventList : EventDataCommands
{
protected override Commands Command => Commands.ResetEventList;
public ResetEventList(DTS.Common.Interface.DASFactory.ICommunication sock)
: base(sock)
{
}
public ResetEventList(DTS.Common.Interface.DASFactory.ICommunication sock, int timeoutMillisec)
: base(sock, timeoutMillisec)
{
}
}
}