2020-12-20 23:00:04 +02:00
|
|
|
|
using NDB.Application.DataContracts;
|
|
|
|
|
using NetworkResurrector.Application.Events;
|
2020-11-25 17:01:14 +02:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace NetworkResurrector.Application.Commands
|
|
|
|
|
{
|
|
|
|
|
public class WakeMachine : Command<MachineWaked>
|
|
|
|
|
{
|
|
|
|
|
public string MacAddress { get; set; }
|
|
|
|
|
|
|
|
|
|
public WakeMachine(string macAddress) : base(new Metadata() { CorrelationId = Guid.NewGuid() })
|
|
|
|
|
{
|
|
|
|
|
MacAddress = macAddress;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|